MCPcopy Create free account
hub / github.com/F-Stack/f-stack / exec_alloc_args

Function exec_alloc_args

freebsd/kern/kern_exec.c:1399–1405  ·  view source on GitHub ↗

* Allocate temporary demand-paged, zero-filled memory for the file name, * argument, and environment strings. */

Source from the content-addressed store, hash-verified

1397 * argument, and environment strings.
1398 */
1399int
1400exec_alloc_args(struct image_args *args)
1401{
1402
1403 args->buf = (char *)exec_alloc_args_kva(&args->bufkva);
1404 return (0);
1405}
1406
1407void
1408exec_free_args(struct image_args *args)

Callers 3

exec_copyin_argsFunction · 0.85
exec_copyin_data_fdsFunction · 0.85
start_initFunction · 0.85

Calls 1

exec_alloc_args_kvaFunction · 0.85

Tested by

no test coverage detected