Home
last modified time | relevance | path

Searched refs:fa_arg (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/sys/kern/
H A Dexec_script.c249 tmpsap->fa_arg = kmem_alloc(tmpsap->fa_len, KM_SLEEP); in exec_script_makecmds()
250 strlcpy(tmpsap->fa_arg, shellname, tmpsap->fa_len); in exec_script_makecmds()
254 tmpsap->fa_arg = kmem_alloc(tmpsap->fa_len, KM_SLEEP); in exec_script_makecmds()
255 strlcpy(tmpsap->fa_arg, shellarg, tmpsap->fa_len); in exec_script_makecmds()
259 tmpsap->fa_arg = kmem_alloc(tmpsap->fa_len, KM_SLEEP); in exec_script_makecmds()
264 error = copystr(epp->ep_kname, tmpsap->fa_arg, MAXPATHLEN, in exec_script_makecmds()
270 snprintf(tmpsap->fa_arg, MAXPATHLEN, "/dev/fd/%d", epp->ep_fd); in exec_script_makecmds()
274 tmpsap->fa_arg = NULL; in exec_script_makecmds()
347 while (tmpsap->fa_arg != NULL) { in exec_script_makecmds()
348 kmem_free(tmpsap->fa_arg, tmpsa in exec_script_makecmds()
[all...]
H A Dkern_exec.c1630 while (fa->fa_arg != NULL) { in copyinargs()
1634 len = strlcpy(dp, fa->fa_arg, maxlen); in copyinargs()
1639 while (fa->fa_arg != NULL) { in copyinargs()
1640 kmem_free(fa->fa_arg, fa->fa_len); in copyinargs()
1647 ktrexecarg(fa->fa_arg, len - 1); in copyinargs()
1650 kmem_free(fa->fa_arg, fa->fa_len); in copyinargs()
/netbsd-src/sys/sys/
H A Dexec.h186 char *fa_arg; member