Searched refs:CHECKCALL (Results 1 – 2 of 2) sorted by relevance
/system/core/init/ |
D | first_stage_init.cpp | 232 #define CHECKCALL(x) \ in FirstStageMain() macro 238 CHECKCALL(clearenv()); in FirstStageMain() 239 CHECKCALL(setenv("PATH", _PATH_DEFPATH, 1)); in FirstStageMain() 242 CHECKCALL(mount("tmpfs", "/dev", "tmpfs", MS_NOSUID, "mode=0755")); in FirstStageMain() 243 CHECKCALL(mkdir("/dev/pts", 0755)); in FirstStageMain() 244 CHECKCALL(mkdir("/dev/socket", 0755)); in FirstStageMain() 245 CHECKCALL(mkdir("/dev/dm-user", 0755)); in FirstStageMain() 246 CHECKCALL(mount("devpts", "/dev/pts", "devpts", 0, NULL)); in FirstStageMain() 248 CHECKCALL(mount("proc", "/proc", "proc", 0, "hidepid=2,gid=" MAKE_STR(AID_READPROC))); in FirstStageMain() 251 CHECKCALL(chmod("/proc/cmdline", 0440)); in FirstStageMain() [all …]
|
D | init.cpp | 828 #define CHECKCALL(x) \ in MountExtraFilesystems() macro 832 CHECKCALL(mount("tmpfs", "/apex", "tmpfs", MS_NOEXEC | MS_NOSUID | MS_NODEV, in MountExtraFilesystems() 836 CHECKCALL(mount("tmpfs", "/linkerconfig", "tmpfs", MS_NOEXEC | MS_NOSUID | MS_NODEV, in MountExtraFilesystems() 838 #undef CHECKCALL in MountExtraFilesystems()
|