projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
multi-disk paging
[unix-history]
/
usr
/
src
/
sys
/
kern
/
kern_proc.c
diff --git
a/usr/src/sys/kern/kern_proc.c
b/usr/src/sys/kern/kern_proc.c
index
d2d6e57
..
22a7a27
100644
(file)
--- a/
usr/src/sys/kern/kern_proc.c
+++ b/
usr/src/sys/kern/kern_proc.c
@@
-1,4
+1,4
@@
-/* kern_proc.c 3.
9 %H
% */
+/* kern_proc.c 3.
11 %G
% */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
@@
-514,7
+514,7
@@
done:
* Protect this process from future
* tty signals, and clear TSTP/TTIN/TTOU if pending.
*/
* Protect this process from future
* tty signals, and clear TSTP/TTIN/TTOU if pending.
*/
- q->p_pgrp =
0
;
+ q->p_pgrp =
q->p_pid
;
#define bit(a) (1<<(a-1))
q->p_sig &= ~(bit(SIGTSTP)|bit(SIGTTIN)|bit(SIGTTOU));
}
#define bit(a) (1<<(a-1))
q->p_sig &= ~(bit(SIGTSTP)|bit(SIGTTIN)|bit(SIGTTOU));
}