mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
build: enable libpathrs by default
libpathrs has better hardening against certain attacks (most notably on older kernels) so we should use it by default. This opens the door to us using cyphar.com/go-pathrs in the future in order to remove some of our internal/pathrs wrappers (that reimplement bits of libpathrs). Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
This commit is contained in:
@@ -12,7 +12,7 @@ GIT_BRANCH_CLEAN := $(shell echo $(GIT_BRANCH) | sed -e "s/[^[:alnum:]]/-/g")
|
||||
RUNC_IMAGE := runc_dev$(if $(GIT_BRANCH_CLEAN),:$(GIT_BRANCH_CLEAN))
|
||||
PROJECT := github.com/opencontainers/runc
|
||||
EXTRA_BUILDTAGS :=
|
||||
BUILDTAGS := seccomp urfave_cli_no_docs
|
||||
BUILDTAGS := seccomp urfave_cli_no_docs libpathrs
|
||||
BUILDTAGS += $(EXTRA_BUILDTAGS)
|
||||
|
||||
COMMIT := $(shell git describe --dirty --long --always)
|
||||
|
||||
Reference in New Issue
Block a user