Lines Matching refs:sandbox
31 #define SANDBOX_NWEBSPAWN_ROOT_PATH APPSPAWN_BASE_DIR "/mnt/sandbox/com.ohos.render/"
37 #define DEFAULT_NWEB_SANDBOX_SEC_PATH "/data/app/el1/bundle/public/com.ohos.nweb" // persist.nweb.sandbox.src_path
149 uint32_t sandboxSwitch : 1; // "sandbox-switch": "ON",
150 uint32_t sandboxShared : 1; // "sandbox-switch": "ON",
186 uint32_t sandboxNsFlags; // "sandbox-ns-flags": [ "pid", "net" ], // for appspawn and newspawn
188 uint32_t topSandboxSwitch : 1; // "top-sandbox-switch": "ON",
234 void DeleteAppSpawnSandbox(AppSpawnSandboxCfg *sandbox);
235 int LoadAppSandboxConfig(AppSpawnSandboxCfg *sandbox, RunMode mode);
236 void DumpAppSpawnSandboxCfg(AppSpawnSandboxCfg *sandbox);
263 * @brief sandbox mount interface
266 int MountSandboxConfigs(AppSpawnSandboxCfg *sandbox, const AppSpawningCtx *property, int nwebspawn);
267 int StagedMountSystemConst(AppSpawnSandboxCfg *sandbox, const AppSpawningCtx *property, int nwebspawn);
268 int StagedMountPreUnShare(const SandboxContext *context, AppSpawnSandboxCfg *sandbox);
269 int StagedMountPostUnshare(const SandboxContext *context, const AppSpawnSandboxCfg *sandbox);
271 int UnmountDepPaths(const AppSpawnSandboxCfg *sandbox, uid_t uid);
272 int UnmountSandboxConfigs(const AppSpawnSandboxCfg *sandbox, uid_t uid, const char *name);