[RFC PATCH 00/15] PID namespace translation support

Eugene Syromiatnikov esyr at redhat.com
Fri Jun 5 11:27:29 UTC 2020


On Mon, Jun 01, 2020 at 01:44:29PM +0200, Ákos Uzonyi wrote:
> From: Uzonyi Ákos <uzonyi.akos at gmail.com>
> 
> I will have several exams this week, so I strated working a bit earlier.
> I'm sending my current status as a series of rfc patches.
> 
> I applied Eugene's old wip commit, resolved conflicts, and fixed some bugs.
> After the patches marked with [fix], the translation seems to be working
> (only for a few syscalls, and no caching is done yet).
> These [fix] patches can be sqashed later into the original commit, but I
> send them as separate patches to make review easier.

Thank you for picking this up, feel free to squash the commits and take
the authorship of the commit.

> In the last commit I asked some questions in comments about Eugene's code,
> please give feedback about them.
> 
> Eugene Syromyatnikov (1):
>   [wip] PID namespace translation support
> 
> Ákos Uzonyi (14):
>   [prepare] Remove code commenting
>   [fix] Replace readdir_r with readdir
>   [fix] Fix simple compile errors
>   [fix] Minor fixes
>   [fix] Implement decoding setpgid and setpgrp
>   [fix] get_id_list: replace fscanf with readline
>   Print more error messages
>   [refactor] get_id_list: idx
>   [refactor] get_id_list: use different variable for id
>   [refactor] Minor refactorizations
>   [doc] Add some documentation
>   Implement printfd_pid_tracee_ns
>   kcmp.c: fix path decoding
>   Ask some questions in comments
> 
>  Makefile.am          |   3 +
>  btree.c              | 297 +++++++++++++++++++++
>  btree.h              |  97 +++++++
>  defs.h               |  24 +-
>  getpid.c             |  44 ++++
>  kcmp.c               |   6 +-
>  linux/dummy.h        |   7 +-
>  pidns.c              | 604 +++++++++++++++++++++++++++++++++++++++++++
>  strace.c             |   7 +-
>  syscall.c            |  15 ++
>  tests/inject-nf.test |   6 +
>  tests/kcmp.c         |  21 +-
>  util.c               |   8 +-
>  13 files changed, 1120 insertions(+), 19 deletions(-)
>  create mode 100644 btree.c
>  create mode 100644 btree.h
>  create mode 100644 getpid.c
>  create mode 100644 pidns.c



More information about the Strace-devel mailing list