Messages in this thread | | | Date | Fri, 08 Oct 2004 11:27:47 -0400 | From | Brian Gerst <> | Subject | Re: how do you call userspace syscalls (e.g. sys_rename) from inside kernel |
| |
Luke Kenneth Casson Leighton wrote: > On Fri, Oct 08, 2004 at 10:02:08AM -0400, Brian Gerst wrote: > >>Luke Kenneth Casson Leighton wrote: >> >>>could someone kindly advise me on the location of some example code in >>>the kernel which calls one of the userspace system calls from inside the >>>kernel? >>> >>>alternatively if this has never been considered before, please could >>>someone advise me as to how it might be achieved? >> >>What are you trying to do? > > > call sys_rename, sys_pread, sys_create, sys_mknod, sys_rmdir > etc. - everything that does file access. >
Why? What are you trying to do that cannot be done in userspace?
-- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |