Searched refs:filefd (Results 1 – 5 of 5) sorted by relevance
| /freebsd-13.1/tools/regression/security/cap_test/ |
| H A D | cap_test_capabilities.c | 114 try_file_ops(int filefd, int dirfd, cap_rights_t rights) in try_file_ops() argument 128 REQUIRE(fstatfs(filefd, &sf)); in try_file_ops() 131 REQUIRE(fd_cap = cap_new(filefd, rights)); in try_file_ops() 420 success = try_file_ops(filefd, dirfd, (rights)); \ 423 try_file_ops(filefd, dirfd, (rights)); \ 435 int filefd, dirfd, tmpfd; in test_capabilities() local 440 filefd = mkstemp(file); in test_capabilities() 441 if (filefd < 0) in test_capabilities()
|
| /freebsd-13.1/lib/geom/eli/ |
| H A D | geom_eli.c | 1707 int error, filefd, ret; in eli_backup_create() local 1710 filefd = -1; in eli_backup_create() 1733 filefd = open(file, O_WRONLY | O_TRUNC | O_CREAT, 0600); in eli_backup_create() 1734 if (filefd == -1) { in eli_backup_create() 1740 if (write(filefd, sector, secsize) != secsize) { in eli_backup_create() 1743 (void)close(filefd); in eli_backup_create() 1747 (void)fsync(filefd); in eli_backup_create() 1748 (void)close(filefd); in eli_backup_create()
|
| /freebsd-13.1/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-13.1/contrib/opie/ |
| H A D | opieftpd.c | 920 int netfd, filefd; variable 956 filefd = fileno(instr); 957 while ((cnt = read(filefd, buf, (u_int) blksize)) > 0 &&
|
| /freebsd-13.1/libexec/ftpd/ |
| H A D | ftpd.c | 2077 int c, cp, filefd, netfd; in send_data() local 2133 filefd = fileno(instr); in send_data() 2143 err = sendfile(filefd, netfd, offset, 0, in send_data() 2187 cnt = read(filefd, buf, blksize); in send_data()
|