On Fri, Oct 21, 2011 at 12:45:02PM +0200, Martin Husemann wrote: > On Fri, Oct 21, 2011 at 12:35:51PM +0200, Manuel Bouyer wrote: > > Yes, but I don't need to create a new syscall, with the versionning > > issues this has. > > Instead you force every (userland) consumer to do compat code itself,
I don't understand this. The compat code (if any) is in the kernel. And there's a whole class of compat code (type size change, or adding an optional field) don't exist with a text-based format. > and replace a simple structure conversion via copying with error prone > "this dictionary might contain some or more of the following keys" > type of code. Having done both, working with a dictionnary is no more error prone than structure convertion IMHO. -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --