Searched refs:pidfile_path (Results 1 - 8 of 8) sorted by relevance
/freebsd-current/contrib/pf/pflogd/ |
H A D | pidfile.c | 50 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-current/contrib/blocklist/port/ |
H A D | pidfile.c | 56 static char *pidfile_path; variable 63 if ((pidfile_path != NULL) && (pidfile_pid == getpid())) 64 (void) unlink(pidfile_path); 95 if (pidfile_path != NULL) { 96 if (strcmp(pidfile_path, path) != 0) { 99 free(pidfile_path); 100 pidfile_path = NULL; 130 * in the global variables pidfile_path and pidfile_pid so that any further 146 pidfile_path = strdup(path); 147 if (pidfile_path [all...] |
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | write_pid.c | 67 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-current/usr.sbin/nscd/ |
H A D | config.h | 96 char *pidfile_path; member in struct:configuration
|
H A D | config.c | 549 config->pidfile_path = calloc(1, len + 1); 550 assert(config->pidfile_path != NULL); 551 memcpy(config->pidfile_path, DEFAULT_PIDFILE_PATH, len); 574 free(config->pidfile_path);
|
/freebsd-current/usr.sbin/autofs/ |
H A D | autounmountd.c | 266 const char *pidfile_path = AUTOUNMOUNTD_PIDFILE; local 302 pidfh = pidfile_open(pidfile_path, 0600, &otherpid); 309 pidfile_path);
|
H A D | automountd.c | 436 const char *pidfile_path = AUTOMOUNTD_PIDFILE; local 483 pidfh = pidfile_open(pidfile_path, 0600, &otherpid); 490 pidfile_path);
|
/freebsd-current/usr.sbin/iscsid/ |
H A D | iscsid.c | 697 const char *pidfile_path = DEFAULT_PIDFILE; local 703 pidfile_path = optarg; 729 pidfh = pidfile_open(pidfile_path, 0600, &otherpid); 735 pidfile_path);
|
Completed in 90 milliseconds