Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
d6806799
Commit
d6806799
authored
Mar 14, 2002
by
David Mosberger
Committed by
Linus Torvalds
Mar 14, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] binfmt_elf.c: do SET_PERSONALITY() for static binaries
Pick up binfmt_elf.c SET_PERSONALITY() fix from 2.4.18.
parent
920f3d58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
fs/binfmt_elf.c
fs/binfmt_elf.c
+4
-0
No files found.
fs/binfmt_elf.c
View file @
d6806799
...
...
@@ -548,8 +548,12 @@ static int load_elf_binary(struct linux_binprm * bprm, struct pt_regs * regs)
// printk(KERN_WARNING "ELF: Ambiguous type, using ELF\n");
interpreter_type
=
INTERPRETER_ELF
;
}
}
else
{
/* Executables without an interpreter also need a personality */
SET_PERSONALITY
(
elf_ex
,
ibcs2_interpreter
);
}
/* OK, we are done with that, now set up the arg stuff,
and then start this sucker up */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment