Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 1996 07:03:02 -0800 (PST)
From:      Peter Wemm <peter>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/kern sys_process.c
Message-ID:  <199603301503.HAA08997@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

peter       96/03/30 07:03:01

  Modified:    sys/kern  sys_process.c
  Log:
  Because of the way that ptrace() now calls procfs routines to read/write
  the process's memory, it was possible for the procfs_domem() call to
  return a residual leftover, but with no errno.  Since this is no good for
  ptrace which ignored the the residual, remap a leftover amount into an
  errno rather than fooling the caller into thinking it was successful when
  in fact it was not.
  
  Submitted by: bde (a very long time ago :-)
  
  Revision  Changes    Path
  1.22      +16 -2     src/sys/kern/sys_process.c



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