LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Difference between subjective and objective credentials. (https://www.linuxquestions.org/questions/linux-kernel-70/difference-between-subjective-and-objective-credentials-4175420959/)

gurunarayanan 08-08-2012 03:32 AM

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.


All times are GMT -5. The time now is 10:39 PM.