Re: accessing files from kernel space ???

From: Junjiro Okajima (j-okajim@nskli014.nsk.nis.nec.co.jp)
Date: Fri May 19 2000 - 00:13:27 EST


BenHanokh Gabriel:
> can i open and write files from a module or that i must do it from user
> space ?

yes, acct(2) does.
sys_acct() and do_acct_process() in linux/kernel/acct.c will help you.

Junjiro Okajima

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:16 EST