Alias in_capability_mode? as capability_mode?

This commit is contained in:
0x1eef 2024-06-25 00:42:37 -03:00
parent 3f14d8e998
commit 3b8dd9107a

View file

@ -3,7 +3,7 @@
module Capsicum
require_relative "capsicum/version"
require_relative "capsicum/libc"
module_function
extend self
##
# Check if we're in capability mode.
@ -25,6 +25,7 @@ module Capsicum
ensure
uintp.call_free
end
alias_method :capability_mode?, :in_capability_mode?
##
# Enter capability mode