[lkml]   [2017]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: [PATCH v7 10/15] platform/x86: dell-smbios: add filtering capability for requests
> -----Original Message-----
> From: Pali Rohár []
> Sent: Thursday, October 12, 2017 9:34 AM
> To: Limonciello, Mario <>
> Cc:;;
>;; platform-driver-
> Subject: Re: [PATCH v7 10/15] platform/x86: dell-smbios: add filtering capability
> for requests
> On Thursday 12 October 2017 13:23:08 wrote:
> > The existing dcdbas calling interface tooling (libsmbios) expects to be able
> > to access all calls and all tokens. *The kernel doesn't filter any of it.*
> It does not mean that API/ABI was designed correctly or incorrectly.
> Existing old API/ABI is there and we are not going to change it...
> > I understand the ask to filter some calls and that's why patch 10/15 exists,
> > but please let me remind you this patch series is intended to /replace and
> > deprecate/ dcdbas userspace access.
> Now when there is a proposal for a new API/ABI, it should be designed
> correctly without need to redesign it again in future and address all
> problems which are found during review.

Well sure I also would hate to have to redesign this again in the future.
I believe that this is sufficient now.

I'm looking up commands that FW claims can be supported and filtering the
rest. There's your whitelist.

I addressed the concern on the perceived dangerous calls (write once, debugging,
manufacturing use only etc) and those are now filtered. There's your blacklist.

Other than the minor errors that kbuild test robot caught from v6 and the
s/desc_buffer/buffer/ in an earlier patch, what's left?
 \ /
  Last update: 2017-10-12 16:44    [W:0.047 / U:0.044 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site