syslog: Provide stub check_syslog_permissions
authorSebastian Schmidt <[email protected]>
Fri, 14 Nov 2014 18:51:45 +0000 (10:51 -0800)
committerTony Luck <[email protected]>
Mon, 17 Nov 2014 18:28:04 +0000 (10:28 -0800)
commit069fb0b63722f8c9f8b4bbce236793626c89af33
tree9e017189673b5dff08e6a470bb600e52cac64c8c
parent68c4a4f8abc60c9440ede9cd123d48b78325f7a3
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 <[email protected]>
Signed-off-by: Sebastian Schmidt <[email protected]>
Acked-by: Kees Cook <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
include/linux/syslog.h