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

Function ctty_drvinit

freebsd/kern/tty_tty.c:90–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90static void
91ctty_drvinit(void *unused)
92{
93
94 EVENTHANDLER_REGISTER(dev_clone, ctty_clone, 0, 1000);
95 ctty = make_dev_credf(MAKEDEV_ETERNAL, &ctty_cdevsw, 0, NULL, UID_ROOT,
96 GID_WHEEL, 0666, "ctty");
97}
98
99SYSINIT(cttydev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE,ctty_drvinit,NULL);

Callers

nothing calls this directly

Calls 1

make_dev_credfFunction · 0.85

Tested by

no test coverage detected