Re: 2.4 in-kernel file opening

From: Valdis . Kletnieks
Date: Tue Oct 04 2005 - 17:22:29 EST


On Tue, 04 Oct 2005 13:41:49 EDT, "linux-os (Dick Johnson)" said:

> You are never supposed to use files inside the kernel; period!

Usually true. However, feel free to look at kernel/acct.c and suggest
a way of implementing it in a backward-compatible way that doesn't use
filp_open() and filp_close(). Keep in mind you can't use the 'connector'
framework the way auditd and friends do, because the sys_acct() call has
semantics of writing directly to a file without a listening daemon....

Attachment: pgp00000.pgp
Description: PGP signature