Re: how do you call userspace syscalls (e.g. sys_rename) from inside kernel

From: Luke Kenneth Casson Leighton
Date: Fri Oct 08 2004 - 11:56:07 EST


On Fri, Oct 08, 2004 at 11:27:47AM -0400, Brian Gerst wrote:

> >>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?

see other message: i'm trying to combine fuse + its example program
fusexmp into a kernelspace module: when i added xattrs i get a -512
pleasetrylater response which selinux cannot cope with.

l.

--
--
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@xxxxxxxx";> lkcl@xxxxxxxx </a> <br />

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