Re: unremovable files and possible fs corruption (2.1.123)

David Holland (dholland@cs.toronto.edu)
Wed, 14 Oct 1998 18:44:50 -0400


> > Ick, ELF symbol versioning does this much more cleanly, as used by Glibc.
> >
> > With versioning, new interfaces don't have to preserve the fields and
> > semantics of older interfaces, and new programs don't have the run-time
> > overheads of historical compatibility.
>
> How would that work at the system call level? Would each change to a
> structure that gets passed between user space and kernel space require
> a new system call?

That's how it's done, yes. Look through syscall.h on your favorite
system (linux or bsd) and you'll find plenty of places where a call
was renumbered to make a change like this transparent.

This is also how jump-table type shared libraries have been done for
years and years.

-- 
   - David A. Holland             | (please continue to send non-list mail to
     dholland@cs.utoronto.ca      | dholland@hcs.harvard.edu. yes, I moved.)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/