Re: euidaccess() as syscall

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

 



On Fri, May 02, 2008 at 05:59:36PM +0100, Oleg Verych wrote:
> Hallo.
> 
> Why there's no euidaccess() syscall (most obvious use is in `test` or
> `[` utility)?
> 
> Instead euiaccess() in glibc and access() in kernel are doing unnecessary uid
> shuffling.

Are there any programs which care?  Do you have a benchmark that might
show an improvement if we added an euidaccess() syscall?

My impression was that most programs ignore the access() family of
syscalls and just try to do the open and cope with the failure.  They
have to anyway, since the file could have changed permission between the
call to access() and the call to open().

-- 
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux