562e2f204a
* Added team::flags. Currently only used for setting a flag when a team has exec()ed. * Some improvements of _user_setpgid(): - It failed incorrectly when the target process was a process group leader. According to the standard it shall fail when the process is a session leader. Moving a process group leader to another process group is fine, even if that leaves the group leaderless. - Fixed race conditions. We need to recheck the error conditions when we hold the team spinlock. Otherwise the situation could change while we allocated the new process group. This was one of the reasons for bug #1799 -- after the shell fork()'s both parent and child invoke setpgid() for the child. - Fixed behavior for pid == pgid. It doesn't necessarily mean that a new group has to be created. - Fixed update of target process group orphaned state. - Squashed TODO: setpgid() on a child is supposed to fail after the child has exec()ed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24041 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
||
---|---|---|
.. | ||
build | ||
compatibility/bsd | ||
cpp | ||
glibc | ||
gnu | ||
legacy/network | ||
libs | ||
os | ||
posix | ||
private | ||
tools |