DragonFly BSD
DragonFly commits List (threaded) for 2003-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/i386/ibcs2 ibcs2_fcntl.c ibcs2_misc.c ibcs2_msg.c ibcs2_other.c ibcs2_signal.c ibcs2_sysi86.c ibcs2_util.h ibcs2_xenix.c ibcs2_xenix.h


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Jul 2003 11:12:43 -0700 (PDT)

dillon      2003/07/26 11:12:43 PDT

  Modified files:
    sys/i386/ibcs2       ibcs2_fcntl.c ibcs2_misc.c ibcs2_msg.c 
                         ibcs2_other.c ibcs2_signal.c 
                         ibcs2_sysi86.c ibcs2_util.h ibcs2_xenix.c 
                         ibcs2_xenix.h 
  Log:
  syscall messaging 2: Change the standard return value storage for system
  calls from proc->p_retval[] to the message structure embedded in the syscall.
  System calls used to set their non-error return value in p_retval[] but
  must now set it in the message structure.  This is a necessary precursor to
  any sort of asynchronizatino, for obvious reasons.
  
  This work was particularly annoying because all the emualtion code declares
  and manually fills in syscall argument structures.
  
  This commit could potentially destabilize some of the emulation code but I
  went through the most important Linux emulation code three times and tested it
  with linux-mozilla, so I am fairly confident that I got it right.
  
  Note: proper linux emulation requires setting the fallback elf brand to 3 or
  it will default to SVR4.  It really ought to default to linux (3), not SVR4.
  
      sysctl -w kern.fallback_elf_brand=3
  
  Revision  Changes    Path
  1.6       +15 -14    src/sys/i386/ibcs2/ibcs2_fcntl.c
  1.5       +68 -39    src/sys/i386/ibcs2/ibcs2_misc.c
  1.4       +6 -6      src/sys/i386/ibcs2/ibcs2_msg.c
  1.5       +5 -6      src/sys/i386/ibcs2/ibcs2_other.c
  1.4       +5 -5      src/sys/i386/ibcs2/ibcs2_signal.c
  1.4       +2 -2      src/sys/i386/ibcs2/ibcs2_sysi86.c
  1.3       +2 -1      src/sys/i386/ibcs2/ibcs2_util.h
  1.6       +2 -5      src/sys/i386/ibcs2/ibcs2_xenix.c
  1.4       +17 -0     src/sys/i386/ibcs2/ibcs2_xenix.h




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