Re: Signal Handling
From: CBFalconer (cbfalconer_at_yahoo.com)
Date: 01/31/05
- Next message: j: "Re: calloc/free: a preplexing observation"
- Previous message: CBFalconer: "Re: new line character : scanf and getchar"
- In reply to: Sontu: "Signal Handling"
- Next in thread: Sontu: "Re: Signal Handling"
- Reply: Sontu: "Re: Signal Handling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 31 Jan 2005 17:28:48 GMT
Sontu wrote:
>
> Consider the following code:
>
> #include<signal.h>
> #include<stdio.h>
> #include<sys/mman.h>
No such header in Standard C, so we can't consider the code here.
... snip ...
>
> unsigned int start=0;
> //to make the starting address in mprotect as page aligned
> asm("andl $-4096, %esp");
> asm("movl %%esp, %0":"=r"(start));
and these are syntax errors. 3rd strike. So you better look for a
newsgroup that deals with your particular system and compiler.
-- "If you want to post a followup via groups.google.com, don't use the broken "Reply" link at the bottom of the article. Click on "show options" at the top of the article, then click on the "Reply" at the bottom of the article headers." - Keith Thompson
- Next message: j: "Re: calloc/free: a preplexing observation"
- Previous message: CBFalconer: "Re: new line character : scanf and getchar"
- In reply to: Sontu: "Signal Handling"
- Next in thread: Sontu: "Re: Signal Handling"
- Reply: Sontu: "Re: Signal Handling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|