jail: nuke old capabilities code in favour of reusing OCI code
authorDaniel Golle <daniel@makrotopia.org>
Mon, 19 Oct 2020 16:15:11 +0000 (17:15 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 19 Oct 2020 18:04:11 +0000 (19:04 +0100)
commitebc5a7fe03c8db682ffa93fce897284fd047441b
treeb308d9d46fb9cf4bd93b442b25a8f9551f71bd1a
parent788d144ec50fc7a4181de5ffb1627769c88be55f
jail: nuke old capabilities code in favour of reusing OCI code

Previsously capabilities could be defined for slim-containers using
our own JSON format, only allowing to modify capabilities in the
bouding set. As apparently that was never used by even a single
package, drop that old parser and logic in favour of reusing the now
existing OCI capability handling functions.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
jail/capabilities.c
jail/capabilities.h
jail/jail.c