aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorOren Laadan <[email protected]>2006-01-08 01:03:51 -0800
committerLinus Torvalds <[email protected]>2006-01-08 20:14:00 -0800
commit9a5d3023e626a0baf86ac6b892c983b3db13f22b (patch)
tree41d1be6513fc3a5367414654eeaf11bbb12d4814 /scripts/patch-kernel
parentfb86a35b9ded8a7e53a432cbf28df603cdd4849c (diff)
[PATCH] fork: fix race in setting child's pgrp and tty
In fork, child should recopy parent's pgrp/tty after it has tasklist_lock. Otherwise following a setpgid() on the parent, *after* copy_signal(), the child will own a stale pgrp (which may be reused); (eg. if copy_mm() sleeps a long while due to memory pressure). Similar issue for the tty. Signed-off-by: Oren Laadan <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Roland McGrath <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions