Home
last modified time | relevance | path

Searched refs:credp (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/9pfs/
H A D9p-local.c237 FsCred *credp) in local_set_mapped_file_attrat() argument
312 if (credp->fc_uid != -1) { in local_set_mapped_file_attrat()
313 uid = credp->fc_uid; in local_set_mapped_file_attrat()
315 if (credp->fc_gid != -1) { in local_set_mapped_file_attrat()
316 gid = credp->fc_gid; in local_set_mapped_file_attrat()
318 if (credp->fc_mode != (mode_t)-1) { in local_set_mapped_file_attrat()
319 mode = credp->fc_mode; in local_set_mapped_file_attrat()
321 if (credp->fc_rdev != -1) { in local_set_mapped_file_attrat()
322 rdev = credp->fc_rdev; in local_set_mapped_file_attrat()
404 static int local_set_xattrat(int dirfd, const char *path, FsCred *credp) in local_set_xattrat() argument
[all …]
H A D9p-synth.c288 FsCred *credp, V9fsFidOpenState *fs) in synth_open2() argument
359 static int synth_chmod(FsContext *fs_ctx, V9fsPath *path, FsCred *credp) in synth_chmod() argument
366 const char *buf, FsCred *credp) in synth_mknod() argument
373 const char *buf, FsCred *credp) in synth_mkdir() argument
387 V9fsPath *newpath, const char *buf, FsCred *credp) in synth_symlink() argument
407 static int synth_chown(FsContext *fs_ctx, V9fsPath *path, FsCred *credp) in synth_chown() argument
H A D9p.c165 void cred_init(FsCred *credp) in cred_init() argument
167 credp->fc_uid = -1; in cred_init()
168 credp->fc_gid = -1; in cred_init()
169 credp->fc_mode = -1; in cred_init()
170 credp->fc_rdev = -1; in cred_init()