In the last episode (May 28), Jos Backus said:
> On Wed, May 29, 2002 at 10:55:54AM +1000, Bruce Evans wrote:
> > Here is some old mail about this. Sorry I slowed down Alexander's
> > fixes.
>
> Thanks Bruce. It sounds like we'll have to live with this problem for
> now?
If you're not concerned about accounting (or whatever deleting a
credential ends up doing), you can use this hack. My machine's still
running.
Index: su.c
===================================================================
RCS file: /home/ncvs/src/usr.bin/su/su.c,v
retrieving revision 1.49
diff -b -u -p -r1.49 su.c
--- su.c 6 Mar 2002 12:46:56 -0000 1.49
+++ su.c 29 Mar 2002 19:01:47 -0000
@@ -309,7 +309,7 @@ main(int argc, char *argv[])
*/
statusp = 1;
- child_pid = fork();
+ child_pid = 0;
switch (child_pid) {
default:
while ((ret_pid = waitpid(child_pid, &statusp, WUNTRACED)) != -1) {
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message