s/executable/path/g
This commit is contained in:
parent
1e83c2e666
commit
c94d705f4d
2 changed files with 7 additions and 7 deletions
|
@ -3,7 +3,7 @@
|
||||||
hbsdctl.rb is a Ruby C extension that binds libhbsdcontrol from the
|
hbsdctl.rb is a Ruby C extension that binds libhbsdcontrol from the
|
||||||
[hardenedbsd](https://hardenedbsd.org) project. Through this library,
|
[hardenedbsd](https://hardenedbsd.org) project. Through this library,
|
||||||
you can query what features are available and if root, enable or disable
|
you can query what features are available and if root, enable or disable
|
||||||
those features for a given executable.
|
those features for a given file.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ end
|
||||||
|
|
||||||
__Enable feature__
|
__Enable feature__
|
||||||
|
|
||||||
As a superuser account, you can enable or disable features for a given executable.
|
As a superuser account, you can enable or disable features for a given file.
|
||||||
The example enables the mprotect feature for the emacs binary:
|
The example enables the mprotect feature for the emacs binary:
|
||||||
|
|
||||||
``` ruby
|
``` ruby
|
||||||
|
|
|
@ -11,10 +11,10 @@ module BSD::Control
|
||||||
# @group Actions
|
# @group Actions
|
||||||
|
|
||||||
##
|
##
|
||||||
# Enables a feature for a given executable.
|
# Enables a feature for a given file.
|
||||||
#
|
#
|
||||||
# @param [String] path
|
# @param [String] path
|
||||||
# The path to an executable.
|
# The path to a file.
|
||||||
#
|
#
|
||||||
# @raise [BSD::Control::Error]
|
# @raise [BSD::Control::Error]
|
||||||
# When the operation fails.
|
# When the operation fails.
|
||||||
|
@ -26,10 +26,10 @@ module BSD::Control
|
||||||
end
|
end
|
||||||
|
|
||||||
##
|
##
|
||||||
# Disables a feature for a given executable.
|
# Disables a feature for a given file.
|
||||||
#
|
#
|
||||||
# @param [String] path
|
# @param [String] path
|
||||||
# The path to an executable.
|
# The path to a file.
|
||||||
#
|
#
|
||||||
# @raise [BSD::Control::Error]
|
# @raise [BSD::Control::Error]
|
||||||
# When the operation fails.
|
# When the operation fails.
|
||||||
|
@ -44,7 +44,7 @@ module BSD::Control
|
||||||
# Restore system defaults.
|
# Restore system defaults.
|
||||||
#
|
#
|
||||||
# @param [String] path
|
# @param [String] path
|
||||||
# The path to an executable.
|
# The path to a file.
|
||||||
#
|
#
|
||||||
# @raise [BSD::Control::Error]
|
# @raise [BSD::Control::Error]
|
||||||
# When the operation fails.
|
# When the operation fails.
|
||||||
|
|
Loading…
Reference in a new issue