Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mitar/moby-45622

Test for https://github.com/moby/moby/issues/45622
https://github.com/mitar/moby-45622

Last synced: 1 day ago
JSON representation

Test for https://github.com/moby/moby/issues/45622

Awesome Lists containing this project

README

        

Run:

```
docker run -t -i --rm -v "$(pwd):/code" ubuntu:jammy /bin/bash
apt-get update
apt-get install --yes build-essential
cd /code
make
./main
```

Expected output:

```
Start
Fork
Child's PID is 454850
Sleep
Pause in the child
ptrace start
PTRACE_SEIZE
PTRACE_INTERRUPT
waitpid
PTRACE_DETACH
ptrace success
pidfd_getfd start
pidfd_open
pidfd_getfd
kcmp
pidfd_getfd success
kcmp start
kcmp
kcmp success
Kill child
Wait for child
End
```

So important are `ptrace success`, `pidfd_getfd success`, and `kcmp success`.