From: Gianni Tedesco <gianni@scaramanga.co.uk>
To: Jerry Haltom <wasabi@larvalstage.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: setpeuid(pid_t, uid_t) proposal
Date: Tue, 24 Aug 2004 14:30:02 +0100 [thread overview]
Message-ID: <1093354202.22729.15.camel@sherbert> (raw)
In-Reply-To: <1093323005.1248.21.camel@localhost>
[-- Attachment #1: Type: text/plain, Size: 813 bytes --]
On Mon, 2004-08-23 at 23:50 -0500, Jerry Haltom wrote:
> I want to propose a new base system function (and cooresponding
> syscall). I am tentivly calling this function setpeuid(). The function
> will be fairly simple:
>
> Only a process with uid 0 may call it. The first argument is a process
> id. The second argument is a uid. The function is effictivly the exact
> same as seteuid() except that it operates on another process. Very
> simple explanation, now here's why.
LOL pid_t? What if task calling the server dies before the server calls
setpeuid()? Some other users task may now get new credentials.
--
// Gianni Tedesco (gianni at scaramanga dot co dot uk)
lynx --source www.scaramanga.co.uk/scaramanga.asc | gpg --import
8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-08-24 13:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-24 4:50 setpeuid(pid_t, uid_t) proposal Jerry Haltom
2004-08-24 5:58 ` Valdis.Kletnieks
2004-08-24 6:27 ` Jerry Haltom
2004-08-24 12:01 ` Valdis.Kletnieks
2004-08-24 13:30 ` Gianni Tedesco [this message]
2004-08-28 19:15 ` Alan Cox
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=1093354202.22729.15.camel@sherbert \
--to=gianni@scaramanga.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=wasabi@larvalstage.net \
/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