From: "Lorenzo Hernández García-Hierro" <lorenzo@gnu.org>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: [PATCH 0/7] procfs privacy
Date: Mon, 18 Apr 2005 20:46:16 +0200 [thread overview]
Message-ID: <1113849977.17341.68.camel@localhost.localdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 1362 bytes --]
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
Signed-off-by: Lorenzo Hernandez Garcia-Hierro <lorenzo@gnu.org>
---
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(-)
--
Lorenzo Hernández García-Hierro <lorenzo@gnu.org>
[1024D/6F2B2DEC] & [2048g/9AE91A22][http://tuxedo-es.org]
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2005-04-18 18:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-18 18:46 Lorenzo Hernández García-Hierro [this message]
2005-04-18 19:27 ` Rik van Riel
2005-04-18 19:46 ` Lorenzo Hernández García-Hierro
2005-04-18 20:01 ` Rik van Riel
2005-04-18 20:18 ` Lorenzo Hernández García-Hierro
2005-04-18 20:31 ` Stephen Smalley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1113849977.17341.68.camel@localhost.localdomain \
--to=lorenzo@gnu.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome