Find Jobs
Hire Freelancers

Need a Linux Developer

$10-30 USD

Completed
Posted over 7 years ago

$10-30 USD

Paid on delivery
1. Answer the following questions about task states a. When a process is running what event(s) cause it to become blocked? b. When a process is blocked what event(s) cause it to leave the blocked state? c. In Linux what is the difference between the TASK_INTERRUPTABLE and TASK_UNINTERRUPTABLE states? 2. This question will require you to inspect the details of struct task_struct. Every process has a "real" user ID (uid) and an "effective" uid. The real uid is the user who launched the process. The effective uid might be different in some cases. For example if the user starts a setUID program the effective uid of the created process is that of the executable file's owner. This is how users can do things like change their password that normally require root access: the passwd program is setUID and owned by root. Inside the kernel the pointer current points at the task_struct for the "current" process. Using current how would you access the process's real and effective uids? I'm looking for two short C expressions such as might be used in a module. 3. What are the differences between user threads and kernel threads? What are the advantages and disadvantages of user threads? CAUTION: In the context of this question "kernel threads" are threads managed by the kernel... not to be confused with threads that execute entirely inside the kernel. There is an unfortunate overloading of the phrase "kernel thread," and for this question I'm using a different meaning. 4. Originally the Linux kernel was not preemptable. What does this mean? What advantage does this design have? Does the lack of preemption cause any problems for applications? (The last question is a bit tricky since it is possible to argue the case either way. I'm interested in your reasoning about the issue, not a simple yes/no answer).
Project ID: 11591432

About the project

1 proposal
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello I'm interested in the project you just posted! And because I have a master degre in systems administration I can help you If you ever want to discuss the project with me or interested in awarding it to me just drop me a message! Regards
$30 USD in 1 day
5.0 (2 reviews)
2.1
2.1

About the client

Flag of UNITED STATES
South Burlington, United States
5.0
3
Payment method verified
Member since Sep 3, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.