patch-2.3.99-pre1 linux/include/linux/personality.h

Next file: linux/include/linux/ppp_channel.h
Previous file: linux/include/linux/pci.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.51/linux/include/linux/personality.h linux/include/linux/personality.h
@@ -54,6 +54,8 @@
 extern struct exec_domain *lookup_exec_domain(unsigned long personality);
 extern int register_exec_domain(struct exec_domain *it);
 extern int unregister_exec_domain(struct exec_domain *it);
+#define put_exec_domain(it) \
+	if (it && it->module) __MOD_DEC_USE_COUNT(it->module);
 asmlinkage long sys_personality(unsigned long personality);
 
 #endif /* _PERSONALITY_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)