]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
n_tty: Fix auditing support for cannonical mode
authorLaura Abbott <labbott@fedoraproject.org>
Thu, 14 May 2015 18:42:17 +0000 (11:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 22:11:04 +0000 (07:11 +0900)
commit72586c6061ab8c23ffd9f301ed19782a44ff5f04
treef55011b89822d45c182982990d37cffa1791234f
parent9809889c708ebffe240608eef39b667082f2c945
n_tty: Fix auditing support for cannonical mode

Commit 32f13521ca68bc624ff6effc77f308a52b038bf0
("n_tty: Line copy to user buffer in canonical mode")
changed cannonical mode copying to use copy_to_user
but missed adding the call to the audit framework.
Add in the appropriate functions to get audit support.

Fixes: 32f13521ca68 ("n_tty: Line copy to user buffer in canonical mode")
Reported-by: Miloslav Trmač <mitr@redhat.com>
Signed-off-by: Laura Abbott <labbott@fedoraproject.org>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c