diff options
author | Steve Langasek <steve.langasek@ubuntu.com> | 2019-01-03 12:48:14 -0800 |
---|---|---|
committer | Steve Langasek <steve.langasek@ubuntu.com> | 2019-01-03 12:48:14 -0800 |
commit | d5b06b67bbeeed7c05c0eb2e05d6a972ad050d1c (patch) | |
tree | ba5654cffacfd2002eefc5bc3764a7971afff1dc /Linux-PAM/dynamic/test.c | |
parent | 4c51da22e068907adb7857d50f5109a467c94d7c (diff) | |
parent | 7cbfa335c57d068d59508c844f3957165cccfb9b (diff) | |
download | pam-d5b06b67bbeeed7c05c0eb2e05d6a972ad050d1c.tar.gz pam-d5b06b67bbeeed7c05c0eb2e05d6a972ad050d1c.tar.bz2 pam-d5b06b67bbeeed7c05c0eb2e05d6a972ad050d1c.zip |
New upstream version 0.99.7.1
Diffstat (limited to 'Linux-PAM/dynamic/test.c')
-rw-r--r-- | Linux-PAM/dynamic/test.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Linux-PAM/dynamic/test.c b/Linux-PAM/dynamic/test.c deleted file mode 100644 index 35496fe4..00000000 --- a/Linux-PAM/dynamic/test.c +++ /dev/null @@ -1,27 +0,0 @@ -#include <stdio.h> -#include <dlfcn.h> -#include <unistd.h> - -#include <security/pam_appl.h> -#include <security/pam_misc.h> - -int main(int argc, char **argv) -{ - void *handle; - - handle = dlopen("./pam.so", RTLD_NOW); - if (handle == NULL) { - fprintf(stderr, "failed to load pam.so: %s\n", dlerror()); - exit(1); - } - - /* handle->XXX points to each of the PAM functions */ - - - if (dlclose(handle)) { - fprintf(stderr, "failed to unload pam.so: %s\n", dlerror()); - exit(1); - } - - exit(0); -} |