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 19:04:31 +0100	[thread overview]
Message-ID: <20040102180431.GB6577@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <3FF5A36A.5070501@conet.cz>

On Fri, 2 January 2004 17:59:22 +0100, Libor Vanek wrote:
> 
> >My guess is that the filesystem change notification would be a better
> >solution, either in userspace or in kernelspace, doesn't matter.  But
> >that is far from finished or even generally accepted.
> 
> 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?

> >For the diploma thesis, feel free to use any hack you like, including
> >hijacking syscalls.  But remember that it is a hack and nothing else,
> >only helping you to remain on schedule and focus more on the real
> >subject.  And don't plan on kernel acceptance either, as you will fail
> >either that or the thesis and I'd choose the thesis.
> 
> You're absolutely right but when I'm going to spent several weeks on 
> something like this I'd like to do something usefull - not something 
> which will be trashed after exam. So I'm trying to find out some 
> "politically correct" way.

Then seperate the two problems.  One is to figure out, what has
changed and two is to act accordingly.  Two should be pretty
independent on this threads subject.  If that part is really useful,
people will help you on problem one.  Postpone. :)

Something I learned over time is that the first implementation is
almost always crappy, often even righout wrong.  It has to be, because
noone really knows all the problems yet and thus can design the Proper
Solution (tm) yet.  Look at the current devfs vs. udev discussion for
one example.

Many research people know this and won't give you any source code
beyond the official paper simply because it is horrible and the don't
want to wear brown paper-bags.  There is no shame in a horrible first
try, noone could have done that much better than Richard Gooch back
then.  Simply because noone could learn from his mistakes yet.

Ok, there is shame in a horrible first try, but there shouldn't be,
really.  The "standing on the shoulders of giants" thing applies, even
when standing on the shoulders of dwarves, people should be more
polite. :)

And even though he won't read this, thank you Richard!  He took the
unrewarding role and grew bitter, but he did a good thing.


Ok, back to your problem.  Seperation is the way to go.  Problem one
is a hard one and it takes a lot of time to do right.  But hacking it
up is quite simple, so you can save time with the hack and do it right
only if your solution to problem two proved good enough.

Jörn

-- 
He who knows others is wise.
He who knows himself is enlightened.
-- Lao Tsu

  reply	other threads:[~2004-01-02 18:05 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 [this message]
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
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=20040102180431.GB6577@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®