Home
last modified time | relevance | path

Searched refs:S_IRGRP (Results 1 – 25 of 65) sorted by relevance

123

/base/startup/init/ueventd/include/
Dueventd_utils.h31 #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/
Ddevice.c26 #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()
Dinit.c86 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/
Dselinux_klog.c39 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/
Dcommon_utils.h27 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;
Dfile_util.h31 #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/
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;
/base/update/updater/test/unittest/applypatch_test/
Dimagepatch_unittest.h75 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()
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);
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);
/base/powermgr/thermal_manager/utils/native/src/
Dfile_operation.cpp51 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/
Dinit.c35 (void)MakeDirRecursive("/dev/unix/socket", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SystemInit()
/base/startup/init/interfaces/innerkits/control_fd/
Dcontrol_fd.h34 #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/
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/startup/init/test/exec_test/
Dfd_holder_test.c35 … 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/
Dmisc_daemon.cpp149 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/
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/services/init/include/
Dinit_cmds.h31 #define DEFAULT_DIR_MODE (S_IRWXU | S_IRGRP | S_IXGRP | S_IXOTH | S_IROTH) // mkdir, default mode
/base/hiviewdfx/hiview/base/
Daudit.cpp102 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/
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/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/etc/param/
Dparam_fixer.py71 modes = stat.S_IWUSR | stat.S_IRUSR | stat.S_IWGRP | stat.S_IRGRP
/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/update/updater/test/unittest/updater_test/
Dupdater_unittest.cpp48 mode_t mode = (S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SetUp()

123