Question: When a parent Set - UID process ( effective user ID is root, and the real user ID is bob ) creates a child process

When a parent Set-UID process (effective user ID is root, and the real user ID is bob)
creates a child process using fork(), the standard input, output, and error devices of
the parent will be inherited by the child. If the child process drops its root privilege,
it still retains the access right to these devices. This seems to be a capability leaking,
similar to the capability-leaking case covered in this chapter. Can this pose any danger?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!