Searched refs:LOCK_FILE (Results 1 – 1 of 1) sorted by relevance
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipsecconf.c | 111 #define LOCK_FILE lock_file macro 1579 warn(gettext("Cannot open lock file %s"), LOCK_FILE); in perm_check() 1597 if ((fd = open(LOCK_FILE, O_EXCL|O_CREAT|O_RDWR, S_IRUSR|S_IWUSR)) in lock() 1612 if (lstat(LOCK_FILE, &sbuf1) == -1) { in lock() 1613 EXIT_FATAL2("Cannot lstat lock file %s", LOCK_FILE); in lock() 1624 EXIT_FATAL2("Bad lock file %s", LOCK_FILE); in lock() 1626 if ((fd = open(LOCK_FILE, O_CREAT|O_RDWR, in lock() 1635 EXIT_FATAL2("Cannot lstat lock file %s", LOCK_FILE); in lock() 1640 EXIT_FATAL2("Bad lock file %s", LOCK_FILE); in lock() 1644 EXIT_FATAL2("Cannot lockf %s", LOCK_FILE); in lock()
|