1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
| struct task_struct { volatile long state; struct thread_info *thread_info; atomic_t usage; unsigned long flags; unsigned long ptrace;
int lock_depth;
int prio, static_prio; struct list_head run_list; prio_array_t *array;
unsigned long sleep_avg; unsigned long last_run;
unsigned long policy; unsigned long cpus_allowed; unsigned int time_slice, first_time_slice;
struct list_head tasks; struct list_head ptrace_children; struct list_head ptrace_list;
struct mm_struct *mm, *active_mm;
struct linux_binfmt *binfmt; int exit_code, exit_signal; int pdeath_signal; unsigned long personality; int did_exec:1; pid_t pid; pid_t pgrp; pid_t tty_old_pgrp; pid_t session; pid_t tgid; int leader;
struct task_struct *real_parent; struct task_struct *parent; struct list_head children; struct list_head sibling; struct task_struct *group_leader;
struct pid_link pids[PIDTYPE_MAX];
wait_queue_head_t wait_chldexit; struct completion *vfork_done; int __user *set_child_tid; int __user *clear_child_tid;
unsigned long rt_priority; unsigned long it_real_value, it_prof_value, it_virt_value; unsigned long it_real_incr, it_prof_incr, it_virt_incr; struct timer_list real_timer; struct list_head posix_timers; unsigned long utime, stime, cutime, cstime; u64 start_time;
unsigned long min_flt, maj_flt, nswap, cmin_flt, cmaj_flt, cnswap;
uid_t uid,euid,suid,fsuid; gid_t gid,egid,sgid,fsgid; int ngroups; gid_t groups[NGROUPS]; kernel_cap_t cap_effective, cap_inheritable, cap_permitted; int keep_capabilities:1; struct user_struct *user;
struct rlimit rlim[RLIM_NLIMITS]; unsigned short used_math; char comm[16];
int link_count, total_link_count; struct tty_struct *tty; unsigned int locks;
struct sysv_sem sysvsem;
struct thread_struct thread;
struct fs_struct *fs;
struct files_struct *files;
struct namespace *namespace;
struct signal_struct *signal; struct sighand_struct *sighand;
sigset_t blocked, real_blocked; struct sigpending pending;
unsigned long sas_ss_sp; size_t sas_ss_size; int (*notifier)(void *priv); void *notifier_data; sigset_t *notifier_mask; void *security;
u32 parent_exec_id; u32 self_exec_id;
spinlock_t alloc_lock;
spinlock_t proc_lock;
spinlock_t switch_lock;
void *journal_info;
struct reclaim_state *reclaim_state;
struct dentry *proc_dentry; struct backing_dev_info *backing_dev_info;
unsigned long ptrace_message; siginfo_t *last_siginfo; }
|