This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use INTERNAL_SYSCALL for setfsuid and setfsgid


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]