diff options
author | Andrew G. Morgan <morgan@kernel.org> | 2020-01-03 14:00:22 -0800 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2020-01-03 14:00:22 -0800 |
commit | f1f62a748d7c67361e91e32d26abafbfb03eeee4 (patch) | |
tree | 6006486eb4380a4fff648fd4232a4eabeb14edc7 /Makefile | |
parent | 872d2ee59e29644d73b7530a27404a3d5c8ee42d (diff) | |
download | platform_external_libcap-f1f62a748d7c67361e91e32d26abafbfb03eeee4.tar.gz platform_external_libcap-f1f62a748d7c67361e91e32d26abafbfb03eeee4.tar.bz2 platform_external_libcap-f1f62a748d7c67361e91e32d26abafbfb03eeee4.zip |
Refactor the way we do the psx linkage in libcap.
Since we now have a serialized (linker trick) to initialize libcap
we can reliably compute the number of capabilities of the running
kernel in a race free way. Export the found number of capabilities
with the cap_max_bits() function. This is also what we now use in
both C and Go to define [all]=[eip]. In Go the equivalent function
is cap.MaxBits().
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -35,6 +35,7 @@ release: distclean cd .. && ln -s libcap libcap-$(VERSION).$(MINOR) && tar cvf libcap-$(VERSION).$(MINOR).tar --exclude patches libcap-$(VERSION).$(MINOR)/* && rm libcap-$(VERSION).$(MINOR) test: all + make -C libcap $@ make -C tests $@ ifneq ($(PAM_CAP),no) $(MAKE) -C pam_cap $@ |