/base/startup/init/ueventd/include/ |
D | ueventd_utils.h | 31 #define DIRMODE (S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) 33 #define DEVMODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP)
|
/base/startup/init/services/init/standard/ |
D | device.c | 26 #define DEFAULT_RW_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH) 40 if (mkdir("/dev/pts", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) != 0) { in MountBasicFs()
|
D | init.c | 86 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH; in FdHolderSockInit() 99 MakeDirRecursive("/dev/unix/socket", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SystemInit() 110 …en("/proc/sys/kernel/printk_devkmsg", O_WRONLY | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); in EnableDevKmsg()
|
/base/security/selinux/interfaces/policycoreutils/src/ |
D | selinux_klog.c | 39 int fd = open("/dev/kmsg", O_WRONLY | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IRGRP); in SelinuxOpenLogDevice()
|
/base/hiviewdfx/hiview/adapter/utility/include/ |
D | common_utils.h | 27 static constexpr mode_t DEFAULT_FILE_MODE = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH; // -rw… 28 static constexpr mode_t FILE_PERM_755 = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH;
|
D | file_util.h | 31 #define S_IRGRP 00040 macro 52 constexpr mode_t DEFAULT_FILE_MODE = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH; // -rw-rw-r-- 53 constexpr mode_t FILE_PERM_755 = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; 56 constexpr mode_t FILE_PERM_660 = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP;
|
/base/startup/init/test/unittest/init/ |
D | utils_unittest.cpp | 42 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;
|
/base/update/updater/test/unittest/applypatch_test/ |
D | imagepatch_unittest.h | 75 mode_t mode = (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in RunImageApplyPatch() 98 Updater::Utils::MkdirRecursive(basePath, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SetUp()
|
D | applypatch_unittest.cpp | 50 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);
|
D | partition_update_record_unittest.cpp | 58 mode_t dirMode = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH;
|
D | all_cmd_unittest.cpp | 173 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);
|
/base/powermgr/thermal_manager/utils/native/src/ |
D | file_operation.cpp | 51 int32_t fd = open(filePath.c_str(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP| S_IROTH); in CreateNodeFile() 90 int32_t fd = open(path, O_RDONLY, S_IRUSR | S_IRGRP | S_IROTH); in ReadFile()
|
/base/startup/init/services/init/lite/ |
D | init.c | 35 (void)MakeDirRecursive("/dev/unix/socket", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SystemInit()
|
/base/startup/init/interfaces/innerkits/control_fd/ |
D | control_fd.h | 34 #define CONTROL_FD_FIFO_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
|
/base/security/appverify/interfaces/innerkits/appverify_lite/unittest/src/ |
D | write_file.cpp | 41 …int in = open(dest, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH … in CopyFile()
|
/base/startup/init/test/exec_test/ |
D | fd_holder_test.c | 35 … open(argv[i], O_APPEND | O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH); in SaveFds()
|
/base/startup/init/services/begetctl/ |
D | misc_daemon.cpp | 149 int fd = open(MISC_DEVICE_NODE, O_RDWR | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in WriteLogoToMisc() 160 int fd1 = open(MISC_DEVICE_NODE, O_RDWR | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in WriteLogoToMisc()
|
/base/update/updater/test/unittest/mount_test/ |
D | mount_unittest.cpp | 53 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/services/init/include/ |
D | init_cmds.h | 31 #define DEFAULT_DIR_MODE (S_IRWXU | S_IRGRP | S_IXGRP | S_IXOTH | S_IROTH) // mkdir, default mode
|
/base/hiviewdfx/hiview/base/ |
D | audit.cpp | 102 S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH)); in Init() 199 S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH)); in SwitchActiveFile()
|
/base/update/updater/test/unittest/utils/ |
D | utils_unittest.cpp | 73 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/update/updater/test/unittest/updater_main_test/ |
D | updater_main_unittest.cpp | 54 …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/etc/param/ |
D | param_fixer.py | 71 modes = stat.S_IWUSR | stat.S_IRUSR | stat.S_IWGRP | stat.S_IRGRP
|
/base/hiviewdfx/faultloggerd/common/dfxlog/ |
D | dfx_log.cpp | 48 g_Fd = open("/dev/kmsg", O_WRONLY, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); in LogToDmesg()
|
/base/update/updater/test/unittest/updater_test/ |
D | updater_unittest.cpp | 48 mode_t mode = (S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SetUp()
|