I suggest you read "The Design and Implementation of the 4.4BSD Operating System". It will answer most if not all of your questions.
On Sat, Nov 23, 2002 at 02:05:03AM +0100, [EMAIL PROTECTED] wrote: > OK, I have read some more now and will ask a few questions. If I am asking > the wrong place, please say so. > 1. If have found part of what I am looking for: > http://www.cs.ucdavis.edu/~haungs/paper/node14.html#sections > But I need more info (in depth info). Is .bss = the heap? > > 2. I would like more info about the FreeBSD program loader. I would like > to know what happens when you load a program, what is put in the ram. I > have come by a short list: > Fist .text > Then .data > Last the stack. > But I would really like to know more about how FreeBSD use these, what is > else there (in the ram)? > > 3. I also read that when a buffer is overflowed, it is because this happens: > a) The system make room in the stack for the buffer > b) The buffer is overwritten. > What I don't understand is why the stack is being use to store whole strings > in (I understand that it is used to store addresses of string and other > data). Why doesn't the program/system write to .data? > > Hope someone can help me with these questions. > > br > socketd > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message