Index: vm_map_protect.9 =================================================================== --- vm_map_protect.9 +++ vm_map_protect.9 @@ -96,6 +96,10 @@ for an entry within the range, .Dv KERN_PROTECTION_FAILURE is returned. +If too little swap space is available to transition the range from +read-only to read/write, +.Dv KERN_RESOURCE_SHORTAGE +is returned. .Sh SEE ALSO .Xr vm_map 9 .Sh AUTHORS