操作系统面试题
fork
之后,子进程从父进程继承了哪些东西?
- real user id, real group id, effective id, effective group id
- process group id
- session id
- controlling terminal
- set-user, set-group flags
- current working directory
- file mode creation mask
- environment
- memory mappings
- resource limits
- opened file descriptors