|
@@ -15,6 +15,14 @@
|
|
|
* Jun 2006 - namespaces ssupport
|
|
|
* OpenVZ, SWsoft Inc.
|
|
|
* Pavel Emelianov <xemul@openvz.org>
|
|
|
+ *
|
|
|
+ * General sysv ipc locking scheme:
|
|
|
+ * when doing ipc id lookups, take the ids->rwsem
|
|
|
+ * rcu_read_lock()
|
|
|
+ * obtain the ipc object (kern_ipc_perm)
|
|
|
+ * perform security, capabilities, auditing and permission checks, etc.
|
|
|
+ * acquire the ipc lock (kern_ipc_perm.lock) throught ipc_lock_object()
|
|
|
+ * perform data updates (ie: SET, RMID, LOCK/UNLOCK commands)
|
|
|
*/
|
|
|
|
|
|
#include <linux/mm.h>
|