diff --git a/lib/bsd/capsicum.rb b/lib/bsd/capsicum.rb index a40eb7c..64ca517 100644 --- a/lib/bsd/capsicum.rb +++ b/lib/bsd/capsicum.rb @@ -40,4 +40,5 @@ module BSD::Capsicum FFI.cap_enter.zero? || raise(SystemCallError.new("cap_enter", Fiddle.last_error)) end + alias_method :enter!, :enter_capability_mode! end