diff options
author | Petr Vorel <pvorel@suse.cz> | 2022-10-20 17:06:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-20 18:12:52 +0200 |
commit | 54de93cd8740d52a83728802b4270f953d1a636f (patch) | |
tree | ebc2e7b0f8a238289c34677ae2691536eb2f8557 /fs | |
parent | Linux 6.1-rc1 (diff) | |
download | linux-54de93cd8740d52a83728802b4270f953d1a636f.tar.xz linux-54de93cd8740d52a83728802b4270f953d1a636f.zip |
kernel/utsname_sysctl.c: Add missing enum uts_proc value
bfca3dd3d068 added new struct ctl_table uts_kern_table[], but not new
enum uts_proc value. It broke the notification mechanism between the
sethostname syscall and the pollers of /proc/sys/kernel/hostname.
The table uts_kern_table is addressed within uts_proc_notify by the enum
value, that's why new enum value is needed.
Fixes: bfca3dd3d068 ("kernel/utsname_sysctl.c: print kernel arch")
Reported-by: Torsten Hilbrich <torsten.hilbrich@secunet.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
Link: https://lore.kernel.org/r/20221020150645.11719-1-pvorel@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions