[PATCH 102/133] userns: limit the maximum depth of user_namespace->parent chain

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit 8742f229b635bf1c1c84a3dfe5e47c814c20b5c8 upstream. Ensure that user_namespace->parent chain can't grow too much. Currently we use the hardroded 32 as limit.

[PATCH 102/133] userns: limit the maximum depth of user_namespace-parent chain

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov o...@redhat.com commit 8742f229b635bf1c1c84a3dfe5e47c814c20b5c8 upstream. Ensure that user_namespace-parent chain can't grow too much. Currently we use the hardroded 32 as