projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
[firefly-linux-kernel-4.4.55.git]
/
fs
/
compat.c
diff --git
a/fs/compat.c
b/fs/compat.c
index ac3fb9ed8eeaf847fcd2238edb2f941d7125b7a4..8e71cdbecc7c78cc18f2e14f758b8493e767a07c 100644
(file)
--- a/
fs/compat.c
+++ b/
fs/compat.c
@@
-44,6
+44,8
@@
#include <linux/nfsd/syscall.h>
#include <linux/personality.h>
#include <linux/rwsem.h>
#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 */
#include <net/sock.h> /* siocdevprivate_ioctl */
@@
-1487,6
+1489,7
@@
int compat_do_execve(char * filename,
/* execve success */
security_bprm_free(bprm);
/* execve success */
security_bprm_free(bprm);
+ acct_update_integrals(current);
kfree(bprm);
return retval;
}
kfree(bprm);
return retval;
}