Messages in this thread | | | Subject | Re: [PATCH] Fix dmesg_restrict build failure with CONFIG_EMBEDDED=y and CONFIG_PRINTK=n | From | Dan Rosenberg <> | Date | Sat, 13 Nov 2010 13:25:21 -0500 |
| |
> > Anyway, suggested replacement patch attached. Comments? >
The desired behavior was to allow a reader with CAP_SYS_ADMIN to open the syslog via /proc/kmsg and continue reading it even after dropping capabilities, which is why it was placed where it was. I see no problem with moving it back out to do_syslog, but ideally the same behavior should be replicated.
-Dan
| |