diff options
author | LinkTed <link.ted@mailbox.org> | 2021-06-13 19:26:24 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gmail.com> | 2021-12-23 17:29:10 -0500 |
commit | 6e214b261604c4ab1ffc244272443a587bb59927 (patch) | |
tree | 618ab3e7bb84f80eff7a8c8e23c1700a2ca587be /.github/workflows | |
parent | fd1e4a384af44a8687b3a5369283f80f1cf29d84 (diff) |
capabilities: Add support for Linux capabilities(7)
This adds capabilities for start-stop-daemon by adding --capabilities
option. As a result, the user can specify the inheritable, ambient and
bounding set by define capabilities in the service script.
This fixes #314.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci-alpine-linux.yml | 4 | ||||
-rw-r--r-- | .github/workflows/ci-ubuntu.yml | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/ci-alpine-linux.yml b/.github/workflows/ci-alpine-linux.yml index f5f2faed..40920751 100644 --- a/.github/workflows/ci-alpine-linux.yml +++ b/.github/workflows/ci-alpine-linux.yml @@ -15,7 +15,9 @@ jobs: meson \ pkgconf \ linux-pam \ - linux-pam-dev + linux-pam-dev \ + libcap \ + libcap-dev - name: checkout uses: actions/checkout@v2 - run: meson setup builddir/ diff --git a/.github/workflows/ci-ubuntu.yml b/.github/workflows/ci-ubuntu.yml index 5e1860cf..5a5c9ed7 100644 --- a/.github/workflows/ci-ubuntu.yml +++ b/.github/workflows/ci-ubuntu.yml @@ -9,7 +9,7 @@ jobs: steps: - uses: actions/checkout@v2 - run: sudo apt-get update -q - - run: sudo apt-get install -q -y build-essential libpam-dev meson + - run: sudo apt-get install -q -y build-essential libpam-dev meson libcap-dev - run: meson setup builddir/ env: CC: gcc @@ -23,7 +23,7 @@ jobs: steps: - uses: actions/checkout@v2 - run: sudo apt-get update -q - - run: sudo apt-get install -q -y build-essential clang libpam-dev meson + - run: sudo apt-get install -q -y build-essential clang libpam-dev meson libcap-dev - run: meson setup builddir/ env: CC: clang |