From: DJ.CnX@phreaker.net
To: linux-kernel@vger.kernel.org
Subject: execve-bug ...
Date: Sun, 12 Jun 2005 21:23:06 +0200 [thread overview]
Message-ID: <20050612212306.7383a6bd.DJ.CnX@phreaker.net> (raw)
Linux rrlf 2.6.5-7.151-default #1 Fri Mar 18 11:31:21 UTC 2005 i686 i686 i386 GNU/Linux
----------------- new.asm -------------------------
bits 32
section .text
global _start
msg db "och bin",0x0
msg_len equ $-msg
_start:
pusha
mov eax,4
mov ebx,1
mov ecx,msg
mov edx,msg_len
int 0x80
popa
xor eax,eax
inc eax
int 0x80
---------------------------------------------------
shell# nasm -f elf -o new.o new.asm
shell# ld -o new new.o
shell# ./new
och binshell#
Linux rrlf 2.6.11 #2 Thu May 12 15:46:31 CEST 2005 i686 i686 i386 GNU/Linux
-------------- new.asm ----------------------------
bits 32
section .text
global _start
msg db "och bin",0x0
msg_len equ $-msg
_start:
pusha
mov eax,4
mov ebx,1
mov ecx,msg
mov edx,msg_len
int 0x80
popa
xor eax,eax
inc eax
int 0x80
----------------------------------------------------
shell# nasm -f elf -o new.o new.asm
shell# ld -o new new.o
shell# ./new
Segmentation Fault.
i even tried to execute the binary i've compiled on 2.6.5.x but it didnt
work : Segmentation Fault. So i think its a bug in the "execve"-function.
next reply other threads:[~2005-06-12 19:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-12 19:23 DJ.CnX [this message]
2005-06-12 19:48 ` execve-bug Christoph Hellwig
2005-06-12 20:49 ` execve-bug Willy Tarreau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050612212306.7383a6bd.DJ.CnX@phreaker.net \
--to=dj.cnx@phreaker.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®