aboutsummaryrefslogtreecommitdiff
path: root/libtrivfs/priv.h
Commit message (Collapse)AuthorAgeFilesLines
* libtrivfs: fix notion of privileged userJustus Winter2016-04-261-0/+9
| | | | | | | | | | | | | | | | | Set 'is_root' if the node has been opened by the root user (this was the old behavior) or if it has been opened by the user the translator is executing under. This fixes the irritating bug that an unprivileged user cannot control her own trivfs-based translators. It does not change how privileged trivfs translators work. * libtrivfs/io-reauthenticate.c (trivfs_S_io_reauthenticate): Use the new function to compute 'isroot'. * libtrivfs/io-restrict-auth.c (trivfs_S_io_restrict_auth): Likewise. * libtrivfs/open.c (trivfs_open): Likewise. * libtrivfs/priv.h (_is_privileged): New function. * libtrivfs/trivfs.h (struct peropen): Clarify what 'isroot' means.
* 2002-06-13 Roland McGrath <roland@frob.com>Roland McGrath2002-06-131-25/+2
| | | | | | | * priv.h: All declarations moved to ... * trivfs.h: ... here. #include those server stub headers. * fsmutations.h (FILE_IMPORTS, IO_IMPORTS, FSYS_IMPORTS): Use <hurd/trivfs.h> instead of "priv.h" here.
* (trivfs_dynamic_protid_port_classes, trivfs_num_dynamic_protid_port_classes,Miles Bader1997-02-201-2/+15
| | | | | | | trivfs_dynamic_control_port_classes, trivfs_num_dynamic_control_port_classes, trivfs_dynamic_port_buckets, trivfs_num_dynamic_port_buckets): New declarations.
* entered into RCSMichael I. Bushnell1994-06-151-0/+3
|
* Formerly priv.h.~3~Michael I. Bushnell1994-05-241-0/+4
|
* Formerly priv.h.~2~Michael I. Bushnell1994-05-241-1/+12
|
* Initial revisionMichael I. Bushnell1994-05-241-0/+18