Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > : Solutions for chapter 4 is out.
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 12th June 01:37
lcapitulino
External User
 
Posts: 1
Default : Solutions for chapter 4 is out.



Hi folks,

Here goes the solutions for chapter 4, you can get it at:

http://brlivre.sytes.net/minix/patches/patches.en.html

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.

status: done.

*) Assigment 25

Free the process memory when it comes a Zumbi.

status: done.


*) Assigments 26 e 29

In a EXEC call, checks for a hole incluing the memory of the process doing
EXEC.

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.

status: done.

*) 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.

status: done.

*) Assigment 31

Change mm/break.c::adjust() for process don't be killed in a strict test for
the stack space.

status: done.

PS: For any question, you can contact be e-mail. Or using comp.os.minix,
of course.

-- Luiz Fernando N. Capitulino
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666