> > > Of course you can. Kernel can do everything what the machine can do... > > > > to delete a file you need both the parent directory and the namespace it > > belongs in. Kernel mode has no such namespace realistically (or rather a > > standardized one that doesn't have to be the same one userspace apps > > have). > > What do you mean with namespace? What do you need it for? All you should > need is the pathname. pathnames are relative to the namespace. See CLONE_NEWNS and related things. Also chroots mess things up in this context (a name space is sort of kinda a "super chroot"). -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/