job - Control a group of processes
A job is a group of processes and possibly other (child) jobs. Jobs are used to track privileges to perform kernel operations (i.e., make various syscalls, with various options), and track and limit basic resource (e.g., memory, CPU) consumption. Every process belongs to a single job. Jobs can also be nested, and every job except the root job also belongs to a single (parent) job.
A job is an object consisting of the following:
Jobs control “applications” that are composed of more than one process to be controlled as a single entity.
zx_job_create()
- create a new child job.zx_process_create()
- create a new process within a job.zx_job_set_policy()
- set policy for new processes in the job.zx_task_bind_exception_port()
- attach an exception port to a taskzx_task_kill()
- cause a task to stop running.