syslog: Provide stub check_syslog_permissions
authorSebastian Schmidt <yath@yath.de>
Fri, 14 Nov 2014 18:51:45 +0000 (10:51 -0800)
committerTony Luck <tony.luck@intel.com>
Mon, 17 Nov 2014 18:28:04 +0000 (10:28 -0800)
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 <jim.epost@gmail.com>
Signed-off-by: Sebastian Schmidt <yath@yath.de>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>

No differences found