Compare commits
3 commits
6b2677ba83
...
4ae8efb2ee
Author | SHA1 | Date | |
---|---|---|---|
4ae8efb2ee | |||
58fb589548 | |||
111bdb4828 |
3 changed files with 3 additions and 3 deletions
|
@ -37,7 +37,7 @@ end
|
||||||
# Error: Not permitted in capability mode @ rb_sysopen - /dev/null (Errno::ECAPMODE)
|
# 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
|
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
|
limited to a child process (and its child processes, if any). This can be helpful in
|
||||||
|
|
|
@ -54,7 +54,7 @@ module BSD::Capsicum
|
||||||
CAP_RIGHTS_VERSION,
|
CAP_RIGHTS_VERSION,
|
||||||
rightsp,
|
rightsp,
|
||||||
*capabilities.flat_map { |cap|
|
*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
|
end
|
||||||
|
|
|
@ -4,5 +4,5 @@ module BSD
|
||||||
end unless defined?(BSD)
|
end unless defined?(BSD)
|
||||||
|
|
||||||
module BSD::Capsicum
|
module BSD::Capsicum
|
||||||
VERSION = "0.2.0"
|
VERSION = "0.3.0"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue