Searched refs:dac_denies_write (Results 1 – 2 of 2) sorted by relevance
/third_party/glib/gio/tests/ |
D | live-g-file.c | 145 gchar *dac_denies_write; in check_cap_dac_override() local 149 dac_denies_write = g_build_filename (tmpdir, "dac-denies-write", NULL); in check_cap_dac_override() 150 inside = g_build_filename (dac_denies_write, "inside", NULL); in check_cap_dac_override() 152 g_assert_no_errno (mkdir (dac_denies_write, S_IRWXU)); in check_cap_dac_override() 153 g_assert_no_errno (chmod (dac_denies_write, 0)); in check_cap_dac_override() 170 g_assert_no_errno (chmod (dac_denies_write, S_IRWXU)); in check_cap_dac_override() 171 g_assert_no_errno (rmdir (dac_denies_write)); in check_cap_dac_override() 172 g_free (dac_denies_write); in check_cap_dac_override()
|
/third_party/glib/glib/tests/ |
D | fileutils.c | 555 gchar *dac_denies_write; in check_cap_dac_override() local 576 dac_denies_write = g_build_filename (tmpdir, "dac-denies-write", NULL); in check_cap_dac_override() 577 inside = g_build_filename (dac_denies_write, "inside", NULL); in check_cap_dac_override() 579 g_assert_no_errno (mkdir (dac_denies_write, S_IRWXU)); in check_cap_dac_override() 580 g_assert_no_errno (chmod (dac_denies_write, 0)); in check_cap_dac_override() 597 g_assert_no_errno (chmod (dac_denies_write, S_IRWXU)); in check_cap_dac_override() 598 g_assert_no_errno (rmdir (dac_denies_write)); in check_cap_dac_override() 603 g_free (dac_denies_write); in check_cap_dac_override()
|