lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sun, 16 Nov 2008 13:13:18 +0300
From:	Alexey Dobriyan <adobriyan@...il.com>
To:	Bernhard Walle <bwalle@...e.de>
Cc:	x86@...nel.org, linux-kernel@...r.kernel.org,
	linux-arch@...r.kernel.org
Subject: Re: [PATCH 2/2] Add dev.mem.restricted sysctl

On Sun, Nov 16, 2008 at 10:28:43AM +0100, Bernhard Walle wrote:
> * 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.

It's a name for sysctls accessible via sysctl(2).

Please, if you're adding sysctl, supply only .procname and make it accessible
only via /proc/sys/.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ