/base/startup/init_lite/services/init/standard/ |
D | device.c | 26 #define DEFAULT_RW_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH) 27 #define DEFAULT_NO_AUTHORITY_MODE (S_IWUSR | S_IRUSR)
|
D | init.c | 83 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH; in FdHolderSockInit() 106 …int fd = open("/proc/sys/kernel/printk_devkmsg", O_WRONLY | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP… in EnableDevKmsg() 120 int ret = mknod("/dev/kmsg", S_IFCHR | S_IWUSR | S_IRUSR, in LogInit()
|
/base/hiviewdfx/hiview/adapter/utility/include/ |
D | file_util.h | 30 #define S_IWUSR 00200 macro 52 constexpr mode_t DEFAULT_FILE_MODE = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH; // -rw-rw-r-- 56 constexpr mode_t FILE_PERM_660 = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP;
|
D | common_utils.h | 27 static constexpr mode_t DEFAULT_FILE_MODE = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH; // -rw…
|
/base/startup/init_lite/ueventd/include/ |
D | ueventd_utils.h | 33 #define DEVMODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP)
|
/base/startup/init_lite/ueventd/ |
D | ueventd_main.c | 66 int fd = open(UEVENTD_FLAG, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main()
|
/base/miscservices/request/download/ability/src/ |
D | file_utils.cpp | 43 int isCreate = ::mkdir(path.c_str(), S_IRUSR | S_IWUSR | S_IXUSR | S_IRWXG | S_IRWXO); in Mkdir()
|
/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/security/selinux/interfaces/policycoreutils/src/ |
D | selinux_klog.c | 36 int fd = open("/dev/kmsg", O_WRONLY | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IRGRP); in SelinuxOpenLogDevice()
|
/base/startup/init_lite/services/begetctl/ |
D | misc_daemon.cpp | 172 int fd = open(miscDev.c_str(), O_RDWR | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in WriteLogoToMisc() 183 int fd1 = open(miscDev.c_str(), O_RDWR | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in WriteLogoToMisc()
|
/base/hiviewdfx/hiview/base/ |
D | audit.cpp | 104 S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH)); in Init() 201 S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH)); in SwitchActiveFile()
|
/base/powermgr/thermal_manager/utils/native/src/ |
D | file_operation.cpp | 55 fd = open(filePath.c_str(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP| S_IROTH); in CreateNodeFile()
|
/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/startup/syspara_lite/frameworks/parameter/src/param_impl_posix/ |
D | param_impl_posix.c | 119 int fd = open(keyPath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetSysParam()
|
/base/update/updater/test/unittest/applypatch_test/ |
D | imagepatch_unittest.h | 76 mode_t mode = (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in RunImageApplyPatch()
|
D | imagepatch_unittest.cpp | 39 int fd = open(file.c_str(), flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in ReadContentFromFile()
|
/base/startup/init_lite/services/log/ |
D | init_log.c | 83 int fd = open("/dev/kmsg", O_WRONLY | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IRGRP); in OpenLogDevice()
|
/base/miscservices/time/utils/native/src/ |
D | time_file_utils.cpp | 136 int32_t fp = open(file, O_RDWR | O_CREAT | O_TRUNC, S_IREAD | S_IWUSR | S_IRGRP | S_IROTH); in WriteFile()
|
/base/hiviewdfx/hiview/test/plugins/examples_bundle/bundle_event_source_example/ |
D | bundle_event_source_example.cpp | 49 …int isCreate = ::mkdir(SYSTEM_FAULT_LOG_PATH.c_str(), S_IRUSR | S_IWUSR | S_IXUSR | S_IRWXG | S_IR… in OnLoad()
|
/base/hiviewdfx/hilog/services/hilogd/ |
D | main.cpp | 176 if (chmod(INPUT_SOCKET, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH) < 0) { in HilogdEntry()
|
/base/update/updater/services/applypatch/ |
D | store.cpp | 93 int fd = open(pathTmp.c_str(), O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in WriteDataToStore()
|
D | transfer_manager.cpp | 116 int fd = open(path.c_str(), O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in RegisterForRetry()
|
/base/security/huks/interfaces/innerkits/huks_standard/test/unittest/src/ |
D | hks_test_file_operator.c | 153 if (chmod(filePath, S_IRUSR | S_IWUSR) < 0) { in FileWrite()
|
/base/hiviewdfx/hidumper/frameworks/native/ |
D | dump_utils.cpp | 120 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)); in FdToWrite()
|
/base/startup/init_lite/test/unittest/ueventd/ |
D | ueventd_config_unittest.cpp | 108 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP; // 0640 in GenerateConfigFiles()
|