diff options
author | phk <phk@FreeBSD.org> | 1996-05-02 14:21:14 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-05-02 14:21:14 +0000 |
commit | 5a6fb3a7da69f11fbe5093f4a2cc7a4d86df5b36 (patch) | |
tree | c11aef2f7af5663393e978cd03a223a2ffbe6c69 /sys/kern/sys_process.c | |
parent | 189514aa416a464e44c25c45746e8ed5e850f03d (diff) | |
download | FreeBSD-src-5a6fb3a7da69f11fbe5093f4a2cc7a4d86df5b36.zip FreeBSD-src-5a6fb3a7da69f11fbe5093f4a2cc7a4d86df5b36.tar.gz |
removed:
CLBYTES PD_SHIFT PGSHIFT NBPG PGOFSET CLSIZELOG2 CLSIZE pdei()
ptei() kvtopte() ptetov() ispt() ptetoav() &c &c
new:
NPDEPG
Major macro cleanup.
Diffstat (limited to 'sys/kern/sys_process.c')
-rw-r--r-- | sys/kern/sys_process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index 583963c..f01629a 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sys_process.c,v 1.21 1996/01/24 18:29:00 peter Exp $ + * $Id: sys_process.c,v 1.22 1996/03/30 15:02:58 peter Exp $ */ #include <sys/param.h> @@ -413,7 +413,7 @@ ptrace(curp, uap, retval) return (error); case PT_READ_U: - if ((u_int)uap->addr > (UPAGES * NBPG - sizeof(int))) { + if ((u_int)uap->addr > (UPAGES * PAGE_SIZE - sizeof(int))) { return EFAULT; } error = 0; |