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

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/etc/cnid_dbd/
H A Ddbif.c347 char lockpath[PATH_MAX]; local
370 strncpy(lockpath, dbpath, PATH_MAX - 1);
371 strcat(lockpath, "/");
372 strcat(lockpath, LOCKFILENAME);
374 if ((lockfd = open(lockpath, O_RDWR | O_CREAT, 0644)) < 0) {
384 if ((chown(lockpath, st.st_uid, st.st_gid)) != 0) {

Completed in 108 milliseconds