Re: [PATCH v10 7/9] Reimplement RLIMIT_MEMLOCK on top of ucounts

2021-04-07 Thread kernel test robot
Hi Alexey, Thank you for the patch! Yet something to improve: [auto build test ERROR on kselftest/next] [also build test ERROR on linux/master linus/master v5.12-rc6] [cannot apply to hnaz-linux-mm/master next-20210407] [If your patch is applied to the wrong git tree, kindly drop us a note. And w

[PATCH v10 7/9] Reimplement RLIMIT_MEMLOCK on top of ucounts

2021-04-07 Thread Alexey Gladkov
The rlimit counter is tied to uid in the user_namespace. This allows rlimit values to be specified in userns even if they are already globally exceeded by the user. However, the value of the previous user_namespaces cannot be exceeded. Changelog v8: * Fix issues found by lkp-tests project. v7: *