diff options
author | ed <ed@FreeBSD.org> | 2015-08-11 08:43:50 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2015-08-11 08:43:50 +0000 |
commit | 8fba8d3894b0df35e793695331271458e1478729 (patch) | |
tree | 5c95b3e9ef279a86b2e56c1f89deae1119029895 /contrib/netbsd-tests/lib/libc/regex/t_regex_att.c | |
parent | 5b86b1c65a4a5e8eb458221a44ac021a802207d3 (diff) | |
download | FreeBSD-src-8fba8d3894b0df35e793695331271458e1478729.zip FreeBSD-src-8fba8d3894b0df35e793695331271458e1478729.tar.gz |
Introduce kern_cap_rights_limit().
The existing sys_cap_rights_limit() expects that a cap_rights_t object
lives in userspace. It is therefore hard to call into it from
kernelspace.
Move the interesting bits of sys_cap_rights_limit() into
kern_cap_rights_limit(), so that we can call into it from the CloudABI
compatibility layer.
Obtained from: https://github.com/NuxiNL/freebsd
Differential Revision: https://reviews.freebsd.org/D3314
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/regex/t_regex_att.c')
0 files changed, 0 insertions, 0 deletions