public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Hancock <hancockr@shaw.ca>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [Question] LinuxThreads, setuid - Is there user mode hook?
Date: Mon, 26 Dec 2005 20:33:40 -0600	[thread overview]
Message-ID: <43B0A804.5010605@shaw.ca> (raw)
In-Reply-To: <5nt1F-5aZ-1@gated-at.bofh.it>

Luke-Jr wrote:
> On Friday 23 December 2005 20:33, Daniel Jacobowitz wrote:
> 
>>Applications have to run on existing platforms and work with existing
>>software, as I'm sure you know.  If someone anywhere in the food chain
>>isn't ready for NPTL, a project can easily be stuck with LT for another
>>few years.
> 
> 
> Not sure about NPTL support in non-Linux-based operating systems (Solaris, 
> BSD, etc), but I'd be surprised if they supported LinuxThreads. Thus, 
> shouldn't NPTL really result in a *more* portable application?

NPTL vs. LinuxThreads is a purely Linux-specific (well, glibc-specific, 
perhaps) issue, it is merely an implementation detail of the POSIX 
pthreads functions which are present on other UNIX variants. A portable 
application should not care which (if either) is being used.

I'm presuming that the fact that setuid calls with LinuxThreads do not 
change the user ID on all threads is a violation of the POSIX pthreads 
specification.

-- 
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/


       reply	other threads:[~2005-12-27  2:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5mRSA-6ss-15@gated-at.bofh.it>
     [not found] ` <5n1S5-9P-21@gated-at.bofh.it>
     [not found]   ` <5n1S5-9P-19@gated-at.bofh.it>
     [not found]     ` <5nt1F-5aZ-1@gated-at.bofh.it>
2005-12-27  2:33       ` Robert Hancock [this message]
     [not found] <200512231927.jBNJR2uG019083@taverner.CS.Berkeley.EDU>
2005-12-24 16:18 ` [Question] LinuxThreads, setuid - Is there user mode hook? Alon Bar-Lev
     [not found] <200512222312.jBMNCj96018554@taverner.CS.Berkeley.EDU>
2005-12-23  9:51 ` Alon Bar-Lev
2005-12-23 19:08   ` Lee Revell
2005-12-23 20:21     ` Daniel Jacobowitz
2005-12-23 20:36       ` Lee Revell
2005-12-23 20:33         ` Daniel Jacobowitz
2005-12-24 16:16           ` Alon Bar-Lev
2005-12-25  1:31           ` Luke-Jr
2005-12-25  8:05             ` Alon Bar-Lev
2005-12-22 15:47 Alon Bar-Lev

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=43B0A804.5010605@shaw.ca \
    --to=hancockr@shaw.ca \
    --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