git: jail: Simplify a bit by using the new BIT64 sysctl functions

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Mon Dec 2 04:40:30 PST 2019


commit 25e27214c7722a9f67cd33a66cbe7008f9bdb8a6
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Mon Dec 2 12:53:21 2019 +0100

    jail: Simplify a bit by using the new BIT64 sysctl functions
    
      - No functional changes.
      - The per-jail settings have been renamed to match the new capability
        constants. The default settings will be renamed soon too.
      - Fix a missing prison chflags check in ufs_settattr() and
        ext2fs_setattr().

Summary of changes:
 sys/gnu/vfs/ext2fs/ext2_vnops.c |   6 +-
 sys/kern/kern_jail.c            | 189 ++++++++--------------------------------
 sys/kern/kern_mib.c             |   9 +-
 sys/kern/sysv_msg.c             |   8 +-
 sys/kern/sysv_sem.c             |   6 +-
 sys/kern/sysv_shm.c             |   8 +-
 sys/kern/uipc_socket.c          |   2 +-
 sys/kern/vfs_helper.c           |   3 +-
 sys/sys/jail.h                  |  35 +++++---
 sys/vfs/ufs/ufs_vnops.c         |   8 +-
 10 files changed, 87 insertions(+), 187 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/25e27214c7722a9f67cd33a66cbe7008f9bdb8a6


-- 
DragonFly BSD source repository



More information about the Commits mailing list