Re: [PATCH] setuid(2) buggy or bad docs

2001-06-20 Thread Andries . Brouwer
> setuid(2) differs from the OpenBSD setuid(2) > Either I am non compos or the thing is very wrong. > The docs (man-pages-1.35) say ... Yes, setuid() has a behaviour that varies a bit from system to system. Moreover, it has varied in the history of Linux. The manpage may have been correct when it

[PATCH] setuid(2) buggy or bad docs

2001-06-19 Thread John Fremlin
setuid(2) differs from the OpenBSD setuid(2) in that -EPERM is returned by the syscall even if the euid of the process matches the uid passed to it. Either I am non compos or the thing is very wrong. The docs (man-pages-1.35) say ERRORS EPERM The user is not the super-user, and uid do