problem in sys_open

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

 



hai all,
I want to trace the files opening by users.i traced the systemcall sys_open
and I wrote a code to display the filename.I thought that when the user is 
opening the file,it calls sys_open ,permission checking ..all r performed.So 
I displaed the filename(sys_open(const char *filename,int flags,int 
mode)).But it is displaying continuosly /dev/cdrom..why /dev/cdrom is coming 
in the picture?
And What is the bestway to trace the the files opening by 
user,reading,modyfing
etc...
    Please help me.I woulb be very thankful.Thanx in advance
Kannan Ram

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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