From a6d0e490209638605b17b0bdc66ad03d36909dae Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Thu, 5 Apr 2018 11:14:39 +0200 Subject: modules: Add option to control module visibility from proxy This enables to control whether a module will be loaded from the proxy module. The configuration reuses the "enable-in" and "disable-in" options, with a special literal "p11-kit-proxy" as the value. --- p11-kit/p11-kit.h | 1 + 1 file changed, 1 insertion(+) (limited to 'p11-kit/p11-kit.h') diff --git a/p11-kit/p11-kit.h b/p11-kit/p11-kit.h index 2a3a740..abf618b 100644 --- a/p11-kit/p11-kit.h +++ b/p11-kit/p11-kit.h @@ -57,6 +57,7 @@ enum { P11_KIT_MODULE_UNMANAGED = 1 << 0, P11_KIT_MODULE_CRITICAL = 1 << 1, P11_KIT_MODULE_TRUSTED = 1 << 2, + P11_KIT_MODULE_MASK = (1 << 3) - 1 }; typedef void (* p11_kit_destroyer) (void *data); -- cgit v1.1