Extended attributes
Extended attributes
Posted Jan 8, 2019 20:55 UTC (Tue) by nybble41 (subscriber, #55106)In reply to: Extended attributes by mina86
Parent article: A setback for fs-verity
I'm envisioning something more like openxattrat(int dirfd, const char *path, const char *name, int flags, mode_t mode)
—the link to the internal xattr inode would be hidden in the filesystem and you would need at least search access to the file to open the linked xattr inode. User-mode software would never handle the raw inode numbers.
The resulting FD could then be passed as dirfd to openxattrat() (with an empty path) or to flistxattr()/fgetxattr()/fsetxattr() to access the xattrs of the resulting inode, recursively.
Posted Jan 9, 2019 1:26 UTC (Wed)
by foom (subscriber, #14868)
[Link] (1 responses)
Posted Jan 10, 2019 4:05 UTC (Thu)
by nybble41 (subscriber, #55106)
[Link]
Extended attributes
Extended attributes