Lines Matching full:vnode

59 #include <sys/vnode.h>
84 struct vnode *vp, struct label *intlabel);
137 mac_vnode_init(struct vnode *vp) in mac_vnode_init()
191 mac_vnode_destroy(struct vnode *vp) in mac_vnode_destroy()
213 MAC_POLICY_EXTERNALIZE(vnode, label, elements, outbuf, outbuflen); in mac_vnode_externalize_label()
223 MAC_POLICY_INTERNALIZE(vnode, label, string); in mac_vnode_internalize_label()
229 mac_devfs_update(struct mount *mp, struct devfs_dirent *de, struct vnode *vp) in mac_devfs_update()
238 struct vnode *vp) in mac_devfs_vnode_associate()
246 mac_vnode_associate_extattr(struct mount *mp, struct vnode *vp) in mac_vnode_associate_extattr()
259 mac_vnode_associate_singlelabel(struct mount *mp, struct vnode *vp) in mac_vnode_associate_singlelabel()
277 struct vnode *dvp, struct vnode *vp, struct componentname *cnp) in mac_vnode_create_extattr()
310 mac_vnode_setlabel_extattr(struct ucred *cred, struct vnode *vp, in mac_vnode_setlabel_extattr()
344 struct vnode *vp, struct label *interpvplabel, struct image_params *imgp) in mac_vnode_execve_transition()
354 mac_vnode_execve_will_transition(struct ucred *old, struct vnode *vp, in mac_vnode_execve_will_transition()
370 "struct vnode *", "accmode_t");
373 mac_vnode_check_access_impl(struct ucred *cred, struct vnode *vp, accmode_t accmode) in mac_vnode_check_access_impl()
386 "struct vnode *");
389 mac_vnode_check_chdir(struct ucred *cred, struct vnode *dvp) in mac_vnode_check_chdir()
402 "struct vnode *");
405 mac_vnode_check_chroot(struct ucred *cred, struct vnode *dvp) in mac_vnode_check_chroot()
418 "struct vnode *", "struct componentname *", "struct vattr *");
421 mac_vnode_check_create(struct ucred *cred, struct vnode *dvp, in mac_vnode_check_create()
436 "struct vnode *", "acl_type_t");
439 mac_vnode_check_deleteacl(struct ucred *cred, struct vnode *vp, in mac_vnode_check_deleteacl()
453 "struct vnode *", "int", "const char *");
456 mac_vnode_check_deleteextattr(struct ucred *cred, struct vnode *vp, in mac_vnode_check_deleteextattr()
471 MAC_CHECK_PROBE_DEFINE3(vnode_check_exec, "struct ucred *", "struct vnode *",
475 mac_vnode_check_exec(struct ucred *cred, struct vnode *vp, in mac_vnode_check_exec()
490 "struct vnode *", "acl_type_t");
493 mac_vnode_check_getacl(struct ucred *cred, struct vnode *vp, acl_type_t type) in mac_vnode_check_getacl()
506 "struct vnode *", "int", "const char *");
509 mac_vnode_check_getextattr(struct ucred *cred, struct vnode *vp, in mac_vnode_check_getextattr()
524 MAC_CHECK_PROBE_DEFINE4(vnode_check_link, "struct ucred *", "struct vnode *",
525 "struct vnode *", "struct componentname *");
528 mac_vnode_check_link(struct ucred *cred, struct vnode *dvp, in mac_vnode_check_link()
529 struct vnode *vp, struct componentname *cnp) in mac_vnode_check_link()
544 "struct vnode *", "int");
547 mac_vnode_check_listextattr(struct ucred *cred, struct vnode *vp, in mac_vnode_check_listextattr()
563 "struct vnode *", "struct componentname *");
566 mac_vnode_check_lookup_impl(struct ucred *cred, struct vnode *dvp, in mac_vnode_check_lookup_impl()
581 MAC_CHECK_PROBE_DEFINE4(vnode_check_mmap, "struct ucred *", "struct vnode *",
585 mac_vnode_check_mmap_impl(struct ucred *cred, struct vnode *vp, int prot, in mac_vnode_check_mmap_impl()
599 mac_vnode_check_mmap_downgrade(struct ucred *cred, struct vnode *vp, in mac_vnode_check_mmap_downgrade()
613 "struct vnode *", "int");
616 mac_vnode_check_mprotect(struct ucred *cred, struct vnode *vp, int prot) in mac_vnode_check_mprotect()
628 MAC_CHECK_PROBE_DEFINE3(vnode_check_open, "struct ucred *", "struct vnode *",
632 mac_vnode_check_open_impl(struct ucred *cred, struct vnode *vp, accmode_t accmode) in mac_vnode_check_open_impl()
645 "struct vnode *");
649 struct vnode *vp) in mac_vnode_check_poll()
664 "struct vnode *");
668 struct vnode *vp) in mac_vnode_check_read_impl()
683 "struct vnode *");
686 mac_vnode_check_readdir(struct ucred *cred, struct vnode *dvp) in mac_vnode_check_readdir()
699 "struct vnode *");
702 mac_vnode_check_readlink_impl(struct ucred *cred, struct vnode *vp) in mac_vnode_check_readlink_impl()
715 "struct vnode *", "struct label *");
718 mac_vnode_check_relabel(struct ucred *cred, struct vnode *vp, in mac_vnode_check_relabel()
732 "struct vnode *", "struct vnode *", "struct componentname *");
735 mac_vnode_check_rename_from(struct ucred *cred, struct vnode *dvp, in mac_vnode_check_rename_from()
736 struct vnode *vp, struct componentname *cnp) in mac_vnode_check_rename_from()
751 "struct vnode *", "struct vnode *", "struct componentname *");
754 mac_vnode_check_rename_to(struct ucred *cred, struct vnode *dvp, in mac_vnode_check_rename_to()
755 struct vnode *vp, int samedir, struct componentname *cnp) in mac_vnode_check_rename_to()
769 "struct vnode *");
772 mac_vnode_check_revoke(struct ucred *cred, struct vnode *vp) in mac_vnode_check_revoke()
785 "struct vnode *", "acl_type_t", "struct acl *");
788 mac_vnode_check_setacl(struct ucred *cred, struct vnode *vp, acl_type_t type, in mac_vnode_check_setacl()
802 "struct vnode *", "int", "const char *");
805 mac_vnode_check_setextattr(struct ucred *cred, struct vnode *vp, in mac_vnode_check_setextattr()
821 "struct vnode *", "u_long");
824 mac_vnode_check_setflags(struct ucred *cred, struct vnode *vp, u_long flags) in mac_vnode_check_setflags()
837 "struct vnode *", "mode_t");
840 mac_vnode_check_setmode(struct ucred *cred, struct vnode *vp, mode_t mode) in mac_vnode_check_setmode()
853 "struct vnode *", "uid_t", "gid_t");
856 mac_vnode_check_setowner(struct ucred *cred, struct vnode *vp, uid_t uid, in mac_vnode_check_setowner()
870 "struct vnode *", "struct timespec *", "struct timespec *");
873 mac_vnode_check_setutimes(struct ucred *cred, struct vnode *vp, in mac_vnode_check_setutimes()
889 "struct vnode *");
893 struct vnode *vp) in mac_vnode_check_stat_impl()
908 "struct vnode *", "struct vnode *", "struct componentname *");
911 mac_vnode_check_unlink(struct ucred *cred, struct vnode *dvp, in mac_vnode_check_unlink()
912 struct vnode *vp, struct componentname *cnp) in mac_vnode_check_unlink()
927 "struct ucred *", "struct vnode *");
931 struct vnode *vp) in mac_vnode_check_write_impl()
946 mac_vnode_relabel(struct ucred *cred, struct vnode *vp, in mac_vnode_relabel()
1009 struct vnode *vp = ap->a_vp; in vop_stdsetlabel_ea()
1032 vn_setlabel(struct vnode *vp, struct label *intlabel, struct ucred *cred) in vn_setlabel()
1049 * the actual vnode label. in vn_setlabel()
1074 * responsible only for persistence in VOP_SETLABEL(), not the vnode in vn_setlabel()
1083 mac_vnode_assert_locked(struct vnode *vp, const char *func) in mac_vnode_assert_locked()