12th June 01:37
: Solutions for chapter 4 is out.
Here goes the solutions for chapter 4, you can get it at:
As usual, bellow is a more detailed status:
*) Assigment 0
This assigment was not proposed by the book, I did because its interesting: it
gives debug info from MM.
*) Assigment 25
Free the process memory when it comes a Zumbi.
*) Assigments 26 e 29
In a EXEC call, checks for a hole incluing the memory of the process doing
Note: Seems to me that assigments 26 and 29 wants the something, or its a
translation problem (my book is in Brazilian Portuguese) or I did not
understand. So, there is one solution for both.
*) Assigment 27
EXEC uses a tricky to read segments in one time, change the code to use the
some tricky when core dumps need to be writen.
Note: Already implemented in Minix 2.0.0.
status: Read "Note" above.
*) Assigment 28
Swap in Minix 2.0.0.
status: In planning state (actually, I'm no certain if I will do that,
because Minix 2.0.3 and 2.0.4 have swaping working. Maybe the better thing to
do is to help in the development).
*) Assigment 30
In a EXEC call, allocate memory for the data and text segments separatelly.
*) Assigment 31
Change mm/break.c::adjust() for process don't be killed in a strict test for
the stack space.
PS: For any question, you can contact be e-mail. Or using comp.os.minix,
-- Luiz Fernando N. Capitulino