RE: [PATCH v6 10/14] platform/x86: dell-smbios: add filtering capability for requests

2017-10-10 Thread Mario.Limonciello
kernel@vger.kernel.org>; platform-driver-...@vger.kernel.org; > Andy Lutomirski <l...@kernel.org>; quasi...@google.com; r...@rjwysocki.net; > mj...@google.com; h...@lst.de; Greg KH <g...@kroah.com> > Subject: Re: [PATCH v6 10/14] platform/x86: dell-smbios: add filtering > ca

RE: [PATCH v6 10/14] platform/x86: dell-smbios: add filtering capability for requests

2017-10-10 Thread Mario.Limonciello
m; r...@rjwysocki.net; > mj...@google.com; h...@lst.de; Greg KH > Subject: Re: [PATCH v6 10/14] platform/x86: dell-smbios: add filtering > capability > for requests > > On Monday 09 October 2017 17:51:48 Mario Limonciello wrote: > > +static struct token_range token_bl

Re: [PATCH v6 10/14] platform/x86: dell-smbios: add filtering capability for requests

2017-10-10 Thread Pali Rohár
On Monday 09 October 2017 17:51:48 Mario Limonciello wrote: > +static struct token_range token_blacklist[] = { > + {0x, 0x0175, 0x0176}, > + {0x, 0x0195, 0x0197}, > + {0x, 0x01DC, 0x01DD}, > + {0x, 0x027D, 0x0284}, > + {0x02E3, 0x, 0x}, > + {0x02FF,

Re: [PATCH v6 10/14] platform/x86: dell-smbios: add filtering capability for requests

2017-10-10 Thread Pali Rohár
On Monday 09 October 2017 17:51:48 Mario Limonciello wrote: > +static struct token_range token_blacklist[] = { > + {0x, 0x0175, 0x0176}, > + {0x, 0x0195, 0x0197}, > + {0x, 0x01DC, 0x01DD}, > + {0x, 0x027D, 0x0284}, > + {0x02E3, 0x, 0x}, > + {0x02FF,

[PATCH v6 10/14] platform/x86: dell-smbios: add filtering capability for requests

2017-10-09 Thread Mario Limonciello
There are some categories of tokens and SMBIOS calls that it makes sense to protect userspace from accessing. These are calls that may write to one time use fields or activate hardware debugging capabilities. They are not intended for general purpose use. This same functionality may be be later

[PATCH v6 10/14] platform/x86: dell-smbios: add filtering capability for requests

2017-10-09 Thread Mario Limonciello
There are some categories of tokens and SMBIOS calls that it makes sense to protect userspace from accessing. These are calls that may write to one time use fields or activate hardware debugging capabilities. They are not intended for general purpose use. This same functionality may be be later