From: David S. Miller Date: Thu, 15 Sep 2005 04:40:00 +0000 (-0700) Subject: [COMPAT]: Fixup compat_do_execve() X-Git-Tag: v2.6.14-rc2~13^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a805e863d6b9466baf7084e1d6fdbe6e0628d8e;p=linux-2.6 [COMPAT]: Fixup compat_do_execve() Missing acct_update_integrals() and update_mem_hiwater() calls compared to it's native counterpart. Signed-off-by: David S. Miller --- diff --git a/fs/compat.c b/fs/compat.c index ac3fb9ed8e..a719e158e0 100644 --- a/fs/compat.c +++ b/fs/compat.c @@ -44,6 +44,8 @@ #include #include #include +#include +#include #include /* siocdevprivate_ioctl */ @@ -1487,6 +1489,8 @@ int compat_do_execve(char * filename, /* execve success */ security_bprm_free(bprm); + acct_update_integrals(current); + update_mem_hiwater(current); kfree(bprm); return retval; }