lkml.org 
[lkml]   [2008]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] Add dev.mem.restricted sysctl
* Alexey Dobriyan [2008-11-16 03:33]:
>
> On Sun, Nov 16, 2008 at 01:03:43AM +0100, Bernhard Walle wrote:
> > --- a/include/linux/sysctl.h
> > +++ b/include/linux/sysctl.h
> > @@ -858,6 +858,7 @@ enum {
> > DEV_MAC_HID=5,
> > DEV_SCSI=6,
> > DEV_IPMI=7,
> > + DEV_MEM=8,
> > };
> >
> > /* /proc/sys/dev/cdrom */
> > @@ -875,6 +876,11 @@ enum {
> > DEV_PARPORT_DEFAULT=-3
> > };
> >
> > +/* /proc/sys/dev/mem */
> > +enum {
> > + DEV_MEM_RESTRICTED=1,
> > +};
>
> No new binary sysctls please.

Why is that sysctl binary? It's just an integer.


Regards,
Bernhard


\
 
 \ /
  Last update: 2008-11-16 10:31    [W:0.065 / U:40.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site