Commit Graph

13 Commits

Author SHA1 Message Date
Didier Roche
bc958bdbd7 Allow to define confdir
PAM has a pam_start_confdir() which allows to define the configuration
directory where all services are located.
This is useful to define your own service on tests in particular, so
that you can control your stack and be independant of the host when
running them.
Allow defining this configuration directory, with a new StartConfDir
function.
Also, allow pre-checking for the API availability with
CheckPamHasStartConfdir().
2022-09-16 08:09:26 +02:00
Michael Steinert
02ccfbfaf0 [ci skip] Update documentation 2015-12-04 10:05:44 -06:00
Michael Steinert
1d0c8bc60c Fix lint 2015-12-04 09:46:42 -06:00
Michael Steinert
7f5fc62ba4 Remove dead code 2015-12-04 09:21:38 -06:00
Michael Steinert
a245f1098c Fix a memory leak 2015-12-04 09:03:39 -06:00
Michael Steinert
8ec1202046 Stop passing Go pointers to C 2015-12-03 14:59:51 -06:00
Michael Steinert
61a0e177d2 Fix golint warnings 2015-04-10 15:04:52 -05:00
Michael Steinert
767cadc80c Small documentation updates 2015-03-30 19:16:13 -05:00
Michael Steinert
3215d873b9 This looks a bit better 2015-03-30 18:20:09 -05:00
Michael Steinert
77471e65f1 Fix a silly bug and add test coverage 2015-03-30 18:13:10 -05:00
Michael Steinert
a0cde3fe01 Rework pam_getenvlist so it doesn't leak 2015-03-30 14:53:16 -05:00
Michael Steinert
9c771166c9 Add a test suite 2015-03-29 11:25:00 -05:00
Michael Steinert
d67bb86e54 Update interface 2015-03-28 17:00:58 -05:00