From: Pavel Labushev <p.labushev@gmail.com>
To: kernel-hardening@lists.openwall.com
Subject: Re: [kernel-hardening] /proc/PID directory hiding
Date: Sun, 05 Jun 2011 09:18:17 +0800 [thread overview]
Message-ID: <4DEAD959.5060509@gmail.com> (raw)
In-Reply-To: <4DEAC96B.1010107@gmail.com>
>>> Is the above on grsecurity?
>>
>> No, grsecurity hides uid/gid from both *stat*(2) and getdents*(2) functions
>> (implemented as proc_pid_readdir() and pid_getattr()).
>
> Yes, it's on grsecurity. Just try it and see.
>
> $ uname -r
> 2.6.39-grsec
> $ find /proc -maxdepth 1 -type d -name 1
> $ ls -ld /proc/1
> dr-xr-x--- 6 root root 0 Jun 4 21:05 /proc/1
Fixed in the latest grsec patches.
prev parent reply other threads:[~2011-06-05 1:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20110518150601.GA2921@albatros>
[not found] ` <20110524023409.GC12486@openwall.com>
[not found] ` <20110524151246.GA3401@albatros>
[not found] ` <4DE139FE.8050808@gmail.com>
2011-06-04 18:19 ` [kernel-hardening] /proc/PID directory hiding (was: [owl-dev] segoon's status report - #1 of 15) Solar Designer
2011-06-04 20:20 ` Vasiliy Kulikov
2011-06-04 21:03 ` Solar Designer
2011-06-05 0:10 ` [kernel-hardening] /proc/PID directory hiding Pavel Labushev
2011-06-05 1:18 ` Pavel Labushev [this message]
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=4DEAD959.5060509@gmail.com \
--to=p.labushev@gmail.com \
--cc=kernel-hardening@lists.openwall.com \
/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