Home
last modified time | relevance | path

Searched refs:VOP_ACCESS (Results 1 – 25 of 48) sorted by relevance

12

/netbsd/sys/fs/adosfs/
H A Dadlookup.c101 if ((error = VOP_ACCESS(vdp, VEXEC, ucp)) != 0) in adosfs_lookup()
205 if ((error = VOP_ACCESS(vdp, VWRITE, ucp)) != 0) { in adosfs_lookup()
226 if ((error = VOP_ACCESS(vdp, VWRITE, ucp)) != 0) { in adosfs_lookup()
237 if ((error = VOP_ACCESS(vdp, VWRITE, ucp)) != 0) { in adosfs_lookup()
/netbsd/sys/fs/msdosfs/
H A Dmsdosfs_lookup.c145 if ((error = VOP_ACCESS(vdp, VEXEC, cnp->cn_cred)) != 0) in msdosfs_lookup()
372 error = VOP_ACCESS(vdp, VWRITE, cnp->cn_cred); in msdosfs_lookup()
487 error = VOP_ACCESS(vdp, VWRITE, cnp->cn_cred); in msdosfs_lookup()
518 error = VOP_ACCESS(vdp, VWRITE, cnp->cn_cred); in msdosfs_lookup()
/netbsd/sys/ufs/ext2fs/
H A Dext2fs_lookup.c318 if ((error = VOP_ACCESS(vdp, VEXEC, cred)) != 0) in ext2fs_lookup()
548 error = VOP_ACCESS(vdp, VWRITE, cred); in ext2fs_lookup()
652 if ((error = VOP_ACCESS(vdp, VWRITE, cred)) != 0) { in ext2fs_lookup()
682 error = VOP_ACCESS(vdp, VWRITE, cred); in ext2fs_lookup()
/netbsd/sys/ufs/ufs/
H A Dufs_lookup.c225 error = VOP_ACCESS(vdp, VEXEC, cred); in ufs_can_delete()
249 error = VOP_ACCESS(vdp, VWRITE, cred); in ufs_can_delete()
367 if ((error = VOP_ACCESS(vdp, VEXEC, cred)) != 0) in ufs_lookup()
628 error = VOP_ACCESS(vdp, VWRITE, cred); in ufs_lookup()
716 error = VOP_ACCESS(vdp, VWRITE, cred); in ufs_lookup()
H A Dufs_acl.c535 if ((error = VOP_ACCESS(vp, VADMIN, cred))) in ufs_setacl_posix1e()
/netbsd/sys/kern/
H A Dvfs_getcwd.c327 error = VOP_ACCESS(lvp, accmode, cred); in getcwd_common()
363 error = VOP_ACCESS(lvp, accmode, cred); in getcwd_common()
H A Dtty_tty.c73 error = VOP_ACCESS(ttyvp, in cttyopen()
H A Dexec_script.c216 error = VOP_ACCESS(epp->ep_vp, VREAD, l->l_cred); in exec_script_makecmds()
H A Dvfs_init.c390 error = VOP_ACCESS(devvp, accmode, cred); in mount_listener_cb()
/netbsd/sys/ufs/lfs/
H A Dulfs_lookup.c167 if ((error = VOP_ACCESS(vdp, VEXEC, cred)) != 0) in ulfs_lookup()
455 error = VOP_ACCESS(vdp, VWRITE, cred); in ulfs_lookup()
564 error = VOP_ACCESS(vdp, VWRITE, cred); in ulfs_lookup()
597 error = VOP_ACCESS(vdp, VWRITE, cred); in ulfs_lookup()
/netbsd/sys/fs/filecorefs/
H A Dfilecore_lookup.c152 if ((error = VOP_ACCESS(vdp, VEXEC, cred)) != 0) in filecore_lookup()
/netbsd/sys/miscfs/genfs/
H A Dgenfs_rename.c1112 error = VOP_ACCESS(fdvp, VWRITE, cred); in genfs_ufslike_rename_check_permitted()
1123 error = VOP_ACCESS(tdvp, VWRITE, cred); in genfs_ufslike_rename_check_permitted()
1127 error = VOP_ACCESS(fvp, VWRITE, cred); in genfs_ufslike_rename_check_permitted()
1195 error = VOP_ACCESS(dvp, VWRITE, cred); in genfs_ufslike_remove_check_permitted()
H A Dgenfs_vnops.c1320 error = VOP_ACCESS(vp, VWRITE, cred); in genfs_can_chtimes()
1401 return VOP_ACCESS(vp, accmode, cred); in genfs_can_extattr()
1431 return VOP_ACCESS(ap->a_vp, accmode, ap->a_cred); in genfs_accessx()
/netbsd/lib/libpuffs/
H A DTODO16 * try to implement a kernel policy for VOP_ACCESS, it's called
/netbsd/sys/fs/tmpfs/
H A Dtmpfs_vnops.c150 error = VOP_ACCESS(dvp, VEXEC, cnp->cn_cred); in tmpfs_lookup()
238 error = VOP_ACCESS(dvp, VWRITE, cnp->cn_cred); in tmpfs_lookup()
267 error = VOP_ACCESS(dvp, VWRITE, cnp->cn_cred); in tmpfs_lookup()
/netbsd/sys/fs/cd9660/
H A Dcd9660_lookup.c137 if ((error = VOP_ACCESS(vdp, VEXEC, cred)) != 0) in cd9660_lookup()
/netbsd/sys/fs/efs/
H A Defs_vnops.c71 err = VOP_ACCESS(ap->a_dvp, VEXEC, cnp->cn_cred); in efs_lookup()
97 err = VOP_ACCESS(ap->a_dvp, VWRITE, in efs_lookup()
/netbsd/sys/fs/unionfs/
H A Dunionfs_subr.c756 error = VOP_ACCESS(lvp, VREAD, cred); in unionfs_copyfile()
824 if ((error = VOP_ACCESS(vp, VEXEC|VREAD, cred)) != 0) in unionfs_check_rmdir()
/netbsd/sys/fs/v7fs/
H A Dv7fs_vnops.c120 if ((error = VOP_ACCESS(dvp, VEXEC, cnp->cn_cred))) { in v7fs_lookup()
153 if ((error = VOP_ACCESS(dvp, VWRITE, cnp->cn_cred))) { in v7fs_lookup()
167 if ((error = VOP_ACCESS(dvp, VWRITE, cnp->cn_cred))) { in v7fs_lookup()
/netbsd/sys/fs/sysvbfs/
H A Dsysvbfs_vnops.c91 if ((error = VOP_ACCESS(a->a_dvp, VEXEC, cnp->cn_cred)) != 0) { in sysvbfs_lookup()
111 if ((error = VOP_ACCESS(v, VWRITE, cnp->cn_cred)) != 0) in sysvbfs_lookup()
/netbsd/sys/fs/udf/
H A Dudf_vnops.c685 error = VOP_ACCESS(dvp, VEXEC, cnp->cn_cred); in udf_lookup()
785 error = VOP_ACCESS(dvp, VWRITE, cnp->cn_cred); in udf_lookup()
811 error = VOP_ACCESS(dvp, VWRITE, cnp->cn_cred); in udf_lookup()
/netbsd/sys/rump/librump/rumpvfs/
H A Drumpfs.c688 rv = VOP_ACCESS(dvp, VEXEC, cnp->cn_cred); in rump_vop_lookup()
790 rv = VOP_ACCESS(dvp, VWRITE, cnp->cn_cred); in rump_vop_lookup()
797 rv = VOP_ACCESS(dvp, VWRITE, cnp->cn_cred); in rump_vop_lookup()
H A Drumpvnode_if.c161 error = VOP_ACCESS(vp, accmode, cred); in RUMP_VOP_ACCESS()
/netbsd/sys/sys/
H A Dvnode_if.h134 int VOP_ACCESS(struct vnode *, accmode_t, kauth_cred_t);
/netbsd/sys/fs/nilfs/
H A Dnilfs_vnops.c635 error = VOP_ACCESS(dvp, VEXEC, cnp->cn_cred); in nilfs_lookup()
717 error = VOP_ACCESS(dvp, VWRITE, cnp->cn_cred); in nilfs_lookup()

12