Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 1998 21:43:53 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.ORG>
Subject:   cvs commit: src/sys/kern sys_process.c
Message-ID:  <199807150443.VAA17857@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807150443.VAA17857>