Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2008 20:20:50 +0000 (UTC)
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.bin/procstat procstat_files.c procstat_vm.c
Message-ID:  <200812192021.mBJKL21i064782@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcus      2008-12-19 20:20:50 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    usr.bin/procstat     procstat_files.c procstat_vm.c 
  Log:
  SVN rev 186338 on 2008-12-19 20:20:50Z by marcus
  
  MFC r186315:
  
  Do not segfault when procstat -f or procstat -v is called on a process not
  owned by the current user.  If kinfo_getfile() or kinfo_getvmmap() return
  NULL, simply exit, and do not try and derefernce the memory.
  
  Approved by:    re (kib)
  
  Revision  Changes    Path
  1.5.2.6   +2 -0      src/usr.bin/procstat/procstat_files.c
  1.2.2.4   +2 -0      src/usr.bin/procstat/procstat_vm.c



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