Messages in this thread | | | Date | Mon, 20 Nov 2023 12:32:38 +0100 | Subject | Re: [PATCH v10] /proc/sysrq-trigger: accept multiple keys at once | From | Jiri Slaby <> |
| |
On 20. 11. 23, 12:14, Tomas Mudrunka wrote: > This way we can do: > `echo _reisub > /proc/sysrq-trigger` > Instead of: > `for i in r e i s u b; do echo "$i" > /proc/sysrq-trigger; done;` > > This can be very useful when trying to execute sysrq combo remotely > or from userspace. When sending keys in multiple separate writes, > userspace (eg. bash or ssh) can be killed before whole combo is completed. > Therefore putting all keys in single write is more robust approach. > > Signed-off-by: Tomas Mudrunka <tomas.mudrunka@gmail.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
thanks, -- js suse labs
| |