Re: [lkcd-devel] Re: What's left over.

Eric W. Biederman
2002-11-07T06:00:41Z

Werner Almesberger <wa@almesberger.net> writes:

> Alexander Viro wrote:
> > That's not obvious. By the same logics, we would need syscalls for
> > turning off overcommit, etc., etc.
>
> Okay okay, add file system specific ioctls and sysctl to my list
> of alternative mechanisms :-)
>
> > FWIW, I suspect that
> > open("/proc/image", O_EXCL|O_WRONLY);
> > bunch of lseek()/write()
> > close()
>
> Hmm, interesting. Yes, that should work. One would of course have
> to retain the current interface for in-kernel use (e.g. MCORE), but
> that's probably okay. Let's see what Eric thinks about it - it's
> his code after all.

For the record my opinion is there is extra code bloat but it is ok
if it is built as kexecfs. Any other way of getting a magic file
to work with seems currently insane.

Eric