Home
last modified time | relevance | path

Searched refs:fd_s (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D16-1.c65 int fd_s, fd_ns; in main() local
71 fd_s = shm_open("/fork_16_1s", O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); in main()
73 if (fd_s == -1) { in main()
84 ret = ftruncate(fd_s, sysconf(_SC_PAGESIZE)); in main()
99 MAP_SHARED, fd_s, 0); in main()
/external/selinux/sandbox/
Dseunshare.c438 int fd_t = -1, fd_s = -1; in create_tmpdir() local
447 if ((fd_s = open(src, O_RDONLY)) < 0) { in create_tmpdir()
451 if (fstat(fd_s, &tmp_st) == -1) { in create_tmpdir()
459 if (fgetfilecon(fd_s, &con) == -1) { in create_tmpdir()
545 if (fd_s >= 0) close(fd_s); in create_tmpdir()