[[PATCH v2] 0/4] Support newer kernel ports lacking old syscalls

Mark Salter msalter at redhat.com
Fri May 4 12:52:16 UTC 2012


This is the second cut at a patch series to provide support for newer
Linux kernel ports which do not have various classes of traditional
syscalls. This series is not complete in that configurations with
native threads will need additional patching.

The primary differences from previous patch:

  * Use INLINE_SYSCALL where possible.

  * Moved __ASSUME_GETDENTS32_D_TYPE out of kernel-features.h and into
    getdents.c which is the only place it is used. It should only be
    defined if __NR_getdents exists and kernel-features.h may not have
    access to the syscall definitions.

  * Added missing patch to lstat64.c

Mark Salter (4):
  Support kernels without __ARCH_WANT_SYSCALL_DEPRECATED
  support kernels without __ARCH_WANT_SYSCALL_OFF_T
  support kernels without __ARCH_WANT_SYSCALL_NO_FLAGS
  support kernels without __ARCH_WANT_SYSCALL_NO_AT

 ldso/include/dl-syscall.h                          |   31 +++++++++++++++++++-
 libc/sysdeps/linux/common/access.c                 |    8 +++++
 libc/sysdeps/linux/common/bits/kernel-features.h   |    8 -----
 libc/sysdeps/linux/common/chmod.c                  |    8 +++++
 libc/sysdeps/linux/common/chown.c                  |   12 ++++----
 libc/sysdeps/linux/common/dup2.c                   |   22 ++++++++++++++
 libc/sysdeps/linux/common/fstatat.c                |    2 +-
 libc/sysdeps/linux/common/fstatat64.c              |    2 +-
 libc/sysdeps/linux/common/fstatfs.c                |   25 ++++++++++++++++
 libc/sysdeps/linux/common/ftruncate.c              |    7 ++++
 libc/sysdeps/linux/common/getdents.c               |   13 +++++++-
 libc/sysdeps/linux/common/lchown.c                 |   11 ++++---
 libc/sysdeps/linux/common/link.c                   |    8 +++++
 libc/sysdeps/linux/common/lstat.c                  |    9 ++++-
 libc/sysdeps/linux/common/lstat64.c                |   13 ++++----
 libc/sysdeps/linux/common/mkdir.c                  |   11 ++++---
 libc/sysdeps/linux/common/mknod.c                  |    5 +++
 libc/sysdeps/linux/common/not-cancel.h             |    8 +++++
 libc/sysdeps/linux/common/open.c                   |    8 +++++
 libc/sysdeps/linux/common/pipe.c                   |    7 ++++
 libc/sysdeps/linux/common/readlink.c               |    8 +++++
 libc/sysdeps/linux/common/rename.c                 |   11 ++++---
 libc/sysdeps/linux/common/rmdir.c                  |   10 ++++++-
 libc/sysdeps/linux/common/stat.c                   |    7 ++++-
 libc/sysdeps/linux/common/statfs.c                 |   25 ++++++++++++++++
 libc/sysdeps/linux/common/stubs.c                  |    4 +-
 libc/sysdeps/linux/common/symlink.c                |    8 +++++
 libc/sysdeps/linux/common/truncate.c               |    7 ++++
 libc/sysdeps/linux/common/unlink.c                 |    8 +++++
 libc/sysdeps/linux/common/ustat.c                  |    2 +
 libc/sysdeps/linux/common/utimes.c                 |   24 ++++++++++++++-
 .../linuxthreads.old/sysdeps/pthread/not-cancel.h  |    8 +++++
 32 files changed, 293 insertions(+), 47 deletions(-)

-- 
1.7.9.1



More information about the uClibc mailing list