Re: access_ok inside kernelspace
Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 19 Oct 1999 13:43:23 +0100 (BST)
> return error;
> fs = get_fs();
> set_fs(get_ds());
> bfs_fsindex = sysfs(1, (unsigned long)"bfs", 0);
^^^^^^^^^^^^^^^^^^^^^^^^^
use sys_sysfs() and export it
-
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/