This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Use INTERNAL_SYSCALL for setfsuid and setfsgid
- From: Ulrich Drepper <drepper at redhat dot com>
- To: GOTO Masanori <gotom at debian dot or dot jp>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Wed, 26 Mar 2003 10:24:31 -0800
- Subject: Re: [PATCH] Use INTERNAL_SYSCALL for setfsuid and setfsgid
- Organization: Red Hat, Inc.
- References: <80n0jii4nz.wl@oris.opensource.jp>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
GOTO Masanori wrote:
> setfsuid(), setfsgid() returns UID or GID, not 0 or -1.
But it might return error values. The fact is that this interface is
misdesigned. It's returning error values and ID. Somebody will have to
talk to the kernel people about that. I'm not going to apply the patch
as is.
- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+gfBf2ijCOnn/RHQRAk/8AJkBmiknVD0/k6zCzWu48Hj6o15oqACbBA6/
JMm3YsZdrO5wtRXGaXg7kwQ=
=GrAh
-----END PGP SIGNATURE-----