From: Andy Lutomirski <luto@myrealbox.com>
To: Chris Wright <chrisw@osdl.org>
Cc: Andy Lutomirski <luto@myrealbox.com>,
Kernel Mailing List <linux-kernel@vger.kernel.org>,
akpm@osdl.org, torvalds@osdl.org, sds@epoch.ncsc.mil
Subject: Re: [PATCH, local root on 2.4, 2.6?] compute_creds race
Date: Fri, 09 Apr 2004 13:53:29 -0700 [thread overview]
Message-ID: <40770D49.7060809@myrealbox.com> (raw)
In-Reply-To: <20040409134323.L22989@build.pdx.osdl.net>
Chris Wright wrote:
> * Andy Lutomirski (luto@myrealbox.com) wrote:
>
>>The setuid program is now running with uid=euid=500 but full permitted
>>capabilities.
>
>
> Yes, dropping and regaining the lock is asking for trouble. Thank you for
> catching this. I don't have an issue with changing the interface name.
> I guess the only question I have is if it's better to leave the setuid
> handling in the core, and move the newly named hook under the task_lock()?
I imagine some LSM might want to do something complex, and holding the
task lock might become a problem. Also, an LSM might want to change the
setuid handling, and this makes it easier.
--Andy
>
> thanks,
> -chris
next prev parent reply other threads:[~2004-04-09 20:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-09 18:49 [PATCH, local root on 2.4, 2.6?] compute_creds race Andy Lutomirski
2004-04-09 20:43 ` Chris Wright
2004-04-09 20:53 ` Andy Lutomirski [this message]
2004-04-10 9:16 ` Olaf Dietsche
2004-04-10 15:40 ` Andy Lutomirski
2004-04-10 18:41 ` Olaf Dietsche
2004-04-10 18:59 ` Andy Lutomirski
2004-04-10 10:32 ` Olaf Dietsche
2004-04-12 18:40 ` Chris Wright
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=40770D49.7060809@myrealbox.com \
--to=luto@myrealbox.com \
--cc=akpm@osdl.org \
--cc=chrisw@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sds@epoch.ncsc.mil \
--cc=torvalds@osdl.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