Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap pam_syslog(3) #3

Open
2 tasks
vifino opened this issue Nov 14, 2017 · 0 comments
Open
2 tasks

Wrap pam_syslog(3) #3

vifino opened this issue Nov 14, 2017 · 0 comments

Comments

@vifino
Copy link
Owner

vifino commented Nov 14, 2017

https://linux.die.net/man/3/pam_syslog

Not sure how to handle the priority bit. Not all Lua versions have bitwise operations.

  • Bind pam_syslog(3) as pam.log(priority, fmt, ...).
  • Maybe don't use the printf style arguments of the function, but string.format to give more Lua-esqe results.
  • Bind priority related values: type and facility.
  • Figure out how to make them easily usable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant