Home
last modified time | relevance | path

Searched refs:envc (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_setproctitle.c86 spt_copyenv(int envc, char *envp[]) in spt_copyenv() argument
102 envsize = (envc + 1) * sizeof (char *); in spt_copyenv()
161 int i, envc, error; in zfs_setproctitle_init() local
187 envc = i; in zfs_setproctitle_init()
202 error = spt_copyenv(envc, envp); in zfs_setproctitle_init()
/freebsd/sys/compat/linux/
H A Dlinux_elf.c336 int argc, envc; in __linuxN() local
389 vectp -= imgp->args->argc + 1 + imgp->args->envc + 1; in __linuxN()
403 envc = imgp->args->envc; in __linuxN()
438 suword32(&arginfo->ps_nenvstr, envc) != 0) in __linuxN()
444 for (; envc > 0; --envc) { in __linuxN()
/freebsd/sys/security/audit/
H A Daudit.h138 void audit_arg_envv(char *envv, int envc, int length);
197 #define AUDIT_ARG_ENVV(envv, envc, length) do { \ argument
199 audit_arg_envv((envv), (envc), (length)); \
429 #define AUDIT_ARG_ENVV(envv, envc, length) argument
H A Daudit_arg.c947 audit_arg_envv(char *envv, int envc, int length) in audit_arg_envv() argument
960 ar->k_ar.ar_arg_envc = envc; in audit_arg_envv()
H A Dbsm_token.c1321 au_to_exec_env(char *envs, int envc) in au_to_exec_env() argument
1324 return (au_to_exec_strings(envs, envc, AUT_EXEC_ENV)); in au_to_exec_env()
/freebsd/sys/kern/
H A Dkern_exec.c355 AUDIT_ARG_ENVV(exec_args_get_begin_envv(args), args->envc, in kern_execve()
1609 KASSERT(args->envc == 0, ("appending args after env")); in exec_args_add_arg()
1619 if (args->envc == 0) in exec_args_add_env()
1622 return (exec_args_add_str(args, envp, segflg, &args->envc)); in exec_args_add_env()
1638 if (args->envc > 0) in exec_args_adjust_args()
1651 if (args->envc > 0) in exec_args_get_begin_envv()
1664 int argc, envc; in exec_copyout_strings() local
1750 vectp -= imgp->args->argc + 1 + imgp->args->envc + 1; in exec_copyout_strings()
1759 envc = imgp->args->envc; in exec_copyout_strings()
1794 suword32(&arginfo->ps_nenvstr, envc) != 0) in exec_copyout_strings()
[all …]
H A Dimgact_elf.c1498 AUXARGS_ENTRY(pos, AT_ENVC, imgp->args->envc); in __elfN()
/freebsd/sys/amd64/linux32/
H A Dlinux32_sysvec.c619 int argc, envc, error; in linux_copyout_strings() local
668 vectp -= imgp->args->argc + 1 + imgp->args->envc + 1; in linux_copyout_strings()
675 envc = imgp->args->envc; in linux_copyout_strings()
702 suword32(&arginfo->ps_nenvstr, envc) != 0) in linux_copyout_strings()
706 for (; envc > 0; --envc) { in linux_copyout_strings()
/freebsd/sys/sys/
H A Dimgact.h54 int envc; /* count of environment strings */ member
/freebsd/sbin/dhclient/
H A Ddhcpd.h196 int envc; member
/freebsd/contrib/openbsm/sys/bsm/
H A Daudit_record.h279 token_t *au_to_exec_env(char *envs, int envc);
/freebsd/sys/bsm/
H A Daudit_record.h285 token_t *au_to_exec_env(char *envs, int envc);
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_misc.c3596 int argc, envc, i; in freebsd32_copyout_strings() local
3683 vectp -= imgp->args->argc + 1 + imgp->args->envc + 1; in freebsd32_copyout_strings()
3692 envc = imgp->args->envc; in freebsd32_copyout_strings()
3726 suword32(&arginfo->ps_nenvstr, envc) != 0) in freebsd32_copyout_strings()
3732 for (; envc > 0; --envc) { in freebsd32_copyout_strings()