Table 1. Useful task_struct Fields
NAME TYPE DESCRIPTION
--------------------------------------------------------------------
uid uid_t User ID
--------------------------------------------------------------------
euid uid_t Effective user ID
--------------------------------------------------------------------
gid gid_t Group ID
--------------------------------------------------------------------
egid gid_t Effective group ID
--------------------------------------------------------------------
pid pid_t Process ID
--------------------------------------------------------------------
pgrp pid_t Process group ID
--------------------------------------------------------------------
p_opptr task_struct* Original parent task
--------------------------------------------------------------------
fs fs_struct* Filesystem information
--------------------------------------------------------------------
blocked sigset_t Set of blocked signals
--------------------------------------------------------------------
Copyright © 1994 - 2019 Linux Journal. All rights reserved.