Fwd: a process having different credentials' files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





---------- Forwarded message ----------
From: mohit verma <mohit89mlnc@xxxxxxxxx>
Date: Tue, Oct 5, 2010 at 8:30 PM
Subject: a process having different credentials' files
To: kernelnewbies <kernelnewbies@xxxxxxxxxxxx>


hi all,

a process :

current --> files_struct --> file -->cred
                    |                    |
                (* files)          (*fd_array)

it seems a process can have the files having different credentials .  for example let a process be running in a high privilige level . after setuid ( or any member of family) system call it gains the lower(or higher)  priority. the process remains same with the previous opened files and there attached  credentials. 

is it right  that  a process can have different ( or same) file opened  with different credentials ? 
if so then it must be a loop hole.

i know i am missing something.please correct me at the places.


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux