/base/hiviewdfx/hiview/base/utility/include/ |
D | file_util.h | 29 #define S_IRUSR 00400 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; 57 constexpr mode_t FILE_PERM_666 = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
|
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/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 | 86 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH; in FdHolderSockInit() 114 …int fd = open("/proc/sys/kernel/printk_devkmsg", O_WRONLY | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP… in EnableDevKmsg() 126 int ret = mknod("/dev/kmsg", S_IFCHR | S_IWUSR | S_IRUSR, in LogInit()
|
/base/startup/init/ueventd/include/ |
D | ueventd_utils.h | 33 #define DEVMODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP)
|
/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/simulator/parameter/src/param_impl_posix/ |
D | param_impl_posix.c | 89 int fd = open(keyPath, O_RDONLY, S_IRUSR); in GetSysParam() 119 int fd = open(keyPath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetSysParam()
|
/base/startup/init/services/init/lite/ |
D | init.c | 41 int ret = mknod("/dev/kmsg", S_IFCHR | S_IWUSR | S_IRUSR, makedev(MEM_MAJOR, 11)); in LogInit()
|
/base/hiviewdfx/hiview/service/unified_collection/ |
D | xcollect_service.cpp | 171 mkdir(logDir.c_str(), S_IRUSR | S_IWUSR | S_IXUSR | S_IRWXG | S_IRWXO); in DumpTraceToDir() 173 mkdir(defaultParentDir.c_str(), S_IRUSR | S_IWUSR | S_IXUSR | S_IROTH); in DumpTraceToDir() 180 mkdir(outDir.c_str(), S_IRUSR | S_IWUSR | S_IXUSR | S_IROTH); in DumpTraceToDir()
|
/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/selinux_adapter/interfaces/policycoreutils/src/ |
D | selinux_share_mem.c | 29 int fd = open(fileName, mode, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in InitSharedMem()
|
/base/startup/init/test/exec_test/ |
D | fd_holder_test.c | 35 …fds[i] = open(argv[i], O_APPEND | O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, S_IRUSR|S_IWUSR|S_IRGRP|… 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/security/appverify/interfaces/innerkits/appverify_lite/unittest/src/ |
D | write_file.cpp | 41 …int32_t in = open(dest, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IR… in CopyFile()
|
/base/hiviewdfx/faultloggerd/test/unittest/backtrace/ |
D | backtrace_utils_test.cpp | 182 int fd = open(TEST_TEMP_FILE, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR); 266 int fd = open(TEST_TEMP_FILE, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
|
/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/startup/init/services/etc/appender/ |
D | file_appender.py | 67 …with os.fdopen(os.open(options.output, os.O_RDWR | os.O_CREAT, stat.S_IWUSR | stat.S_IRUSR), 'w') …
|
/base/hiviewdfx/faultloggerd/common/dfxlog/ |
D | dfx_log.cpp | 43 g_dmesgFd = open("/dev/kmsg", O_WRONLY, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); in LogToDmesg()
|
/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/update/updater/test/unittest/applypatch_test/ |
D | imagepatch_unittest.h | 75 mode_t mode = (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in RunImageApplyPatch()
|
/base/startup/init/ueventd/ |
D | ueventd_main.c | 90 int fd = open(UEVENTD_FLAG, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in UeventdDaemon()
|
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/ |
D | file_operator.cpp | 81 if (!ChangeModeFile(path, S_IRUSR | S_IWUSR)) { in InputFileByPathAndContent()
|
/base/update/updater/services/flashd/daemon/ |
D | update_commander.cpp | 63 … fd_ = open(filePath_.c_str(), O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in DoCommand()
|
/base/startup/init/services/log/ |
D | init_log.c | 66 int fd = open("/dev/kmsg", O_WRONLY | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); in OpenLogDevice()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
D | global.c | 159 int32_t file = open(realResourcePath, O_RDONLY, S_IRUSR | S_IRGRP | S_IROTH); in GLOBAL_GetValueByIdInternal() 227 int32_t file = open(realResourcePath, O_RDONLY, S_IRUSR | S_IRGRP | S_IROTH); in GLOBAL_GetValueByNameInternal()
|