Diff for /src/sys/kern/sysv_shm.c between versions 1.12 and 1.13

version 1.12, 2003/11/20 06:05:30 version 1.13, 2004/02/05 18:43:22
Line 301  shmat(struct shmat_args *uap) Line 301  shmat(struct shmat_args *uap)
         rv = vm_map_find(&p->p_vmspace->vm_map, shm_handle->shm_object,          rv = vm_map_find(&p->p_vmspace->vm_map, shm_handle->shm_object,
                 0, &attach_va, size, (flags & MAP_FIXED)?0:1, prot, prot, 0);                  0, &attach_va, size, (flags & MAP_FIXED)?0:1, prot, prot, 0);
         if (rv != KERN_SUCCESS) {          if (rv != KERN_SUCCESS) {
                   vm_object_deallocate(shm_handle->shm_object);
                 return ENOMEM;                  return ENOMEM;
         }          }
         vm_map_inherit(&p->p_vmspace->vm_map,          vm_map_inherit(&p->p_vmspace->vm_map,

Removed from v.1.12  
changed lines
  Added in v.1.13