On Thu, 2012-09-06 at 16:24 +0400, Dmitry V. Levin wrote:
On Thu, Sep 06, 2012 at 11:23:42AM +0200, Tomas Mraz wrote:
> The attached patch adds tty and rhost to the auditing data when
> available.
>
> OK to commit?
modules/pam_faillock is not in the tree yet, so applying hunks for
modules/pam_faillock/*.c is not going to be straightforward. :)
Oops. Sorry about
that. :)
With regards to ttyname(fileno(stdin)), modules/pam_tally2/ is not
using
stdin, so ttyname(STDIN_FILENO) seems to be more appropriate there.
OK, I'll adjust the patch.
--
Tomas Mraz
No matter how far down the wrong road you've gone, turn back.
Turkish proverb