Skip to content

Commit

Permalink
build: select procd-seccomp if kernel support is present
Browse files Browse the repository at this point in the history
Install ld-preload hooks allowing to add seccomp filters for arbitrary
services if kernel support for seccomp is present.

Signed-off-by: Daniel Golle <[email protected]>
  • Loading branch information
dangowrt authored and aparcar committed Oct 8, 2021
1 parent 44f694b commit a7f794c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/target.mk
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ ifeq ($(CONFIG_SMALL_FLASH),)
DEFAULT_PACKAGES+=procd-ujail
endif

# include seccomp ld-preload hooks if kernel supports it
ifneq ($(CONFIG_KERNEL_SECCOMP),)
DEFAULT_PACKAGES+=procd-seccomp
endif

# For the basic set
DEFAULT_PACKAGES.basic:=
# For nas targets
Expand Down

0 comments on commit a7f794c

Please sign in to comment.