diff options
author | Roland McGrath <roland@gnu.org> | 1999-10-07 20:53:32 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-10-07 20:53:32 +0000 |
commit | f597c00ec39178fd27cc016c09d9bc40fd36053a (patch) | |
tree | f91d7a286fe41a103c85ab7b0ee58d5bf59a641c /libfshelp/fshelp.h | |
parent | 438c23ab1c64ea66fdad2400ca852404c4622860 (diff) |
1999-10-07 Roland McGrath <roland@baalperazim.frob.com>
* start-translator-long.c (fshelp_start_translator_long): Take new
argument OWNER_UID. Get child's proc port and do proc_setowner on it.
* fshelp.h: Update decl.
* start-translator.c (fshelp_start_translator): Pass new arg to
fshelp_start_translator_long with value from geteuid ().
* fetch-root.c (fshelp_fetch_root): Pass UID as new arg to
fshelp_start_translator_long.
Diffstat (limited to 'libfshelp/fshelp.h')
-rw-r--r-- | libfshelp/fshelp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h index 9fe8fcfc..309f64b4 100644 --- a/libfshelp/fshelp.h +++ b/libfshelp/fshelp.h @@ -59,6 +59,7 @@ fshelp_start_translator_long (fshelp_open_fn_t underlying_open_fn, mach_port_t *ports, mach_msg_type_name_t ports_type, int ports_len, int *ints, int ints_len, + uid_t owner_uid, int timeout, fsys_t *control); @@ -244,7 +245,7 @@ error_t fshelp_access (struct stat *st, int op, struct iouser *user); existing file ST. (If there is no existing file, pass 0 for ST.) If the access is permissable return 0; otherwise return an appropriate error code. */ -error_t fshelp_checkdirmod (struct stat *dir, struct stat *st, +error_t fshelp_checkdirmod (struct stat *dir, struct stat *st, struct iouser *user); |