Lines Matching refs:originPath

96     APPSPAWN_CHECK(arg != NULL && arg->originPath != NULL && arg->destinationPath != NULL,
101 (uint32_t)arg->mountFlags, arg->options, arg->originPath, arg->destinationPath);
103 int ret = mount(arg->originPath, arg->destinationPath, arg->fsType, arg->mountFlags, arg->options);
105 if (arg->originPath != NULL && strstr(arg->originPath, "/data/app/el2/") != NULL) {
106 CheckDirRecursive(arg->originPath);
109 errno, arg->originPath, arg->destinationPath);
115 errno, arg->originPath, arg->destinationPath);
318 (uint32_t)args->mountFlags, options, args->originPath, args->destinationPath);
322 MountArg mountArg = {args->originPath, args->destinationPath, args->fsType, args->mountFlags, options, MS_SHARED};
357 CheckAndCreateSandboxFile(args->originPath);
365 int ret = chown(args->originPath, uid, gid);
367 APPSPAWN_LOGE("Failed to chown %{public}s errno: %{public}d", args->originPath, errno);
370 ret = chmod(args->originPath, sandboxNode->demandInfo->mode);
372 APPSPAWN_LOGE("Failed to chmod %{public}s errno: %{public}d", args->originPath, errno);
381 const char *originPath = GetSandboxRealVar(context, BUFFER_FOR_SOURCE, source, NULL, extraData);
382 if (originPath == NULL) {
386 MakeAtomicServiceDir(context, originPath);
388 return originPath;
446 args.originPath = GetRealSrcPath(context, sandboxNode->source, extraData);
457 APPSPAWN_CHECK(args.originPath != NULL && args.destinationPath != NULL,
458 return APPSPAWN_ARG_INVALID, "Invalid path %{public}s %{public}s", args.originPath, args.destinationPath);