| /freebsd/sys/kern/ |
| H A D | kern_exec.c | 128 struct mac *mac_p, struct vmspace *oldvmspace); 228 struct vmspace *oldvmspace; in sys_execve() local 231 error = pre_execve(td, &oldvmspace); in sys_execve() 236 error = kern_execve(td, &args, NULL, oldvmspace); in sys_execve() 237 post_execve(td, error, oldvmspace); in sys_execve() 253 struct vmspace *oldvmspace; in sys_fexecve() local 256 error = pre_execve(td, &oldvmspace); in sys_fexecve() 262 error = kern_execve(td, &args, NULL, oldvmspace); in sys_fexecve() 264 post_execve(td, error, oldvmspace); in sys_fexecve() 283 struct vmspace *oldvmspace; in sys___mac_execve() local 301 pre_execve(struct thread * td,struct vmspace ** oldvmspace) pre_execve() argument 322 post_execve(struct thread * td,int error,struct vmspace * oldvmspace) post_execve() argument 352 kern_execve(struct thread * td,struct image_args * args,struct mac * mac_p,struct vmspace * oldvmspace) kern_execve() argument 394 do_execve(struct thread * td,struct image_args * args,struct mac * mac_p,struct vmspace * oldvmspace) do_execve() argument 1064 exec_cleanup(struct thread * td,struct vmspace * oldvmspace) exec_cleanup() argument [all...] |
| H A D | init_main.c | 739 struct vmspace *oldvmspace; in start_init() local 796 oldvmspace = p->p_vmspace; in start_init() 797 error = kern_execve(td, &args, NULL, oldvmspace); in start_init() 801 exec_cleanup(td, oldvmspace); in start_init()
|
| /freebsd/sys/compat/linux/ |
| H A D | linux_emul.c | 215 struct vmspace *oldvmspace; in linux_common_execve() local 222 error = pre_execve(td, &oldvmspace); in linux_common_execve() 226 error = kern_execve(td, eargs, NULL, oldvmspace); in linux_common_execve() 227 post_execve(td, error, oldvmspace); in linux_common_execve()
|
| /freebsd/sys/sys/ |
| H A D | imgact.h | 125 int pre_execve(struct thread *td, struct vmspace **oldvmspace); 126 void post_execve(struct thread *td, int error, struct vmspace *oldvmspace);
|
| H A D | syscallsubr.h | 138 struct mac *mac_p, struct vmspace *oldvmspace);
|
| /freebsd/sys/compat/freebsd32/ |
| H A D | freebsd32_misc.c | 502 struct vmspace *oldvmspace; 505 error = pre_execve(td, &oldvmspace); in freebsd32_execve() 511 error = kern_execve(td, &eargs, NULL, oldvmspace); in freebsd32_execve() 512 post_execve(td, error, oldvmspace); in freebsd32_execve() 521 struct vmspace *oldvmspace; 524 error = pre_execve(td, &oldvmspace); in freebsd32_fexecve() 530 error = kern_execve(td, &eargs, NULL, oldvmspace); in freebsd32_fexecve() 532 post_execve(td, error, oldvmspace); in freebsd32_fexecve() 506 struct vmspace *oldvmspace; freebsd32_execve() local 525 struct vmspace *oldvmspace; freebsd32_fexecve() local
|
| /freebsd/sys/vm/ |
| H A D | vm_map.c | 4959 struct vmspace *oldvmspace = p->p_vmspace; in vmspace_exec() local 4967 newvmspace->vm_swrss = oldvmspace->vm_swrss; in vmspace_exec() 4991 struct vmspace *oldvmspace = p->p_vmspace; in vmspace_unshare() local 4999 if (refcount_load(&oldvmspace->vm_refcnt) == 1) in vmspace_unshare() 5002 newvmspace = vmspace_fork(oldvmspace, &fork_charge); in vmspace_unshare() 5021 vmspace_free(oldvmspace); in vmspace_unshare()
|