During an exec call in minix it tests for an adequate hole


During an exec call in Minix, it tests for an adequate hole before releasing the current process memory. Reprogram this algorithm to do better.

Steps in Minix now:
1)Check permissions-is the file executable?
2)Read the header to get the segment and total sizes.
3)Fetch the arguments and environment from the caller.
4)Allocate new memory and release unneeded old memory.
5)Copy stack to new memory image.
6)Copy data(and possibly text) segment to new memory image
7)Check for and handle setuid, setgid bits.
8)Fix up process table entry.
9)Tell kernel that process is now runnable.

 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: During an exec call in minix it tests for an adequate hole
Reference No:- TGS0646892

Expected delivery within 24 Hours