tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: amd64 kernel, i386 userland




> Since nobody opposes, I am going to commit that. Perhaps the option name
> could be better:  NATIVE_EMULROOT or EMULROOT_NATIVE?
> 
> > --- sys/kern/kern_exec.c.orig   2014-01-21 16:55:00.000000000 +0100
> > +++ sys/kern/kern_exec.c        2014-01-21 16:55:13.000000000 +0100
> > @@ -184,9 +184,13 @@
> >  
> >  /* NetBSD emul struct */
> >  struct emul emul_netbsd = {
> >         .e_name =               "netbsd",
> > +#ifdef COMPAT_NATIVE
> > +       .e_path =               COMPAT_NATIVE,
> > +#else
> >         .e_path =               NULL,
> > +#endif
> >  #ifndef __HAVE_MINIMAL_EMUL
> >         .e_flags =              EMUL_HAS_SYS___syscall,
> >         .e_errno =              NULL,
> >         .e_nosys =              SYS_syscall,

joerg opposed it, and i'm not particular happy about this change.

please wait for more discussion.


.mrg.


Home | Main Index | Thread Index | Old Index