/base/startup/appspawn/lite/ |
H A D | appspawn_process.c | 71 APPSPAWN_LOGE("[appspawn] capset failed, err: %d.", errno); in SetCapability() 76 APPSPAWN_LOGE("[appspawn] SetAmbientCapability failed, err: %d.", errno); in SetCapability() 92 APPSPAWN_LOGE("SetKeepCapabilities"); in SetKeepCapabilities() 105 APPSPAWN_LOGE("SetUidGid %d %d", appProperty->message.uID, appProperty->message.gID); in SetUidGid() 107 APPSPAWN_LOGE("[appspawn] setgid failed, gID %u, err: %d.", appProperty->message.gID, errno); in SetUidGid() 112 APPSPAWN_LOGE("[appspawn] setuid failed, uID %u, err: %d.", appProperty->message.uID, errno); in SetUidGid() 121 APPSPAWN_LOGE("[appspawn] setgroups failed, uID %u, err: %d.", appProperty->message.uID, errno); in SetUidGid() 134 APPSPAWN_LOGE("SetCapabilities appProperty->message.capsCnt %d", appProperty->message.capsCnt); in SetCapabilities() 142 APPSPAWN_LOGE("[appspawn] setrlimit failed, err: %d.", errno); in SetCapabilities() 150 APPSPAWN_LOGE("[appspaw in SetCapabilities() [all...] |
H A D | main.c | 42 APPSPAWN_LOGE("SignalHandler sigPID %d.", sigPID); in SignalHandler() 57 APPSPAWN_LOGE("[appspawn] sigfillset failed! err %d.", errno); in SignalRegist() 61 APPSPAWN_LOGE("[appspawn] sigaction failed! err %d.", errno); in SignalRegist() 72 APPSPAWN_LOGE("Failed to create content for appspawn"); in main()
|
H A D | appspawn_service.c | 67 APPSPAWN_LOGE("[appspawn] initialize, service NULL!"); in Initialize() 83 APPSPAWN_LOGE("[appspawn] message handle not support yet!"); in MessageHandle() 103 APPSPAWN_LOGE("[appspawn] invoke, get data failed."); in GetMessageSt() 139 APPSPAWN_LOGE("[appspawn] invoke, funcId %d invalid, reply %d.", funcId, INVALID_PID); in Invoke() 148 APPSPAWN_LOGE("[appspawn] invoke, parse failed! reply %d.", INVALID_PID); in Invoke() 188 APPSPAWN_LOGE("[appspawn] register service failed!"); in AppSpawnInit() 197 APPSPAWN_LOGE("[appspawn] register featureapi failed!"); in AppSpawnInit()
|
H A D | appspawn_message.c | 110 APPSPAWN_LOGE("[appspawn] GetCaps failed, no caps array found."); in GetCaps() 121 APPSPAWN_LOGE("[appspawn] GetCaps, too many caps[cnt %d], max %d", in GetCaps() 128 APPSPAWN_LOGE("[appspawn] GetCaps, malloc failed! capsCnt[cnt %d].", capsCnt); in GetCaps() 135 APPSPAWN_LOGE("[appspawn] GetCaps, invalid cap value detected!"); in GetCaps() 142 APPSPAWN_LOGE("[appspawn] GetCaps, invalid cap value %u detected!", \ in GetCaps()
|
/base/startup/appspawn/standard/ |
H A D | appspawn_kickdog.c | 23 APPSPAWN_LOGE("Write string is null"); in OpenAndWriteToProc() 29 APPSPAWN_LOGE("open %{public}s fail,errno:%{public}d", procName, errno); in OpenAndWriteToProc() 35 APPSPAWN_LOGE("write %{public}s fail,result:%{public}d", writeStr, writeResult); in OpenAndWriteToProc()
|
H A D | appspawn_service.c | 73 APPSPAWN_LOGE("AppSpawnChild SetEncapsFlag open failed"); in OpenDevEncaps() 108 APPSPAWN_LOGE("unable to kill process, pid: %{public}d errno: %{public}d", pid, errno); in AppQueueDestroyProc() 219 APPSPAWN_LOGE("unable to kill process, pid: %{public}d errno: %{public}d", ctx->pid, errno); in AppSpawningCtxOnClose() 290 APPSPAWN_LOGE("Long time no msg complete so close connectionId: %{public}u", connection->connectionId); in WaitMsgCompleteTimeOut() 389 APPSPAWN_LOGE("Invalid uid %{public}d from client", cred.uid); in OnConnection() 421 APPSPAWN_LOGE("appspawn devicedebug msg type is not devicedebug [%{public}d]", msg->msgType); in MsgDevicedebugCheck() 526 APPSPAWN_LOGE("Failed to copy msg fileName %{public}s ", GetProcessName(property)); in WriteMsgToChild() 539 APPSPAWN_LOGE("create pipe fail, errno: %{public}d", errno); in InitForkContext() 653 APPSPAWN_LOGE("Failed to watch child %{public}d", property->pid); in AddChildWatcher() 664 APPSPAWN_LOGE("Ge in IsSupportRunHnp() [all...] |
H A D | appspawn_main.c | 76 APPSPAWN_LOGE("execv fail: %{public}s: %{public}d: %{public}d", buf, errno, ret); in CheckPreload() 96 APPSPAWN_LOGE("main argc: %{public}d", argc); in main()
|
H A D | appspawn_appmgr.c | 225 APPSPAWN_LOGE("unable to kill process, pid: %{public}d ret %{public}d", pid, errno); in KillAndWaitStatus() 240 APPSPAWN_LOGE("waitpid failed, pid: %{public}d %{public}d, status: %{public}d", exitPid, pid, *exitStatus); in KillAndWaitStatus() 267 APPSPAWN_LOGE("unable to get process, pid: %{public}d ", pid); in GetProcessTerminationStatus()
|
H A D | appspawn_msgmgr.c | 193 APPSPAWN_LOGE("No must tlv bundle: %{public}u flags: %{public}u token: %{public}u domain %{public}u %{public}u", in CheckAppSpawnMsg() 202 APPSPAWN_LOGE("Invalid bundle name %{public}s", bundleInfo->bundleName); in CheckAppSpawnMsg() 215 APPSPAWN_LOGE("Invalid tlv [%{public}s %{public}u] real len: %{public}u %{public}zu", in CheckExtTlvInfo()
|
/base/startup/appspawn/modules/nweb_adapter/ |
H A D | nwebspawn_adapter.cpp | 71 APPSPAWN_LOGE("SetRendererSeccompPolicy dlsym errno: %{public}d", errno); in SetSeccompPolicyForRenderer() 131 APPSPAWN_LOGE("Fail to dlopen libweb_engine.so, errno: %{public}d", errno); in RunChildProcessor() 134 APPSPAWN_LOGE("Fail to dlopen libnweb_render.so, errno: %{public}d", errno); in RunChildProcessor() 147 APPSPAWN_LOGE("webviewspawn dlsym errno: %{public}d", errno); in RunChildProcessor()
|
/base/startup/appspawn/modules/common/ |
H A D | appspawn_namespace.c | 166 APPSPAWN_LOGE("SetPidNamespace failed, snprintf_s error:%{public}s", strerror(errno)); in GetNsPidFd() 171 APPSPAWN_LOGE("open ns pid:%{public}d failed, err:%{public}s", pid, strerror(errno)); in GetNsPidFd() 199 APPSPAWN_LOGE("clone pid ns init failed"); in PreLoadEnablePidNs() 209 APPSPAWN_LOGE("open ns pid of appspawn fail"); in PreLoadEnablePidNs() 216 APPSPAWN_LOGE("open ns pid of pid_ns_init fail"); in PreLoadEnablePidNs() 231 APPSPAWN_LOGE("set pid namespace nsType:%{public}d failed", nsType); in SetPidNamespace()
|
H A D | appspawn_adapter.cpp | 91 APPSPAWN_LOGE("Denied Launching a native process: not in developer mode"); in SetSelinuxCon() 140 APPSPAWN_LOGE("Failed to set no new privs"); in SetUidGidFilter() 152 APPSPAWN_LOGE("Failed to set APPSPAWN seccomp filter and exit"); in SetUidGidFilter() 182 APPSPAWN_LOGE("Failed to dlsym get permission errno is %{public}d", errno); in SetSeccompFilter() 198 APPSPAWN_LOGE("Failed to set %{public}s seccomp filter and exit %{public}d", appName, errno); in SetSeccompFilter()
|
H A D | appspawn_dfx_dump.cpp | 30 APPSPAWN_LOGE("dumpCatch stackTrace failed."); in DumpSpawnStack()
|
H A D | appspawn_common.c | 202 APPSPAWN_LOGE("get provision type failed, defaut is %{public}s", PROVISION_TYPE_DEBUG); in SetXpmConfig() 242 APPSPAWN_LOGE("SetUidGid invalid uid for nwebspawn %{public}d", dacInfo->gid); in SetUidGid() 265 APPSPAWN_LOGE("Failed to set app dumpable: %{public}s", strerror(errno)); in SetUidGid() 279 APPSPAWN_LOGE("open dev_null error: %{public}d", errno); in SetFileDescriptors() 285 APPSPAWN_LOGE("dup2 STDIN error: %{public}d", errno); in SetFileDescriptors() 290 APPSPAWN_LOGE("dup2 STDOUT error: %{public}d", errno); in SetFileDescriptors() 295 APPSPAWN_LOGE("dup2 STDERR error: %{public}d", errno); in SetFileDescriptors()
|
H A D | appspawn_begetctl.c | 65 APPSPAWN_LOGE("Exit RunAppSandbox %{public}s exit", ptyName); in RunAppSandbox()
|
H A D | appspawn_cgroup.c | 163 APPSPAWN_LOGE("unable to kill process, pid: %{public}d ret %{public}d", pid, errno); in KillProcessesByCGroup()
|
/base/startup/appspawn/util/include/ |
H A D | appspawn_utils.h | 160 #define APPSPAWN_LOGE(fmt, ...) \ macro 179 #define APPSPAWN_LOGE(fmt, ...) \ macro 189 APPSPAWN_LOGE(fmt, ##__VA_ARGS__); \ 205 APPSPAWN_LOGE(fmt, ##__VA_ARGS__); \
|
/base/startup/appspawn/modules/ace_adapter/ |
H A D | ace_adapter.cpp | 93 APPSPAWN_LOGE("LoadExtendLib: Failed to create runtime"); in PreloadModule() 213 APPSPAWN_LOGE("Denied launching a native process: not in developer mode"); in RunChildByRenderCmd() 224 APPSPAWN_LOGE("Failed to run a native process: empty command %{public}s", renderCmd); in RunChildByRenderCmd() 237 APPSPAWN_LOGE("Failed to launch a native process with execvp: %{public}s", strerror(err)); in RunChildByRenderCmd()
|
/base/startup/appspawn/common/ |
H A D | appspawn_server.c | 78 APPSPAWN_LOGE("AppSpawnChild SetEncapsFlag failed, fdEncaps < -1"); in SetEncapsFlag() 83 APPSPAWN_LOGE("AppSpawnChild SetEncapsFlag failed"); in SetEncapsFlag()
|
/base/startup/appspawn/util/src/ |
H A D | appspawn_utils.c | 65 APPSPAWN_LOGE("Failed to copy env value"); in ConvertEnvValue() 77 APPSPAWN_LOGE("Failed to strcat env value"); in ConvertEnvValue() 90 APPSPAWN_LOGE("Failed to strcat env value"); in ConvertEnvValue() 97 APPSPAWN_LOGE("Failed to strcat env value"); in ConvertEnvValue() 431 APPSPAWN_LOGE("Failed to write to file errno %{public}d", errno); in EnableNewNetNamespace()
|
/base/startup/appspawn/modules/sandbox/ |
H A D | sandbox_load.c | 238 APPSPAWN_LOGE("Failed to get sourc or target path"); in DecodeMountPathConfig() 284 APPSPAWN_LOGE("Failed to get sourc or target path"); in DecodeSymbolLinksConfig() 370 APPSPAWN_LOGE("Can not find name-group %{public}s", name); in ParseMountGroupsConfig() 375 APPSPAWN_LOGE("Invalid name-group %{public}s", name); in ParseMountGroupsConfig() 381 APPSPAWN_LOGE("Name-group %{public}s bas been set", name); in ParseMountGroupsConfig() 583 APPSPAWN_LOGE("No name in %{public}s configs", configName); in ParseConditionalConfig()
|
H A D | appspawn_sandbox.c | 367 APPSPAWN_LOGE("Failed to chown %{public}s errno: %{public}d", args->originPath, errno); in CreateDemandSrc() 372 APPSPAWN_LOGE("Failed to chmod %{public}s errno: %{public}d", args->originPath, errno); in CreateDemandSrc() 400 APPSPAWN_LOGE("Get msg dac info failed"); in SetMountArgsOption() 407 APPSPAWN_LOGE("sprintf_s failed"); in SetMountArgsOption() 424 APPSPAWN_LOGE("set mount arg option fail. ret: %{public}d", ret); in DoSandboxMountByCategory() 476 APPSPAWN_LOGE("Failed to mount config, section: %{public}s result: %{public}d category: %{public}d", in DoSandboxPathNodeMount() 504 APPSPAWN_LOGE("symlink failed, errno: %{public}d link info %{public}s %{public}s", in DoSandboxPathSymLink() 651 APPSPAWN_LOGE("snprintf_s lock sandbox path stamp failed"); in MountDirToShared() 664 APPSPAWN_LOGE("Failed to get real path %{public}s ", groupNode->section.name); in UpdateMountPathDepsPath() 672 APPSPAWN_LOGE("Faile in UpdateMountPathDepsPath() [all...] |
/base/startup/appspawn/modules/asan/ |
H A D | asan_detector.c | 136 APPSPAWN_LOGE("Failed to set asan exec path %{public}s", GetProcessName(property)); in AsanSpawnGetSpawningFlag()
|
/base/startup/appspawn/test/unittest/ |
H A D | app_spawn_test_helper.h | 63 APPSPAWN_LOGE("destory test helper close fd %d", fdArg); in ~AppSpawnTestHelper()
|
/base/startup/appspawn/modules/modulemgr/ |
H A D | appspawn_modulemgr.c | 213 APPSPAWN_LOGE("Execute hook [%{public}d] result %{public}d", stage, ret); in AppSpawnHookExecute()
|