Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139862
b: refs/heads/master
c: d9e66c7
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Apr 1, 2009
1 parent 286036e commit f36547c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d0f35dde6e748fa1a3f5d8e23a200ad1d5a4a749
refs/heads/master: d9e66c7296f3a39f6ac847f11ada8ddf10a4f8b1
7 changes: 0 additions & 7 deletions trunk/fs/binfmt_som.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ static int map_som_binary(struct file *file,
static int
load_som_binary(struct linux_binprm * bprm, struct pt_regs * regs)
{
int som_exec_fileno;
int retval;
unsigned int size;
unsigned long som_entry;
Expand Down Expand Up @@ -220,12 +219,6 @@ load_som_binary(struct linux_binprm * bprm, struct pt_regs * regs)
goto out_free;
}

retval = get_unused_fd();
if (retval < 0)
goto out_free;
get_file(bprm->file);
fd_install(som_exec_fileno = retval, bprm->file);

/* Flush all traces of the currently running executable */
retval = flush_old_exec(bprm);
if (retval)
Expand Down

0 comments on commit f36547c

Please sign in to comment.