Home
last modified time | relevance | path

Searched refs:LOCKFILE (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dlock_update.c53 #define LOCKFILE "/var/run/yp_mapupdate" macro
98 LOCKFILE); in init_update_locks_mem()
130 lockfile = open(LOCKFILE, O_RDWR|O_CREAT, 0600); in init_update_lock_map()
143 LOCKFILE, errno); in init_update_lock_map()
148 LOCKFILE, in init_update_lock_map()
159 "fstat(%s) => errno=%d", LOCKFILE, errno); in init_update_lock_map()
166 "lockf(%s,F_LOCK) => errno=%d", LOCKFILE, errno); in init_update_lock_map()
172 "open(%s) => errno=%d", LOCKFILE, errno); in init_update_lock_map()
184 "mmap(%s) => errno=%d", LOCKFILE, errno); in init_update_lock_map()
198 if (remove(LOCKFILE) != 0) { in init_update_lock_map()
[all …]
/illumos-gate/usr/src/cmd/ypcmd/shared/
H A Dlockmap.c46 #define LOCKFILE "/var/run/yp_maplock" macro
151 "%s inconsistent. Remove and restart NIS (YP).", LOCKFILE); in init_locks_mem()
183 lockfile = open(LOCKFILE, O_RDWR|O_CREAT, 0600); in init_lock_map()
195 LOCKFILE, errno); in init_lock_map()
199 LOCKFILE, in init_lock_map()
210 "fstat(%s) => errno=%d", LOCKFILE, errno); in init_lock_map()
217 "lockf(%s,F_LOCK) => errno=%d", LOCKFILE, errno); in init_lock_map()
223 "open(%s) => errno=%d", LOCKFILE, errno); in init_lock_map()
234 syslog(LOG_ERR, "mmap(%s) => errno=%d", LOCKFILE, errno); in init_lock_map()
248 if (remove(LOCKFILE) != 0) { in init_lock_map()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlckpwdf.c41 #define LOCKFILE "/etc/.pwd.lock" macro
76 if ((fildes = creat(LOCKFILE, 0600)) == -1) in lckpwdf()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dlockinst.c54 #define LOCKFILE ".lockfile" macro
185 "%s/%s", get_PKGADM(), LOCKFILE); in lockinst()
H A Docfile.c60 #define LOCKFILE ".pkg.lock.client" macro
559 "%s/%s", pkgadm_dir, LOCKFILE); in pkgWlock()