Searched refs:crashlog_sentinel_fd (Results 1 - 1 of 1) sorted by relevance

/macosx-10.9.5/syslog-217.1.4/syslogd.tproj/
H A Dasl_action.c72 static int crashlog_sentinel_fd = -1; variable
255 crashlog_sentinel_fd = open(path, O_WRONLY | O_CREAT);
256 if (crashlog_sentinel_fd < 0)
265 close(crashlog_sentinel_fd);
267 crashlog_sentinel_fd = open(path, O_EVTONLY, 0);
268 if (crashlog_sentinel_fd < 0)
277 crashlog_sentinel_src = dispatch_source_create(DISPATCH_SOURCE_TYPE_VNODE, (uintptr_t)crashlog_sentinel_fd, DISPATCH_VNODE_DELETE, asl_action_queue);
284 close(crashlog_sentinel_fd);
285 crashlog_sentinel_fd = -1;
305 close(crashlog_sentinel_fd);
[all...]

Completed in 107 milliseconds