Searched refs:CHECKCALL (Results 1 – 2 of 2) sorted by relevance
/system/core/init/ |
D | first_stage_init.cpp | 182 #define CHECKCALL(x) \ in FirstStageMain() macro 188 CHECKCALL(clearenv()); in FirstStageMain() 189 CHECKCALL(setenv("PATH", _PATH_DEFPATH, 1)); in FirstStageMain() 192 CHECKCALL(mount("tmpfs", "/dev", "tmpfs", MS_NOSUID, "mode=0755")); in FirstStageMain() 193 CHECKCALL(mkdir("/dev/pts", 0755)); in FirstStageMain() 194 CHECKCALL(mkdir("/dev/socket", 0755)); in FirstStageMain() 195 CHECKCALL(mount("devpts", "/dev/pts", "devpts", 0, NULL)); in FirstStageMain() 197 CHECKCALL(mount("proc", "/proc", "proc", 0, "hidepid=2,gid=" MAKE_STR(AID_READPROC))); in FirstStageMain() 200 CHECKCALL(chmod("/proc/cmdline", 0440)); in FirstStageMain() 204 CHECKCALL(setgroups(arraysize(groups), groups)); in FirstStageMain() [all …]
|
D | init.cpp | 672 #define CHECKCALL(x) \ in MountExtraFilesystems() macro 676 CHECKCALL(mount("tmpfs", "/apex", "tmpfs", MS_NOEXEC | MS_NOSUID | MS_NODEV, in MountExtraFilesystems() 680 CHECKCALL(mount("tmpfs", "/linkerconfig", "tmpfs", MS_NOEXEC | MS_NOSUID | MS_NODEV, in MountExtraFilesystems() 682 #undef CHECKCALL in MountExtraFilesystems()
|