dazuko-devel
[Top][All Lists]
Advanced

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

[Dazuko-devel] [PATCH] Enable ON_EXEC and open flags on Linux 2.6


From: Tikka, Sami
Subject: [Dazuko-devel] [PATCH] Enable ON_EXEC and open flags on Linux 2.6
Date: Mon, 4 Oct 2004 16:47:34 +0300

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

Attachment: linux26-patch.zip
Description: linux26-patch.zip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]