Re: [PATCH] syslog: provide stub check_syslog_permissions

2014-11-14 Thread Kees Cook
On Thu, Nov 13, 2014 at 9:22 PM, Sebastian Schmidt wrote: > When building without CONFIG_PRINTK, we need to provide a stub > check_syslog_permissions. As there is no way to turn on the > dmesg_restrict sysctl without CONFIG_PRINTK, return success. > > Reported-by: Jim Davis > Signed-off-by: Sebas

[PATCH] syslog: provide stub check_syslog_permissions

2014-11-13 Thread Sebastian Schmidt
When building without CONFIG_PRINTK, we need to provide a stub check_syslog_permissions. As there is no way to turn on the dmesg_restrict sysctl without CONFIG_PRINTK, return success. Reported-by: Jim Davis Signed-off-by: Sebastian Schmidt --- include/linux/syslog.h | 8 1 file changed