Searched refs:dir_fd (Results 1 - 1 of 1) sorted by relevance

/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dcontent_protection_test.c355 int dir_fd = -1; local
669 dir_fd = open(dirpath, O_RDONLY | O_CLOEXEC);
671 if (dir_fd == -1)
678 if (GET_PROT_CLASS(dir_fd) != PROTECTION_CLASS_D)
685 if (SET_PROT_CLASS(dir_fd, PROTECTION_CLASS_A))
692 if (SET_PROT_CLASS(dir_fd, PROTECTION_CLASS_D))
715 old_prot_class = GET_PROT_CLASS(dir_fd);
724 if (SET_PROT_CLASS(dir_fd, new_prot_class))
760 if (!SET_PROT_CLASS(dir_fd, PROTECTION_CLASS_F))
768 if (SET_PROT_CLASS(dir_fd, PROTECTION_CLASS_
[all...]

Completed in 20 milliseconds