how do you call userspace syscalls (e.g. sys_rename) from inside kernel
From: Luke Kenneth Casson Leighton (lkcl_at_lkcl.net)
Date: 10/08/04
- Previous message: Mukker, Atul: "RE: Megaraid random loss of luns"
- Next in thread: Fabiano Ramos: "Re: how do you call userspace syscalls (e.g. sys_rename) from inside kernel"
- Reply: Fabiano Ramos: "Re: how do you call userspace syscalls (e.g. sys_rename) from inside kernel"
- Reply: Brian Gerst: "Re: how do you call userspace syscalls (e.g. sys_rename) from inside kernel"
- Maybe reply: Aboo Valappil: "RE: how do you call userspace syscalls (e.g. sys_rename) from inside kernel"
- Reply: Jon Masters: "Re: how do you call userspace syscalls (e.g. sys_rename) from inside kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 8 Oct 2004 14:04:42 +0100 To: linux-kernel@vger.kernel.org
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?
thank you,
l.
[p.s. i found asm/unistd.h, i found the macros syscall012345
etc., i believe i don't quite understand what these are for, and
may be on the wrong track.]
-- -- Truth, honesty and respect are rare commodities that all spring from the same well: Love. If you love yourself and everyone and everything around you, funnily and coincidentally enough, life gets a lot better. -- <a href="http://lkcl.net"> lkcl.net </a> <br /> <a href="mailto:lkcl@lkcl.net"> lkcl@lkcl.net </a> <br /> - 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/
- Previous message: Mukker, Atul: "RE: Megaraid random loss of luns"
- Next in thread: Fabiano Ramos: "Re: how do you call userspace syscalls (e.g. sys_rename) from inside kernel"
- Reply: Fabiano Ramos: "Re: how do you call userspace syscalls (e.g. sys_rename) from inside kernel"
- Reply: Brian Gerst: "Re: how do you call userspace syscalls (e.g. sys_rename) from inside kernel"
- Maybe reply: Aboo Valappil: "RE: how do you call userspace syscalls (e.g. sys_rename) from inside kernel"
- Reply: Jon Masters: "Re: how do you call userspace syscalls (e.g. sys_rename) from inside kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|