Home
last modified time | relevance | path

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

/freebsd/sys/security/mac/
H A Dmac_vfs.c121 mp->mnt_label = mac_mount_label_alloc(); in mac_mount_init()
123 mp->mnt_label = NULL; in mac_mount_init()
176 if (mp->mnt_label != NULL) { in mac_mount_destroy()
177 mac_mount_label_free(mp->mnt_label); in mac_mount_destroy()
178 mp->mnt_label = NULL; in mac_mount_destroy()
241 MAC_POLICY_PERFORM_NOSLEEP(devfs_vnode_associate, mp, mp->mnt_label, in mac_devfs_vnode_associate()
252 MAC_POLICY_CHECK(vnode_associate_extattr, mp, mp->mnt_label, vp, in mac_vnode_associate_extattr()
263 mp->mnt_label, vp, vp->v_label); in mac_vnode_associate_singlelabel()
294 MAC_POLICY_CHECK(vnode_create_extattr, cred, mp, mp->mnt_label, dvp, in mac_vnode_create_extattr()
957 MAC_POLICY_PERFORM(mount_create, cred, mp, mp->mnt_label); in mac_mount_create()
[all …]
/freebsd/sys/security/mac_veriexec/
H A Dmac_veriexec.c208 SLOT_SET(mp->mnt_label, va.va_fsid); in mac_veriexec_vfs_mounted()
230 fsid = SLOT(mp->mnt_label); in mac_veriexec_vfs_unmounted()
/freebsd/sys/sys/
H A Dmount.h252 struct label *mnt_label; /* MAC label for the fs */ member