[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setgroups
From: |
Rob Browning |
Subject: |
Re: setgroups |
Date: |
Thu, 17 Apr 2003 22:19:06 -0500 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) |
address@hidden (Paul Jarc) writes:
> Is the situation somehow different from that for getgroups? I was
> just about to (try to) make a patch that would add setgroups similarly
> to how getgroups is done.
My fault -- I failed to see the use of HAVE_GETGROUPS in posix.c --
dunno how I overlooked that.
My comment about it being different was just based on this from the
manpages:
CONFORMING TO
SVr4, SVID (issue 4 only; these calls were not present in SVr3),
X/OPEN, 4.3BSD. The getgroups function is in POSIX.1. Since setgroups
requires privilege, it is not covered by POSIX.1.
Since I overlooked the HAVE_GETGROUPS, I guessed maybe we were just
presuming a POSIX system in posix.c.
--
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
- Re: setgroups, Rob Browning, 2003/04/17
- Re: setgroups, Paul Jarc, 2003/04/17
- Re: setgroups, Marius Vollmer, 2003/04/17
- Re: setgroups,
Rob Browning <=
- Re: setgroups, Paul Jarc, 2003/04/17
- Re: setgroups, Rob Browning, 2003/04/17
- Re: setgroups, Marius Vollmer, 2003/04/18
- Re: setgroups, Paul Jarc, 2003/04/18
- Re: setgroups, Paul Jarc, 2003/04/18
- Re: setgroups, Paul Jarc, 2003/04/18
- Re: setgroups, Paul Jarc, 2003/04/21
- Re: setgroups, Rob Browning, 2003/04/18
- Re: setgroups, Paul Jarc, 2003/04/18
- Re: setgroups, Rob Browning, 2003/04/18