Update docs

This commit is contained in:
0x1eef 2024-07-12 04:52:55 -03:00
parent 30be0cee0c
commit 2da0db58a1

View file

@ -49,7 +49,7 @@ module BSD::Capsicum
# @see https://man.freebsd.org/cgi/man.cgi?query=cap_rights_limit&apropos=0&sektion=2&format=html cap_rights_limit(2) # @see https://man.freebsd.org/cgi/man.cgi?query=cap_rights_limit&apropos=0&sektion=2&format=html cap_rights_limit(2)
# @see BSD::Capsicum::Constants See Constants for a full list of capabilities # @see BSD::Capsicum::Constants See Constants for a full list of capabilities
# @example # @example
# # Restrict capabilities of STDOUT to read / write # # Limit standard output capabilities to read and write
# BSD::Capsicum.set_rights!(STDOUT, %i[CAP_READ CAP_WRITE]) # BSD::Capsicum.set_rights!(STDOUT, %i[CAP_READ CAP_WRITE])
# @raise [SystemCallError] # @raise [SystemCallError]
# Might raise a subclass of SystemCallError # Might raise a subclass of SystemCallError