[PATCH v4 1/3] Make call_usermodehelper_exec possible to set namespaces

2016-11-15 Thread Cao Shufeng
Current call_usermodehelper_work() can not set namespaces for the executed program. This patch add above function for call_usermodehelper_work(). The init_intermediate is introduced for init works which should be done before fork(). So that we get a method to set namespaces for children. The clean

[PATCH v4 1/3] Make call_usermodehelper_exec possible to set namespaces

2016-10-25 Thread Cao Shufeng
Current call_usermodehelper_work() can not set namespaces for the executed program. This patch add above function for call_usermodehelper_work(). The init_intermediate is introduced for init works which should be done before fork(). So that we get a method to set namespaces for children. The clean