Question: xv6 chmod function. Most of the code is below, just need to add in the code explained in lines 453-456. mode mode; // update mode

xv6 chmod function.

Most of the code is below, just need to add in the code explained in lines 453-456.

mode mode; // update mode 462 463 update(ip) copy modified inode to disk 464 unlockput(ip); unlock inode 65 end op(); 466 467 return e; 468 //permission /decrement outstanding count of sys calls&start commit process when concurrent sys calls are done 469 /chmod">

examples of argstr, argint, and namei:

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 Programming Questions!