]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/compat.c
[PATCH] ppc64: remove some direct xmon calls
[karo-tx-linux.git] / fs / compat.c
index ac3fb9ed8eeaf847fcd2238edb2f941d7125b7a4..8e71cdbecc7c78cc18f2e14f758b8493e767a07c 100644 (file)
@@ -44,6 +44,8 @@
 #include <linux/nfsd/syscall.h>
 #include <linux/personality.h>
 #include <linux/rwsem.h>
+#include <linux/acct.h>
+#include <linux/mm.h>
 
 #include <net/sock.h>          /* siocdevprivate_ioctl */
 
@@ -1487,6 +1489,7 @@ int compat_do_execve(char * filename,
 
                /* execve success */
                security_bprm_free(bprm);
+               acct_update_integrals(current);
                kfree(bprm);
                return retval;
        }