Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/miscfs/procfs Pull up revision 1.15 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/0cdfff9d17d8
branches: netbsd-1-4
changeset: 471323:0cdfff9d17d8
user: he <he%NetBSD.org@localhost>
date: Mon Jan 14 15:20:38 2002 +0000
description:
Pull up revision 1.15 (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:
sys/miscfs/procfs/procfs_regs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 36e40de41da5 -r 0cdfff9d17d8 sys/miscfs/procfs/procfs_regs.c
--- a/sys/miscfs/procfs/procfs_regs.c Mon Jan 14 15:20:24 2002 +0000
+++ b/sys/miscfs/procfs/procfs_regs.c Mon Jan 14 15:20:38 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: procfs_regs.c,v 1.11 1997/08/27 08:52:54 thorpej Exp $ */
+/* $NetBSD: procfs_regs.c,v 1.11.12.1 2002/01/14 15:20:38 he Exp $ */
/*
* Copyright (c) 1993 Jan-Simon Pendry
@@ -63,7 +63,7 @@
int kl;
if ((error = procfs_checkioperm(curp, p)) != 0)
- return (EPERM);
+ return error;
kl = sizeof(r);
kv = (char *) &r;
Home |
Main Index |
Thread Index |
Old Index