lkml.org 
[lkml]   [2009]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Don't export scsi kernel variables in userspace headers.
    On Mon, Jul 27, 2009 at 03:44:18AM -0400, Christoph Hellwig wrote:
    > On Fri, Jul 24, 2009 at 10:10:26PM -0400, Dave Jones wrote:
    > > Found with make headers_check
    > >
    > > /usr/include/scsi/scsi.h:159: userspace cannot call function or variable defined in the kernel
    > > /usr/include/scsi/scsi.h:285: userspace cannot call function or variable defined in the kernel
    >
    > The headers shouldn't be exported at all because scsi/ headers are
    > exported from glibc.
    Where does glibc get these headers from?

    If glibc have their own private copy then the headers should indeed be exported
    so we avoid such mess.

    Sam


    \
     
     \ /
      Last update: 2009-07-27 10:29    [W:0.020 / U:30.048 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site