[linux-help] Re: C HELP(out of list-subject)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sunday 29 April 2001 17:26, you wrote:
> BUT BUT BUT when I run my following program to
> modify/read a value in a certain location (what I tried to do was I
> executed my first program and after inputting the values into the mem.
> locations and getting the addresses I did'nt exit my prog. instead keep it
> running in a nonsense loop so the data remains in those mem. addresses),
> suppose I get a mem. location of 0x0004 :
You can't do that. There is a guard page at the start of your address space,
so addresses 0x0000000-0x00000200 aren't accessable. If you try to access
addresses in that range, you'll get a segfault.
Greg
-- This is the linux-help@xxxxxxxxx list. To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
|
|