Commit graph

63 commits

Author SHA1 Message Date
6bd2e7b891 Add parenthesis in examples 2024-06-27 05:36:37 -03:00
8821a0b823 Update example 2024-06-27 05:11:19 -03:00
162aeea421 Update example 2024-06-27 05:09:13 -03:00
71ec204525 v0.2.0 2024-06-27 02:17:16 -03:00
22bc0853e6 gemspec: add MIT 2024-06-27 02:11:57 -03:00
beea35ddf7 Add 0BSD license 2024-06-27 02:10:45 -03:00
f623ad955d fixup! Update docs 2024-06-27 01:35:34 -03:00
e4ef10313a Update docs 2024-06-27 01:32:51 -03:00
c63ce28c21 Update readme_test.rb 2024-06-27 01:07:15 -03:00
f2d90e414e Run 'bundle exec rubocop -A' 2024-06-27 01:01:24 -03:00
c59df9e5de Add lib/bsdcapsicum.rb 2024-06-27 01:01:16 -03:00
51f45c2f1f Remove $HOME/bsdcapsicum.txt after test run 2024-06-27 00:42:08 -03:00
bd5f3cca0a Add documentation (+ tests) for BSD::Capsicum.set_rights! 2024-06-27 00:40:32 -03:00
db9c5beb3f Update README 2024-06-27 00:40:32 -03:00
14764bc00f gemspec: add fiddle as a runtime dep 2024-06-27 00:40:32 -03:00
054a16eebc Group more capabilities under 'File capabilities' 2024-06-27 00:40:32 -03:00
a582248d8d docs: add categories in constants.rb 2024-06-25 17:34:58 -03:00
0bc7db2dc2 Discourage direct use of FFI by making it a private constant 2024-06-25 15:37:43 -03:00
b2230efecf gemspec: update 2024-06-25 12:26:01 -03:00
476ff5a474 Add CAP_RIGHTS_VERSION 2024-06-25 12:18:46 -03:00
4139481af4 Add BSD::Capsicum.set_rights! 2024-06-25 10:41:56 -03:00
1fc9c715e0 Fix typo 2024-06-25 08:19:05 -03:00
47f59a78e1 Fix typo 2024-06-25 05:46:50 -03:00
5c31f1555b Update docs 2024-06-25 05:27:27 -03:00
7acb2313f9 Add sources 2024-06-25 04:54:45 -03:00
7c23bd0a2f Alias enter! as enter_capability_mode! 2024-06-25 04:49:30 -03:00
b1f1e9d5d6 Fix typo 2024-06-25 04:46:47 -03:00
f7aa10ba23 Update bsd/capsicum.rb 2024-06-25 04:42:27 -03:00
9b78e96e5e Add .projectile 2024-06-25 04:38:14 -03:00
7fa8e74962 Rename LibC as FFI 2024-06-25 04:37:54 -03:00
0f46ec57b3 Add link to man pages 2024-06-25 04:30:58 -03:00
102af5cc3c Fix examples 2024-06-25 04:11:12 -03:00
f55287243e Fix link to BSD::Capsicum.enter! 2024-06-25 04:10:31 -03:00
af8f625e56 Update README 2024-06-25 04:04:08 -03:00
e71335d2ee Update README 2024-06-25 03:57:49 -03:00
f694cadd48 bsdcapsicum.rb is born :) 2024-06-25 03:32:04 -03:00
fd196f3408 Update Capsicum#enter! 2024-06-25 00:52:16 -03:00
3b8dd9107a Alias in_capability_mode? as capability_mode? 2024-06-25 00:42:37 -03:00
3f14d8e998 Fix readme example, add tests 2024-06-25 00:23:16 -03:00
9efd84f8cb Require fiddle in libc.rb 2024-06-25 00:08:23 -03:00
9341ba2ccf Add lib/capsicum/libc.rb 2024-06-25 00:07:00 -03:00
d59fdef28e Add test/readme_test.rb 2024-06-24 23:36:09 -03:00
614d9d5f07 Update README 2024-06-24 23:00:21 -03:00
36994fe302 Replace sandboxed? with in_capability_mode?
Update docs, tests
2024-06-24 22:57:01 -03:00
ab3f17de31 Remove within_sandbox
This type of code is left for the caller of
the library to implement instead
2024-06-24 22:50:07 -03:00
92a18c2a3f Add small improvements 2024-06-24 22:48:14 -03:00
f9f8a794e8 Alias sandboxed? as capability_mode? 2024-06-24 22:40:37 -03:00
5d6ebbfa52 Replace "/dev/null" with File::NULL 2024-06-24 22:36:15 -03:00
ca832a42d9 Add standard
Add the 'standard' linter library
Commit fixes generated via 'bundle exec rubocop -A'
2024-06-23 22:38:24 -03:00
f3f018efbb Fix test 2024-06-23 21:46:08 -03:00