Add LICENSE
This commit is contained in:
parent
31977f1df8
commit
71bd566537
2 changed files with 37 additions and 1 deletions
15
LICENSE
Normal file
15
LICENSE
Normal file
|
@ -0,0 +1,15 @@
|
|||
Copyright (C) 2023 by 0x1eef <0x1eef@protonmail.com>
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this
|
||||
software for any purpose with or without fee is hereby
|
||||
granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS
|
||||
ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO
|
||||
EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
|
||||
RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
||||
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
|
||||
OF THIS SOFTWARE.
|
23
README.md
23
README.md
|
@ -3,7 +3,7 @@
|
|||
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 given binaries.
|
||||
those features for a given executable.
|
||||
|
||||
## Examples
|
||||
|
||||
|
@ -37,6 +37,27 @@ BSD::Control
|
|||
.enable!("/usr/local/bin/emacs")
|
||||
```
|
||||
|
||||
## Install
|
||||
|
||||
**Git**
|
||||
|
||||
hbsdctl.rb is distributed as a RubyGem through its git repositories. <br>
|
||||
[GitHub](https://github.com/0x1eef/hbsdctl.rb),
|
||||
and
|
||||
[GitLab](https://gitlab.com/0x1eef/hbsdctl.rb)
|
||||
are available as sources.
|
||||
|
||||
``` ruby
|
||||
# Gemfile
|
||||
gem "lock.fb", github: "0x1eef/hbsdctl.rb", tag: "v0.12.0"
|
||||
```
|
||||
|
||||
**Rubygems.org**
|
||||
|
||||
lock.rb can also be installed via rubygems.org.
|
||||
|
||||
gem install hbsdctl.rb
|
||||
|
||||
## License
|
||||
|
||||
[BSD Zero Clause](https://choosealicense.com/licenses/0bsd/).
|
||||
|
|
Loading…
Reference in a new issue