cvs commit: src/lib/libc/gen errlst.c src/lib/libc/sys intro.2 src/sys/nfs nfs_subs.c src/sys/sys errno.h src/sys/i386/linux linux_dummy.c linux_machdep.c syscalls.master

Ken Smith kensmith at FreeBSD.org
Wed Jan 12 08:34:55 PST 2005


kensmith    2005-01-12 16:34:55 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    lib/libc/gen         errlst.c 
    lib/libc/sys         intro.2 
    sys/nfs              nfs_subs.c 
    sys/sys              errno.h 
    sys/i386/linux       linux_dummy.c linux_machdep.c 
                         syscalls.master 
  Log:
  This is a partial MFC of the current RELENG_5 Linux emulation, which
  became necessary due to the plans for using linux_base-8 for the 4.11
  release.  Among other things running "/compat/linux/bin/ls -l" dumped
  core because it tried to use completely non-existent system calls.  We
  don't actually implement the system calls it's trying to use but we at
  least need to have something in place that returns an error code.
  
  Things being added:
  
    - wrapper for mmap2(2) from
          sys/compat/linux/linux_machdep.c v1.31
          sys/compat/linux/linux_dummy.c v1.35
    - add dummy entries for fadvise64(2) and *xattr(2) family of syscalls from
          sys/compat/linux/linux_dummy.c v1.37
    - add ENOATTR error code because that is what the *xattr(2) family of
      syscalls returns, which in turn required tweaking the error code
      translation table in the NFS server code[1].
    - add $FreeBSD$ token to lib/libc/gen/errlst.c so it passes pre-commit
      check script...
  
  [1] Noticed by rwatson.
  
  Requested by:   nectar
  Reviewed by:    nectar, sobomax, re@
  Tested by:      nectar, ceri
  MFS after:      2 days
  
  Revision  Changes    Path
  1.2.2.1   +3 -0      src/lib/libc/gen/errlst.c
  1.21.2.8  +2 -0      src/lib/libc/sys/intro.2
  1.21.2.9  +23 -1     src/sys/i386/linux/linux_dummy.c
  1.6.2.6   +54 -23    src/sys/i386/linux/linux_machdep.c
  1.30.2.9  +47 -0     src/sys/i386/linux/syscalls.master
  1.90.2.4  +1 -1      src/sys/nfs/nfs_subs.c
  1.14.2.3  +2 -1      src/sys/sys/errno.h


More information about the cvs-src mailing list