Searched refs:kPermissions777 (Results 1 – 2 of 2) sorted by relevance
/external/libbrillo/brillo/ |
D | file_utils_unittest.cc | 58 kPermissions777 = base::FILE_PERMISSION_MASK enumerator 70 mode_t old_umask = umask(kPermissions777); in TEST_F() 106 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid() + 1, getegid())); in TEST_F() 112 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid() + 1)); in TEST_F() 117 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid())); in TEST_F() 119 ExpectFilePermissions(kPermissions777); in TEST_F() 129 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid())); in TEST_F() 132 ExpectFilePermissions(kPermissions777); in TEST_F()
|
D | file_utils.cc | 22 kPermissions777 = S_IRWXU | S_IRWXG | S_IRWXO enumerator 138 if (new_file_permissions & ~kPermissions777) { in TouchFile()
|