Set-UID lab

Essay specific features

 

Issue:

Technology

 

Written by:

Hiram M

 

Date added:

May 26, 2013

 

Level:

University

 

Grade:

A

 

No of pages / words:

3 / 780

 

Was viewed:

9188 times

 

Rating of current essay:

 
Essay content:

Read the OS source codes of Minix, and figure out how SET-UID is implemented in the system. You should answer the following questions, and identify the corresponding codes in Minix: a. How does the OS recognize whether a file is a Set-UID? by checking an access right flag b. What does Minix do when a Set-UID program is executed? it does a validity check; then it get the exec file name and sees if the file is executable; fetches the stack from the user before the old core image; checks to see if the process' text can be shared with that one of already running; saves file id to allow it to be shared; patches up stack and copy it from MM to new core image; read in text and data segments; take care of setuid/setgid bits; save offset to initial argc; fix mproc fields, tell kernel that exec is done, reset caught sigs...
displayed 300 characters

Custom written essay

All essays are written from scratch by professional writers according to your instructions and delivered to your email on time. Prices start from $10.99/page

Order custom paper

Full essays database

You get access to all the essays and can view as many of them as you like for as little as $28.95/month

Buy database access

Order custom writing paper now!

  • Your research paper is written
    by certified writers
  • Your requirements and targets are
    always met
  • You are able to control the progress
    of your writing assignment
  • You get a chance to become an
    excellent student!

Get a price guote

 
 

What does Minix do when a Set-UID program is executed? it does a validity check; then it get the exec file name and sees if the file is executable; fetches the stack from the user before the old core image; checks to see if the process' text can be shared with that one of already running; saves file id to allow it to be shared; patches up stack and copy it from MM to new core image; read in text and data segments; take care of setuid/setgid bits; save offset to initial argc; fix mproc fields, tell kernel that exec is done, reset caught sigs...
displayed 300 characters

General issues of this essay:

Related essays:

x
Services