Skip to content

procfs privacy

Lorenzo Hernández García-Hierro lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7procfs privacy: /proc/bus/pcidrivers/pci/proc.c+2 -21 reply
2/7procfs privacy: tasks/processes lookupfs/proc/base.c+9 -13 replies
3/7procfs privacy: misc. entriesfs/proc/proc_misc.c+13 -124 replies
4/7procfs privacy: /proc/bus & /proc/net directory entriesfs/proc/root.c+2 -20 replies
5/7procfs privacy: /proc/config.gzkernel/configs.c+1 -11 reply
6/7procfs privacy: /proc/kallsymskernel/kallsyms.c+1 -10 replies
7/7procfs privacy: /proc/iomem & /proc/ioportskernel/resource.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] procfs privacy

As extracted from grsecurity's config. documentation: "non-root users will only be able to view their own processes, and restricts them from viewing network-related information, and viewing kernel symbol and module information."

This is a procfs "privacy" split-up patch based in grsecurity procfs restrictions
with some changes, more concretely, the restricted sections and entries are:

- /proc/bus
/pci
- /proc/net
- /proc/config.gz
- /proc/kallsyms
- /proc/ioports
- /proc/iomem
- /proc/devices
- /proc/cmdline
- /proc/version
- /proc/uptime
- /proc/cpuinfo
- /proc/partitions
- /proc/stat
- /proc/interrupts
- /proc/slabinfo
- /proc/diskstats
- /proc/modules
- /proc/schedstat

---

linux-2.6.11-lorenzo/drivers/pci/proc.c  |    4 ++--
linux-2.6.11-lorenzo/fs/proc/base.c      |   10 +++++++++-
linux-2.6.11-lorenzo/fs/proc/proc_misc.c |   25
+++++++++++++------------
linux-2.6.11-lorenzo/fs/proc/root.c      |    4 ++--
linux-2.6.11-lorenzo/kernel/configs.c    |    2 +-
linux-2.6.11-lorenzo/kernel/kallsyms.c   |    2 +-
linux-2.6.11-lorenzo/kernel/resource.c   |    4 ++--
7 files changed, 30 insertions(+), 21 deletions(-)
Signature · 2 lines
Lorenzo Hernández García-Hierro <[email protected]> 
[1024D/6F2B2DEC] & [2048g/9AE91A22][http://tuxedo-es.org]