Lines Matching full:vp
62 ugidfw_vnode_check_access(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_access() argument
66 return (ugidfw_check_vp(cred, vp, ugidfw_accmode2mbi(accmode))); in ugidfw_vnode_check_access()
94 ugidfw_vnode_check_deleteacl(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_deleteacl() argument
98 return (ugidfw_check_vp(cred, vp, MBI_ADMIN)); in ugidfw_vnode_check_deleteacl()
102 ugidfw_vnode_check_deleteextattr(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_deleteextattr() argument
106 return (ugidfw_check_vp(cred, vp, MBI_WRITE)); in ugidfw_vnode_check_deleteextattr()
110 ugidfw_vnode_check_exec(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_exec() argument
115 return (ugidfw_check_vp(cred, vp, MBI_READ|MBI_EXEC)); in ugidfw_vnode_check_exec()
119 ugidfw_vnode_check_getacl(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_getacl() argument
123 return (ugidfw_check_vp(cred, vp, MBI_STAT)); in ugidfw_vnode_check_getacl()
127 ugidfw_vnode_check_getextattr(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_getextattr() argument
131 return (ugidfw_check_vp(cred, vp, MBI_READ)); in ugidfw_vnode_check_getextattr()
136 struct label *dvplabel, struct vnode *vp, struct label *label, in ugidfw_vnode_check_link() argument
144 error = ugidfw_check_vp(cred, vp, MBI_WRITE); in ugidfw_vnode_check_link()
151 ugidfw_vnode_check_listextattr(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_listextattr() argument
155 return (ugidfw_check_vp(cred, vp, MBI_READ)); in ugidfw_vnode_check_listextattr()
167 ugidfw_vnode_check_open(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_open() argument
171 return (ugidfw_check_vp(cred, vp, ugidfw_accmode2mbi(accmode))); in ugidfw_vnode_check_open()
183 ugidfw_vnode_check_readdlink(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_readdlink() argument
187 return (ugidfw_check_vp(cred, vp, MBI_READ)); in ugidfw_vnode_check_readdlink()
192 struct label *dvplabel, struct vnode *vp, struct label *vplabel, in ugidfw_vnode_check_rename_from() argument
200 return (ugidfw_check_vp(cred, vp, MBI_WRITE)); in ugidfw_vnode_check_rename_from()
205 struct label *dvplabel, struct vnode *vp, struct label *vplabel, in ugidfw_vnode_check_rename_to() argument
213 if (vp != NULL) in ugidfw_vnode_check_rename_to()
214 error = ugidfw_check_vp(cred, vp, MBI_WRITE); in ugidfw_vnode_check_rename_to()
219 ugidfw_vnode_check_revoke(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_revoke() argument
223 return (ugidfw_check_vp(cred, vp, MBI_ADMIN)); in ugidfw_vnode_check_revoke()
227 ugidfw_check_setacl_vnode(struct ucred *cred, struct vnode *vp, in ugidfw_check_setacl_vnode() argument
231 return (ugidfw_check_vp(cred, vp, MBI_ADMIN)); in ugidfw_check_setacl_vnode()
235 ugidfw_vnode_check_setextattr(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_setextattr() argument
239 return (ugidfw_check_vp(cred, vp, MBI_WRITE)); in ugidfw_vnode_check_setextattr()
243 ugidfw_vnode_check_setflags(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_setflags() argument
247 return (ugidfw_check_vp(cred, vp, MBI_ADMIN)); in ugidfw_vnode_check_setflags()
251 ugidfw_vnode_check_setmode(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_setmode() argument
255 return (ugidfw_check_vp(cred, vp, MBI_ADMIN)); in ugidfw_vnode_check_setmode()
259 ugidfw_vnode_check_setowner(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_setowner() argument
263 return (ugidfw_check_vp(cred, vp, MBI_ADMIN)); in ugidfw_vnode_check_setowner()
267 ugidfw_vnode_check_setutimes(struct ucred *cred, struct vnode *vp, in ugidfw_vnode_check_setutimes() argument
271 return (ugidfw_check_vp(cred, vp, MBI_ADMIN)); in ugidfw_vnode_check_setutimes()
276 struct ucred *file_cred, struct vnode *vp, struct label *vplabel) in ugidfw_vnode_check_stat() argument
279 return (ugidfw_check_vp(active_cred, vp, MBI_STAT)); in ugidfw_vnode_check_stat()
284 struct label *dvplabel, struct vnode *vp, struct label *vplabel, in ugidfw_vnode_check_unlink() argument
292 return (ugidfw_check_vp(cred, vp, MBI_WRITE)); in ugidfw_vnode_check_unlink()