android_kernel_motorola_sm6375/kernel/printk
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vasily Averin 3ea4331c60 check_syslog_permissions() cleanup
Patch fixes drawbacks in heck_syslog_permissions() noticed by AKPM:
"from_file handling makes me cry.

That's not a boolean - it's an enumerated value with two values
currently defined.

But the code in check_syslog_permissions() treats it as a boolean and
also hardwires the knowledge that SYSLOG_FROM_PROC == 1 (or == `true`).

And the name is wrong: it should be called from_proc to match
SYSLOG_FROM_PROC."

Signed-off-by: Vasily Averin <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Josh Boyer <[email protected]>
Cc: Eric Paris <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2015-06-25 17:00:39 -07:00
..
braille.c printk: Fix return of braille_register_console() 2013-08-06 13:18:12 -07:00
braille.h
console_cmdline.h console: Fix console name size mismatch 2015-03-07 03:39:55 +01:00
Makefile
printk.c check_syslog_permissions() cleanup 2015-06-25 17:00:39 -07:00