Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Date: Thu, 16 Jan 2003 14:01:19 -0500 From: Jason Tishler Subject: setregid() and setreuid() implementation proposal To: Cygwin-Developers Mail-followup-to: Cygwin-Developers Message-id: <20030116190119.GD820@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i Is the following simplistic setregid() implementation acceptable? extern "C" int setregid (__gid16_t rgid, __gid16_t egid) { if (rgid != -1) { set_errno (EINVAL); return -1; } return setegid (egid); } And, likewise for setreuid()? If so, then I will submit the corresponding patch. Thanks, Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6