行程(waiting on the terminated process)。一旦父行程等到其已終止之子行程,子行程
會被完全移除。一個已終止之行程,如果沒有父行程在等候它,則會被稱為
殭死行程
(
zombie
)。init 行程會例行性地等候它的所有子行程,確保重新指派給它的子行程不會
永遠保持在僵死狀態。
用戶與群組
Linux 中的授權機制提供自
用戶
(
user
)和
群組
(
group
)。每個用戶會配給一個獨一
無二的正整數,稱為
用戶識別碼
(
user ID
,簡稱
uid
)。每個行程恰好會被關聯到一個
uid,用以識別執行行程的用戶,這稱為行程的
真實用戶識別碼
(
real uid
)。Linux 核
心內部,uid 就代表用戶。然而,用戶本身在指稱自己和其他用戶時,所使用的是 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.