Skip to content
Commit 814bd5d3 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

xids: Dump and restore tasks' pgid and sid



This is preriquisity for terminals handling and just a good
practice to save and restore everything we can :)

Not all combinations are supported. All the problems we still
have come from the inability to attach to group/session with
ID no tasks own as its PID.

This can be workarounded by fork()-ing this pid temporarily,
but we'd rather think in the direction of modifying the kernel
to give us direct syscall for this (oh my...)

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 6f67bb8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment