From: Vasiliy Kulikov <segoon@openwall.com>
To: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: linux-kernel@vger.kernel.org, balbir@linux.vnet.ibm.com,
akpm@linux-foundation.org, viro@zeniv.linux.org.uk,
rientjes@google.com, wilsons@start.ca, security@kernel.org,
eparis@redhat.com, kernel-hardening@lists.openwall.com,
torvalds@linux-foundation.org
Subject: Re: [PATCH 1/2] proc: restrict access to /proc/PID/io
Date: Mon, 27 Jun 2011 14:59:49 +0400 [thread overview]
Message-ID: <20110627105949.GA9260@albatros> (raw)
In-Reply-To: <4E08565C.4080007@jp.fujitsu.com>
On Mon, Jun 27, 2011 at 19:07 +0900, KOSAKI Motohiro wrote:
> I'm ok any alternative way if you have. I only want to don't break iotop.
> It's used very widely and frequently from performance tuning engineers.
It doesn't break listening for own processes statistics. It disables
spying for alien processes. Or is iotop does something useful using
other users' processes information? The only thing I can think about is
watching for the related processes running under the separate account
(e.g. separate DB and web user accounts).
For performance things IMO the precise io activity is needed anyway. If
you have to watch for other processes, you probably have to be root
(which is overkill, though).
Don't know whether it can help - I've suggested the way to define a
group allowed to read somewhat private procfs files:
http://www.openwall.com/lists/kernel-hardening/2011/06/15/19
It is incomplete (in sense of taskstats missing) and it is a bit dumb/not
configurable. Here I suggest a bit more configurable scheme:
http://www.openwall.com/lists/kernel-hardening/2011/06/22/1
Thanks,
--
Vasiliy Kulikov
http://www.openwall.com - bringing security into open computing environments
next prev parent reply other threads:[~2011-06-27 11:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-24 12:08 [PATCH 1/2] proc: restrict access to /proc/PID/io Vasiliy Kulikov
2011-06-27 2:58 ` KOSAKI Motohiro
2011-06-27 7:03 ` Vasiliy Kulikov
2011-06-27 7:33 ` KOSAKI Motohiro
2011-06-27 8:52 ` Vasiliy Kulikov
2011-06-27 10:07 ` KOSAKI Motohiro
2011-06-27 10:59 ` Vasiliy Kulikov [this message]
2011-06-27 22:37 ` Solar Designer
2011-06-28 1:24 ` Balbir Singh
2011-06-28 7:50 ` Vasiliy Kulikov
2011-06-29 1:16 ` Balbir Singh
2011-06-29 11:20 ` Vasiliy Kulikov
2011-06-28 1:13 ` Balbir Singh
2011-06-28 1:15 ` Balbir Singh
2011-06-28 7:50 ` Vasiliy Kulikov
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=20110627105949.GA9260@albatros \
--to=segoon@openwall.com \
--cc=akpm@linux-foundation.org \
--cc=balbir@linux.vnet.ibm.com \
--cc=eparis@redhat.com \
--cc=kernel-hardening@lists.openwall.com \
--cc=kosaki.motohiro@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rientjes@google.com \
--cc=security@kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=viro@zeniv.linux.org.uk \
--cc=wilsons@start.ca \
/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