[155/251] userns: limit the maximum depth of user_namespace->parent chain

2013-09-10 Thread Steven Rostedt
3.6.11.9-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov [ Upstream commit 8742f229b635bf1c1c84a3dfe5e47c814c20b5c8 ] Ensure that user_namespace->parent chain can't grow too much. Currently we use the hardroded 32 as limit.

[155/251] userns: limit the maximum depth of user_namespace-parent chain

2013-09-10 Thread Steven Rostedt
3.6.11.9-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov o...@redhat.com [ Upstream commit 8742f229b635bf1c1c84a3dfe5e47c814c20b5c8 ] Ensure that user_namespace-parent chain can't grow too much. Currently we use the hardroded 32