Re: [PATCH] tty: provide tty_name() even without CONFIG_TTY

2016-04-27 Thread Paul Moore
On Wednesday, April 27, 2016 11:56:04 AM Arnd Bergmann wrote: > 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

Re: [PATCH] tty: provide tty_name() even without CONFIG_TTY

2016-04-27 Thread Paul Moore
On Wednesday, April 27, 2016 11:56:04 AM Arnd Bergmann wrote: > 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

Re: [PATCH] tty: provide tty_name() even without CONFIG_TTY

2016-04-27 Thread Richard Guy Briggs
On 16/04/27, Peter Hurley wrote: > On 04/27/2016 10:24 AM, Arnd Bergmann wrote: > > On Wednesday 27 April 2016 12:20:02 Paul Moore wrote: > >>> diff --git a/include/linux/tty.h b/include/linux/tty.h > >>> index 3b09f235db66..17b247c94440 100644 > >>> --- a/include/linux/tty.h > >>> +++

Re: [PATCH] tty: provide tty_name() even without CONFIG_TTY

2016-04-27 Thread Richard Guy Briggs
On 16/04/27, Peter Hurley wrote: > On 04/27/2016 10:24 AM, Arnd Bergmann wrote: > > On Wednesday 27 April 2016 12:20:02 Paul Moore wrote: > >>> diff --git a/include/linux/tty.h b/include/linux/tty.h > >>> index 3b09f235db66..17b247c94440 100644 > >>> --- a/include/linux/tty.h > >>> +++

Re: [PATCH] tty: provide tty_name() even without CONFIG_TTY

2016-04-27 Thread Peter Hurley
On 04/27/2016 10:24 AM, Arnd Bergmann wrote: > On Wednesday 27 April 2016 12:20:02 Paul Moore wrote: >>> diff --git a/include/linux/tty.h b/include/linux/tty.h >>> index 3b09f235db66..17b247c94440 100644 >>> --- a/include/linux/tty.h >>> +++ b/include/linux/tty.h >>> @@ -371,6 +371,7 @@ extern

Re: [PATCH] tty: provide tty_name() even without CONFIG_TTY

2016-04-27 Thread Peter Hurley
On 04/27/2016 10:24 AM, Arnd Bergmann wrote: > On Wednesday 27 April 2016 12:20:02 Paul Moore wrote: >>> diff --git a/include/linux/tty.h b/include/linux/tty.h >>> index 3b09f235db66..17b247c94440 100644 >>> --- a/include/linux/tty.h >>> +++ b/include/linux/tty.h >>> @@ -371,6 +371,7 @@ extern

Re: [PATCH] tty: provide tty_name() even without CONFIG_TTY

2016-04-27 Thread Arnd Bergmann
On Wednesday 27 April 2016 12:20:02 Paul Moore wrote: > > diff --git a/include/linux/tty.h b/include/linux/tty.h > > index 3b09f235db66..17b247c94440 100644 > > --- a/include/linux/tty.h > > +++ b/include/linux/tty.h > > @@ -371,6 +371,7 @@ extern void proc_clear_tty(struct task_struct *p); > >

Re: [PATCH] tty: provide tty_name() even without CONFIG_TTY

2016-04-27 Thread Arnd Bergmann
On Wednesday 27 April 2016 12:20:02 Paul Moore wrote: > > diff --git a/include/linux/tty.h b/include/linux/tty.h > > index 3b09f235db66..17b247c94440 100644 > > --- a/include/linux/tty.h > > +++ b/include/linux/tty.h > > @@ -371,6 +371,7 @@ extern void proc_clear_tty(struct task_struct *p); > >

Re: [PATCH] tty: provide tty_name() even without CONFIG_TTY

2016-04-27 Thread Paul Moore
On Wed, Apr 27, 2016 at 5:56 AM, Arnd Bergmann wrote: > 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

Re: [PATCH] tty: provide tty_name() even without CONFIG_TTY

2016-04-27 Thread Paul Moore
On Wed, Apr 27, 2016 at 5:56 AM, Arnd Bergmann wrote: > 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

[PATCH] tty: provide tty_name() even without CONFIG_TTY

2016-04-27 Thread Arnd Bergmann
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':

[PATCH] tty: provide tty_name() even without CONFIG_TTY

2016-04-27 Thread Arnd Bergmann
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':