This stuff goes into the Process Table of a proc. (ie. LDT entry 0):
Len What it is
2 PID
1 Priority Counter
1 Actual priority byte
4 Pending Signal Bits
31............16............9 8 7 6 5 4 3 2 1 0
| | | | | | | | | |__ KILL (suggestive)
| | | | | | | | |__ KILL (hard)
| | | | | | | |__ SUSPEND
| | | | | | |__ CONTINUE
| | | | | |__ ALARM
| | | | |__ PROCESS ALARM
| | | |__ KEY
| | |__ Out-of-band Data
| |__ Connection Snap
|__ Window Size Change
4 Time when proc. was started (not used right now)
1 TTY on which this proc. was started
1 Interrupt hooked
40 Offsets for each signal handler
2 JUMP FIELD - PID of proc. to jump to when finished (for interrupt chaining)
1 Flag for redirected I/O
7 6 5 4 3 2 1 0
whether proc. is background __| | | |_ STDOUT redirected
or not (1=yes) | |__ STDIN redirected
whether proc. has used FPU or __|
not (1=yes)
32 Space for swap offset data for each of 8 possible segments (except CS).
16 Pushed CS/EIP entries from CALL() system calls (could be an unending chain)