OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Apr 24, 2024 8:10 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: u-kernelists: where do you store per-process service info?
PostPosted: Sat May 09, 2015 10:02 am 
Offline
Member
Member

Joined: Fri May 01, 2015 2:23 am
Posts: 63
Hi.

I'm trying to flesh out my u-kernel, and started to think about where to store sensitive information, such as effective user id, chroot, etc. that might get inherited by child processes. Possibilities:

Such data is stored in kernel: pros) that they can be copied to child processes on fork; can be deleted when process dies. cons) kernel has to know something about the services and how such data is inherited by child processes OR kernel fixes what data is available and processes just have to live with it.

Such data is stored in each service that needs it: pros) service related stuff is contained in the service. cons) kernel would have to let services copy their data to child processes; and let services know when processes data can be discarded.

Such data is stored in a single "container" service, and other services can store/retrieve the data they need. pros) all data in a single point, like in the kernel option, yet data outside of the kernel; easier for kernel to duplicate, discard data when needed. cons) services have to keep querying the data.

Thoughts, anyone?

_________________
Hellbender OS at github.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 98 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group