Syslog permissions, revised
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Add <linux/klog.h>fs/ include/ include/ +1 more | +47 | 0 replies | |
| 2/4 | permission mapping for sys_syslog operationsinclude/ kernel/ security/ +2 more | +51 | 6 replies | |
| 3/4 | Refactor do_syslog interfacefs/ include/ kernel/ | +145 | 0 replies | |
| 4/4 | Distinguish /proc/kmsg access from sys_syslogfs/ include/ security/ +1 more | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/4] Syslog permissions, revised
This patchset revises my attempt from last week to allow running klogd unprivileged without a root shim. I believe I have addressed all outstanding objections: in particular, the privilege model enforced by SELinux is unchanged (you have to have system__syslog_mod to read /proc/kmsg). I have also included some nice refactorings (symbolic constants for sys_syslog opcodes, that sort of thing) and a few bugfixes (minor and unlikely to affect any live application, but still).
I hope that this can be considered for 2.6.19; it is low risk in my opinion and it would be nice to get this functionality into the hands of the distributors sooner.
zw