lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <66c0e8b6-64d1-5be6-cd4d-9700d84e1b84@huawei.com>
Date:   Tue, 11 Apr 2023 12:14:44 +0800
From:   Kefeng Wang <wangkefeng.wang@...wei.com>
To:     Luis Chamberlain <mcgrof@...nel.org>
CC:     <linux-fsdevel@...r.kernel.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        <linux-kernel@...r.kernel.org>,
        Alexander Viro <viro@...iv.linux.org.uk>,
        Christian Brauner <brauner@...nel.org>
Subject: Re: [PATCH] fs: fix sysctls.c built

/proc/sys/fs/overflowuid and overflowgid  will be lost without
building this file, kindly ping, any comments, thanks.


On 2023/3/31 16:45, Kefeng Wang wrote:
> 'obj-$(CONFIG_SYSCTL) += sysctls.o' must be moved after "obj-y :=",
> or it won't be built as it is overwrited.
> 
> Fixes: ab171b952c6e ("fs: move namespace sysctls and declare fs base directory")
> Signed-off-by: Kefeng Wang <wangkefeng.wang@...wei.com>
> ---
>   fs/Makefile | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/fs/Makefile b/fs/Makefile
> index 05f89b5c962f..8d4736fcc766 100644
> --- a/fs/Makefile
> +++ b/fs/Makefile
> @@ -6,7 +6,6 @@
>   # Rewritten to use lists instead of if-statements.
>   #
>   
> -obj-$(CONFIG_SYSCTL)		+= sysctls.o
>   
>   obj-y :=	open.o read_write.o file_table.o super.o \
>   		char_dev.o stat.o exec.o pipe.o namei.o fcntl.o \
> @@ -50,7 +49,7 @@ obj-$(CONFIG_FS_MBCACHE)	+= mbcache.o
>   obj-$(CONFIG_FS_POSIX_ACL)	+= posix_acl.o
>   obj-$(CONFIG_NFS_COMMON)	+= nfs_common/
>   obj-$(CONFIG_COREDUMP)		+= coredump.o
> -obj-$(CONFIG_SYSCTL)		+= drop_caches.o
> +obj-$(CONFIG_SYSCTL)		+= drop_caches.o sysctls.o
>   
>   obj-$(CONFIG_FHANDLE)		+= fhandle.o
>   obj-y				+= iomap/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ