mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 0/4] /proc/kmsg permissions, take three
@ 2006-12-15  0:16 Zack Weinberg
  2006-12-15  0:16 ` [patch 1/4] Add <linux/klog.h> Zack Weinberg
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Zack Weinberg @ 2006-12-15  0:16 UTC (permalink / raw)
  To: Stephen Smalley, jmorris, Chris Wright; +Cc: linux-kernel

Here's a re-revised version of my patch set to allow klogd to drop
privileges and continue reading from /proc/kmsg (currently, even if klogd
has a legitimately opened fd on /proc/kmsg, it cannot read from it unless
it has CAP_SYS_ADMIN asserted).  SELinux's pickier and finer-grained
privilege rules for /proc/kmsg are unchanged.

The major change from the previous patchset
[q.v. http://comments.gmane.org/gmane.linux.kernel/466034 ] is that,
as Arjan van de Ven requested, the new header linux/klog.h contains only
userspace-visible definitions (the constants for sys_syslog()).  Thanks to
Alexey Dobriyan for telling me the proper place to put the KLOGSEC_*
constants (now renamed LSM_KLOG_* in keeping with other such constants).
They have also been rediffed versus yesterday's git.  They should be
applied in sequence; each step compiles, and the complete set has been
booted and tested to work as intended.

Any comments, as usual, appreciated.  I would very much like to see this
in 2.6.20.

zw


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-12-15 17:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-15  0:16 [patch 0/4] /proc/kmsg permissions, take three Zack Weinberg
2006-12-15  0:16 ` [patch 1/4] Add <linux/klog.h> Zack Weinberg
2006-12-15  0:59   ` Randy Dunlap
2006-12-15  1:21     ` Zack Weinberg
2006-12-15  0:16 ` [patch 2/4] permission mapping for sys_syslog operations Zack Weinberg
2006-12-15  1:02   ` Randy Dunlap
2006-12-15  1:21     ` Zack Weinberg
2006-12-15 17:08       ` Randy Dunlap
2006-12-15  0:16 ` [patch 3/4] Refactor do_syslog interface Zack Weinberg
2006-12-15  0:16 ` [patch 4/4] Distinguish /proc/kmsg access from sys_syslog Zack Weinberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®