Linux kernel -stable discussions
 help / color / mirror / Atom feed
* Request to backport "sysctl: fix proc_dobool() usability" to stable kernels
       [not found] <20230210145823.756906-1-omosnace@redhat.com>
@ 2023-03-05  2:18 ` Thomas Weißschuh
  2023-03-05  2:51   ` Storm Dragon
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Weißschuh @ 2023-03-05  2:18 UTC (permalink / raw)
  To: stable
  Cc: Luis Chamberlain, Kees Cook, Ondrej Mosnacek, Iurii Zaikin,
	Greg Kroah-Hartman, Jiri Slaby, linux-fsdevel, linux-nfs,
	linux-mm, linux-kernel, Storm Dragon

Hi -stable team,

please backport the commit f1aa2eb5ea05 ("sysctl: fix proc_dobool() usability")
to the stable kernels containing commit 83efeeeb3d04 ("tty: Allow TIOCSTI to be disabled").
(Which seems only to be the 6.2 branch only at the moment)

Without this backport the sysctl dev.net.legacy_tiocsti to enable
ioctl(TIOCSTI) is not functional. So on kernels that don't enable
CONFIG_LEGACY_TIOCSTI, ioctl(TIOCSTI) is not usable at all.

This ioctl is used for the copy-and-paste functionality of the
screenreader "fenrir".
( https://github.com/chrys87/fenrir )

Reported-by: Storm Dragon <stormdragon2976@gmail.com>
Link: https://lore.kernel.org/lkml/ZAOi9hDBTYqoAZuI@hotmail.com/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Request to backport "sysctl: fix proc_dobool() usability" to stable kernels
  2023-03-05  2:18 ` Request to backport "sysctl: fix proc_dobool() usability" to stable kernels Thomas Weißschuh
@ 2023-03-05  2:51   ` Storm Dragon
  2023-03-05  3:06     ` Thomas Weißschuh
  0 siblings, 1 reply; 4+ messages in thread
From: Storm Dragon @ 2023-03-05  2:51 UTC (permalink / raw)
  To: Thomas Weißschuh
  Cc: stable, Luis Chamberlain, Kees Cook, Ondrej Mosnacek,
	Iurii Zaikin, Greg Kroah-Hartman, Jiri Slaby, linux-fsdevel,
	linux-nfs, linux-mm, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

On Sun, Mar 05, 2023 at 02:18:11AM +0000, Thomas Weißschuh wrote:
>This ioctl is used for the copy-and-paste functionality of the
>screenreader "fenrir".
>( https://github.com/chrys87/fenrir )
>
>Reported-by: Storm Dragon <stormdragon2976@gmail.com>
>Link: https://lore.kernel.org/lkml/ZAOi9hDBTYqoAZuI@hotmail.com/

I believe this will also cause some loss of functionality in brltty as
well:

https://brltty.app

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Request to backport "sysctl: fix proc_dobool() usability" to stable kernels
  2023-03-05  2:51   ` Storm Dragon
@ 2023-03-05  3:06     ` Thomas Weißschuh
  2023-03-06 17:47       ` Storm Dragon
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Weißschuh @ 2023-03-05  3:06 UTC (permalink / raw)
  To: Storm Dragon
  Cc: stable, Luis Chamberlain, Kees Cook, Ondrej Mosnacek,
	Iurii Zaikin, Greg Kroah-Hartman, Jiri Slaby, linux-fsdevel,
	linux-nfs, linux-mm, linux-kernel

On Sat, Mar 04, 2023 at 09:51:49PM -0500, Storm Dragon wrote:
> On Sun, Mar 05, 2023 at 02:18:11AM +0000, Thomas Weißschuh wrote:
> > This ioctl is used for the copy-and-paste functionality of the
> > screenreader "fenrir".
> > ( https://github.com/chrys87/fenrir )
> > 
> > Reported-by: Storm Dragon <stormdragon2976@gmail.com>
> > Link: https://lore.kernel.org/lkml/ZAOi9hDBTYqoAZuI@hotmail.com/
> 
> I believe this will also cause some loss of functionality in brltty as
> well:
> 
> https://brltty.app

The documentation of brltty indicates that they only use TIOCSTI as
fallback. By default a virtual keyboard device is used to simulate
typing.


Maybe it would also make sense to open a ticket to ArchLinux to enable
CONFIG_LEGACY_TIOCSTI again, as per the kernel default.

In accordance with the options help text:

"Say 'Y here only if you have confirmed that yout system's userspace
depends on this functionality to continue operating normally"

Could you create such a ticket if think it's necessary?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Request to backport "sysctl: fix proc_dobool() usability" to stable kernels
  2023-03-05  3:06     ` Thomas Weißschuh
@ 2023-03-06 17:47       ` Storm Dragon
  0 siblings, 0 replies; 4+ messages in thread
From: Storm Dragon @ 2023-03-06 17:47 UTC (permalink / raw)
  To: Thomas Weißschuh
  Cc: stable, Luis Chamberlain, Kees Cook, Ondrej Mosnacek,
	Iurii Zaikin, Greg Kroah-Hartman, Jiri Slaby, linux-fsdevel,
	linux-nfs, linux-mm, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 551 bytes --]

On Sun, Mar 05, 2023 at 03:06:12AM +0000, Thomas Weißschuh wrote:
>Maybe it would also make sense to open a ticket to ArchLinux to enable
>CONFIG_LEGACY_TIOCSTI again, as per the kernel default.
>
>In accordance with the options help text:
>
>"Say 'Y here only if you have confirmed that yout system's userspace
>depends on this functionality to continue operating normally"
>
>Could you create such a ticket if think it's necessary?

The ticket has been created. The link is:

https://bugs.archlinux.org/task/77745

Thanks,
Storm


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-06 17:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20230210145823.756906-1-omosnace@redhat.com>
2023-03-05  2:18 ` Request to backport "sysctl: fix proc_dobool() usability" to stable kernels Thomas Weißschuh
2023-03-05  2:51   ` Storm Dragon
2023-03-05  3:06     ` Thomas Weißschuh
2023-03-06 17:47       ` Storm Dragon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox