mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: Libor Vanek <libor@conet.cz>
Cc: Christoph Hellwig <hch@infradead.org>,
	Muli Ben-Yehuda <mulix@mulix.org>,
	linux-kernel@vger.kernel.org
Subject: Re: Syscall table AKA hijacking syscalls
Date: Fri, 2 Jan 2004 20:18:05 +0100	[thread overview]
Message-ID: <20040102191805.GA12905@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <3FF5BF68.8060303@conet.cz>

On Fri, 2 January 2004 19:58:48 +0100, Libor Vanek wrote:
> On Fri, Jan 02, 2004 at 07:04:31PM +0100, Jörn Engel wrote:
> >On Fri, 2 January 2004 17:59:22 +0100, Libor Vanek wrote:
> >> 
> >> This is also something (but just a bit) different - I don't need "change 
> >> notification" but "pre-change notification" ;)
> >
> >"Vor dem Spiel ist nach dem Spiel" -- Sepp Herberger
> >
> >Except for exactly two cases, pre-change and post-change and the same,
> >just off-by-one.  So you would need a bootup/mount/whenever special
> >case now, is that a big problem?
> 
> Probably my english is bad but I don't understand what are you trying to 
> say (except the german part ;-))
> A bit more about pre/post-change (if this is what are you trying to say) - 
> I need allways pre-change because after file is changed I can no longer get 
> original (pre-change) version of file which I need for snapshot.

If you take a snapshot on every change within your scope, it doesn't
really matter whether you do it before or after the change.  Before
change n is just after change n-1.  All you have to do is take another
snapshot before the first change, that is the special case.

If you take snapshots just once in a blue moon, this obviously doesn't
work.  But I wonder if that approach would make sense anyway, as
incremental snapshots are just so much nicer.  Actually, I've once written
a Pascal program to do just that, for some stupid university credit.
It doesn't have the proper kernel hooks and is the wrong language, but
it does the incremental snapshot.  Documentation is in German, but if
you are interested, I will try to find an electronic copy.

Actually, with userspace notification in place, you could even get
this with just cvs.  Whenever a file is changed, commit.  cvs add on
creation, etc.  Yes, it sucks, but implementation simplicity has it's
own beauty and it would only take a few minutes. :)

Jörn

-- 
Geld macht nicht glücklich.
Glück macht nicht satt.

  parent reply	other threads:[~2004-01-02 19:18 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-02 12:59 Libor Vanek
2004-01-02 13:08 ` Matti Aarnio
2004-01-02 13:26   ` Libor Vanek
2004-01-02 13:57 ` Ragnar Kjørstad
2004-01-02 15:39   ` Libor Vanek
2004-01-02 16:42     ` Jörn Engel
2004-01-02 15:12 ` Muli Ben-Yehuda
2004-01-02 15:38   ` Libor Vanek
2004-01-02 16:00     ` Christoph Hellwig
2004-01-02 16:35       ` Jörn Engel
2004-01-02 16:59         ` Libor Vanek
2004-01-02 18:04           ` Jörn Engel
2004-01-02 18:58             ` Libor Vanek
2004-01-02 19:15               ` Arjan van de Ven
2004-01-02 19:23                 ` Libor Vanek
2004-01-02 19:18               ` Jörn Engel [this message]
2004-01-02 19:37                 ` Libor Vanek
2004-01-02 19:56                   ` Jörn Engel
2004-01-07  9:28     ` stefan.eletzhofer
2004-01-02 23:35 ` Anton Blanchard
2004-01-02 23:46   ` Libor Vanek
2004-01-03 15:41     ` Helge Hafting

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040102191805.GA12905@wohnheim.fh-wedel.de \
    --to=joern@wohnheim.fh-wedel.de \
    --cc=hch@infradead.org \
    --cc=libor@conet.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mulix@mulix.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®