]> granicus.if.org Git - linux-pam/commit
pam_tty_audit: Support matching users by uid range.
authorTomas Mraz <tmraz@fedoraproject.org>
Wed, 28 Jun 2017 13:52:16 +0000 (15:52 +0200)
committerTomas Mraz <tmraz@fedoraproject.org>
Wed, 28 Jun 2017 13:52:16 +0000 (15:52 +0200)
commit62058c50abd7df7769fd4e152488197b7e4e2054
tree88ad63a03d3114086a403721900a15ed65613222
parent7d0c508a52ebc9c702e1b6e66f46e4a6dc028c4a
pam_tty_audit: Support matching users by uid range.

* modules/pam_tty_audit/pam_tty_audit.c (parse_uid_range): New function to
parse the uid range.
(pam_sm_open_session): Call parse_uid_range() and behave according to its result.
* modules/pam_tty_audit/pam_tty_audit.8.xml: Document the uid range matching.
modules/pam_tty_audit/pam_tty_audit.8.xml
modules/pam_tty_audit/pam_tty_audit.c