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

Eric W. Biederman (ebiederm@xmission.com)
06 Nov 2002 23:04:48 -0700


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
-
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/