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
initialize limits
[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
156351a
..
0b8fde9
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.1
2
%G% */
+/* kern_proc.c 3.1
5
%G% */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
@@
-315,7
+315,7
@@
register struct inode *ip;
1 + ts/CLSIZE, (int)btoc(u.u_exdata.ux_dsize));
/* THIS SHOULD BE DONE AT A LOWER LEVEL, IF AT ALL */
1 + ts/CLSIZE, (int)btoc(u.u_exdata.ux_dsize));
/* THIS SHOULD BE DONE AT A LOWER LEVEL, IF AT ALL */
- mtpr(TBIA,
1
);
+ mtpr(TBIA,
0
);
/*
* set SUID/SGID protections, if no tracing
/*
* set SUID/SGID protections, if no tracing
@@
-498,7
+498,7
@@
done:
/*
* Traced processes are killed
* since their existence means someone is screwing up.
/*
* Traced processes are killed
* since their existence means someone is screwing up.
- *
Trac
ed processes are sent a hangup and a continue.
+ *
Stopp
ed processes are sent a hangup and a continue.
* This is designed to be ``safe'' for setuid
* processes since they must be willing to tolerate
* hangups anyways.
* This is designed to be ``safe'' for setuid
* processes since they must be willing to tolerate
* hangups anyways.
@@
-512,7
+512,8
@@
done:
}
/*
* Protect this process from future
}
/*
* Protect this process from future
- * tty signals, and clear TSTP/TTIN/TTOU if pending.
+ * tty signals, clear TSTP/TTIN/TTOU if pending,
+ * and set SDETACH bit on procs.
*/
spgrp(q, -1);
}
*/
spgrp(q, -1);
}