MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mac_mount_init

Function mac_mount_init

freebsd/security/mac/mac_vfs.c:118–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118void
119mac_mount_init(struct mount *mp)
120{
121
122 if (mac_labeled & MPC_OBJECT_MOUNT)
123 mp->mnt_label = mac_mount_label_alloc();
124 else
125 mp->mnt_label = NULL;
126}
127
128struct label *
129mac_vnode_label_alloc(void)

Callers 1

vfs_mount_allocFunction · 0.85

Calls 1

mac_mount_label_allocFunction · 0.85

Tested by

no test coverage detected