On Thu, Apr 14, 2022 at 11:44:44AM +0300, Ovidiu Panait wrote:
Backport summary
1756d7994ad8 ("cgroup: Use open-time credentials for process migraton perm checks")
- Cherry pick from 5.10-stable with minor contextual adjustments.
0d2b5955b362 ("cgroup: Allocate cgroup_file_ctx for kernfs_open_file->priv")
- Cherry-pick from 5.10-stable, no modifications.
e57457641613 ("cgroup: Use open-time cgroup namespace for process migration perm checks")
- Cherry-pick from 5.10-stable.
- Backport to 5.4: drop changes to cgroup_attach_permissions() and cgroup_css_set_fork() as the two functions are not present. Also, adjust cgroup_procs_write_permission() callsites directly in cgroup_procs_write() and cgroup_threads_write().
b09c2baa5634 ("selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644")
- Clean cherry-pick.
613e040e4dc2 ("selftests: cgroup: Test open-time credential usage for migration checks")
- Minor contextual adjustments.
bf35a7879f1d ("selftests: cgroup: Test open-time cgroup namespace usage for migration checks")
- Minor contextual adjustments and added wait.h and fcntl.h includes to fix compilation.
All now queued up, thanks!
greg k-h