Re: hello again :D

Ricardo Nabinger Sanchez <[email protected]>
Newsgroups org.kernel.vger.linux-assembly
Message-ID <[email protected]>
Quoting  Niel A <[email protected]>
Sent on  Sat, 7 Jan 2006 11:06:22 +0000

> first, what am i trying to do? i'm trying to replace an instruction with
> a nop.

IIRC, you can't change anything in .text section while running, as it
(AFAIK) will be marked r-xp (read, execute, p I don't know what is).
writing to it would then segfault.

anyone confirm/disagree?

Regards, and happy new year too (Niel and all of you). :)

-- 
Ricardo Nabinger Sanchez
GNU/Linux #140696 [http://counter.li.org]
Slackware Linux + FreeBSD

  Left to themselves, things tend to go from bad to worse.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.