Messages in this thread |  | | | From | Gaurav Saxena <> | | Date | Fri, 23 Dec 2011 07:55:18 +0530 | | Subject | Re: Intercepting system calls |
| |
Hello Wakko
On Fri, Dec 23, 2011 at 12:33 AM, Wakko Warner <wakko@animx.eu.org> wrote: > Gaurav Saxena wrote: >> Oh. I will not do it then, could you suggest me something so that I >> could prevent unlink on some file say using kernel support. I want to >> save file on unlink how could I do that without kernel support, or how >> could I do that using a kernel module. > > I wrote a library that can be loaded in userspace that does this. It's not > very polished, but it works for me. I use it for rsync when I want files > "deleted" but not from the filesystem. It creates a .deleted directory in > the $PWD. > If you're interested, I can send it to you. I have it working on i386 and > amd64. Yes I am a lot interested I would customize it to suit my purposes. Does it work on linux >3.0 > > -- > Microsoft has beaten Volkswagen's world record. Volkswagen only created 22 > million bugs.
-- Thanks and Regards , Gaurav -- 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/
|  |