Searched refs:local_door_file (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/ |
H A D | syseventd.c | 1439 char local_door_file[PATH_MAX + 1]; in syseventd_init() local 1457 if (snprintf(local_door_file, sizeof (local_door_file), "%s%s", in syseventd_init() 1458 root_dir, LOGEVENT_DOOR_UPCALL) >= sizeof (local_door_file)) { in syseventd_init() 1459 syseventd_err_print(INIT_PATH_ERR, local_door_file); in syseventd_init() 1466 if (unlink(local_door_file) != 0) in syseventd_init() 1467 syseventd_print(8, "Unlink of %s failed.\n", local_door_file); in syseventd_init() 1469 fd = open(local_door_file, O_CREAT|O_RDWR, S_IREAD|S_IWRITE); in syseventd_init() 1483 (void) fdetach(local_door_file); in syseventd_init() 1485 if (fattach(upcall_door, local_door_file) != 0) { in syseventd_init() 1497 "local_door_file = %s\n", local_door_file); in syseventd_init() [all …]
|