Home
last modified time | relevance | path

Searched refs:S_IWUSR (Results 1 – 25 of 40) sorted by relevance

12

/base/startup/init_lite/services/init/standard/
Ddevice.c26 #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)
Dinit.c83 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/
Dfile_util.h30 #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;
Dcommon_utils.h27 static constexpr mode_t DEFAULT_FILE_MODE = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH; // -rw…
/base/startup/init_lite/ueventd/include/
Dueventd_utils.h33 #define DEVMODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP)
/base/startup/init_lite/ueventd/
Dueventd_main.c66 int fd = open(UEVENTD_FLAG, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main()
/base/miscservices/request/download/ability/src/
Dfile_utils.cpp43 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/
Dwrite_file.cpp41 …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/
Dselinux_klog.c36 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/
Dmisc_daemon.cpp172 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/
Daudit.cpp104 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/
Dfile_operation.cpp55 fd = open(filePath.c_str(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP| S_IROTH); in CreateNodeFile()
/base/hiviewdfx/faultloggerd/common/dfxlog/
Ddfx_log.cpp48 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/
Dparam_impl_posix.c119 int fd = open(keyPath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetSysParam()
/base/update/updater/test/unittest/applypatch_test/
Dimagepatch_unittest.h76 mode_t mode = (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in RunImageApplyPatch()
Dimagepatch_unittest.cpp39 int fd = open(file.c_str(), flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in ReadContentFromFile()
/base/startup/init_lite/services/log/
Dinit_log.c83 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/
Dtime_file_utils.cpp136 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/
Dbundle_event_source_example.cpp49 …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/
Dmain.cpp176 if (chmod(INPUT_SOCKET, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH) < 0) { in HilogdEntry()
/base/update/updater/services/applypatch/
Dstore.cpp93 int fd = open(pathTmp.c_str(), O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in WriteDataToStore()
Dtransfer_manager.cpp116 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/
Dhks_test_file_operator.c153 if (chmod(filePath, S_IRUSR | S_IWUSR) < 0) { in FileWrite()
/base/hiviewdfx/hidumper/frameworks/native/
Ddump_utils.cpp120 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)); in FdToWrite()
/base/startup/init_lite/test/unittest/ueventd/
Dueventd_config_unittest.cpp108 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP; // 0640 in GenerateConfigFiles()

12