Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/sys_process.c
Show First 20 Lines • Show All 364 Lines • ▼ Show 20 Lines | |||||
ptrace_vm_entry(struct thread *td, struct proc *p, struct ptrace_vm_entry *pve) | ptrace_vm_entry(struct thread *td, struct proc *p, struct ptrace_vm_entry *pve) | ||||
{ | { | ||||
struct vattr vattr; | struct vattr vattr; | ||||
vm_map_t map; | vm_map_t map; | ||||
vm_map_entry_t entry; | vm_map_entry_t entry; | ||||
vm_object_t obj, tobj, lobj; | vm_object_t obj, tobj, lobj; | ||||
struct vmspace *vm; | struct vmspace *vm; | ||||
struct vnode *vp; | struct vnode *vp; | ||||
char *freepath, *fullpath; | const char *fullpath; | ||||
char *freepath; | |||||
u_int pathlen; | u_int pathlen; | ||||
int error, index; | int error, index; | ||||
error = 0; | error = 0; | ||||
obj = NULL; | obj = NULL; | ||||
vm = vmspace_acquire_ref(p); | vm = vmspace_acquire_ref(p); | ||||
map = &vm->vm_map; | map = &vm->vm_map; | ||||
▲ Show 20 Lines • Show All 1,168 Lines • Show Last 20 Lines |