All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/5 v4] procfs: introduce hidepid=, hidenet=, gid= mount options
@ 2011-06-15 18:51 ` Vasiliy Kulikov
  0 siblings, 0 replies; 22+ messages in thread
From: Vasiliy Kulikov @ 2011-06-15 18:51 UTC (permalink / raw)
  To: linux-kernel
  Cc: kernel-hardening, Andrew Morton, Greg Kroah-Hartman,
	David S. Miller, Arnd Bergmann

This patch series adds support of procfs mount options and adds
mount options to restrict /proc/<pid>/ directories to owners and
/proc/<pid>/net/* to root.  Additional group may be defined via
gid=, and this group will be privileged to study others /proc/<pid>/
and networking information.

Similar features are implemented for old kernels in -ow patches (for
Linux 2.2 and 2.4) and for Linux 2.6 in -grsecurity, but both of them
are implemented as configure options, not cofigurable in runtime, with
changes of gid of /proc/<pid>/, and without backward-compatible
/proc/<pid>/net/* handling.


The first patch introduces mount option parsing without any new options.
The second patch adds options of /proc/<pid>/ restrictions.
The third patch makes net_create() globally visible.
The fourth patch adds options of /proc/<pid>/net/ restrictions.
The fifth patch adds documentations for options above.

Vasiliy Kulikov (5):
  procfs: parse mount options
  procfs: add hidepid= and gid= mount options
  net: restore net_create and make it globally visible
  procfs: Add hidenet/nohidenet procfs mount options.
  procfs: add documentation for procfs mount options

 Documentation/filesystems/proc.txt |   51 ++++++++++++++++++++++
 fs/proc/base.c                     |   62 ++++++++++++++++++++++++++-
 fs/proc/inode.c                    |   20 +++++++++
 fs/proc/internal.h                 |    1 +
 fs/proc/proc_net.c                 |   26 +++++++++++
 fs/proc/root.c                     |   83 +++++++++++++++++++++++++++++++++++-
 include/linux/pid_namespace.h      |    3 +
 include/net/net_namespace.h        |    2 +
 net/core/net_namespace.c           |   12 +++--
 9 files changed, 253 insertions(+), 7 deletions(-)


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

end of thread, other threads:[~2011-10-30 17:09 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-15 18:51 [RFC 0/5 v4] procfs: introduce hidepid=, hidenet=, gid= mount options Vasiliy Kulikov
2011-06-15 18:51 ` [kernel-hardening] " Vasiliy Kulikov
2011-06-16  8:50 ` Arnd Bergmann
2011-06-16  8:50   ` [kernel-hardening] " Arnd Bergmann
2011-06-16  8:58   ` Vasiliy Kulikov
2011-06-16  8:58     ` [kernel-hardening] " Vasiliy Kulikov
2011-06-16 11:40     ` Arnd Bergmann
2011-06-16 11:40       ` [kernel-hardening] " Arnd Bergmann
2011-06-16 13:33       ` Vasiliy Kulikov
2011-06-16 13:33         ` [kernel-hardening] " Vasiliy Kulikov
2011-10-30 17:09       ` richard -rw- weinberger
2011-10-30 17:09         ` [kernel-hardening] " richard -rw- weinberger
2011-06-21 22:31 ` Andrew Morton
2011-06-21 22:31   ` [kernel-hardening] " Andrew Morton
2011-06-22  6:45   ` Vasiliy Kulikov
2011-06-22  6:45     ` [kernel-hardening] " Vasiliy Kulikov
2011-06-22 10:17     ` Vasiliy Kulikov
2011-06-22 10:17       ` [kernel-hardening] " Vasiliy Kulikov
2011-06-29 19:16     ` Vasiliy Kulikov
2011-06-29 19:16       ` [kernel-hardening] " Vasiliy Kulikov
2011-07-06 11:25       ` Alexey Dobriyan
2011-07-06 11:25         ` [kernel-hardening] " Alexey Dobriyan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.