[<prev] [next>] [day] [month] [year] [list]
Message-ID: <479004F0.10508@redhat.com>
Date: Fri, 18 Jan 2008 02:46:24 +0100
From: Miloslav Trmac <mitr@...hat.com>
To: dwmw2@...radead.org
CC: linux-kernel@...r.kernel.org
Subject: [PATCH] Let userspace fully control TTY input auditing
Remove the code that automatically disables TTY input auditing in
processes that open TTYs when they have no other TTY open; this
heuristic was intended to automatically handle daemons, but it has false
positives (e.g. with sshd) that make it impossible to control TTY input
auditing from a PAM module. With this patch, TTY input auditing is
controlled from user-space only.
On the other hand, not even for daemons does it make sense to audit
"input" from PTY masters; this data was produced by a program writing to
the PTY slave, and does not represent data entered by the user.
View attachment "linux-upstream.patch" of type "text/x-patch" (4703 bytes)
Powered by blists - more mailing lists