git: Move jail staffs from <net/if.h> and <netinet/in.h> to <sys/jail.h>

Aaron LI aly at crater.dragonflybsd.org
Wed Jul 25 19:28:22 PDT 2018


commit e1c6b0c1ee471ec790888a1edec44099e6601971
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Mar 20 15:52:54 2018 +0800

    Move jail staffs from <net/if.h> and <netinet/in.h> to <sys/jail.h>
    
    * <net/if.h>: Move out prison_if() function prototype to <sys/jail.h>
    
    * <netinet/in.h>: Move out prison_replace_wildcards() and prison_remote_ip()
      function prototypes to <sys/jail.h>
    
    * Include <sys/jail.h> header for those files in need of it
    
    Obtained-from: FreeBSD (r72786)

Summary of changes:
 sys/net/if.c               |  1 +
 sys/net/if.h               |  5 -----
 sys/net/rtsock.c           |  1 +
 sys/netinet/in.h           |  3 ---
 sys/netinet/tcp_usrreq.c   |  1 +
 sys/netinet/udp_usrreq.c   |  1 +
 sys/netinet6/udp6_output.c |  1 +
 sys/netinet6/udp6_usrreq.c |  1 +
 sys/sys/jail.h             | 12 +++++++++---
 9 files changed, 15 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e1c6b0c1ee471ec790888a1edec44099e6601971


-- 
DragonFly BSD source repository


More information about the Commits mailing list