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

/freebsd-10-stable/contrib/pf/pflogd/
H A Dpidfile.c50 static char *pidfile_path; variable
67 if (pidfile_path != NULL) {
68 free(pidfile_path);
69 pidfile_path = NULL;
73 (void) asprintf(&pidfile_path, "%s%s.pid", _PATH_VARRUN, basename);
74 if (pidfile_path == NULL)
77 if ((f = fopen(pidfile_path, "w")) == NULL) {
79 free(pidfile_path);
80 pidfile_path = NULL;
88 (void) unlink(pidfile_path);
[all...]
/freebsd-10-stable/crypto/heimdal/lib/roken/
H A Dwrite_pid.c67 static char *pidfile_path; variable
72 if(pidfile_path != NULL)
73 pid_file_delete(&pidfile_path);
79 if(pidfile_path != NULL)
83 pidfile_path = pid_file_write(basename);
/freebsd-10-stable/usr.sbin/nscd/
H A Dconfig.h98 char *pidfile_path; member in struct:configuration
H A Dconfig.c551 config->pidfile_path = calloc(1, len + 1);
552 assert(config->pidfile_path != NULL);
553 memcpy(config->pidfile_path, DEFAULT_PIDFILE_PATH, len);
576 free(config->pidfile_path);
/freebsd-10-stable/usr.sbin/autofs/
H A Dautounmountd.c267 const char *pidfile_path = AUTOUNMOUNTD_PIDFILE; local
303 pidfh = pidfile_open(pidfile_path, 0600, &otherpid);
310 pidfile_path);
H A Dautomountd.c439 const char *pidfile_path = AUTOMOUNTD_PIDFILE; local
486 pidfh = pidfile_open(pidfile_path, 0600, &otherpid);
493 pidfile_path);
/freebsd-10-stable/usr.sbin/iscsid/
H A Discsid.c499 const char *pidfile_path = DEFAULT_PIDFILE; local
505 pidfile_path = optarg;
531 pidfh = pidfile_open(pidfile_path, 0600, &otherpid);
537 pidfile_path);

Completed in 203 milliseconds