Use buildkit's parsing of entitlements to make sure that accepted values match what's accepted by BuildKit. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Planned to be imported by nerdctl in future. Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>