Searched refs:pidbuf (Results 1 - 7 of 7) sorted by relevance
/freebsd-13-stable/sys/compat/cloudabi32/ |
H A D | cloudabi32_module.c | 66 char canarybuf[64], pidbuf[16]; local 97 arc4rand(pidbuf, sizeof(pidbuf), 0); 98 pidbuf[6] = (pidbuf[6] & 0x0f) | 0x40; 99 pidbuf[8] = (pidbuf[8] & 0x3f) | 0x80; 100 *stack_base -= roundup(sizeof(pidbuf), sizeof(register_t)); 102 error = copyout(pidbuf, pid, sizeof(pidbuf)); [all...] |
/freebsd-13-stable/sys/compat/cloudabi64/ |
H A D | cloudabi64_module.c | 66 char canarybuf[64], pidbuf[16]; local 97 arc4rand(pidbuf, sizeof(pidbuf), 0); 98 pidbuf[6] = (pidbuf[6] & 0x0f) | 0x40; 99 pidbuf[8] = (pidbuf[8] & 0x3f) | 0x80; 100 *stack_base -= roundup(sizeof(pidbuf), sizeof(register_t)); 102 error = copyout(pidbuf, pid, sizeof(pidbuf)); [all...] |
/freebsd-13-stable/contrib/unbound/daemon/ |
H A D | unbound.c | 302 char pidbuf[32]; local 313 if (((l = read(fd, pidbuf, sizeof(pidbuf)))) == -1) { 328 pidbuf[sizeof(pidbuf)-1] = 0; 329 pid = (pid_t)strtol(pidbuf, &t, 10); 346 char pidbuf[32]; local 348 snprintf(pidbuf, sizeof(pidbuf), "%lu\n", (unsigned long)pid); 359 while(count < strlen(pidbuf)) { [all...] |
/freebsd-13-stable/crypto/openssl/crypto/bio/ |
H A D | bss_log.c | 254 char pidbuf[DECIMAL_SIZE(DWORD) + 4]; local 283 sprintf(pidbuf, "[%lu] ", GetCurrentProcessId()); 284 lpszStrings[0] = pidbuf;
|
/freebsd-13-stable/usr.sbin/nscd/ |
H A D | nscd.c | 678 char pidbuf[256]; local 688 memset(pidbuf, 0, sizeof(pidbuf)); 689 fread(pidbuf, sizeof(pidbuf) - 1, 1, pidfin); 695 if (sscanf(pidbuf, "%d", &pid) != 1)
|
/freebsd-13-stable/contrib/ntp/ntpd/ |
H A D | refclock_acts.c | 472 char lockfile[128], pidbuf[8]; local 504 snprintf(pidbuf, sizeof(pidbuf), "%d\n", 506 if (write(fd, pidbuf, strlen(pidbuf)) < 0)
|
/freebsd-13-stable/sys/fs/pseudofs/ |
H A D | pseudofs_vnops.c | 383 char pidbuf[PFS_NAMELEN]; local 398 len = snprintf(pidbuf, sizeof(pidbuf), "%d", pid); 404 bcopy(pidbuf, buf + i, len);
|
Completed in 79 milliseconds