diff options
| author | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 18:13:54 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 18:13:54 -0800 |
| commit | 4095b99c09e3db837b17f031da096a0213cdd527 (patch) | |
| tree | 5827f5d8eae0a6bb9902de55ed712f5db0b27fb7 /fs/exec.c | |
| parent | ed6eefe4382ab3a72d70922d401b7c8003513f13 (diff) | |
v2.4.3.7 -> v2.4.3.8
- Al Viro: fix d_flags race between low-level fs and VFS layer.
- David Miller: sparc updates
- S390 update
Diffstat (limited to 'fs/exec.c')
| -rw-r--r-- | fs/exec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/exec.c b/fs/exec.c index 26778aba0504..b4b5b5f6dbf5 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -786,6 +786,9 @@ int search_binary_handler(struct linux_binprm *bprm,struct pt_regs *regs) } } #endif + /* kernel module loader fixup */ + /* so we don't try to load run modprobe in kernel space. */ + set_fs(USER_DS); for (try=0; try<2; try++) { read_lock(&binfmt_lock); for (fmt = formats ; fmt ; fmt = fmt->next) { |
