From 78ab63e094b841c45d5e80cf5bcc6235847b34c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Fri, 20 Apr 2012 11:09:37 +0000 Subject: [PATCH] More code that inexplicably builds on one dev box but not on others. git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@607 185d5e19-27fe-0310-9dcf-9bff6b9f3609 --- lib/openpam_dynamic.c | 2 +- lib/openpam_get_feature.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/openpam_dynamic.c b/lib/openpam_dynamic.c index ae55560..225c12e 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_CHECK_MODULE_FILE, + openpam_get_feature(OPENPAM_VERIFY_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 1fd6ec1..9da3f2e 100644 --- a/lib/openpam_get_feature.c +++ b/lib/openpam_get_feature.c @@ -76,7 +76,7 @@ openpam_get_feature(int feature, int *onoff) * Disabling it allows the application to specify the path to * the desired policy file directly. * - * =OPENPAM_CHECK_POLICY_FILE: + * =OPENPAM_VERIFY_POLICY_FILE: * Verify the ownership and permissions of the policy file * and the path leading up to it. * This feature is enabled by default. @@ -87,7 +87,7 @@ openpam_get_feature(int feature, int *onoff) * Enabling it prevents the use of modules in non-standard * locations. * - * =OPENPAM_CHECK_MODULE_FILE: + * =OPENPAM_VERIFY_MODULE_FILE: * Verify the ownership and permissions of each loadable * module and the path leading up to it. * This feature is enabled by default.