kern: Staticize several functions and variables in kern_exec.c
authorAaron LI <aly@aaronly.me>
Wed, 17 Feb 2021 12:18:42 +0000 (20:18 +0800)
committerAaron LI <aly@aaronly.me>
Sat, 20 Feb 2021 14:49:00 +0000 (22:49 +0800)
commit08512cb04d3069b0d42ce0f33d3deb837c188acf
tree6707921448c8f7f6452cc8fb190d19647f4b0fbd
parent78e2ba739dae2545c5975fc8aa408f6e49304d08
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.
sys/kern/kern_exec.c
sys/sys/imgact.h