Searched refs:acc_mode (Results 1 - 4 of 4) sorted by relevance
/freebsd-11-stable/sys/security/mac_bsdextended/ |
H A D | mac_bsdextended.c | 229 struct ucred *cred, struct vnode *vp, struct vattr *vap, int acc_mode) 387 if ((acc_mode & MBI_ADMIN) && (mac_granted & MBI_ADMIN) == 0 && 390 if ((acc_mode & MBI_EXEC) && (mac_granted & MBI_EXEC) == 0 && 394 if ((acc_mode & MBI_READ) && (mac_granted & MBI_READ) == 0 && 397 if ((acc_mode & MBI_STAT) && (mac_granted & MBI_STAT) == 0 && 400 if ((acc_mode & MBI_WRITE) && (mac_granted & MBI_WRITE) == 0 && 406 if (((mac_granted | priv_granted) & acc_mode) != acc_mode) { 410 cred->cr_rgid, acc_mode, vap->va_uid, 427 int acc_mode) 228 ugidfw_rulecheck(struct mac_bsdextended_rule *rule, struct ucred *cred, struct vnode *vp, struct vattr *vap, int acc_mode) argument 426 ugidfw_check(struct ucred *cred, struct vnode *vp, struct vattr *vap, int acc_mode) argument 456 ugidfw_check_vp(struct ucred *cred, struct vnode *vp, int acc_mode) argument [all...] |
H A D | ugidfw_internal.h | 39 int acc_mode); 40 int ugidfw_check_vp(struct ucred *cred, struct vnode *vp, int acc_mode);
|
/freebsd-11-stable/sys/kern/ |
H A D | sysv_ipc.c | 86 ipcperm(struct thread *td, struct ipc_perm *perm, int acc_mode) argument 121 if ((dac_granted & acc_mode) == acc_mode) 128 if ((acc_mode & IPC_M) && !(dac_granted & IPC_M)) { 134 if ((acc_mode & IPC_R) && !(dac_granted & IPC_R)) { 140 if ((acc_mode & IPC_W) && !(dac_granted & IPC_W)) { 146 if (((dac_granted | priv_granted) & acc_mode) == acc_mode)
|
/freebsd-11-stable/contrib/netbsd-tests/fs/puffs/h_dtfs/ |
H A D | dtfs_vnops.c | 99 dtfs_node_access(struct puffs_usermount *pu, void *opc, int acc_mode, argument 105 pn->pn_va.va_uid, pn->pn_va.va_gid, acc_mode, pcr);
|
Completed in 103 milliseconds