From owner-cvs-all Tue Jul 14 21:44:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA15153 for cvs-all-outgoing; Tue, 14 Jul 1998 21:44:38 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA15139; Tue, 14 Jul 1998 21:44:36 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id VAA17857; Tue, 14 Jul 1998 21:43:53 -0700 (PDT) Date: Tue, 14 Jul 1998 21:43:53 -0700 (PDT) Message-Id: <199807150443.VAA17857@freefall.freebsd.org> To: Subject: cvs commit: src/sys/kern sys_process.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk bde 1998/07/14 21:43:52 PDT Modified files: sys/kern sys_process.c Log: Cast function pointers to uintfptr_t before casting them to u_long. Hopefully caddr_t is large enough to hold function pointers. Cast object pointers to uintptr_t before casting them to u_long. Types are wronger than usual for the PT_READ_U case. ptrace() can only return ints, but longs are accessed. Revision Changes Path 1.39 +7 -5 src/sys/kern/sys_process.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message