git: kernel - Fix udev devfs leak and possible panic

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Mar 17 11:12:51 PDT 2018


commit 0049c59cb7fdf51f94e6d972d59c5f19d86aaad4
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Mar 17 11:11:26 2018 -0700

    kernel - Fix udev devfs leak and possible panic
    
    * udev was trying to add cloned nodes under /dev/udev, but /dev/udev
      is not a directory.
    
    * Leave /dev/udev alone and put the cloned nodes under /dev/udevs/%d.
    
    * Fixes 'X leaked device nodes' from devfs, particularly when mounted
      inside jails.
    
    * Might also fix occassional devfs related panics.

Summary of changes:
 sys/kern/kern_udev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0049c59cb7fdf51f94e6d972d59c5f19d86aaad4


-- 
DragonFly BSD source repository



More information about the Commits mailing list