From: Vasiliy Kulikov <segoon@openwall.com>
To: kernel-hardening@lists.openwall.com
Subject: Re: [kernel-hardening] How to temporary change 'current' (task)
Date: Fri, 17 Jun 2011 14:01:54 +0400 [thread overview]
Message-ID: <20110617100154.GA7885@albatros> (raw)
In-Reply-To: <20110617092551.GA6959@albatros>
On Fri, Jun 17, 2011 at 13:25 +0400, Vasiliy Kulikov wrote:
> On Fri, Jun 17, 2011 at 12:59 +0400, Solar Designer wrote:
> > On Fri, Jun 17, 2011 at 12:36:51PM +0400, Vasiliy Kulikov wrote:
> > > I wonder whether there is a simple way to temporary switch 'current' to
> > > another task and then switch it back with minimum side effects?
BTW, as HARDEN_PROC restricts not only procfs, but also netlink sockets,
it should be moved into sysctls. I think about (according to already
implemented dmesg_restricted and kptr_restricted):
kernel.proc_restricted
kernel.proc_restricted_gid
And, as net restriction is no more associated with proc restrictions:
net.core.conninfo_restricted
net.core.conninfo_restricted_gid
Thanks,
--
Vasiliy Kulikov
http://www.openwall.com - bringing security into open computing environments
next prev parent reply other threads:[~2011-06-17 10:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-17 8:36 [kernel-hardening] How to temporary change 'current' (task) Vasiliy Kulikov
2011-06-17 8:59 ` Solar Designer
2011-06-17 9:25 ` Vasiliy Kulikov
2011-06-17 10:01 ` Vasiliy Kulikov [this message]
2011-06-17 10:11 ` Vasiliy Kulikov
2011-06-17 9:29 ` [kernel-hardening] " Peter Zijlstra
2011-06-17 9:56 ` 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=20110617100154.GA7885@albatros \
--to=segoon@openwall.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