If this feature is primarily for testing purposes,
> wouldn't using setpriv from util-linux achieve the same
> without adding code?
>
> setpriv --no-new-privs \
> runcon -t svirt_lxc_net_t /bin/sh
>
Nice! I did not know about this one!
Do you think it would be beneficial to mention that in the info
documentation?
Patch for the info documentation attached.
best regards,
Sebastian.