git: kernel - Disable /dev/mem and /dev/kmem for RESTRICTEDROOT environments

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Oct 13 19:13:51 PDT 2023


commit 967d142757ceebfc09f22dd1a530f3d3e3f0e2ee
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Oct 13 18:55:44 2023 -0700

    kernel - Disable /dev/mem and /dev/kmem for RESTRICTEDROOT environments
    
    * Disable /dev/mem and /dev/kmem if RESTRICTEDROOT is set.  This capability
      restriction is always set inside jails.

Summary of changes:
 sys/kern/kern_memio.c | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/967d142757ceebfc09f22dd1a530f3d3e3f0e2ee


-- 
DragonFly BSD source repository


More information about the Commits mailing list