[PATCH] Enable ON_EXEC and open flags on Linux 2.6

"Tikka, Sami" <[email protected]>
Newsgroups gmane.linux.dazuko.devel
Message-ID <[email protected]>
Hello! I kinda need to know when a file is opened for reading and when for
writing and when it is executed. (Closing would be nice but I can live
without that info.)

Since Dazuko running on Linux 2.6 only tells me that a file was just opened,
whatever the file access, I was forced to do a little hacking myself.

The attached patch enables these for dazuko on Linux 2.6:

- open flags (O_RDONLY, O_WRONLY)
- DAZUKO_ON_OPEN and DAZUKO_ON_EXEC events
- inode's mode is sent to daemon

Perhaps this helps people while we wait for a real solution to appear.

-- 
Sami Tikka                tel. +358 9 2520 5115 
senior software engineer  fax. +358 9 2520 5014
                          mobile +358 40 7379388
F-Secure Corporation      http://www.f-secure.com
BE SURE

_______________________________________________
Dazuko-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/dazuko-devel
linux26-patch.zip (application/x-zip-compressed, 1.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.