Messages in this thread | | | Subject | Re: 2.4 in-kernel file opening | From | Valdis.Kletnieks@vt ... | Date | Tue, 04 Oct 2005 18:21:56 -0400 |
| |
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.... [unhandled content-type:application/pgp-signature] | |