git: kern: Staticize several functions and variables in kern_exec.c

Aaron LI aly at crater.dragonflybsd.org
Sat Feb 20 06:49:38 PST 2021


commit 08512cb04d3069b0d42ce0f33d3deb837c188acf
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Feb 17 20:18:42 2021 +0800

    kern: Staticize several functions and variables in kern_exec.c
    
    Staticize exec_copyin_args(), exec_free_args() and print_execve_args()
    functions, and move the related prototypes and exec_path_segflg enum
    from <sys/imgact.h> here.
    
    In addition, staticize the 'debug_execve_args' variable.

Summary of changes:
 sys/kern/kern_exec.c | 23 ++++++++++++++++-------
 sys/sys/imgact.h     |  9 ++-------
 2 files changed, 18 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/08512cb04d3069b0d42ce0f33d3deb837c188acf


-- 
DragonFly BSD source repository


More information about the Commits mailing list