commit | 0f0eca489e979b4a8526e521f962455e474a27a0 | [log] [tgz] |
---|---|---|
author | Andrew G. Morgan <morgan@kernel.org> | Sat Feb 06 19:49:07 2016 -0800 |
committer | Andrew G. Morgan <morgan@kernel.org> | Sat Feb 06 19:49:07 2016 -0800 |
tree | 0e8027ecad22b844deb36f5bee73712f5cc57b77 | |
parent | dce069b617cf5e42fde707196eaf2ee8d62bc96c [diff] |
Add initial support for the ambient set. The ambient set is some strangeness associated with trying to revive naive inheritance. While personally not a fan of this feature, I recognize it is in the kernel so libcap now supports it with three new functions: int cap_get_ambient(cap_value_t cap) int cap_set_ambient(cap_value_t cap, cap_flag_value_t set) int cap_reset_ambient(void) Signed-off-by: Andrew G. Morgan <morgan@kernel.org>