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

Function audit_trigger_cdev_init

freebsd/security/audit/audit_trigger.c:170–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170static void
171audit_trigger_cdev_init(void *unused)
172{
173
174 /* Create the special device file. */
175 audit_dev = make_dev(&audit_cdevsw, 0, UID_ROOT, GID_KMEM, 0600,
176 AUDITDEV_FILENAME);
177}
178
179SYSINIT(audit_trigger_cdev_init, SI_SUB_DRIVERS, SI_ORDER_MIDDLE,
180 audit_trigger_cdev_init, NULL);

Callers

nothing calls this directly

Calls 1

make_devFunction · 0.85

Tested by

no test coverage detected