pam-moduler: Add first implementation of a Go PAM Module generator

A PAM module can be generated using pam-moduler and implemented fully in
go without having to manually deal with the C setup.

Module can be compiled using go generate, so go:generate directives can be
used to make this process automatic, with a single go generate call as shown
in the example.
This commit is contained in:
Marco Trevisan (Treviño)
2023-09-25 19:31:46 +02:00
parent f0d140c281
commit a8c4a14150
8 changed files with 588 additions and 1 deletions

3
.codecov.yml Normal file
View File

@@ -0,0 +1,3 @@
ignore:
# Ignore pam-moduler generated files
- "**/pam_module.go"