build: select procd-seccomp if kernel support is present
Install ld-preload hooks allowing to add seccomp filters for arbitrary services if kernel support for seccomp is present. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
		 Daniel Golle
					Daniel Golle
				
			
				
					committed by
					
						 Paul Spooren
						Paul Spooren
					
				
			
			
				
	
			
			
			 Paul Spooren
						Paul Spooren
					
				
			
						parent
						
							44f694ba1b
						
					
				
				
					commit
					a7f794cd2a
				
			| @@ -38,6 +38,11 @@ ifeq ($(CONFIG_SMALL_FLASH),) | |||||||
| DEFAULT_PACKAGES+=procd-ujail | DEFAULT_PACKAGES+=procd-ujail | ||||||
| endif | endif | ||||||
|  |  | ||||||
|  | # include seccomp ld-preload hooks if kernel supports it | ||||||
|  | ifneq ($(CONFIG_KERNEL_SECCOMP),) | ||||||
|  | DEFAULT_PACKAGES+=procd-seccomp | ||||||
|  | endif | ||||||
|  |  | ||||||
| # For the basic set | # For the basic set | ||||||
| DEFAULT_PACKAGES.basic:= | DEFAULT_PACKAGES.basic:= | ||||||
| # For nas targets | # For nas targets | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user