From: Qi Yong <qiyong@fc-cn.com>
To: Ulrich Drepper <drepper@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
linux-kernel@vger.kernel.org, dhommel@gmail.com
Subject: Re: syscall: sys_promote
Date: Wed, 31 Aug 2005 15:53:18 +0800 [thread overview]
Message-ID: <431561EE.8000909@fc-cn.com> (raw)
In-Reply-To: <a36005b505082908415d9202d5@mail.gmail.com>
Ulrich Drepper wrote:
>On 8/29/05, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
>
>
>>Fixing it might be useful in some obscure cases anyway - POSIX threads
>>might benefit from it too, providing the functionality of changing all
>>thread uids at once isnt triggered for sensible threaded app behaviour.
>>
>>
>
>I would very much like to see that fixed. Currently we have to change
>the UIDs/GIDs at userlevel with cross-thread calls implemented via
>signals. This is user observable which is not correct. This is
>probably the last area where we're not 100% POSIX compliant.
>
>As for adding this proposed syscall: it can only lead to chaos. All
>kinds of user code correctly so assumes the IDs don't change over the
>lifetime of a process. The solution for the problem has been
>
>
After a user shell is promoted to root, its prompt is still $ instead of
#. But why do we care?
>mentioned as well: re-exec. This will require some code rewrite on
>the side of the applications but any decent daemon is hopefully soon
>
>
OK, so any decent processes should not break into other processes'
address space.
And let us use non-preemptive multitasking?
>support re-exec anyway for another reason: re-randomization of the
>address space. What good does address space randomization do if the
>machines and programs are so damn stable that they keep running for
>months at a time? nscd supports this now and I think openssh as well.
>
>
next prev parent reply other threads:[~2005-08-31 7:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-26 9:25 syscall: sys_promote Coywolf Qi Hunt
2005-08-26 11:02 ` Coywolf Qi Hunt
2005-08-26 15:19 ` Alan Cox
2005-08-29 3:54 ` qiyong
2005-08-29 12:29 ` Alan Cox
2005-08-29 16:15 ` Trond Myklebust
[not found] ` <a36005b505082908415d9202d5@mail.gmail.com>
2005-08-31 7:53 ` Qi Yong [this message]
2005-08-31 7:58 ` Qi Yong
2005-08-26 12:47 ` Erik Mouw
2005-08-29 3:55 ` qiyong
2005-08-29 7:53 ` Bernd Petrovitsch
2005-08-29 8:16 ` Coywolf Qi Hunt
2005-08-29 8:53 ` Bernd Petrovitsch
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=431561EE.8000909@fc-cn.com \
--to=qiyong@fc-cn.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=dhommel@gmail.com \
--cc=drepper@gmail.com \
--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