Deleted Added
full compact
44c44
< __FBSDID("$FreeBSD: head/sys/security/mac/mac_process.c 184407 2008-10-28 11:33:06Z rwatson $");
---
> __FBSDID("$FreeBSD: head/sys/security/mac/mac_process.c 184412 2008-10-28 12:49:07Z rwatson $");
84c84
< static void mac_cred_mmapped_drop_perms_recurse(struct thread *td,
---
> static void mac_proc_vm_revoke_recurse(struct thread *td,
317c317
< mac_cred_mmapped_drop_perms(struct thread *td, struct ucred *cred)
---
> mac_proc_vm_revoke(struct thread *td)
318a319
> struct ucred *cred;
319a321,324
> PROC_LOCK(td->td_proc);
> cred = crhold(td->td_proc->p_ucred);
> PROC_UNLOCK(td->td_proc);
>
321c326
< mac_cred_mmapped_drop_perms_recurse(td, cred,
---
> mac_proc_vm_revoke_recurse(td, cred,
323a329,330
>
> crfree(cred);
351c358
< mac_cred_mmapped_drop_perms_recurse(struct thread *td, struct ucred *cred,
---
> mac_proc_vm_revoke_recurse(struct thread *td, struct ucred *cred,
368c375
< mac_cred_mmapped_drop_perms_recurse(td, cred,
---
> mac_proc_vm_revoke_recurse(td, cred,