Skip to content

Commit 4f903a2

Browse files
committed
Remove ambient build tag
Signed-off-by: Mrunal Patel <[email protected]>
1 parent 4f9cb13 commit 4f903a2

File tree

4 files changed

+3
-15
lines changed

4 files changed

+3
-15
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ static: $(SOURCES)
4141
CGO_ENABLED=1 go build -i -tags "$(BUILDTAGS) cgo static_build" -ldflags "-w -extldflags -static -X main.gitCommit=${COMMIT} -X main.version=${VERSION}" -o contrib/cmd/recvtty/recvtty ./contrib/cmd/recvtty
4242

4343
release:
44-
@flag_list=(seccomp selinux apparmor static ambient); \
44+
@flag_list=(seccomp selinux apparmor static); \
4545
unset expression; \
4646
for flag in "$${flag_list[@]}"; do \
4747
expression+="' '{'',$${flag}}"; \

libcontainer/capabilities_ambient.go

Lines changed: 0 additions & 7 deletions
This file was deleted.

libcontainer/capabilities_linux.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import (
1111
"github.com/syndtr/gocapability/capability"
1212
)
1313

14+
const allCapabilityTypes = capability.CAPS | capability.BOUNDS | capability.AMBS
15+
1416
var capabilityMap map[string]capability.Cap
1517

1618
func init() {

libcontainer/capabilities_noambient.go

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)