X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fbinfmt_flat.c;fp=fs%2Fbinfmt_flat.c;h=a37a000d6de4b67f52be51016e5c3a5a145b1e7d;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=4b051ad56b281d618359606be62cdc901da08bd7;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;p=linux-2.6.git diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c index 4b051ad56..a37a000d6 100644 --- a/fs/binfmt_flat.c +++ b/fs/binfmt_flat.c @@ -16,7 +16,6 @@ */ #include -#include #include #include #include @@ -511,7 +510,7 @@ static int load_flat_file(struct linux_binprm * bprm, } /* OK, This is the point of no return */ - set_personality(PER_LINUX); + set_personality(PER_LINUX_32BIT); } /* @@ -899,9 +898,6 @@ static int load_flat_binary(struct linux_binprm * bprm, struct pt_regs * regs) start_thread(regs, start_addr, current->mm->start_stack); - if (current->ptrace & PT_PTRACED) - send_sig(SIGTRAP, current, 0); - return 0; }