From 36c091bee6f0f5f32d16dbdec8af87b0e5d7f30f Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Thu, 7 Mar 2024 22:35:34 -0300 Subject: [PATCH] README: update --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a7c2db3..03d0e82 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ ## About -hbsdctl.rb is a Ruby C extension that binds libhbsdcontrol from the -[hardenedbsd](https://hardenedbsd.org) project. Through this library, -you can query what features are available and if root, enable or disable -those features for a given file. +hbsdctl.rb is a C extension that binds libhbsdcontrol from the +[hardenedbsd](https://hardenedbsd.org) project to Ruby. Through +this library, you can query what features are available and if +root, enable or disable those features for a given file. ## Examples @@ -34,9 +34,14 @@ The example enables the mprotect feature for the emacs binary: require 'hbsdctl' BSD::Control .feature!(:mprotect) - .enable!("/usr/local/bin/emacs") + .enable!("/usr/local/bin/emacs-29.2") ``` +## Documentation + +A complete API reference is available at +[0x1eef.github.io/x/hbsdctl.rb](https://0x1eef.github.io/x/hbsdctl.rb). + ## Install **Git**