mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[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 <davem@davemloft.net>
This commit is contained in:
parent
1619cca292
commit
4a805e863d
1 changed files with 4 additions and 0 deletions
|
@ -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,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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue