[CVE-2009-0029] Make sys_syslog a conditional system call
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 14 Jan 2009 13:13:58 +0000 (14:13 +0100)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 14 Jan 2009 13:15:16 +0000 (14:15 +0100)
commitf627a741d24f12955fa2d9f8831c3b12860635bd
tree2b96ea5be1df1978fd08544929c2ab3d4fbad8ba
parentc9da9f2129d6a421c32e334a83770a9e67f7feac
[CVE-2009-0029] Make sys_syslog a conditional system call

Remove the -ENOSYS implementation for !CONFIG_PRINTK and use
the cond_syscall infrastructure instead.

Acked-by: Kyle McMartin <kyle@redhat.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
kernel/printk.c
kernel/sys_ni.c