LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] security: remove unneeded subdir-$(CONFIG_...)
@ 2021-05-28 18:01 Masahiro Yamada
  2021-07-31  6:02 ` Masahiro Yamada
  0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2021-05-28 18:01 UTC (permalink / raw)
  To: James Morris, Serge E . Hallyn
  Cc: Masahiro Yamada, Alexei Starovoitov, Andrii Nakryiko,
	Daniel Borkmann, John Fastabend, KP Singh, Martin KaFai Lau,
	Mickaël Salaün, Song Liu, Yonghong Song, bpf,
	linux-kernel, linux-security-module, netdev

All of these are unneeded. The directories to descend are specified
by obj-$(CONFIG_...).

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 security/Makefile | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/security/Makefile b/security/Makefile
index 47e432900e24..18121f8f85cd 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -4,16 +4,6 @@
 #
 
 obj-$(CONFIG_KEYS)			+= keys/
-subdir-$(CONFIG_SECURITY_SELINUX)	+= selinux
-subdir-$(CONFIG_SECURITY_SMACK)		+= smack
-subdir-$(CONFIG_SECURITY_TOMOYO)        += tomoyo
-subdir-$(CONFIG_SECURITY_APPARMOR)	+= apparmor
-subdir-$(CONFIG_SECURITY_YAMA)		+= yama
-subdir-$(CONFIG_SECURITY_LOADPIN)	+= loadpin
-subdir-$(CONFIG_SECURITY_SAFESETID)    += safesetid
-subdir-$(CONFIG_SECURITY_LOCKDOWN_LSM)	+= lockdown
-subdir-$(CONFIG_BPF_LSM)		+= bpf
-subdir-$(CONFIG_SECURITY_LANDLOCK)	+= landlock
 
 # always enable default capabilities
 obj-y					+= commoncap.o
@@ -36,5 +26,4 @@ obj-$(CONFIG_BPF_LSM)			+= bpf/
 obj-$(CONFIG_SECURITY_LANDLOCK)		+= landlock/
 
 # Object integrity file lists
-subdir-$(CONFIG_INTEGRITY)		+= integrity
 obj-$(CONFIG_INTEGRITY)			+= integrity/
-- 
2.27.0


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

* Re: [PATCH] security: remove unneeded subdir-$(CONFIG_...)
  2021-05-28 18:01 [PATCH] security: remove unneeded subdir-$(CONFIG_...) Masahiro Yamada
@ 2021-07-31  6:02 ` Masahiro Yamada
  2021-08-24  9:27   ` Masahiro Yamada
  0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2021-07-31  6:02 UTC (permalink / raw)
  To: James Morris, Serge E . Hallyn
  Cc: Alexei Starovoitov, Andrii Nakryiko, Daniel Borkmann,
	John Fastabend, KP Singh, Martin KaFai Lau,
	Mickaël Salaün, Song Liu, Yonghong Song, bpf,
	Linux Kernel Mailing List, linux-security-module, Networking

On Sat, May 29, 2021 at 3:02 AM Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> All of these are unneeded. The directories to descend are specified
> by obj-$(CONFIG_...).
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>


Ping?




> ---
>
>  security/Makefile | 11 -----------
>  1 file changed, 11 deletions(-)
>
> diff --git a/security/Makefile b/security/Makefile
> index 47e432900e24..18121f8f85cd 100644
> --- a/security/Makefile
> +++ b/security/Makefile
> @@ -4,16 +4,6 @@
>  #
>
>  obj-$(CONFIG_KEYS)                     += keys/
> -subdir-$(CONFIG_SECURITY_SELINUX)      += selinux
> -subdir-$(CONFIG_SECURITY_SMACK)                += smack
> -subdir-$(CONFIG_SECURITY_TOMOYO)        += tomoyo
> -subdir-$(CONFIG_SECURITY_APPARMOR)     += apparmor
> -subdir-$(CONFIG_SECURITY_YAMA)         += yama
> -subdir-$(CONFIG_SECURITY_LOADPIN)      += loadpin
> -subdir-$(CONFIG_SECURITY_SAFESETID)    += safesetid
> -subdir-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown
> -subdir-$(CONFIG_BPF_LSM)               += bpf
> -subdir-$(CONFIG_SECURITY_LANDLOCK)     += landlock
>
>  # always enable default capabilities
>  obj-y                                  += commoncap.o
> @@ -36,5 +26,4 @@ obj-$(CONFIG_BPF_LSM)                 += bpf/
>  obj-$(CONFIG_SECURITY_LANDLOCK)                += landlock/
>
>  # Object integrity file lists
> -subdir-$(CONFIG_INTEGRITY)             += integrity
>  obj-$(CONFIG_INTEGRITY)                        += integrity/
> --
> 2.27.0
>


-- 
Best Regards
Masahiro Yamada

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

* Re: [PATCH] security: remove unneeded subdir-$(CONFIG_...)
  2021-07-31  6:02 ` Masahiro Yamada
@ 2021-08-24  9:27   ` Masahiro Yamada
  0 siblings, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2021-08-24  9:27 UTC (permalink / raw)
  To: James Morris, Serge E . Hallyn
  Cc: Alexei Starovoitov, Andrii Nakryiko, Daniel Borkmann,
	John Fastabend, KP Singh, Martin KaFai Lau,
	Mickaël Salaün, Song Liu, Yonghong Song, bpf,
	Linux Kernel Mailing List, linux-security-module, Networking

On Sat, Jul 31, 2021 at 3:02 PM Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> On Sat, May 29, 2021 at 3:02 AM Masahiro Yamada <masahiroy@kernel.org> wrote:
> >
> > All of these are unneeded. The directories to descend are specified
> > by obj-$(CONFIG_...).
> >
> > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
>
>
> Ping?
>



Applied to linux-kbuild.




>
>
> > ---
> >
> >  security/Makefile | 11 -----------
> >  1 file changed, 11 deletions(-)
> >
> > diff --git a/security/Makefile b/security/Makefile
> > index 47e432900e24..18121f8f85cd 100644
> > --- a/security/Makefile
> > +++ b/security/Makefile
> > @@ -4,16 +4,6 @@
> >  #
> >
> >  obj-$(CONFIG_KEYS)                     += keys/
> > -subdir-$(CONFIG_SECURITY_SELINUX)      += selinux
> > -subdir-$(CONFIG_SECURITY_SMACK)                += smack
> > -subdir-$(CONFIG_SECURITY_TOMOYO)        += tomoyo
> > -subdir-$(CONFIG_SECURITY_APPARMOR)     += apparmor
> > -subdir-$(CONFIG_SECURITY_YAMA)         += yama
> > -subdir-$(CONFIG_SECURITY_LOADPIN)      += loadpin
> > -subdir-$(CONFIG_SECURITY_SAFESETID)    += safesetid
> > -subdir-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown
> > -subdir-$(CONFIG_BPF_LSM)               += bpf
> > -subdir-$(CONFIG_SECURITY_LANDLOCK)     += landlock
> >
> >  # always enable default capabilities
> >  obj-y                                  += commoncap.o
> > @@ -36,5 +26,4 @@ obj-$(CONFIG_BPF_LSM)                 += bpf/
> >  obj-$(CONFIG_SECURITY_LANDLOCK)                += landlock/
> >
> >  # Object integrity file lists
> > -subdir-$(CONFIG_INTEGRITY)             += integrity
> >  obj-$(CONFIG_INTEGRITY)                        += integrity/
> > --
> > 2.27.0
> >
>
>
> --
> Best Regards
> Masahiro Yamada



-- 
Best Regards
Masahiro Yamada

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

end of thread, other threads:[~2021-08-24  9:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-28 18:01 [PATCH] security: remove unneeded subdir-$(CONFIG_...) Masahiro Yamada
2021-07-31  6:02 ` Masahiro Yamada
2021-08-24  9:27   ` Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).