From fcce2d860996c678adf0efdb94c31f6d7295ecf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Fri, 20 Apr 2012 11:04:05 +0000 Subject: [PATCH] Before committing r594, I shortened the names of certain features, but I apparently didn't do it consistently. For some reason, it built fine on one of my dev machines, but nowhere else. git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@604 185d5e19-27fe-0310-9dcf-9bff6b9f3609 --- lib/openpam_dynamic.c | 2 +- lib/openpam_get_feature.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/openpam_dynamic.c b/lib/openpam_dynamic.c index a35936e..ae55560 100644 --- a/lib/openpam_dynamic.c +++ b/lib/openpam_dynamic.c @@ -91,7 +91,7 @@ try_dlopen(const char *modfn) int check_module_file; void *dlh; - openpam_get_feature(OPENPAM_FEATURE_CHECK_MODULE_FILE, + openpam_get_feature(OPENPAM_CHECK_MODULE_FILE, &check_module_file); if (check_module_file && openpam_check_path_owner_perms(modfn) != 0) diff --git a/lib/openpam_get_feature.c b/lib/openpam_get_feature.c index 63a7ca5..1fd6ec1 100644 --- a/lib/openpam_get_feature.c +++ b/lib/openpam_get_feature.c @@ -70,24 +70,24 @@ openpam_get_feature(int feature, int *onoff) * * The following features are recognized: * - * =OPENPAM_FEATURE_RESTRICT_SERVICE_NAME: + * =OPENPAM_RESTRICT_SERVICE_NAME: * Disallow path separators in service names. * This feature is enabled by default. * Disabling it allows the application to specify the path to * the desired policy file directly. * - * =OPENPAM_FEATURE_CHECK_POLICY_FILE: + * =OPENPAM_CHECK_POLICY_FILE: * Verify the ownership and permissions of the policy file * and the path leading up to it. * This feature is enabled by default. * - * =OPENPAM_FEATURE_RESTRICT_MODULE_NAME: + * =OPENPAM_RESTRICT_MODULE_NAME: * Disallow path separators in module names. * This feature is disabled by default. * Enabling it prevents the use of modules in non-standard * locations. * - * =OPENPAM_FEATURE_CHECK_MODULE_FILE: + * =OPENPAM_CHECK_MODULE_FILE: * Verify the ownership and permissions of each loadable * module and the path leading up to it. * This feature is enabled by default.