目录

Does HarmonyOS restrict an application process from forking subprocesses? Does it allow executable files in applications to run (fork+exec) and read their own processes in ptrace mode? Will this method be restricted in the future?

Solution

The system restricts ordinary application from directly forking processes. On mobile devices, ordinary applications are not allowed to directly create processes.