summaryrefslogtreecommitdiffstats
path: root/fs/exec.c
diff options
context:
space:
mode:
authorKirill A. Shutemov2008-10-16 07:02:37 +0200
committerLinus Torvalds2008-10-16 20:21:38 +0200
commit53112488bebe25c0f5f8a002470046c0fe9a6c61 (patch)
tree6f685c176c7802e356d729984648d759f0ae0ba4 /fs/exec.c
parentbinfmt_som.c: add MODULE_LICENSE (diff)
downloadkernel-qcow2-linux-53112488bebe25c0f5f8a002470046c0fe9a6c61.tar.gz
kernel-qcow2-linux-53112488bebe25c0f5f8a002470046c0fe9a6c61.tar.xz
kernel-qcow2-linux-53112488bebe25c0f5f8a002470046c0fe9a6c61.zip
alpha: introduce field 'taso' into struct linux_binprm
This change is Alpha-specific. It adds field 'taso' into struct linux_binprm to remember if the application is TASO. Previously, field sh_bang was used for this purpose. Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Pavel Emelyanov <xemul@openvz.org> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exec.c b/fs/exec.c
index 7b5ed50eadeb..4a790f2e224e 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1189,7 +1189,7 @@ int search_binary_handler(struct linux_binprm *bprm,struct pt_regs *regs)
return retval;
/* Remember if the application is TASO. */
- bprm->sh_bang = eh->ah.entry < 0x100000000UL;
+ bprm->taso = eh->ah.entry < 0x100000000UL;
bprm->file = file;
bprm->loader = loader;