diff options
author | Dmitry V. Levin <ldv@strace.io> | 2024-09-04 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2024-09-04 08:00:00 +0000 |
commit | 5be52ddac5a5526a10a08f9737a43a61dde051dc (patch) | |
tree | 37c74a0dd63f3a97ad81eb5048139afe1a1c647d /dynamic/test.c | |
parent | a5a410f1a03ef606ebe09a3e9dcbe45bdf42e384 (diff) | |
download | pam-5be52ddac5a5526a10a08f9737a43a61dde051dc.tar.gz pam-5be52ddac5a5526a10a08f9737a43a61dde051dc.tar.bz2 pam-5be52ddac5a5526a10a08f9737a43a61dde051dc.zip |
Remove unused "dynamic" directory
The code there cannot be compiled at least since introduction
of autotools build system by commit
23624ea6f78ec8acc167a2491c00998907fc76b1 back in 2005.
Diffstat (limited to 'dynamic/test.c')
-rw-r--r-- | dynamic/test.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/dynamic/test.c b/dynamic/test.c deleted file mode 100644 index c633cfd7..00000000 --- a/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); -} |