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
Thu Jan 13 16:07:57 PST 2005


kensmith    2005-01-14 00:07:56 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4_11)
    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:
  MFS of some Linux emulation fixes.  From the log message of the MFC:
    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
  
  Versions being MFS-ed:
  
    src/lib/libc/gen/errlst.c             1.2.2.1
    src/lib/libc/sys/intro.2              1.21.2.8 and 1.21.2.9
    src/sys/i386/linux/linux_dummy.c      1.21.2.9
    src/sys/i386/linux/linux_machdep.c    1.6.2.6
    src/sys/i386/linux/syscalls.master    1.30.2.9
    src/sys/nfs/nfs_subs.c                1.90.2.4
    src/sys/sys/errno.h                   1.14.2.3
  
  Approved by:    re (scottl)
  
  Revision       Changes    Path
  1.2.20.1       +3 -0      src/lib/libc/gen/errlst.c
  1.21.2.7.8.1   +3 -1      src/lib/libc/sys/intro.2
  1.21.2.8.6.1   +23 -1     src/sys/i386/linux/linux_dummy.c
  1.6.2.5.6.1    +54 -23    src/sys/i386/linux/linux_machdep.c
  1.30.2.8.8.1   +47 -0     src/sys/i386/linux/syscalls.master
  1.90.2.3.2.1   +1 -1      src/sys/nfs/nfs_subs.c
  1.14.2.2.14.1  +2 -1      src/sys/sys/errno.h


More information about the cvs-src mailing list