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

Function mac_devfs_init

freebsd/security/mac/mac_vfs.c:98–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void
99mac_devfs_init(struct devfs_dirent *de)
100{
101
102 if (mac_labeled & MPC_OBJECT_DEVFS)
103 de->de_label = mac_devfs_label_alloc();
104 else
105 de->de_label = NULL;
106}
107
108static struct label *
109mac_mount_label_alloc(void)

Callers

nothing calls this directly

Calls 1

mac_devfs_label_allocFunction · 0.85

Tested by

no test coverage detected