summaryrefslogtreecommitdiffstats
path: root/fs/exec.c
diff options
context:
space:
mode:
authorNathan O <otternes@cs.unc.edu>2019-12-09 14:59:56 -0500
committerNathan O <otternes@cs.unc.edu>2019-12-09 14:59:56 -0500
commit3c4abebc788e9d92d776d7bc8b778f398cdb4010 (patch)
tree7392a57bb2d5e0e61cd3a03bae0e8ce79991f6d5 /fs/exec.c
parent2627f203874e04500ea80f6e588cd659bec5866b (diff)
Initial attempt to "connect the wires"
- This is my first attempt to re-add all of the modifications on top of this version of the Linux kernel that were present in the previous version of LITMUS. - More notes on changes will follow after testing--no guarantees the code as it is now will compile or run correctly.
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/exec.c b/fs/exec.c
index 555e93c7dec8..49c8613d2510 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -64,6 +64,8 @@
64#include <linux/compat.h> 64#include <linux/compat.h>
65#include <linux/vmalloc.h> 65#include <linux/vmalloc.h>
66 66
67#include <litmus/litmus.h>
68
67#include <linux/uaccess.h> 69#include <linux/uaccess.h>
68#include <asm/mmu_context.h> 70#include <asm/mmu_context.h>
69#include <asm/tlb.h> 71#include <asm/tlb.h>
@@ -1765,6 +1767,7 @@ static int __do_execve_file(int fd, struct filename *filename,
1765 goto out_unmark; 1767 goto out_unmark;
1766 1768
1767 sched_exec(); 1769 sched_exec();
1770 litmus_exec();
1768 1771
1769 bprm->file = file; 1772 bprm->file = file;
1770 if (!filename) { 1773 if (!filename) {