Compare commits

...

3 commits

Author SHA1 Message Date
4ae8efb2ee v0.3.0 2024-07-19 00:40:57 -03:00
58fb589548 Update README 2024-07-12 10:52:25 -03:00
111bdb4828 Call const_get with implicit self 2024-07-12 10:49:33 -03:00
3 changed files with 3 additions and 3 deletions

View file

@ -37,7 +37,7 @@ end
# Error: Not permitted in capability mode @ rb_sysopen - /dev/null (Errno::ECAPMODE)
```
__IPC__
__Child process__
By spawning a child process and then entering capability mode, restrictions can be
limited to a child process (and its child processes, if any). This can be helpful in

View file

@ -54,7 +54,7 @@ module BSD::Capsicum
CAP_RIGHTS_VERSION,
rightsp,
*capabilities.flat_map { |cap|
[ULONG_LONG, cap_all.include?(cap) ? Constants.const_get(cap) : cap]
[ULONG_LONG, cap_all.include?(cap) ? const_get(cap) : cap]
}
)
end

View file

@ -4,5 +4,5 @@ module BSD
end unless defined?(BSD)
module BSD::Capsicum
VERSION = "0.2.0"
VERSION = "0.3.0"
end