Home
last modified time | relevance | path

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

/f-stack/freebsd/security/mac/
H A Dmac_vfs.c123 mp->mnt_label = mac_mount_label_alloc(); in mac_mount_init()
125 mp->mnt_label = NULL; in mac_mount_init()
178 if (mp->mnt_label != NULL) { in mac_mount_destroy()
179 mac_mount_label_free(mp->mnt_label); in mac_mount_destroy()
180 mp->mnt_label = NULL; in mac_mount_destroy()
243 MAC_POLICY_PERFORM_NOSLEEP(devfs_vnode_associate, mp, mp->mnt_label, in mac_devfs_vnode_associate()
254 MAC_POLICY_CHECK(vnode_associate_extattr, mp, mp->mnt_label, vp, in mac_vnode_associate_extattr()
265 mp->mnt_label, vp, vp->v_label); in mac_vnode_associate_singlelabel()
296 MAC_POLICY_CHECK(vnode_create_extattr, cred, mp, mp->mnt_label, dvp, in mac_vnode_create_extattr()
959 MAC_POLICY_PERFORM(mount_create, cred, mp, mp->mnt_label); in mac_mount_create()
[all …]
/f-stack/freebsd/security/mac_veriexec/
H A Dmac_veriexec.c196 SLOT_SET(mp->mnt_label, va.va_fsid); in mac_veriexec_vfs_mounted()
220 fsid = SLOT(mp->mnt_label); in mac_veriexec_vfs_unmounted()
/f-stack/freebsd/sys/
H A Dmount.h231 struct label *mnt_label; /* MAC label for the fs */ member