All of lore.kernel.org
 help / color / mirror / Atom feed
* euidaccess/faccessat vs. ACLs
@ 2014-09-18 12:25 Paolo Bonzini
  0 siblings, 0 replies; only message in thread
From: Paolo Bonzini @ 2014-09-18 12:25 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA
  Cc: Jiri Popelka

Hi,

the euidaccess and faccessat(AT_EACCESS) functions are emulated in glibc
and only look at the file's uid/gid.  They do not take ACLs into
account, and this can cause subtle bugs.  This should be noted in the
BUGS section.

Also, the AT_SYMLINK_NOFOLLOW flag to faccessat currently will not work
if specified alone, because Linux does not have an laccess() system
call.  It works if specified together with AT_EACCESS, modulo the above
ACL bug of course.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-18 12:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-18 12:25 euidaccess/faccessat vs. ACLs Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.