diff --git a/.mailmap b/.mailmap index fd55783680cdce6982851dd68d372632450ef2fe..0374777cc6628e3650b67d51b7f00b3b547490a2 100644 --- a/.mailmap +++ b/.mailmap @@ -316,6 +316,7 @@ Jiri Slaby <jirislaby@kernel.org> <xslaby@fi.muni.cz> Jisheng Zhang <jszhang@kernel.org> <jszhang@marvell.com> Jisheng Zhang <jszhang@kernel.org> <Jisheng.Zhang@synaptics.com> Jishnu Prakash <quic_jprakash@quicinc.com> <jprakash@codeaurora.org> +Joel Granados <joel.granados@kernel.org> <j.granados@samsung.com> Johan Hovold <johan@kernel.org> <jhovold@gmail.com> Johan Hovold <johan@kernel.org> <johan@hovoldconsulting.com> John Crispin <john@phrozen.org> <blogic@openwrt.org> diff --git a/MAINTAINERS b/MAINTAINERS index 37ecb75f58901167838930dd8e9f5275b0427283..42bb30fdc244a62e78a1853980137d17134922fd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -18507,7 +18507,7 @@ F: tools/testing/selftests/proc/ PROC SYSCTL M: Luis Chamberlain <mcgrof@kernel.org> M: Kees Cook <kees@kernel.org> -M: Joel Granados <j.granados@samsung.com> +M: Joel Granados <joel.granados@kernel.org> L: linux-kernel@vger.kernel.org L: linux-fsdevel@vger.kernel.org S: Maintained diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c index 9553e77c9d3189fdb14546b93b80d0c49e16238e..d11ebc055ce0dd48f9024ccfaf0058d2451f76de 100644 --- a/fs/proc/proc_sysctl.c +++ b/fs/proc/proc_sysctl.c @@ -29,8 +29,13 @@ static const struct inode_operations proc_sys_inode_operations; static const struct file_operations proc_sys_dir_file_operations; static const struct inode_operations proc_sys_dir_operations; -/* Support for permanently empty directories */ -static struct ctl_table sysctl_mount_point[] = { }; +/* + * Support for permanently empty directories. + * Must be non-empty to avoid sharing an address with other tables. + */ +static struct ctl_table sysctl_mount_point[] = { + { } +}; /** * register_sysctl_mount_point() - registers a sysctl mount point @@ -42,7 +47,7 @@ static struct ctl_table sysctl_mount_point[] = { }; */ struct ctl_table_header *register_sysctl_mount_point(const char *path) { - return register_sysctl(path, sysctl_mount_point); + return register_sysctl_sz(path, sysctl_mount_point, 0); } EXPORT_SYMBOL(register_sysctl_mount_point);