public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* file access log
@ 2001-08-09  2:45 Yasunori GOTO
  2001-08-09 11:11 ` john slee
  0 siblings, 1 reply; 2+ messages in thread
From: Yasunori GOTO @ 2001-08-09  2:45 UTC (permalink / raw)
  To: linux-kernel


Hello.

I want to make the function which check the file access 
(create(), unlink(), and rename(), etc.)  
and take the log. 

When succeeding in the file access or becoming permission error,
 kernel gathers the log. 
Then,the security of Linux will improve. 

(For example, by recording the access of files in /etc directory by this function;
 The system administrator can understand a bad user to operate.)

I am examining how to make it now. 

Basic concepts are as follows. 
  - I think that the layer of access check is VFS in the kernel. 
  - Information on the access check is written in the buffer in kernel,
     and the record is taken out from kernel buffer by logging daemon. 
  - I will make the tool which retrieves and displays the gathered log later. 

Thanks.

--------------------------------------
  Yasunori Goto
    Development Department 2  
    Basis Software Division
    Software Group      
    FUJITSU LIMITED
    E-mail: y-goto@jp.fujitsu.com



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: file access log
  2001-08-09  2:45 file access log Yasunori GOTO
@ 2001-08-09 11:11 ` john slee
  0 siblings, 0 replies; 2+ messages in thread
From: john slee @ 2001-08-09 11:11 UTC (permalink / raw)
  To: Yasunori GOTO; +Cc: linux-kernel

On Thu, Aug 09, 2001 at 11:45:00AM +0900, Yasunori GOTO wrote:
> I want to make the function which check the file access
> (create(), unlink(), and rename(), etc.)
> and take the log.

there are many applications for this sort of kernel interface.  sgi have
an implementation of it called imon, but the patches don't seem to be
maintained anymore.

what sort of interface were you considering?  my first impression was to
create something similar to route sockets, but i'm not really a kernel
hacker...  i believe imon+fam used something like this but also using
fcntl() hacks, which to me seems a bit ugly... anyone want to correct
me? :-/

j.

-- 
"Bobby, jiggle Grandpa's rat so it looks alive, please" -- gary larson

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-09 11:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-09  2:45 file access log Yasunori GOTO
2001-08-09 11:11 ` john slee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox