Home
last modified time | relevance | path

Searched refs:S_IRWXU (Results 1 – 25 of 58) sorted by relevance

123

/base/hiviewdfx/hiview/adapter/utility/include/
Dcommon_utils.h28 static constexpr mode_t FILE_PERM_755 = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH;
29 static constexpr mode_t FILE_PERM_775 = S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH;
30 static constexpr mode_t FILE_PERM_770 = S_IRWXU | S_IRWXG;
Dfile_util.h24 #define S_IRWXU 00700 macro
53 constexpr mode_t FILE_PERM_755 = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH;
54 constexpr mode_t FILE_PERM_775 = S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH;
55 constexpr mode_t FILE_PERM_770 = S_IRWXU | S_IRWXG;
/base/startup/init/test/unittest/init/
Dutils_unittest.cpp42 mode_t mode = S_IRWXU | S_IRGRP | S_IXGRP | S_IXOTH | S_IROTH;
73 mode_t mode = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH;
Dmount_unittest.cpp57 int fd = open("/bin/updater", O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, S_IRWXU);
/base/powermgr/battery_manager/utils/native/src/
Dtest_utils.cpp66 mkdir(MOCK_PATH, S_IRWXU); in InitTest()
68 mkdir((std::string(MOCK_PATH) + "/" + MOCK_DIR_NAME[i]).c_str(), S_IRWXU); in InitTest()
/base/startup/init/ueventd/include/
Dueventd_utils.h31 #define DIRMODE (S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH)
/base/hiviewdfx/hidumper/frameworks/native/src/util/
Dfile_utils.cpp40 if (mkdir(path.c_str(), S_IRWXU | S_IRWXG | S_IRWXO)) { in CreateFolder()
/base/update/updater/test/unittest/applypatch_test/
Dapplypatch_unittest.cpp50 auto ret = mkdir(tmpPath.c_str(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SetUp()
90 Updater::Utils::MkdirRecursive(devDir, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
Dblockset_unittest.cpp116 …int fd = open("/data/updater/updater/blocksetTest.txt", O_CREAT | O_WRONLY, S_IRWXU | S_IRWXG | S_…
139 …int fd = open("/data/updater/updater/blocksetTest.txt", O_CREAT | O_WRONLY, S_IRWXU | S_IRWXG | S_…
Dpartition_update_record_unittest.cpp58 mode_t dirMode = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH;
Dall_cmd_unittest.cpp173 mode_t dirMode = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH;
190 mode_t mode = (S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
Dimagepatch_unittest.h98 Updater::Utils::MkdirRecursive(basePath, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SetUp()
/base/startup/init/services/init/lite/
Dinit.c35 (void)MakeDirRecursive("/dev/unix/socket", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SystemInit()
/base/startup/init/services/init/standard/
Ddevice.c40 if (mkdir("/dev/pts", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) != 0) { in MountBasicFs()
/base/security/selinux/interfaces/policycoreutils/src/
Dselinux_share_mem.c29 int fd = open(fileName, mode, S_IRWXU | S_IRWXG | S_IROTH); in InitSharedMem()
/base/update/updater/test/unittest/mount_test/
Dmount_unittest.cpp53 mkdir("/misc", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SetUpTestCase()
155 …auto ret = open(tmpPath.c_str(), O_RDONLY | O_CREAT | O_TRUNC, S_IRWXU | S_IRGRP | S_IXGRP | S_IRO…
/base/startup/init/test/unittest/param/
Dparam_stub.cpp188 mkdir("/data/ueventd_ut", S_IRWXU | S_IRWXG | S_IRWXO); in PrepareUeventdcfg()
218 mkdir("/data/init_ut/mount_unitest/", S_IRWXU | S_IRWXG | S_IRWXO); in PrepareInnerKitsCfg()
390 mkdir(STARTUP_INIT_UT_PATH, S_IRWXU | S_IRWXG | S_IRWXO); in PrepareInitUnitTestEnv()
/base/startup/init/services/init/include/
Dinit_cmds.h31 #define DEFAULT_DIR_MODE (S_IRWXU | S_IRGRP | S_IXGRP | S_IXOTH | S_IROTH) // mkdir, default mode
/base/update/updater/test/unittest/utils/
Dutils_unittest.cpp73 EXPECT_EQ(Utils::MkdirRecursive(path, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH), -1);
75 EXPECT_EQ(Utils::MkdirRecursive(path, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH), 0);
207 int ret = mkdir(path.c_str(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
209 int secRet = mkdir(secPath.c_str(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
/base/theme/wallpaper_mgr/utils/src/
Dfile_deal.cpp44 int isCreate = ::mkdir(path.c_str(), S_IRWXU | S_IRWXG | S_IRWXO); in Mkdir()
/base/update/updater/test/unittest/updater_main_test/
Dupdater_main_unittest.cpp54 …Updater::Utils::MkdirRecursive("/data/sdcard/updater", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_I… in SetUpTestCase()
74 int ret = mkdir("/data/updater/", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
/base/startup/init/services/param/linux/
Dparam_osadp.c85 int fd = open(fileName, mode, S_IRWXU | S_IRWXG | S_IROTH); in GetSharedMem()
/base/update/updater/services/flashd/daemon/
Dflash_commander.cpp51 mkdir(FLASHD_FILE_PATH, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH); in DoCommand()
/base/update/updater/test/unittest/updater_test/
Dupdater_unittest.cpp48 mode_t mode = (S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SetUp()
/base/powermgr/thermal_manager/utils/native/src/
Dfile_operation.cpp35 int flag = mkdir(dir.c_str(), S_IRWXU | S_IRWXG | S_IROTH| S_IXOTH); in CreateNodeDir()

123