On 2019-07-29, Mattias Andrée <[email protected]> wrote:
> setuid is inherited (exec(3) never changes the effective user according
> to POSIX unless the new process have the setuid flag and it is not blocked
> by the ST_NOSUID mount option). However, I cannot think of a real world
> scenario where this would matter; it would be if the user have a program
> similar to sudo that only changes the effective user.

Ah, okay, thanks for the explanation. Well, I suppose it doesn't hurt,
and also matches `test -x`, which uses AT_EACCESS as well.

Applied.

Reply via email to