summaryrefslogtreecommitdiff
path: root/transaction.c
AgeCommit message (Collapse)Author
2023-09-21bugfix: Allocate after sanitizing inputsMichael Steinert
2023-09-21Format transaction.c with clang-formatMichael Steinert
To improve readability and encourage consistency in PRs.
2023-09-19transaction: Use cgo.Handle to pass callback data to PAMMarco Trevisan (TreviƱo)
Go provides a nicer way to handle Go structs lifetime when they are passed to C now, so use this instead of a custom implementation that requires to store them in a map
2022-09-16Allow to define confdirDidier Roche
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().
2020-08-10Fix build on SolarisAndrew Stormont
2015-12-03Stop passing Go pointers to CMichael Steinert
2015-03-31Security fixes for conversation handlerMichael Steinert
2015-03-28Update interfaceMichael Steinert