]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5570a4d2c8e9374c93664a773099fef089d09723
tree9e017189673b5dff08e6a470bb600e52cac64c8c
parent6572c4843c189f61d8fb5e18f0053ce992358033
syslog: Provide stub check_syslog_permissions

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>
include/linux/syslog.h