Difference between subjective and objective credentials.
Hi,
i would like to understand the difference between "cred" and "real cred" fields of task_struct. with some research on the internet, i understood that one is a subjective credential and other one is objective. i am not sure what is subjective credential and what is objective credential.
Also, i understod that in case of NFS threads, we need to call override_creds for modifying the credential stucture, whereas for non-NFS threads, we need to use commit_creds.
Can anyone explain
* the difference between "cred" and "real_cred"
* when to use commit_creds and when to use override_creds.
|