Searched refs:filefd (Results 1 – 5 of 5) sorted by relevance
| /freebsd-12.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-12.1/lib/geom/eli/ |
| H A D | geom_eli.c | 1653 int error, filefd, ret; in eli_backup_create() local 1656 filefd = -1; in eli_backup_create() 1679 filefd = open(file, O_WRONLY | O_TRUNC | O_CREAT, 0600); in eli_backup_create() 1680 if (filefd == -1) { in eli_backup_create() 1686 if (write(filefd, sector, secsize) != secsize) { in eli_backup_create() 1689 (void)close(filefd); in eli_backup_create() 1693 (void)fsync(filefd); in eli_backup_create() 1694 (void)close(filefd); in eli_backup_create()
|
| /freebsd-12.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-12.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-12.1/libexec/ftpd/ |
| H A D | ftpd.c | 2090 int c, cp, filefd, netfd; in send_data() local 2146 filefd = fileno(instr); in send_data() 2156 err = sendfile(filefd, netfd, offset, 0, in send_data() 2200 cnt = read(filefd, buf, blksize); in send_data()
|