Re: function do_filp_open() wrapped in open system call

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

 





hi all,
  here is  the code

static  inline int open_to_namei_flags(int   flag)
{
           if ((flag +1) & O_ACCMODE )
                     flag++;
    }

i dint get the logic behind this . i mean , what is the need to increase the flag while opening a file?
    
 




[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