On Tue, Oct 20, 2015 at 05:21:17PM +0300, Kirill Tkhai wrote:
> Priviliged processes inside VE should be able
> to configure /proc/$PID/oom_score_adj. But they can't
> since we use user_ns, and they do not have CAP_SYS_RESOURCE
> in init_user_ns.
> 
> Use ve_capable() instead.
> 
> https://jira.sw.ru/browse/PSBM-40359
> 
> Signed-off-by: Kirill Tkhai <ktk...@odin.com>

Reviewed-by: Vladimir Davydov <vdavy...@virtuozzo.com>
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to