Home
last modified time | relevance | path

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

/xnu-8020.101.4/bsd/kern/
H A Dkern_exec.c2335 int origfd; in exec_handle_file_actions() local
2363 vap, NULL, NULL, &origfd); in exec_handle_file_actions()
2375 if (error || origfd == psfa->psfaa_filedes) { in exec_handle_file_actions()
2385 error = dup2(p, origfd, psfa->psfaa_filedes, ival); in exec_handle_file_actions()
2395 error = close_nocancel(p, origfd); in exec_handle_file_actions()
2411 int origfd; in exec_handle_file_actions() local
2427 error = fileport_makefd(p, port, 0, &origfd); in exec_handle_file_actions()
2433 if (error || origfd == psfa->psfaa_dup2args.psfad_newfiledes) { in exec_handle_file_actions()
2438 error = dup2(p, origfd, in exec_handle_file_actions()
2446 error = close_nocancel(p, origfd); in exec_handle_file_actions()