Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95251
b: refs/heads/master
c: 83beaf3
h: refs/heads/master
i:
  95249: dae035a
  95247: c8c26d2
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Apr 30, 2008
1 parent ebdc2af commit 42a91b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 24336eaeecea860b2a82530e07c80bc7e0558b73
refs/heads/master: 83beaf3c6c75b36b7c9be7f555c8cf7797842cc5
3 changes: 1 addition & 2 deletions trunk/kernel/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -978,8 +978,7 @@ asmlinkage long sys_setpgid(pid_t pid, pid_t pgid)
goto out;

if (task_pgrp(p) != pgrp) {
detach_pid(p, PIDTYPE_PGID);
attach_pid(p, PIDTYPE_PGID, pgrp);
change_pid(p, PIDTYPE_PGID, pgrp);
set_task_pgrp(p, pid_nr(pgrp));
}

Expand Down

0 comments on commit 42a91b2

Please sign in to comment.