Messages in this thread | | | Date | Thu, 11 Nov 2010 15:19:10 +1100 (EST) | From | James Morris <> | Subject | Re: [PATCH v3] Restrict unprivileged access to kernel syslog |
| |
On Wed, 10 Nov 2010, Andrew Morton wrote:
> > +#ifdef CONFIG_SECURITY_DMESG_RESTRICT > > +int dmesg_restrict = 1; > > +#else > > +int dmesg_restrict; > > +#endif > > You might be able to make this an int type and do > > int dmesg_restrict = CONFIG_SECURITY_DMESG_RESTRICT;
This is cleaner, so if resending the patch, I'd prefer this version.
- James -- James Morris <jmorris@namei.org>
| |