It appears that a new Linux process inherits its parent's
- present working directory,
- umask,
- process group (getpgid) and
- process session (getsid).
Also, the parent's PID becomes the new process's PPID.
Given an empty environment, does a new Linux process inherit anything else?
I ask because I wish to let an untrustworthy caller spawn a trustworthy process, which itself spawns more trustworthy processes. The caller is not to be allowed to influence the trustworthy processes' operation.
(See also this related question.)