Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2010 19:17:42 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern kern_exec.c kern_ktrace.c subr_bus.c subr_taskqueue.c src/sys/sys interrupt.h
Message-ID:  <201001211918.o0LJIBGe097433@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2010-01-21 19:17:42 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/kern             kern_exec.c kern_ktrace.c subr_bus.c 
                         subr_taskqueue.c 
    sys/sys              interrupt.h 
  Log:
  SVN rev 202765 on 2010-01-21 19:17:42Z by jhb
  
  MFC 198411:
  - Fix several off-by-one errors when using MAXCOMLEN.  The p_comm[] and
    td_name[] arrays are actually MAXCOMLEN + 1 in size and a few places that
    created shadow copies of these arrays were just using MAXCOMLEN.
  - Prefer using sizeof() of an array type to explicit constants for the
    array length in a few places.
  - Ensure that all of p_comm[] is always zero'd during execve() to guard
    against any possible information leaks.  Previously trailing garbage in
    p_comm[] could be leaked to userland in ktrace record headers.
  
  Revision    Changes    Path
  1.308.2.13  +1 -1      src/sys/kern/kern_exec.c
  1.121.2.4   +6 -1      src/sys/kern/kern_ktrace.c
  1.201.2.10  +1 -1      src/sys/kern/subr_bus.c
  1.39.2.4    +2 -2      src/sys/kern/subr_taskqueue.c
  1.37.2.6    +3 -3      src/sys/sys/interrupt.h



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