/freebsd-10.0-release/crypto/openssh/openbsd-compat/ |
H A D | xmmap.c | 64 int tmpfd; local 68 tmpfd = mkstemp(tmpname); 70 if (tmpfd == -1) 74 if (ftruncate(tmpfd, size) != 0) 77 tmpfd, (off_t)0); 78 close(tmpfd);
|
/freebsd-10.0-release/lib/libutil/ |
H A D | uucplock.c | 68 int fd, tmpfd, i; local 79 if ((tmpfd = open(lcktmpname, O_CREAT | O_TRUNC | O_WRONLY | O_CLOEXEC, 108 if (!put_pid (tmpfd, pid)) 121 (void)close(tmpfd);
|
/freebsd-10.0-release/crypto/openssh/ |
H A D | auth-krb5.c | 242 int tmpfd, ret, oerrno; local 252 tmpfd = mkstemp(ccname + strlen("FILE:")); 255 if (tmpfd == -1) { 260 if (fchmod(tmpfd,S_IRUSR | S_IWUSR) == -1) { 263 close(tmpfd); 266 close(tmpfd);
|
/freebsd-10.0-release/contrib/apr/shmem/unix/ |
H A D | shm.c | 101 int tmpfd; local 128 status = apr_os_file_get(&tmpfd, file); 134 MAP_SHARED, tmpfd, 0); 240 status = apr_os_file_get(&tmpfd, file); 255 MAP_SHARED, tmpfd, 0); 264 tmpfd = shm_open(filename, O_RDWR | O_CREAT | O_EXCL, 0644); 265 if (tmpfd == -1) { 269 status = apr_os_file_put(&file, &tmpfd, 282 MAP_SHARED, tmpfd, 0); 463 int tmpfd; local [all...] |
/freebsd-10.0-release/contrib/libarchive/libarchive/ |
H A D | archive_write_disk_posix.c | 3337 copy_xattrs(struct archive_write_disk *a, int tmpfd, int dffd) argument 3343 xattr_size = flistxattr(tmpfd, NULL, 0, 0); 3357 xattr_size = flistxattr(tmpfd, xattr_names, xattr_size, 0); 3369 s = fgetxattr(tmpfd, xattr_names + xattr_i, NULL, 0, 0, 0); 3383 s = fgetxattr(tmpfd, xattr_names + xattr_i, xattr_val, s, 0, 0); 3406 copy_acls(struct archive_write_disk *a, int tmpfd, int dffd) argument 3411 acl = acl_get_fd(tmpfd); 3441 int tmpfd; local 3445 tmpfd = mkstemp(tmpdatafork.s); 3446 if (tmpfd < 3472 int dffd, tmpfd; local [all...] |
/freebsd-10.0-release/tools/regression/security/cap_test/ |
H A D | cap_test_capabilities.c | 435 int filefd, dirfd, tmpfd; local 453 tmpfd = open("/tmp", O_RDONLY | O_DIRECTORY); 454 if (tmpfd == -1) { 557 (void)unlinkat(tmpfd, file + strlen("/tmp/"), 0); 558 (void)unlinkat(tmpfd, dir + strlen("/tmp/"), AT_REMOVEDIR);
|
/freebsd-10.0-release/usr.sbin/edquota/ |
H A D | edquota.c | 120 int i, quotatype, range, tmpfd; local 287 tmpfd = mkstemp(tmpfil); 288 fchown(tmpfd, getuid(), getgid()); 291 if (writetimes(protoprivs, tmpfd, quotatype) != 0 && 296 close(tmpfd); 305 if (writeprivs(curprivs, tmpfd, *argv, quotatype) == 0) 311 close(tmpfd);
|
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | prompt.c | 180 apr_file_t *tmpfd; 181 status = apr_file_open(&tmpfd, "/dev/tty", 188 terminal_handle_init(*terminal, tmpfd, tmpfd, FALSE, TRUE, pool); 178 apr_file_t *tmpfd; local
|