cvs commit: src/sys/amd64/linux32 linux32_machdep.c src/sys/compat/freebsd32 freebsd32_misc.c

John Baldwin jhb at
Fri Jun 24 17:41:28 GMT 2005

jhb         2005-06-24 17:41:28 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/linux32    linux32_machdep.c 
    sys/compat/freebsd32 freebsd32_misc.c 
  Correct the amount of data to allocate in these local copies of
  exec_copyin_strings() to catch up to rev 1.266 of kern_exec.c.  This fixes
  panics on amd64 with compat binaries since exec_free_args() was freeing
  more memory than these functions were allocating and the mismatch could
  cause memory to be freed out from under other concurrent execs.
  Approved by:    re (scottl)
  Revision  Changes    Path
  1.10      +2 -1      src/sys/amd64/linux32/linux32_machdep.c
  1.36      +2 -1      src/sys/compat/freebsd32/freebsd32_misc.c

More information about the cvs-src mailing list