Files
linux/include/linux
Arnd Bergmann d04166f3a7 tty: provide tty_name() even without CONFIG_TTY
commit 188e3c5cd2b672620291e64a21f1598fe91e40b6 upstream.

The audit subsystem just started printing the name of the tty,
but that causes a build failure when CONFIG_TTY is disabled:

kernel/built-in.o: In function `audit_log_task_info':
memremap.c:(.text+0x5e34c): undefined reference to `tty_name'
kernel/built-in.o: In function `audit_set_loginuid':
memremap.c:(.text+0x63b34): undefined reference to `tty_name'

This adds tty_name() to the list of functions that are provided
as trivial stubs in that configuration.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: db0a6fb5d97a ("audit: add tty field to LOGIN event")
Signed-off-by: Paul Moore <paul@paul-moore.com>
[natechancellor: tty_paranoia_check still exists]
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-08 11:51:58 +02:00
..
2015-10-17 21:22:08 -07:00
2015-10-07 18:08:15 +01:00
2016-08-20 18:09:25 +02:00
2016-03-09 15:34:52 -08:00
2018-04-08 11:51:57 +02:00
2015-11-07 10:40:47 -07:00
2017-06-14 13:16:23 +02:00
2018-01-17 09:35:33 +01:00
2017-08-06 19:19:42 -07:00
2015-10-18 10:14:39 -07:00
2017-05-14 13:32:59 +02:00
2017-07-15 11:57:44 +02:00
2015-10-30 01:47:27 -04:00
2018-01-17 09:35:30 +01:00
2017-08-06 19:19:42 -07:00
2016-04-20 15:42:02 +09:00
2015-10-23 05:44:28 -07:00
2015-10-13 19:01:25 +02:00
2016-10-28 03:01:30 -04:00
2015-11-23 09:44:58 +01:00
2015-10-27 18:55:31 -07:00
2017-06-26 07:13:11 +02:00
2015-10-20 22:10:45 +08:00
2016-03-03 15:07:28 -08:00
2015-11-06 17:50:42 -08:00
2016-12-08 07:15:24 +01:00
2017-08-24 17:02:36 -07:00
2015-10-09 17:00:32 -04:00
2015-10-22 08:59:18 -07:00
2016-09-30 10:18:37 +02:00
2018-01-31 12:06:13 +01:00
2016-04-12 09:08:35 -07:00
2015-10-19 01:01:21 +02:00
2015-11-23 09:44:58 +01:00
2015-12-13 14:30:59 -08:00
2015-11-13 20:34:33 -05:00