Searched refs:filefd (Results 1 - 5 of 5) sorted by relevance
/freebsd-10.1-release/tools/regression/security/cap_test/ |
H A D | cap_test_capabilities.c | 114 try_file_ops(int filefd, int dirfd, cap_rights_t rights) argument 128 REQUIRE(fstatfs(filefd, &sf)); 131 REQUIRE(fd_cap = cap_new(filefd, rights)); 420 success = try_file_ops(filefd, dirfd, (rights)); \ 423 try_file_ops(filefd, dirfd, (rights)); \ 435 int filefd, dirfd, tmpfd; local 440 filefd = mkstemp(file); 441 if (filefd < 0)
|
/freebsd-10.1-release/sbin/geom/class/eli/ |
H A D | geom_eli.c | 1346 int error, filefd, ret; local 1349 filefd = -1; 1372 filefd = open(file, O_WRONLY | O_TRUNC | O_CREAT, 0600); 1373 if (filefd == -1) { 1379 if (write(filefd, sector, secsize) != secsize) { 1382 (void)close(filefd); 1386 (void)fsync(filefd); 1387 (void)close(filefd);
|
/freebsd-10.1-release/contrib/opie/ |
H A D | opieftpd.c | 920 int netfd, filefd; local 956 filefd = fileno(instr); 957 while ((cnt = read(filefd, buf, (u_int) blksize)) > 0 &&
|
/freebsd-10.1-release/crypto/heimdal/appl/ftp/ftpd/ |
H A D | ftpd.c | 1342 int c, cnt, filefd, netfd; local 1404 filefd = fileno(instr); 1406 fstat(filefd, &st) >= 0 ? &st : NULL); 1413 while ((cnt = read(filefd, buf, bufsize)) > 0 &&
|
/freebsd-10.1-release/libexec/ftpd/ |
H A D | ftpd.c | 2059 int c, cp, filefd, netfd; local 2115 filefd = fileno(instr); 2125 err = sendfile(filefd, netfd, offset, 0, 2169 cnt = read(filefd, buf, blksize);
|
Completed in 128 milliseconds