git: world - Fix fstat and gcore
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    Wed Mar 27 10:09:43 PDT 2019
    
    
  
commit 4c2d301f6abfa3af6572a66d6c780f0580285c81
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Mar 27 10:08:25 2019 -0700
    world - Fix fstat and gcore
    
    * fstat needs to iterate vm_map_entry's
      via the RB tree, but it isn't entirely trivial because we
      have to kread().
    
    * gcore needs to steal a different field for its iterator
      when building a map from procfs.
    
    * Fixes buildworld.
    
    Reported-by: zrj
Summary of changes:
 usr.bin/fstat/fstat.c   | 89 ++++++++++++++++++++++++++++++++++++++++---------
 usr.bin/gcore/elfcore.c |  6 ++--
 2 files changed, 77 insertions(+), 18 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4c2d301f6abfa3af6572a66d6c780f0580285c81
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list