www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/02/10:18:57

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: standards and 'setgid' function
Date: 2 Jan 2002 15:11:11 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 21
Message-ID: <a0v7uf$am4$1@nets3.rz.RWTH-Aachen.DE>
References: <slrn DOT pl DOT a3649e DOT j1 DOT Hary AT localhost DOT localdomain>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1009984271 10948 137.226.32.75 (2 Jan 2002 15:11:11 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 2 Jan 2002 15:11:11 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

HARY <Hary AT address DOT is DOT invalid> wrote:
> Hi,

> While looking in docs for 'setgid' description i found that linux man
> says: "CONFORMING TO: SVr4, SVID", but djgpp info states: "Portability:
> not ANSI, POSIX"

> These don't match, so who is right here? And what "SVID" is?

They're both right.  setgid is specified by POSIX, but Linux only
follows the exact details of that specification if you explicitly ask
for that (see the text of their man page).  By default, it follows
"System V" semantics.

DJGPP implements POSIX behaviour (but usually fails the call, as if
you were on a system were only one group was defined at all).

SVID is "System V Interface Definition" or something equivalent, IIRC.
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019