Deleted Added
full compact
39c39
< __FBSDID("$FreeBSD: head/sys/security/mac/mac_process.c 150923 2005-10-04 14:47:47Z csjp $");
---
> __FBSDID("$FreeBSD: head/sys/security/mac/mac_process.c 151115 2005-10-09 02:37:27Z csjp $");
330c330
< vm_object_t object;
---
> vm_object_t backing_object, object;
357,360c357,359
< /* XXXCSJP We need to lock the object before walking
< * the backing object list.
< */
< while (object->backing_object != NULL) {
---
> VM_OBJECT_LOCK(object);
> while ((backing_object = object->backing_object) != NULL) {
> VM_OBJECT_LOCK(backing_object);
362c361,362
< object = object->backing_object;
---
> VM_OBJECT_UNLOCK(object);
> object = backing_object;
363a364
> VM_OBJECT_UNLOCK(object);