Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/lib/libc/sys Pull up revision 1.16 (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/247c222b1e30
branches:  netbsd-1-4
changeset: 471320:247c222b1e30
user:      he <he%NetBSD.org@localhost>
date:      Mon Jan 14 15:19:44 2002 +0000

description:
Pull up revision 1.16 (requested by he):
  Fix a ptrace/execve race condition which could be used to modify
  the child process' image during execve.  This would be a security
  issue due to setuid programs.

diffstat:

 lib/libc/sys/ptrace.2 |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 3683980ec7aa -r 247c222b1e30 lib/libc/sys/ptrace.2
--- a/lib/libc/sys/ptrace.2     Mon Jan 14 15:19:24 2002 +0000
+++ b/lib/libc/sys/ptrace.2     Mon Jan 14 15:19:44 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ptrace.2,v 1.8 1999/03/26 23:37:27 sommerfe Exp $
+.\"    $NetBSD: ptrace.2,v 1.8.2.1 2002/01/14 15:19:44 he Exp $
 .\"
 .\" This file is in the public domain.
 .Dd November 7, 1994
@@ -315,6 +315,8 @@
 can be set to 0 before the call and checked afterwards.  The possible
 errors are:
 .Bl -tag -width 4n
+.It Bq Er EAGAIN
+Process is currently exec'ing and cannot be traced.
 .It Bq Er ESRCH
 No process having the specified process ID exists.
 .It Bq Er EINVAL



Home | Main Index | Thread Index | Old Index