Skip to content
Commit 02b8ffe1 authored by Torsten Hilbrich's avatar Torsten Hilbrich Committed by Zbigniew Jędrzejewski-Szmek
Browse files

nspawn: Fix calculation of capabilities for configuration file (#7087)

The current code shifting an integer 1 failed for capabilities like
CAP_MAC_ADMIN (numerical value 33). This caused issues when specifying
them in the nspawn configuration file. Using an uint64_t 1 instead.

The similar code for processing the --capability command line option
was already correctly working.

(cherry picked from commit 1898e5f9)
(cherry picked from commit b4c63693)
parent ace9b102
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment