euidaccess() vs non suid /bin/sh (Re: dash test -w oddities)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I've asked why it's needed and why euidaccess() from glibc
> wasn't used, especially in case of selinux stuff.

I wonder even more why access() syscall isn't a solution, because
/bin/sh isn't set-uid by definition.

#/bin/cc glibc/sysdeps/posix/euidaccess.c
[...]
    /* If we are not set-uid or set-gid, access does the same.  */
    return access (path, mode);
[...]
#end_cc
____
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux