From: Andreas Ferber <aferber@techfak.uni-bielefeld.de>
To: linux-kernel@vger.kernel.org
Cc: Danek Duvall <duvall@emufarm.org>, Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: root-owned /proc/pid files for threaded apps?
Date: Sun, 10 Mar 2002 21:37:06 +0100 [thread overview]
Message-ID: <20020310213706.A673@devcon.net> (raw)
In-Reply-To: <20020307060110.GA303@lorien.emufarm.org> <E16iyBW-0002HP-00@the-village.bc.nu> <20020308100632.GA192@lorien.emufarm.org> <20020308195939.A6295@devcon.net> <20020308203157.GA457@lorien.emufarm.org> <20020308222942.A7163@devcon.net> <20020308214148.GA750@lorien.emufarm.org> <20020308233001.B7163@devcon.net> <20020309030937.GA244@lorien.emufarm.org>
In-Reply-To: <20020309030937.GA244@lorien.emufarm.org>; from duvall@emufarm.org on Fri, Mar 08, 2002 at 07:09:37PM -0800
On Fri, Mar 08, 2002 at 07:09:37PM -0800, Danek Duvall wrote:
> Ok, after trying all four combinations (call to wmb() moved or not, and
> set_user(0, 1) vs set_user(0, 0)), it turns out all four exhibit
> skipping, so that's unrelated (in fact, it seems to happen not on net
> access, but on redraw -- mozilla's dialogs make xmms skip, too).
OK, so it's clearly unrelated.
> I'll leave it for someone else to decide what arguments to set_user()
> exec_usermodehelper() should pass.
Clearing dumpable at this point is obviously wrong as it always has
side-effects on the process that was leading into the module request.
It's also unnecessary, as it /only/ has effect on the /old/ mm_struct,
before doing the execve() of the usermode helper. As request_module
and friends don't introduce sensitive data into the address space of
the calling process, leaving dumpable alone is just fine.
So, IMO, set_user(0, 0) should be the way to go.
Andreas
--
Andreas Ferber - dev/consulting GmbH - Bielefeld, FRG
---------------------------------------------------------
+49 521 1365800 - af@devcon.net - www.devcon.net
next prev parent reply other threads:[~2002-03-10 20:37 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-07 6:01 root-owned /proc/pid files for threaded apps? Danek Duvall
2002-03-07 7:43 ` Danek Duvall
2002-03-07 13:43 ` Alan Cox
2002-03-08 10:06 ` Danek Duvall
2002-03-08 13:33 ` Alan Cox
2002-03-08 18:59 ` Andreas Ferber
2002-03-08 20:31 ` Danek Duvall
2002-03-08 21:29 ` Andreas Ferber
2002-03-08 21:41 ` Danek Duvall
2002-03-08 22:30 ` Andreas Ferber
2002-03-09 3:09 ` Danek Duvall
2002-03-10 20:37 ` Andreas Ferber [this message]
2002-03-08 21:47 ` J Sloan
2002-03-08 21:59 ` Danek Duvall
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=20020310213706.A673@devcon.net \
--to=aferber@techfak.uni-bielefeld.de \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=duvall@emufarm.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