Re: [PATCH v6 6/7] Reimplement RLIMIT_MEMLOCK on top of ucounts

2021-02-15 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.11 next-20210212] [cannot apply to hnaz-linux-mm/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

Re: [PATCH v6 6/7] Reimplement RLIMIT_MEMLOCK on top of ucounts

2021-02-15 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.11 next-20210212] [cannot apply to hnaz-linux-mm/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

[PATCH v6 6/7] Reimplement RLIMIT_MEMLOCK on top of ucounts

2021-02-15 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 v6: * Fix bug in hugetlb_file_setup() detected by t