2 * UNFS3 user and group id handling
3 * (C) 2003, Pascal Schmidt
4 * see file LICENSE for license details
12 int get_uid(struct svc_req *req);
14 int mangle_uid(int id);
15 int mangle_gid(int id);
17 int is_owner(int owner, struct svc_req *req);
18 int has_group(int group, struct svc_req *req);
20 void get_squash_ids(void);
22 void switch_to_root();
23 void switch_user(struct svc_req *req);
25 void read_executable(struct svc_req *req, backend_statstruct buf);
26 void read_by_owner(struct svc_req *req, backend_statstruct buf);
27 void write_by_owner(struct svc_req *req, backend_statstruct buf);