Searched refs:filefd (Results 1 – 4 of 4) sorted by relevance
| /freebsd-14.2/tools/regression/security/cap_test/ |
| H A D | cap_test_capabilities.c | 112 try_file_ops(int filefd, int dirfd, cap_rights_t rights) in try_file_ops() argument 126 REQUIRE(fstatfs(filefd, &sf)); in try_file_ops() 129 REQUIRE(fd_cap = cap_new(filefd, rights)); in try_file_ops() 418 success = try_file_ops(filefd, dirfd, (rights)); \ 421 try_file_ops(filefd, dirfd, (rights)); \ 433 int filefd, dirfd, tmpfd; in test_capabilities() local 438 filefd = mkstemp(file); in test_capabilities() 439 if (filefd < 0) in test_capabilities()
|
| /freebsd-14.2/lib/geom/eli/ |
| H A D | geom_eli.c | 1711 int error, filefd, ret; in eli_backup_create() local 1714 filefd = -1; in eli_backup_create() 1737 filefd = open(file, O_WRONLY | O_TRUNC | O_CREAT, 0600); in eli_backup_create() 1738 if (filefd == -1) { in eli_backup_create() 1744 if (write(filefd, sector, secsize) != secsize) { in eli_backup_create() 1747 (void)close(filefd); in eli_backup_create() 1751 (void)fsync(filefd); in eli_backup_create() 1752 (void)close(filefd); in eli_backup_create()
|
| /freebsd-14.2/crypto/heimdal/appl/ftp/ftpd/ |
| H A D | ftpd.c | 1342 int c, cnt, filefd, netfd; in send_data() local 1404 filefd = fileno(instr); in send_data() 1406 fstat(filefd, &st) >= 0 ? &st : NULL); in send_data() 1413 while ((cnt = read(filefd, buf, bufsize)) > 0 && in send_data()
|
| /freebsd-14.2/libexec/ftpd/ |
| H A D | ftpd.c | 2049 int c, cp, filefd, netfd; in send_data() local 2105 filefd = fileno(instr); in send_data() 2115 err = sendfile(filefd, netfd, offset, 0, in send_data() 2159 cnt = read(filefd, buf, blksize); in send_data()
|