[PATCH 0/7] [PIDNS] Final

Ákos Uzonyi uzonyi.akos at gmail.com
Sun Jul 12 19:46:29 UTC 2020


From: Uzonyi Ákos <uzonyi.akos at gmail.com>

Since my last patch series I added a description to the manual page,
updated NEWS, fixed a few bugs, added some comments, and wrote more tests.

Now I consider this series ready to be merged.

Ákos Uzonyi (7):
  PID namespace translation support
  Use printpid in decoders
  Use printpid in print_sockaddr and printsiginfo
  Add SYS_FUNC(tkill)
  Use get_proc_pid for /proc paths
  Implement testing framework for pidns
  Add tests for PID namespace translation

 Makefile.am                     |   3 +
 NEWS                            |   1 +
 affinity.c                      |   6 +-
 block.c                         |   2 +-
 bpf.c                           |   2 +-
 capability.c                    |   4 +-
 clone.c                         |  14 +-
 defs.h                          |  32 +-
 fcntl.c                         |  16 +-
 get_robust_list.c               |   3 +-
 getpid.c                        |  46 +++
 ioprio.c                        |  26 +-
 kcmp.c                          |   7 +-
 linux/32/syscallent.h           |   2 +-
 linux/64/syscallent.h           |   2 +-
 linux/alpha/syscallent.h        |   2 +-
 linux/arm/syscallent.h          |   2 +-
 linux/avr32/syscallent.h        |   2 +-
 linux/bfin/syscallent.h         |   2 +-
 linux/dummy.h                   |   8 +-
 linux/hppa/syscallent.h         |   2 +-
 linux/i386/syscallent.h         |   2 +-
 linux/ia64/syscallent.h         |   2 +-
 linux/m68k/syscallent.h         |   2 +-
 linux/microblaze/syscallent.h   |   2 +-
 linux/mips/syscallent-n32.h     |   2 +-
 linux/mips/syscallent-n64.h     |   2 +-
 linux/mips/syscallent-o32.h     |   2 +-
 linux/powerpc/syscallent.h      |   2 +-
 linux/powerpc64/syscallent.h    |   2 +-
 linux/s390/syscallent.h         |   2 +-
 linux/s390x/syscallent.h        |   2 +-
 linux/sh/syscallent.h           |   2 +-
 linux/sh64/syscallent.h         |   2 +-
 linux/sparc/syscallent.h        |   2 +-
 linux/sparc64/syscallent.h      |   2 +-
 linux/x32/syscallent.h          |   2 +-
 linux/x86_64/syscallent.h       |   2 +-
 linux/xtensa/syscallent.h       |   2 +-
 mmap_cache.c                    |   2 +-
 msghdr.c                        |   6 +-
 net.c                           |   2 +-
 netlink.c                       |   5 +-
 numa.c                          |   6 +-
 pathtrace.c                     |   5 +-
 pidfd_open.c                    |   2 +-
 pidns.c                         | 631 ++++++++++++++++++++++++++++++++
 print_fields.h                  |  28 +-
 print_group_req.c               |   2 +-
 printsiginfo.c                  |  28 +-
 printsiginfo.h                  |   2 +-
 process.c                       |   3 +-
 process_vm.c                    |   6 +-
 resource.c                      |  27 +-
 sched.c                         |  25 +-
 signal.c                        |  34 +-
 sock.c                          |  10 +-
 sockaddr.c                      |  35 +-
 strace.1.in                     |   6 +
 strace.c                        |  14 +-
 syscall.c                       |  15 +
 tests/.gitignore                |  31 ++
 tests/Makefile.am               |  35 ++
 tests/bpf.c                     |   8 +-
 tests/fcntl-Y.c                 |   2 +
 tests/fcntl-common.c            |  68 +++-
 tests/fcntl.c                   |   1 +
 tests/fcntl64-Y.c               |   2 +
 tests/fcntl64.c                 |   3 +
 tests/fork-Y.awk                |   8 +
 tests/fork-Y.c                  |  62 ++++
 tests/fork-Y.test               |  14 +
 tests/gen_tests.in              |  28 ++
 tests/getpgrp-Y.c               |   2 +
 tests/getpgrp.c                 |  10 +-
 tests/getpid-Y.c                |   2 +
 tests/getpid.c                  |  10 +-
 tests/getsid-Y.c                |   2 +
 tests/getsid.c                  |  11 +-
 tests/gettid-Y.c                |   2 +
 tests/gettid.c                  |  10 +-
 tests/init.sh                   |  30 ++
 tests/ioctl_block-Y.c           |   2 +
 tests/ioctl_block-Y.test        |  20 +
 tests/ioctl_block.c             |  26 +-
 tests/ioprio-Y.c                |   2 +
 tests/ioprio.c                  |  56 ++-
 tests/kcmp-yY.c                 |   2 +
 tests/kcmp.c                    |  38 +-
 tests/kill-Y.c                  |   2 +
 tests/kill.c                    |  14 +-
 tests/migrate_pages-Y.c         |   2 +
 tests/migrate_pages.c           |  13 +-
 tests/move_pages-Y.c            |   2 +
 tests/move_pages.c              |  53 ++-
 tests/net-sockaddr-Y.c          |   2 +
 tests/net-sockaddr.c            |  68 +++-
 tests/netlink_audit-Y.c         |   2 +
 tests/netlink_audit-Y.test      |  13 +
 tests/netlink_audit.c           |  13 +-
 tests/pidfd_open-Y.c            |   2 +
 tests/pidfd_open.c              |  23 +-
 tests/pidfd_send_signal-Y.c     |   2 +
 tests/pidfd_send_signal.c       |  15 +-
 tests/pidns.c                   | 149 ++++++++
 tests/pidns.h                   |  41 +++
 tests/prlimit64-Y.c             |   2 +
 tests/prlimit64.c               |  19 +-
 tests/process_vm_readv-Y.c      |   2 +
 tests/process_vm_readv_writev.c |  29 +-
 tests/process_vm_writev-Y.c     |   2 +
 tests/rt_sigqueueinfo-Y.c       |   2 +
 tests/rt_sigqueueinfo.c         |  17 +-
 tests/rt_tgsigqueueinfo-Y.c     |   2 +
 tests/rt_tgsigqueueinfo.c       |  28 +-
 tests/sched_xetaffinity-Y.c     |   2 +
 tests/sched_xetaffinity.c       |  33 +-
 tests/sched_xetattr-Y.c         |   2 +
 tests/sched_xetattr.c           |  49 ++-
 tests/sched_xetparam-Y.c        |   2 +
 tests/sched_xetparam.c          |  22 +-
 tests/sched_xetscheduler-Y.c    |   2 +
 tests/sched_xetscheduler.c      |  46 ++-
 tests/signal_receive-Y.c        |   2 +
 tests/signal_receive.c          |  24 +-
 tests/so_peercred-Y.c           |   2 +
 tests/so_peercred.c             |  24 ++
 tests/xet_robust_list-Y.c       |   2 +
 tests/xet_robust_list.c         |  20 +-
 tests/xetpgid-Y.c               |   2 +
 tests/xetpgid.c                 |  23 +-
 tests/xetpriority-Y.c           |   2 +
 tests/xetpriority.c             |  22 +-
 trie.c                          | 373 +++++++++++++++++++
 trie.h                          |  97 +++++
 util.c                          |  27 +-
 wait.c                          |  35 +-
 137 files changed, 2617 insertions(+), 316 deletions(-)
 create mode 100644 getpid.c
 create mode 100644 pidns.c
 create mode 100644 tests/fcntl-Y.c
 create mode 100644 tests/fcntl64-Y.c
 create mode 100644 tests/fork-Y.awk
 create mode 100644 tests/fork-Y.c
 create mode 100755 tests/fork-Y.test
 create mode 100644 tests/getpgrp-Y.c
 create mode 100644 tests/getpid-Y.c
 create mode 100644 tests/getsid-Y.c
 create mode 100644 tests/gettid-Y.c
 create mode 100644 tests/ioctl_block-Y.c
 create mode 100755 tests/ioctl_block-Y.test
 create mode 100644 tests/ioprio-Y.c
 create mode 100644 tests/kcmp-yY.c
 create mode 100644 tests/kill-Y.c
 create mode 100644 tests/migrate_pages-Y.c
 create mode 100644 tests/move_pages-Y.c
 create mode 100644 tests/net-sockaddr-Y.c
 create mode 100644 tests/netlink_audit-Y.c
 create mode 100755 tests/netlink_audit-Y.test
 create mode 100644 tests/pidfd_open-Y.c
 create mode 100644 tests/pidfd_send_signal-Y.c
 create mode 100644 tests/pidns.c
 create mode 100644 tests/pidns.h
 create mode 100644 tests/prlimit64-Y.c
 create mode 100644 tests/process_vm_readv-Y.c
 create mode 100644 tests/process_vm_writev-Y.c
 create mode 100644 tests/rt_sigqueueinfo-Y.c
 create mode 100644 tests/rt_tgsigqueueinfo-Y.c
 create mode 100644 tests/sched_xetaffinity-Y.c
 create mode 100644 tests/sched_xetattr-Y.c
 create mode 100644 tests/sched_xetparam-Y.c
 create mode 100644 tests/sched_xetscheduler-Y.c
 create mode 100644 tests/signal_receive-Y.c
 create mode 100644 tests/so_peercred-Y.c
 create mode 100644 tests/xet_robust_list-Y.c
 create mode 100644 tests/xetpgid-Y.c
 create mode 100644 tests/xetpriority-Y.c
 create mode 100644 trie.c
 create mode 100644 trie.h

--
2.27.0



More information about the Strace-devel mailing list