Lines Matching refs:modpath
52 const char *modpath = "./test-policy/store/active/modules"; variable
74 err = mkdir(modpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init()
106 err = rmdir(modpath); in semanage_store_test_cleanup()
163 err = chmod(modpath, 0); in test_semanage_store_access_check()
178 err = chmod(modpath, S_IRUSR | S_IXUSR); in test_semanage_store_access_check()
189 err = chmod(modpath, S_IRUSR | S_IWUSR | S_IXUSR); in test_semanage_store_access_check()
200 err = chmod(modpath, S_IRUSR | S_IXUSR); in test_semanage_store_access_check()
211 err = chmod(modpath, S_IRUSR | S_IWUSR | S_IXUSR); in test_semanage_store_access_check()
222 err = chmod(modpath, 0); in test_semanage_store_access_check()
233 err = chmod(modpath, S_IRUSR | S_IXUSR); in test_semanage_store_access_check()
249 err = chmod(modpath, S_IRUSR | S_IWUSR | S_IXUSR); in test_semanage_store_access_check()