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
This commit is contained in:
Dag-Erling Smørgrav 2012-04-20 11:04:05 +00:00
parent 383544e1e9
commit fcce2d8609
2 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -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.