Atomic Kernel I/O: O_EXCL & pread

Splitting an existence check or cursor seek across two syscalls opens a preemption window where attackers swap symlinks or sibling threads clobber record offsets. You will eliminate TOCTOU and cursor races using O_CREAT | O_EXCL, directory-pinned openat(), kernel-locked O_APPEND, and stateless pread()/pwrite().

25 minfree previewLinux 6.12C11glibc 2.39→ module 4 lab
What you'll learn
  • Diagnose preemption TOCTOU races (access + open) and cursor-clobber races (lseek + write) across workers.
  • Enforce atomic exclusive creation with O_CREAT | O_EXCL and directory-pinned openat(dirfd, ...) VFS lookups.
  • Execute stateless positional transfers via pread() and pwrite() while verifying struct file.f_pos stays unchanged.

Why Two-Syscall Sequences Fail Under Preemption

On a preemptive Symmetric Multiprocessing (SMP) Linux kernel, a hardware timer interrupt or higher-priority wakeup can suspend your thread at the exact nanosecond boundary between any two user-space system calls. Two classic anti-patterns fail catastrophically across that gap. First, a privileged daemon runs if (access("/tmp/run.pid", F_OK) == -1) fd = open("/tmp/run.pid", O_WRONLY | O_CREAT | O_TRUNC, 0600);: an unprivileged local user plants a symlink /tmp/run.pid -> /etc/crontab in the microsecond between access() and open(), tricking the root daemon into truncating /etc/crontab! Second, two threads sharing one int fd run lseek(fd, slot_off, SEEK_SET); write(fd, rec, 64);: Thread B's lseek() preempts Thread A before Thread A's write(), diverting Thread A's record onto Thread B's slot and extending the file unexpectedly!

User-space mutexes cannot coordinate independent processes, and two-syscall sequences cannot close kernel path-walk races. Eliminating Time-Of-Check to Time-Of-Use (TOCTOU) and cursor-clobber bugs requires fusing check-and-act into a single atomic VFS operation.

note: Calling lseek() and then write() on a shared descriptor is like shouting a shelf coordinate across a busy warehouse and hoping nobody shouts another coordinate before your crate lands; pwrite() stamps the exact bay coordinate directly onto the crate.

Where it stops working: Physical warehouse bays block two crates mechanically, whereas concurrent pwrite calls targeting overlapping byte offsets still race unless callers partition fixed-size slots or synchronize access.

definition (TOCTOU, Positional I/O (pread/pwrite) & Directory-Pinned *at() Calls): Time-Of-Check to Time-Of-Use (TOCTOU) & O_CREAT | O_EXCL: Named in 1970s operating-system security audits for races between verifying a pathname precondition and acting on it, open(..., O_CREAT | O_EXCL, mode) tests dentry absence and allocates the inode atomically under the parent directory's i_rwsem lock (never following a terminal symlink). Positional I/O (pread / pwrite): Transfers bytes at an explicit off_t offset via stack-local kiocb.ki_pos without reading or modifying struct file.f_pos. Directory-Pinned *at() Calls (openat, renameat, unlinkat): Anchor relative lookups to a verified O_DIRECTORY dirfd so intermediate directory prefixes cannot be swapped mid-flight.

fig_m04_l02_arch.svg — Scheduler preemption between lseek() and write()…

Figure 4.2a. Scheduler preemption between lseek() and write() clobbers shared cursors; stateless pread()/pwrite() and directory-pinned *at() calls close race windows.

ast_m04_l02_excl_race.svg — Time-of-check-to-time-of-use file-creation race between…

Figure 4.2b. Time-of-check-to-time-of-use file-creation race between two processes versus atomic O_CREAT | O_EXCL.

One Layer Down: kiocb.ki_pos vs f_pos_lock & Retry Offset Math

Look inside fs/read_write.c (ksys_pread64 vs ksys_read) to see why pread() scales linearly across CPU cores while lseek() + read() serializes and races. Normal ksys_read() acquires file->f_pos_lock on every call just to snapshot and update file->f_pos—creating cache-line contention across 8 worker threads sharing one fd even if a user mutex wraps lseek + read! By contrast, ksys_pread64() never touches file->f_pos_lock or file->f_pos: it initializes a kernel-stack struct kiocb directly with your offset parameter and dispatches straight to the page cache. When wrapping pread() / pwrite() against short counts or EINTR, advance both the buffer pointer and explicit byte coordinate by done: p_next = p + done, off_next = off + (off_t)done, and rem = len - done.

Broken Two-Syscall SequencePreemption Race HazardAtomic Single-Syscall IdiomKernel Lock / Cursor Guarantee
access(p, F_OK) -> open(p, O_CREAT)Symlink hijack or dual winner`openat(dfd, name, O_WRONLY\O_CREAT\O_EXCL\O_NOFOLLOW\O_CLOEXEC, 0600)`Parent i_rwsem; loser gets -1 (EEXIST)
lseek(fd, off, SEEK_SET) -> writeShared f_pos clobbered mid-flightpwrite(fd, buf, n, off) / pread(fd, buf, n, off)Zero f_pos touch; zero f_pos_lock contention
lseek(fd, 0, SEEK_END) -> writeConcurrent writer overwritten at tail`open(..., O_WRONLY\O_APPEND) + write()`Target inode->i_rwsem sets ki_pos = i_size
In-place config overwrite (O_TRUNC)Torn half-written file on crashopenat(O_EXCL) -> write -> fdatasync -> renameat -> fsync(dfd)Readers see either old or complete new file
step_m04_l02.svg — Fuse check-and-act inside single atomic kernel…step 1/4
  1. Step 1. Pin an O_DIRECTORY descriptor dfd and create staging files via openat(..., O_CREAT | O_EXCL | O_NOFOLLOW | O_CLOEXEC, 0600).
  2. Step 2. Transfer fixed-offset records via stateless pwrite_full(), advancing both p + done and off + done on short counts.
  3. Step 3. Commit staged file blocks via fdatasync(tfd) and verify close(tfd) == 0 before publishing.
  4. Step 4. Atomically swap the directory entry with renameat(dfd, tmp, dfd, final) and persist via fsync(dfd).

Figure 4.2c. Fuse check-and-act inside single atomic kernel syscalls: openat(O_CREAT|O_EXCL), stateless pread/pwrite, and renameat + fsync(dfd).

pread(2) / pwrite(2) Reference & the Linux O_APPEND Quirk

Define #define _POSIX_C_SOURCE 200809L and #define _FILE_OFFSET_BITS 64 before <unistd.h> and <fcntl.h>. Memorize one critical Linux kernel deviation documented in man 2 pwrite: POSIX states pwrite() writes at offset regardless of O_APPEND, but on Linux, if fd has O_APPEND set, pwrite() ignores offset and appends to EOF! Always keep O_APPEND clear on descriptors used for random-access pwrite() slot updates.

pread(2) at a glance — GL-C01
pread(2)                    GL-C01 Quick Reference                    pread(2) NAME       pread, pwrite - read from or write to a descriptor at a given offset SYNOPSIS       #define _POSIX_C_SOURCE 200809L       #include <unistd.h>       ssize_t pread(int fd, void *buf, size_t count, off_t offset);       ssize_t pwrite(int fd, const void *buf, size_t count, off_t offset); STANDARDS       POSIX.1-2008; maps to pread64 / pwrite64 syscalls on Linux. RETURN VALUE       Returns bytes transferred (>= 0; 0 on pread means EOF), or -1 on error.       The file offset (struct file.f_pos) is NOT changed. ERRORS       EBADF  fd is not valid or not open for the requested direction.        EINVAL offset is negative (or unaligned when O_DIRECT is active).        EINTR  Interrupted by signal before any bytes transferred.        ESPIPE fd refers to a pipe, FIFO, or socket. BUGS       On Linux, pwrite() on an O_APPEND descriptor ignores offset and       appends! SEE ALSO       fdatasync(2), lseek(2), openat(2), read(2), write(2) Kernel Systems Academy                   Lesson 4.2                   pread(2) GL-C01 quick reference · full manual page: man 2 pread 

Reproducing Cursor Races vs Stateless pread/pwrite & atomic_replace_at

Save atomic_idioms.c below. It proves O_CREAT | O_EXCL rejects a rival creator with EEXIST, reproduces the exact lseek + write shared-cursor clobber (slot0=00000000, unexpected_size=24), fixes it via pwrite_full() and pread() across slots 0 and 8 while f_pos stays parked at 4, verifies cooperating O_APPEND writes, and executes directory-pinned atomic_replace_at() (openat + fdatasync + renameat + fsync(dfd)).

learner@ksa: ~/gl-c01/m04-l02
learner@ksa:~/gl-c01/m04-l02$ bat -H 14 -H 28 -H 69 atomic_idioms.c File: atomic_idioms.c    #define _FILE_OFFSET_BITS 64    #define _POSIX_C_SOURCE 200809L    #include <errno.h>    #include <fcntl.h>    #include <stdint.h>    #include <stdio.h>    #include <stdlib.h>    #include <string.h>    #include <unistd.h>        static int pwrite_full(int fd, const void *buf, size_t len, off_t off) {        const uint8_t *p = (const uint8_t *)buf;        size_t done = 0U;      while (done < len) {            ssize_t n = pwrite(fd, p + done, len - done, off + (off_t)done);            if (n < 0) {                if (errno == EINTR) continue;                return -1;            }            done += (size_t)n;        }        return 0;    }        static int atomic_replace_at(int dfd, const char *tmp_name,                                 const char *final_name, const char *payload) {        int flags = O_WRONLY | O_CREAT | O_EXCL | O_NOFOLLOW | O_CLOEXEC;      int tfd = openat(dfd, tmp_name, flags, 0600);        if (tfd < 0) return -1;        size_t len = strlen(payload);        if (write(tfd, payload, len) != (ssize_t)len || fdatasync(tfd) != 0) {            (void)close(tfd);            (void)unlinkat(dfd, tmp_name, 0);            return -1;        }        if (close(tfd) != 0) {            (void)unlinkat(dfd, tmp_name, 0);            return -1;        }        if (renameat(dfd, tmp_name, dfd, final_name) != 0 || fsync(dfd) != 0) {            (void)unlinkat(dfd, tmp_name, 0);            return -1;        }        return 0;    }        int main(void) {        const char *lpath = "/tmp/ksa_m04_l02.lock";        const char *dpath = "/tmp/ksa_m04_l02_slots.bin";        (void)unlink(lpath);            int lk1 = open(lpath, O_WRONLY | O_CREAT | O_EXCL | O_CLOEXEC, 0600);        if (lk1 < 0) return 1;        errno = 0;        int lk2 = open(lpath, O_WRONLY | O_CREAT | O_EXCL | O_CLOEXEC, 0600);        int lk2_err = errno;        (void)close(lk1);        (void)unlink(lpath);        printf("excl_create: second_ret=%d eexist=%s\n",               lk2, (lk2 == -1 && lk2_err == EEXIST) ? "yes" : "no");            int fd_a = open(dpath, O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0644);        int fd_b = (fd_a >= 0) ? dup(fd_a) : -1;        if (fd_a < 0 || fd_b < 0 ||            write(fd_a, "0000000011111111", 16) != 16) return 1;            if (lseek(fd_a, 0, SEEK_SET) < 0) return 1;        if (lseek(fd_b, 8, SEEK_SET) < 0) return 1;      if (write(fd_b, "BBBBBBBB", 8) != 8) return 1;        if (write(fd_a, "AAAAAAAA", 8) != 8) return 1;            char racy_slot0[9] = {0};        if (pread(fd_a, racy_slot0, 8, 0) != 8) return 1;        off_t racy_end = lseek(fd_a, 0, SEEK_END);        printf("racy_lseek: slot0=%s unexpected_size=%lld\n",               racy_slot0, (long long)racy_end);            (void)close(fd_b);        (void)close(fd_a);        fd_a = open(dpath, O_RDWR | O_TRUNC | O_CLOEXEC);        fd_b = (fd_a >= 0) ? dup(fd_a) : -1;        if (fd_a < 0 || fd_b < 0 ||            write(fd_a, "0000000011111111", 16) != 16) return 1;        if (lseek(fd_a, 4, SEEK_SET) != 4) return 1;        if (pwrite_full(fd_a, "SLOT0_OK", 8, 0) < 0 ||            pwrite_full(fd_b, "SLOT1_OK", 8, 8) < 0) return 1;            char s0[9] = {0}, s1[9] = {0};        if (pread(fd_a, s0, 8, 0) != 8 || pread(fd_b, s1, 8, 8) != 8) return 1;        off_t parked = lseek(fd_a, 0, SEEK_CUR);        printf("atomic_pio: s0=%s s1=%s parked_f_pos=%lld\n",               s0, s1, (long long)parked);        (void)close(fd_b);        (void)close(fd_a);            int ap1 = open(dpath, O_WRONLY | O_TRUNC | O_APPEND | O_CLOEXEC);        int ap2 = open(dpath, O_WRONLY | O_APPEND | O_CLOEXEC);        if (ap1 < 0 || ap2 < 0 ||            write(ap1, "REC1|", 5) != 5 || write(ap2, "REC2", 4) != 4) return 1;        (void)close(ap1);        (void)close(ap2);            int rd = open(dpath, O_RDONLY | O_CLOEXEC);        char logbuf[16] = {0};        ssize_t ln = (rd >= 0) ? read(rd, logbuf, sizeof(logbuf) - 1U) : -1;        if (rd >= 0) (void)close(rd);        (void)unlink(dpath);        if (ln != 9) return 1;            int dfd = open("/tmp", O_RDONLY | O_DIRECTORY | O_CLOEXEC);        if (dfd < 0) return 1;        (void)unlinkat(dfd, "ksa_m04_cfg.tmp", 0);        (void)unlinkat(dfd, "ksa_m04_cfg.v1", 0);        int rep_ok = (atomic_replace_at(dfd, "ksa_m04_cfg.tmp",                                        "ksa_m04_cfg.v1", "COMMIT_V2") == 0);        (void)unlinkat(dfd, "ksa_m04_cfg.v1", 0);        (void)close(dfd);            printf("atomic_append: bytes=%zd log=%s replace_at=%d\n",               ln, logbuf, rep_ok);        return 0;    }
  1. Advance BOTH p + done and off + (off_t)done on partial pwrite() progress because pwrite() never updates f_pos.
  2. Pin openat/fdatasync/renameat/fsync(dfd) to an open O_DIRECTORY descriptor to eliminate path-prefix symlink races.
  3. Interleaved lseek(fd_b, 8, SEEK_SET) diverts fd_a's write() to offset 16; stateless pwrite_full() leaves parked f_pos=4 untouched.

Verifying Stateless pread64/pwrite64 Under strace

Compile and run atomic_idioms, verify racy_lseek vs atomic_pio (parked_f_pos=4) and replace_at=1, and inspect openat, pwrite64, and pread64 under strace.

learner@ksa: ~/gl-c01/m04-l02
learner@ksa:~/gl-c01/m04-l02gcc -fdiagnostics-color=always -std=c11 -Wall -Wextra -Werror atomic_idioms.c -o atomic_idiomslearner@ksa:~/gl-c01/m04-l02./atomic_idiomsexcl_create: second_ret=-1 eexist=yesracy_lseek: slot0=00000000 unexpected_size=24atomic_pio: s0=SLOT0_OK s1=SLOT1_OK parked_f_pos=4atomic_append: bytes=9 log=REC1|REC2 replace_at=1learner@ksa:~/gl-c01/m04-l02test ! -e /tmp/ksa_m04_l02.lock && test ! -e /tmp/ksa_m04_l02_slots.binlearner@ksa:~/gl-c01/m04-l02

Under strace, observe O_CREAT|O_EXCL returning -1 EEXIST on the second lock attempt and pwrite64/pread64 passing explicit byte coordinates 0 and 8 in a single trap.

strace — learner@ksa: ~/gl-c01/m04-l02
learner@ksa:~/gl-c01/m04-l02strace strace -e \trace=openat,pwrite64,pread64,unlink,unlinkat,close ./atomic_idiomsexecve("/usr/bin/strace", ["strace", "-e", "trace=openat,pwrite64,pread64,un"..., "./atomic_idioms"], 0x7ffee2b11df8 /* 161 vars */) = 0brk(NULL)                               = 0x63a811e23000mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1f21f7a000access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3fstat(3, {st_mode=S_IFREG|0644, st_size=147944, ...}) = 0mmap(NULL, 147944, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1f21f55000close(3)                                = 0openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libunwind-ptrace.so.0", O_RDONLY|O_CLOEXEC) = 3read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832fstat(3, {st_mode=S_IFREG|0644, st_size=18656, ...}) = 0mmap(NULL, 20808, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1f21f4f000mmap(0x7f1f21f50000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f1f21f50000mmap(0x7f1f21f52000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f1f21f52000mmap(0x7f1f21f53000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f1f21f53000close(3)                                = 0openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libunwind-x86_64.so.8", O_RDONLY|O_CLOEXEC) = 3read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832fstat(3, {st_mode=S_IFREG|0644, st_size=67672, ...}) = 0mmap(NULL, 113136, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1f21f33000mmap(0x7f1f21f35000, 49152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f1f21f35000mmap(0x7f1f21f41000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x7f1f21f41000mmap(0x7f1f21f43000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0x7f1f21f43000mmap(0x7f1f21f45000, 39408, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1f21f45000close(3)                                = 0openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\243\2\0\0\0\0\0"..., 832) = 832pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784fstat(3, {st_mode=S_IFREG|0755, st_size=2129424, ...}) = 0pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784mmap(NULL, 2174352, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1f21c00000mmap(0x7f1f21c28000, 1609728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x28000) = 0x7f1f21c28000mmap(0x7f1f21db1000, 323584, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b1000) = 0x7f1f21db1000mmap(0x7f1f21e00000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ff000) = 0x7f1f21e00000mmap(0x7f1f21e06000, 52624, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1f21e06000close(3)                                = 0openat(AT_FDCWD, "/lib/x86_64-linux-gnu/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 3read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832fstat(3, {st_mode=S_IFREG|0644, st_size=202904, ...}) = 0mmap(NULL, 200728, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1f21f01000mmap(0x7f1f21f04000, 139264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f1f21f04000mmap(0x7f1f21f26000, 45056, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f1f21f26000mmap(0x7f1f21f31000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x30000) = 0x7f1f21f31000close(3)                                = 0openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libunwind.so.8", O_RDONLY|O_CLOEXEC) = 3read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832fstat(3, {st_mode=S_IFREG|0644, st_size=63776, ...}) = 0mmap(NULL, 109328, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1f21ee6000mmap(0x7f1f21ee9000, 40960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f1f21ee9000mmap(0x7f1f21ef3000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x7f1f21ef3000mmap(0x7f1f21ef5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x7f1f21ef5000mmap(0x7f1f21ef7000, 39696, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1f21ef7000close(3)                                = 0mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1f21ee4000arch_prctl(ARCH_SET_FS, 0x7f1f21ee5380) = 0set_tid_address(0x7f1f21ee5650)         = 2867282set_robust_list(0x7f1f21ee5660, 24)     = 0rseq(0x7f1f21ee5ca0, 0x20, 0, 0x53053053) = 0mprotect(0x7f1f21e00000, 16384, PROT_READ) = 0mprotect(0x7f1f21f31000, 4096, PROT_READ) = 0mprotect(0x7f1f21ef5000, 4096, PROT_READ) = 0mprotect(0x7f1f21f43000, 4096, PROT_READ) = 0mprotect(0x7f1f21f53000, 4096, PROT_READ) = 0mprotect(0x63a80d05c000, 417792, PROT_READ) = 0mprotect(0x7f1f21fba000, 8192, PROT_READ) = 0prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0munmap(0x7f1f21f55000, 147944)          = 0getrandom("\x69\xc6\x86\xcd\xf1\xe6\xfd\x91", 8, GRND_NONBLOCK) = 8brk(NULL)                               = 0x63a811e23000brk(0x63a811e44000)                     = 0x63a811e44000openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3fstat(3, {st_mode=S_IFREG|0644, st_size=5719296, ...}) = 0mmap(NULL, 5719296, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1f21600000close(3)                                = 0openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3fstat(3, {st_mode=S_IFREG|0644, st_size=2996, ...}) = 0read(3, "# Locale name alias data base.\n#"..., 4096) = 2996read(3, "", 4096)                       = 0close(3)                                = 0openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)openat(AT_FDCWD, "/usr/lib/locale/C.utf8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3fstat(3, {st_mode=S_IFREG|0644, st_size=258, ...}) = 0mmap(NULL, 258, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1f21f79000close(3)                                = 0openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY|O_CLOEXEC) = 3fstat(3, {st_mode=S_IFREG|0644, st_size=27028, ...}) = 0mmap(NULL, 27028, PROT_READ, MAP_SHARED, 3, 0) = 0x7f1f21f72000close(3)                                = 0futex(0x7f1f21e0572c, FUTEX_WAKE_PRIVATE, 2147483647) = 0openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)openat(AT_FDCWD, "/usr/lib/locale/C.utf8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = 3fstat(3, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0mmap(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1f21f71000close(3)                                = 0openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)openat(AT_FDCWD, "/usr/lib/locale/C.utf8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = 3fstat(3, {st_mode=S_IFREG|0644, st_size=47, ...}) = 0mmap(NULL, 47, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1f21f70000close(3)                                = 0openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)openat(AT_FDCWD, "/usr/lib/locale/C.utf8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = 3fstat(3, {st_mode=S_IFREG|0644, st_size=127, ...}) = 0mmap(NULL, 127, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1f21f6f000close(3)                                = 0openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NAME", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)openat(AT_FDCWD, "/usr/lib/locale/C.utf8/LC_NAME", O_RDONLY|O_CLOEXEC) = 3fstat(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0mmap(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1f21f6e000close(3)                                = 0openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_PAPER", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)openat(AT_FDCWD, "/usr/lib/locale/C.utf8/LC_PAPER", O_RDONLY|O_CLOEXEC) = 3fstat(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0mmap(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1f21f6d000close(3)                                = 0openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)openat(AT_FDCWD, "/usr/lib/locale/C.utf8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0close(3)                                = 0openat(AT_FDCWD, "/usr/lib/locale/C.utf8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3fstat(3, {st_mode=S_IFREG|0644, st_size=48, ...}) = 0mmap(NULL, 48, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1f21f6c000close(3)                                = 0openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)openat(AT_FDCWD, "/usr/lib/locale/C.utf8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = 3fstat(3, {st_mode=S_IFREG|0644, st_size=270, ...}) = 0mmap(NULL, 270, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1f21f6b000close(3)                                = 0openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_COLLATE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)openat(AT_FDCWD, "/usr/lib/locale/C.utf8/LC_COLLATE", O_RDONLY|O_CLOEXEC) = 3fstat(3, {st_mode=S_IFREG|0644, st_size=1406, ...}) = 0mmap(NULL, 1406, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1f21f6a000close(3)                                = 0openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TIME", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)openat(AT_FDCWD, "/usr/lib/locale/C.utf8/LC_TIME", O_RDONLY|O_CLOEXEC) = 3fstat(3, {st_mode=S_IFREG|0644, st_size=3360, ...}) = 0mmap(NULL, 3360, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1f21f69000close(3)                                = 0openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)openat(AT_FDCWD, "/usr/lib/locale/C.utf8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = 3fstat(3, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0mmap(NULL, 50, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1f21f68000close(3)                                = 0openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)openat(AT_FDCWD, "/usr/lib/locale/C.utf8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3fstat(3, {st_mode=S_IFREG|0644, st_size=360460, ...}) = 0mmap(NULL, 360460, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1f21e8b000close(3)                                = 0getpid()                                = 2867282uname({sysname="Linux", nodename="sabertooth", ...}) = 0openat(AT_FDCWD, "/proc/sys/kernel/pid_max", O_RDONLY) = 3read(3, "4194304\n", 23)                = 8close(3)                                = 0rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f1f21c45330}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0getuid()                                = 1000getgid()                                = 1000clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1f21ee5650) = 2867283ptrace(PTRACE_SEIZE, 2867283, NULL, 0)  = 0kill(2867283, SIGKILL)                  = 0wait4(2867283, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGKILL}], 0, NULL) = 2867283--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=2867283, si_uid=1000, si_status=SIGKILL, si_utime=0, si_stime=0} ---clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1f21ee5650) = 2867284wait4(2867284, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGSTOP}], 0, NULL) = 2867284--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867284, si_uid=1000, si_status=SIGSTOP, si_utime=0, si_stime=0} ---ptrace(PTRACE_SETOPTIONS, 2867284, NULL, PTRACE_O_TRACESYSGOOD) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867284, 88, {op=PTRACE_SYSCALL_INFO_NONE, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7f1f21c4553b, stack_pointer=0x7ffe0ba73578}) = 24ptrace(PTRACE_SYSCALL, 2867284, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867284, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(2867284, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], 0, NULL) = 2867284ptrace(PTRACE_GET_SYSCALL_INFO, 2867284, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7f1f21d274ed, stack_pointer=0x7ffe0ba73568, entry={nr=__NR_chdir, args=[0x63a80d037d9a, 0xbad1fed1, 0xbad2fed2, 0xbad3fed3, 0xbad4fed4, 0xbad5fed5]}}) = 80ptrace(PTRACE_SYSCALL, 2867284, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867284, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(2867284, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], 0, NULL) = 2867284ptrace(PTRACE_GET_SYSCALL_INFO, 2867284, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7f1f21d274ed, stack_pointer=0x7ffe0ba73568, exit={rval=-ENOENT, is_error=1}}) = 33ptrace(PTRACE_SYSCALL, 2867284, NULL, 0) = 0wait4(2867284, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], 0, NULL) = 2867284--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867284, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---ptrace(PTRACE_GET_SYSCALL_INFO, 2867284, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7f1f21d274ed, stack_pointer=0x7ffe0ba73568, entry={nr=__NR_gettid, args=[0xcaf0bea0, 0xcaf1bea1, 0xcaf2bea2, 0xcaf3bea3, 0xcaf4bea4, 0xcaf5bea5]}}) = 80ptrace(PTRACE_SYSCALL, 2867284, NULL, 0) = 0wait4(2867284, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], 0, NULL) = 2867284--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867284, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---ptrace(PTRACE_GET_SYSCALL_INFO, 2867284, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7f1f21d274ed, stack_pointer=0x7ffe0ba73568, exit={rval=2867284, is_error=0}}) = 33ptrace(PTRACE_SYSCALL, 2867284, NULL, 0) = 0wait4(2867284, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], 0, NULL) = 2867284--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867284, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---ptrace(PTRACE_GET_SYSCALL_INFO, 2867284, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7f1f21d274ed, stack_pointer=0x7ffe0ba73568, entry={nr=__NR_exit_group, args=[0, 0xfac1c0d1, 0xfac2c0d2, 0xfac3c0d3, 0xfac4c0d4, 0xfac5c0d5]}}) = 80ptrace(PTRACE_SYSCALL, 2867284, NULL, 0) = 0wait4(2867284, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 2867284--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2867284, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---pipe2([3, 4], 0)                        = 0close(4)                                = 0fcntl(3, F_GETFD)                       = 0fcntl(3, F_SETFD, FD_CLOEXEC)           = 0close(3)                                = 0newfstatat(AT_FDCWD, "./atomic_idioms", {st_mode=S_IFREG|0775, st_size=16800, ...}, 0) = 0clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1f21ee5650) = 2867285wait4(2867285, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGSTOP}], WSTOPPED, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_STOPPED, si_pid=2867285, si_uid=1000, si_status=SIGSTOP, si_utime=0, si_stime=0} ---ptrace(PTRACE_SEIZE, 2867285, NULL, PTRACE_O_TRACESYSGOOD|PTRACE_O_TRACEEXEC|PTRACE_O_TRACEEXIT) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_STOPPED, si_pid=2867285, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---ptrace(PTRACE_INTERRUPT, 2867285)       = 0kill(2867285, SIGCONT)                  = 0close(0)                                = 0pipe2([0, 3], 0)                        = 0close(3)                                = 0fcntl(0, F_GETFD)                       = 0fcntl(0, F_SETFD, FD_CLOEXEC)           = 0close(1)                                = 0pipe2([1, 3], 0)                        = 0close(3)                                = 0fcntl(1, F_GETFD)                       = 0fcntl(1, F_SETFD, FD_CLOEXEC)           = 0rt_sigaction(SIGTTOU, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f1f21c45330}, NULL, 8) = 0rt_sigaction(SIGTTIN, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f1f21c45330}, NULL, 8) = 0rt_sigaction(SIGHUP, {sa_handler=0x63a80cf57f10, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f1f21c45330}, NULL, 8) = 0rt_sigaction(SIGINT, {sa_handler=0x63a80cf57f10, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f1f21c45330}, NULL, 8) = 0rt_sigaction(SIGQUIT, {sa_handler=0x63a80cf57f10, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f1f21c45330}, NULL, 8) = 0rt_sigaction(SIGPIPE, {sa_handler=0x63a80cf57f10, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f1f21c45330}, NULL, 8) = 0rt_sigaction(SIGTERM, {sa_handler=0x63a80cf57f10, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f1f21c45330}, NULL, 8) = 0rt_sigprocmask(SIG_BLOCK, [ALRM], NULL, 8) = 0rt_sigaction(SIGALRM, {sa_handler=0x63a80cf63c20, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f1f21c45330}, NULL, 8) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGSTOP}|PTRACE_EVENT_STOP<<16], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_LISTEN, 2867285)          = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP}|PTRACE_EVENT_STOP<<16], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_CONTINUED, si_pid=2867285, si_uid=1000, si_status=SIGCONT, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGCONT, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGCONT}], __WALL, NULL) = 2867285ptrace(PTRACE_GETSIGINFO, 2867285, NULL, {si_signo=SIGCONT, si_code=SI_USER, si_pid=2867282, si_uid=1000}) = 0wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, SIGCONT) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7f1f21ceeffb, stack_pointer=0x7ffe0ba72458, entry={nr=__NR_execve, args=[0x7ffe0ba72530, 0x7ffe0ba73a40, 0x7ffe0ba73a50, 0x7f1f21fbd0b8, 0x1, 0x7f1f21ee5380]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP}|PTRACE_EVENT_EXEC<<16], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---ptrace(PTRACE_GETEVENTMSG, 2867285, NULL, [2867285]) = 0wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c4959bb, stack_pointer=0x7ffca877c538, entry={nr=__NR_brk, args=[0, 0x7ffa5c4a7a18, 0, 0x37f, 0, 0x7ffa5c4a7440]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496d1c, stack_pointer=0x7ffca877c1c0, entry={nr=__NR_mmap, args=[0, 0x2000, 0x3, 0x22, 0xffffffff, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c4968bb, stack_pointer=0x7ffca877c278, entry={nr=__NR_access, args=[0x7ffa5c4a05b0, 0x4, 0x63d5a3ac7dc0, 0x22, 0x7ffa5c471000, 0x7ffa5c4a7440]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496b61, stack_pointer=0x7ffca877b610, entry={nr=__NR_openat, args=[0xffffff9c, 0x7ffa5c49f38f, 0x80000, 0, 0, 0]}}) = 80fstat(2, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0process_vm_readv(2867285, [{iov_base="2\0dl-lookup.c\0out of memory\n\0, v"..., iov_len=4096}], 1, [{iov_base=0x7ffa5c49f000, iov_len=4096}], 1, 0) = 4096write(2, "openat(AT_FDCWD, \"/etc/ld.so.cac"..., 55) = 55ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496b61, stack_pointer=0x7ffca877b610, exit={rval=3, is_error=0}}) = 33write(2, ") = 3\n", 6)                  = 6ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c4968eb, stack_pointer=0x7ffca877b618, entry={nr=__NR_fstat, args=[0x3, 0x7ffca877b620, 0x80000, 0, 0, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496d1c, stack_pointer=0x7ffca877b600, entry={nr=__NR_mmap, args=[0, 0x241e8, 0x1, 0x2, 0x3, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496a1b, stack_pointer=0x7ffca877b618, entry={nr=__NR_close, args=[0x3, 0x241e8, 0x1, 0x2, 0x3, 0]}}) = 80write(2, "close(3", 7)                  = 7ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496a1b, stack_pointer=0x7ffca877b618, exit={rval=0, is_error=0}}) = 33write(2, ")                               "..., 37) = 37ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496b61, stack_pointer=0x7ffca877b780, entry={nr=__NR_openat, args=[0xffffff9c, 0x7ffa5c467140, 0x80000, 0, 0x7ffca877b837, 0]}}) = 80process_vm_readv(2867285, [{iov_base="PpF\\\372\177\0\0\362\356I\\\372\177\0\0\0\0\0\0\0\0\0\0@\320I\\\372\177\0\0"..., iov_len=4096}], 1, [{iov_base=0x7ffa5c467000, iov_len=4096}], 1, 0) = 4096write(2, "openat(AT_FDCWD, \"/lib/x86_64-li"..., 70) = 70ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496b61, stack_pointer=0x7ffca877b780, exit={rval=3, is_error=0}}) = 33write(2, ") = 3\n", 6)                  = 6ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496bd8, stack_pointer=0x7ffca877b788, entry={nr=__NR_read, args=[0x3, 0x7ffca877b858, 0x340, 0, 0x7ffca877b837, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496bae, stack_pointer=0x7ffca877b468, entry={nr=__NR_pread64, args=[0x3, 0x7ffca877b470, 0x310, 0x40, 0x7ffca877b837, 0]}}) = 80write(2, "pread64(3, ", 11)             = 11ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496bae, stack_pointer=0x7ffca877b468, exit={rval=784, is_error=0}}) = 33process_vm_readv(2867285, [{iov_base="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], 1, [{iov_base=0x7ffca877b000, iov_len=4096}], 1, 0) = 4096write(2, "\"\\6\\0\\0\\0\\4\\0\\0\\0@\\0\\0\\0\\0\\0\\0\\0"..., 83) = 83ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c4968eb, stack_pointer=0x7ffca877b658, entry={nr=__NR_fstat, args=[0x3, 0x7ffca877b6f0, 0x3, 0x40, 0x7ffa5c467140, 0x7ffa5c4aa2e0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496bae, stack_pointer=0x7ffca877b338, entry={nr=__NR_pread64, args=[0x3, 0x7ffca877b340, 0x310, 0x40, 0xc0ff, 0]}}) = 80write(2, "pread64(3, ", 11)             = 11ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496bae, stack_pointer=0x7ffca877b338, exit={rval=784, is_error=0}}) = 33process_vm_readv(2867285, [{iov_base="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], 1, [{iov_base=0x7ffca877b000, iov_len=4096}], 1, 0) = 4096write(2, "\"\\6\\0\\0\\0\\4\\0\\0\\0@\\0\\0\\0\\0\\0\\0\\0"..., 83) = 83ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496d1c, stack_pointer=0x7ffca877b010, entry={nr=__NR_mmap, args=[0, 0x212d90, 0x1, 0x802, 0x3, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496d1c, stack_pointer=0x7ffca877b010, entry={nr=__NR_mmap, args=[0x7ffa5c228000, 0x189000, 0x5, 0x812, 0x3, 0x28000]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496d1c, stack_pointer=0x7ffca877b010, entry={nr=__NR_mmap, args=[0x7ffa5c3b1000, 0x4f000, 0x1, 0x812, 0x3, 0x1b1000]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496d1c, stack_pointer=0x7ffca877b010, entry={nr=__NR_mmap, args=[0x7ffa5c400000, 0x6000, 0x3, 0x812, 0x3, 0x1ff000]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496d1c, stack_pointer=0x7ffca877b010, entry={nr=__NR_mmap, args=[0x7ffa5c406000, 0xcd90, 0x3, 0x32, 0xffffffff, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496a1b, stack_pointer=0x7ffca877b338, entry={nr=__NR_close, args=[0x3, 0x7ffa5c467160, 0x1, 0xc0000002, 0x7ffa5c200378, 0x4]}}) = 80write(2, "close(3", 7)                  = 7ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496a1b, stack_pointer=0x7ffca877b338, exit={rval=0, is_error=0}}) = 33write(2, ")                               "..., 37) = 37ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496d1c, stack_pointer=0x7ffca877c1e0, entry={nr=__NR_mmap, args=[0, 0x3000, 0x3, 0x22, 0xffffffff, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c49111d, stack_pointer=0x7ffca877c260, entry={nr=__NR_arch_prctl, args=[0x1002, 0x7ffa5c43f740, 0xffff8005a3bbff30, 0x22, 0xffffffff, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c485f12, stack_pointer=0x7ffca877c230, entry={nr=__NR_set_tid_address, args=[0x7ffa5c43fa10, 0x7ffa5c43f740, 0x7ffa5c4aa0c8, 0x22, 0xffffffff, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c485f6e, stack_pointer=0x7ffca877c230, entry={nr=__NR_set_robust_list, args=[0x7ffa5c43fa20, 0x18, 0x7ffa5c4aa0c8, 0x22, 0xffffffff, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c485fe6, stack_pointer=0x7ffca877c230, entry={nr=__NR_rseq, args=[0x7ffa5c440060, 0x20, 0, 0x53053053, 0, 0x7ffa5c4a7440]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496dab, stack_pointer=0x7ffca877c148, entry={nr=__NR_mprotect, args=[0x7ffa5c400000, 0x4000, 0x1, 0x7ffa5c467160, 0x7ffa5c467160, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496dab, stack_pointer=0x7ffca877c148, entry={nr=__NR_mprotect, args=[0x63d5a3ac7000, 0x1000, 0x1, 0x7ffa5c4aa2e0, 0x7ffa5c4aa2e0, 0x7ffa5c31b260]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496dab, stack_pointer=0x7ffca877c148, entry={nr=__NR_mprotect, args=[0x7ffa5c4a7000, 0x2000, 0x1, 0x7ffa5c4a9ab0, 0x7ffa5c4a9ab0, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31d454, stack_pointer=0x7ffca877c238, entry={nr=__NR_prlimit64, args=[0, 0x3, 0, 0x7ffca877c240, 0, 0xd]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c496ddb, stack_pointer=0x7ffca877c268, entry={nr=__NR_munmap, args=[0x7ffa5c442000, 0x241e8, 0, 0x7ffca877c240, 0, 0x7ffa5c4a7440]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c69b, stack_pointer=0x7ffca877c488, entry={nr=__NR_unlink, args=[0x63d5a3ac6008, 0x7ffca877c648, 0x7ffca877c658, 0x7ffca877c240, 0, 0x7ffa5c476380]}}) = 80process_vm_readv(2867285, [{iov_base="\1\0\2\0\0\0\0\0/tmp/ksa_m04_l02.lock\0/t"..., iov_len=4096}], 1, [{iov_base=0x63d5a3ac6000, iov_len=4096}], 1, 0) = 4096write(2, "unlink(\"/tmp/ksa_m04_l02.lock\"", 30) = 30ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c69b, stack_pointer=0x7ffca877c488, exit={rval=-ENOENT, is_error=1}}) = 33write(2, ")         = -1 ENOENT (No such f"..., 50) = 50ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b405, stack_pointer=0x7ffca877c410, entry={nr=__NR_openat, args=[0xffffff9c, 0x63d5a3ac6008, 0x800c1, 0x180, 0, 0x7ffa5c476380]}}) = 80process_vm_readv(2867285, [{iov_base="\1\0\2\0\0\0\0\0/tmp/ksa_m04_l02.lock\0/t"..., iov_len=4096}], 1, [{iov_base=0x63d5a3ac6000, iov_len=4096}], 1, 0) = 4096write(2, "openat(AT_FDCWD, \"/tmp/ksa_m04_l"..., 81) = 81ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b405, stack_pointer=0x7ffca877c410, exit={rval=3, is_error=0}}) = 33write(2, ") = 3\n", 6)                  = 6ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b405, stack_pointer=0x7ffca877c410, entry={nr=__NR_openat, args=[0xffffff9c, 0x63d5a3ac6008, 0x800c1, 0x180, 0, 0x7ffa5c476380]}}) = 80process_vm_readv(2867285, [{iov_base="\1\0\2\0\0\0\0\0/tmp/ksa_m04_l02.lock\0/t"..., iov_len=4096}], 1, [{iov_base=0x63d5a3ac6000, iov_len=4096}], 1, 0) = 4096write(2, "openat(AT_FDCWD, \"/tmp/ksa_m04_l"..., 81) = 81ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b405, stack_pointer=0x7ffca877c410, exit={rval=-EEXIST, is_error=1}}) = 33write(2, ") = -1 EEXIST (File exists)\n", 28) = 28ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, entry={nr=__NR_close, args=[0x3, 0x63d5a3ac6008, 0, 0x180, 0, 0x7ffa5c476380]}}) = 80write(2, "close(3", 7)                  = 7ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, exit={rval=0, is_error=0}}) = 33write(2, ")                               "..., 37) = 37ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c69b, stack_pointer=0x7ffca877c488, entry={nr=__NR_unlink, args=[0x63d5a3ac6008, 0x63d5a3ac6008, 0, 0x180, 0, 0x7ffa5c476380]}}) = 80process_vm_readv(2867285, [{iov_base="\1\0\2\0\0\0\0\0/tmp/ksa_m04_l02.lock\0/t"..., iov_len=4096}], 1, [{iov_base=0x63d5a3ac6000, iov_len=4096}], 1, 0) = 4096write(2, "unlink(\"/tmp/ksa_m04_l02.lock\"", 30) = 30ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c69b, stack_pointer=0x7ffca877c488, exit={rval=0, is_error=0}}) = 33write(2, ")         = 0\n", 14)         = 14ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31761b, stack_pointer=0x7ffca877c0b8, entry={nr=__NR_fstat, args=[0x1, 0x7ffca877c0c0, 0x7ffa5c402ee0, 0xffffffff, 0x73, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c2a9e69, stack_pointer=0x7ffca877c040, entry={nr=__NR_getrandom, args=[0x7ffa5c40b178, 0x8, 0x1, 0xffffffff, 0x73, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31da0b, stack_pointer=0x7ffca877bf78, entry={nr=__NR_brk, args=[0, 0x7ffa5c404b20, 0x7ffa5c404b20, 0x1, 0x21000, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31da0b, stack_pointer=0x7ffca877bf78, entry={nr=__NR_brk, args=[0x63d5a68de000, 0x7ffa5c404b20, 0x7ffa5c40bd70, 0x1, 0x21000, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b405, stack_pointer=0x7ffca877c410, entry={nr=__NR_openat, args=[0xffffff9c, 0x63d5a3ac601e, 0x80242, 0x1a4, 0x7ffa5c404b20, 0]}}) = 80process_vm_readv(2867285, [{iov_base="\1\0\2\0\0\0\0\0/tmp/ksa_m04_l02.lock\0/t"..., iov_len=4096}], 1, [{iov_base=0x63d5a3ac6000, iov_len=4096}], 1, 0) = 4096write(2, "openat(AT_FDCWD, \"/tmp/ksa_m04_l"..., 85) = 85ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b405, stack_pointer=0x7ffca877c410, exit={rval=3, is_error=0}}) = 33write(2, ") = 3\n", 6)                  = 6ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316bcb, stack_pointer=0x7ffca877c488, entry={nr=__NR_dup, args=[0x3, 0x63d5a3ac601e, 0, 0x1a4, 0x7ffa5c404b20, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c804, stack_pointer=0x7ffca877c488, entry={nr=__NR_write, args=[0x3, 0x63d5a3ac6066, 0x10, 0x1a4, 0x7ffa5c404b20, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b26b, stack_pointer=0x7ffca877c488, entry={nr=__NR_lseek, args=[0x3, 0, 0, 0x1a4, 0x7ffa5c404b20, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b26b, stack_pointer=0x7ffca877c488, entry={nr=__NR_lseek, args=[0x4, 0x8, 0, 0x1a4, 0x7ffa5c404b20, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c804, stack_pointer=0x7ffca877c488, entry={nr=__NR_write, args=[0x4, 0x63d5a3ac6077, 0x8, 0x1a4, 0x7ffa5c404b20, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c804, stack_pointer=0x7ffca877c488, entry={nr=__NR_write, args=[0x3, 0x63d5a3ac6080, 0x8, 0x1a4, 0x7ffa5c404b20, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c2fa537, stack_pointer=0x7ffca877c488, entry={nr=__NR_pread64, args=[0x3, 0x7ffca877c4e5, 0x8, 0, 0x7ffa5c404b20, 0]}}) = 80write(2, "pread64(3, ", 11)             = 11ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c2fa537, stack_pointer=0x7ffca877c488, exit={rval=8, is_error=0}}) = 33process_vm_readv(2867285, [{iov_base="\0\20\2\0\0\0\0\0\0\211X\16\221\321iF\200\246J\\\372\177\0\0\377\0\0\0\0\0\0\0"..., iov_len=4096}], 1, [{iov_base=0x7ffca877c000, iov_len=4096}], 1, 0) = 4096write(2, "\"00000000\", 8, 0)            = 8"..., 33) = 33ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b26b, stack_pointer=0x7ffca877c488, entry={nr=__NR_lseek, args=[0x3, 0, 0x2, 0, 0x7ffa5c404b20, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, entry={nr=__NR_close, args=[0x4, 0x7ffa5c4055c0, 0, 0, 0x64, 0]}}) = 80write(2, "close(4", 7)                  = 7ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, exit={rval=0, is_error=0}}) = 33write(2, ")                               "..., 37) = 37ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, entry={nr=__NR_close, args=[0x3, 0x7ffa5c4055c0, 0, 0, 0x64, 0]}}) = 80write(2, "close(3", 7)                  = 7ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, exit={rval=0, is_error=0}}) = 33write(2, ")                               "..., 37) = 37ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b405, stack_pointer=0x7ffca877c410, entry={nr=__NR_openat, args=[0xffffff9c, 0x63d5a3ac601e, 0x80202, 0, 0x64, 0]}}) = 80process_vm_readv(2867285, [{iov_base="\1\0\2\0\0\0\0\0/tmp/ksa_m04_l02.lock\0/t"..., iov_len=4096}], 1, [{iov_base=0x63d5a3ac6000, iov_len=4096}], 1, 0) = 4096write(2, "openat(AT_FDCWD, \"/tmp/ksa_m04_l"..., 71) = 71ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b405, stack_pointer=0x7ffca877c410, exit={rval=3, is_error=0}}) = 33write(2, ") = 3\n", 6)                  = 6ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316bcb, stack_pointer=0x7ffca877c488, entry={nr=__NR_dup, args=[0x3, 0x63d5a3ac601e, 0, 0, 0x64, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c804, stack_pointer=0x7ffca877c488, entry={nr=__NR_write, args=[0x3, 0x63d5a3ac6066, 0x10, 0, 0x64, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b26b, stack_pointer=0x7ffca877c488, entry={nr=__NR_lseek, args=[0x3, 0x4, 0, 0, 0x64, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c2fa5d7, stack_pointer=0x7ffca877c438, entry={nr=__NR_pwrite64, args=[0x3, 0x63d5a3ac60bb, 0x8, 0, 0x64, 0]}}) = 80process_vm_readv(2867285, [{iov_base="\1\0\2\0\0\0\0\0/tmp/ksa_m04_l02.lock\0/t"..., iov_len=4096}], 1, [{iov_base=0x63d5a3ac6000, iov_len=4096}], 1, 0) = 4096write(2, "pwrite64(3, \"SLOT0_OK\", 8, 0", 28) = 28ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c2fa5d7, stack_pointer=0x7ffca877c438, exit={rval=8, is_error=0}}) = 33write(2, ")           = 8\n", 16)       = 16ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c2fa5d7, stack_pointer=0x7ffca877c438, entry={nr=__NR_pwrite64, args=[0x4, 0x63d5a3ac60c4, 0x8, 0x8, 0x64, 0]}}) = 80process_vm_readv(2867285, [{iov_base="\1\0\2\0\0\0\0\0/tmp/ksa_m04_l02.lock\0/t"..., iov_len=4096}], 1, [{iov_base=0x63d5a3ac6000, iov_len=4096}], 1, 0) = 4096write(2, "pwrite64(4, \"SLOT1_OK\", 8, 8", 28) = 28ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c2fa5d7, stack_pointer=0x7ffca877c438, exit={rval=8, is_error=0}}) = 33write(2, ")           = 8\n", 16)       = 16ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c2fa537, stack_pointer=0x7ffca877c488, entry={nr=__NR_pread64, args=[0x3, 0x7ffca877c4ee, 0x8, 0, 0x64, 0]}}) = 80write(2, "pread64(3, ", 11)             = 11ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c2fa537, stack_pointer=0x7ffca877c488, exit={rval=8, is_error=0}}) = 33process_vm_readv(2867285, [{iov_base="\0\20\2\0\0\0\0\0\0\211X\16\221\321iF\200\246J\\\372\177\0\0\377\0\0\0\0\0\0\0"..., iov_len=4096}], 1, [{iov_base=0x7ffca877c000, iov_len=4096}], 1, 0) = 4096write(2, "\"SLOT0_OK\", 8, 0)            = 8"..., 33) = 33ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c2fa537, stack_pointer=0x7ffca877c488, entry={nr=__NR_pread64, args=[0x4, 0x7ffca877c4f7, 0x8, 0x8, 0x64, 0]}}) = 80write(2, "pread64(4, ", 11)             = 11ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c2fa537, stack_pointer=0x7ffca877c488, exit={rval=8, is_error=0}}) = 33process_vm_readv(2867285, [{iov_base="\0\20\2\0\0\0\0\0\0\211X\16\221\321iF\200\246J\\\372\177\0\0\377\0\0\0\0\0\0\0"..., iov_len=4096}], 1, [{iov_base=0x7ffca877c000, iov_len=4096}], 1, 0) = 4096write(2, "\"SLOT1_OK\", 8, 8)            = 8"..., 33) = 33ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b26b, stack_pointer=0x7ffca877c488, entry={nr=__NR_lseek, args=[0x3, 0, 0x1, 0x8, 0x64, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, entry={nr=__NR_close, args=[0x4, 0x7ffa5c4055c0, 0, 0, 0x64, 0]}}) = 80write(2, "close(4", 7)                  = 7ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, exit={rval=0, is_error=0}}) = 33write(2, ")                               "..., 37) = 37ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, entry={nr=__NR_close, args=[0x3, 0x7ffa5c4055c0, 0, 0, 0x64, 0]}}) = 80write(2, "close(3", 7)                  = 7ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, exit={rval=0, is_error=0}}) = 33write(2, ")                               "..., 37) = 37ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b405, stack_pointer=0x7ffca877c410, entry={nr=__NR_openat, args=[0xffffff9c, 0x63d5a3ac601e, 0x80601, 0, 0x64, 0]}}) = 80process_vm_readv(2867285, [{iov_base="\1\0\2\0\0\0\0\0/tmp/ksa_m04_l02.lock\0/t"..., iov_len=4096}], 1, [{iov_base=0x63d5a3ac6000, iov_len=4096}], 1, 0) = 4096write(2, "openat(AT_FDCWD, \"/tmp/ksa_m04_l"..., 82) = 82ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b405, stack_pointer=0x7ffca877c410, exit={rval=3, is_error=0}}) = 33write(2, ") = 3\n", 6)                  = 6ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b405, stack_pointer=0x7ffca877c410, entry={nr=__NR_openat, args=[0xffffff9c, 0x63d5a3ac601e, 0x80401, 0, 0x64, 0]}}) = 80process_vm_readv(2867285, [{iov_base="\1\0\2\0\0\0\0\0/tmp/ksa_m04_l02.lock\0/t"..., iov_len=4096}], 1, [{iov_base=0x63d5a3ac6000, iov_len=4096}], 1, 0) = 4096write(2, "openat(AT_FDCWD, \"/tmp/ksa_m04_l"..., 74) = 74ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b405, stack_pointer=0x7ffca877c410, exit={rval=4, is_error=0}}) = 33write(2, ") = 4\n", 6)                  = 6ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c804, stack_pointer=0x7ffca877c488, entry={nr=__NR_write, args=[0x3, 0x63d5a3ac60fb, 0x5, 0, 0x64, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c804, stack_pointer=0x7ffca877c488, entry={nr=__NR_write, args=[0x4, 0x63d5a3ac6101, 0x4, 0, 0x64, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, entry={nr=__NR_close, args=[0x3, 0x63d5a3ac6101, 0x4, 0, 0x64, 0]}}) = 80write(2, "close(3", 7)                  = 7ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, exit={rval=0, is_error=0}}) = 33write(2, ")                               "..., 37) = 37ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, entry={nr=__NR_close, args=[0x4, 0x63d5a3ac6101, 0x4, 0, 0x64, 0]}}) = 80write(2, "close(4", 7)                  = 7ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, exit={rval=0, is_error=0}}) = 33write(2, ")                               "..., 37) = 37ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b405, stack_pointer=0x7ffca877c410, entry={nr=__NR_openat, args=[0xffffff9c, 0x63d5a3ac601e, 0x80000, 0, 0x64, 0]}}) = 80process_vm_readv(2867285, [{iov_base="\1\0\2\0\0\0\0\0/tmp/ksa_m04_l02.lock\0/t"..., iov_len=4096}], 1, [{iov_base=0x63d5a3ac6000, iov_len=4096}], 1, 0) = 4096write(2, "openat(AT_FDCWD, \"/tmp/ksa_m04_l"..., 65) = 65ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b405, stack_pointer=0x7ffca877c410, exit={rval=3, is_error=0}}) = 33write(2, ") = 3\n", 6)                  = 6ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31bcf1, stack_pointer=0x7ffca877c488, entry={nr=__NR_read, args=[0x3, 0x7ffca877c500, 0xf, 0, 0x64, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, entry={nr=__NR_close, args=[0x3, 0x7ffca877c500, 0xf, 0, 0x64, 0]}}) = 80write(2, "close(3", 7)                  = 7ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, exit={rval=0, is_error=0}}) = 33write(2, ")                               "..., 37) = 37ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c69b, stack_pointer=0x7ffca877c488, entry={nr=__NR_unlink, args=[0x63d5a3ac601e, 0x7ffca877c500, 0xf, 0, 0x64, 0]}}) = 80process_vm_readv(2867285, [{iov_base="\1\0\2\0\0\0\0\0/tmp/ksa_m04_l02.lock\0/t"..., iov_len=4096}], 1, [{iov_base=0x63d5a3ac6000, iov_len=4096}], 1, 0) = 4096write(2, "unlink(\"/tmp/ksa_m04_l02_slots.b"..., 35) = 35ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c69b, stack_pointer=0x7ffca877c488, exit={rval=0, is_error=0}}) = 33write(2, ")    = 0\n", 9)               = 9ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b405, stack_pointer=0x7ffca877c410, entry={nr=__NR_openat, args=[0xffffff9c, 0x63d5a3ac6106, 0x90000, 0, 0x64, 0]}}) = 80process_vm_readv(2867285, [{iov_base="\1\0\2\0\0\0\0\0/tmp/ksa_m04_l02.lock\0/t"..., iov_len=4096}], 1, [{iov_base=0x63d5a3ac6000, iov_len=4096}], 1, 0) = 4096write(2, "openat(AT_FDCWD, \"/tmp\", O_RDONL"..., 55) = 55ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b405, stack_pointer=0x7ffca877c410, exit={rval=3, is_error=0}}) = 33write(2, ") = 3\n", 6)                  = 6ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c6cb, stack_pointer=0x7ffca877c488, entry={nr=__NR_unlinkat, args=[0x3, 0x63d5a3ac610b, 0, 0, 0x64, 0]}}) = 80process_vm_readv(2867285, [{iov_base="\1\0\2\0\0\0\0\0/tmp/ksa_m04_l02.lock\0/t"..., iov_len=4096}], 1, [{iov_base=0x63d5a3ac6000, iov_len=4096}], 1, 0) = 4096write(2, "unlinkat(3, \"ksa_m04_cfg.tmp\", 0", 32) = 32ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c6cb, stack_pointer=0x7ffca877c488, exit={rval=-ENOENT, is_error=1}}) = 33write(2, ")       = -1 ENOENT (No such fil"..., 48) = 48ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c6cb, stack_pointer=0x7ffca877c488, entry={nr=__NR_unlinkat, args=[0x3, 0x63d5a3ac611b, 0, 0, 0x64, 0]}}) = 80process_vm_readv(2867285, [{iov_base="\1\0\2\0\0\0\0\0/tmp/ksa_m04_l02.lock\0/t"..., iov_len=4096}], 1, [{iov_base=0x63d5a3ac6000, iov_len=4096}], 1, 0) = 4096write(2, "unlinkat(3, \"ksa_m04_cfg.v1\", 0", 31) = 31ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c6cb, stack_pointer=0x7ffca877c488, exit={rval=-ENOENT, is_error=1}}) = 33write(2, ")        = -1 ENOENT (No such fi"..., 49) = 49ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b572, stack_pointer=0x7ffca877c3d0, entry={nr=__NR_openat, args=[0x3, 0x63d5a3ac610b, 0xa00c1, 0x180, 0x64, 0]}}) = 80process_vm_readv(2867285, [{iov_base="\1\0\2\0\0\0\0\0/tmp/ksa_m04_l02.lock\0/t"..., iov_len=4096}], 1, [{iov_base=0x63d5a3ac6000, iov_len=4096}], 1, 0) = 4096write(2, "openat(3, \"ksa_m04_cfg.tmp\", O_W"..., 79) = 79ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31b572, stack_pointer=0x7ffca877c3d0, exit={rval=4, is_error=0}}) = 33write(2, ") = 4\n", 6)                  = 6ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c804, stack_pointer=0x7ffca877c448, entry={nr=__NR_write, args=[0x4, 0x63d5a3ac612a, 0x9, 0x180, 0x64, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31e9e4, stack_pointer=0x7ffca877c448, entry={nr=__NR_fdatasync, args=[0x4, 0x63d5a3ac612a, 0x9, 0x180, 0x64, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c448, entry={nr=__NR_close, args=[0x4, 0x63d5a3ac612a, 0x9, 0x180, 0x64, 0]}}) = 80write(2, "close(4", 7)                  = 7ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c448, exit={rval=0, is_error=0}}) = 33write(2, ")                               "..., 37) = 37ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c26620e, stack_pointer=0x7ffca877c448, entry={nr=__NR_renameat, args=[0x3, 0x63d5a3ac610b, 0x3, 0x63d5a3ac611b, 0x64, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31f074, stack_pointer=0x7ffca877c448, entry={nr=__NR_fsync, args=[0x3, 0x63d5a3ac610b, 0x3, 0x63d5a3ac611b, 0x64, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c6cb, stack_pointer=0x7ffca877c488, entry={nr=__NR_unlinkat, args=[0x3, 0x63d5a3ac611b, 0, 0x63d5a3ac611b, 0x64, 0]}}) = 80process_vm_readv(2867285, [{iov_base="\1\0\2\0\0\0\0\0/tmp/ksa_m04_l02.lock\0/t"..., iov_len=4096}], 1, [{iov_base=0x63d5a3ac6000, iov_len=4096}], 1, 0) = 4096write(2, "unlinkat(3, \"ksa_m04_cfg.v1\", 0", 31) = 31ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c6cb, stack_pointer=0x7ffca877c488, exit={rval=0, is_error=0}}) = 33write(2, ")        = 0\n", 13)          = 13ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, entry={nr=__NR_close, args=[0x3, 0x63d5a3ac611b, 0, 0x63d5a3ac611b, 0x64, 0]}}) = 80write(2, "close(3", 7)                  = 7ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_EXIT, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c316984, stack_pointer=0x7ffca877c488, exit={rval=0, is_error=0}}) = 33write(2, ")                               "..., 37) = 37ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c31c804, stack_pointer=0x7ffca877c348, entry={nr=__NR_write, args=[0x1, 0x63d5a68bd2a0, 0xb9, 0x7ffca877c3ef, 0x7ffca877c460, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP | 0x80}], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_GET_SYSCALL_INFO, 2867285, 88, {op=PTRACE_SYSCALL_INFO_ENTRY, arch=AUDIT_ARCH_X86_64, instruction_pointer=0x7ffa5c2ee2dd, stack_pointer=0x7ffca877c4b8, entry={nr=__NR_exit_group, args=[0, 0xffffffffffffff88, 0xe7, 0x7ffca877c3ef, 0x7ffca877c460, 0]}}) = 80ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=2867285, si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} ---wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP}|PTRACE_EVENT_EXIT<<16], __WALL, NULL) = 2867285wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = 0ptrace(PTRACE_SYSCALL, 2867285, NULL, 0) = 0wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], __WALL, NULL) = 2867285--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2867285, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---wait4(-1, 0x7ffe0ba737ac, WNOHANG|__WALL, NULL) = -1 ECHILD (No child processes)write(2, "+++ exited with 0 +++\n", 22) = 22wait4(-1, 0x7ffe0ba737ac, __WALL, NULL) = -1 ECHILD (No child processes)exit_group(0)                           = ?+++ exited with 0 +++

How Kernel i_rwsem and Stateless kiocb Close Race Windows

Every race in atomic_idioms disappeared as soon as check-and-use moved inside one kernel boundary: O_CREAT | O_EXCL serialized existence check + inode allocation under the parent directory's i_rwsem; pwrite64 and pread64 wrote and read slots 0 and 8 via stack-local kiocb.ki_pos without touching f_pos = 4; and atomic_replace_at ensured readers of "ksa_m04_cfg.v1" could never observe a half-written configuration file!

Guided Practice: Writing pread_full() with Short-Count & EOF Handling

Complete the companion helper ssize_t pread_full(int fd, void *buf, size_t len, off_t off) matching pwrite_full() above:

  1. Step 1 (Reject negative offsets & advance both coordinates): Guard if (off < 0) { errno = EINVAL; return -1; }, and inside while (done < len) call pread(fd, p + done, len - done, off + (off_t)done).
  2. Step 2 (Distinguish EOF vs EINTR): Break cleanly when n == 0 (returning (ssize_t)done for partial tail slots), continue when n < 0 && errno == EINTR, and verify that lseek(fd, 0, SEEK_CUR) before and after pread_full() returns the exact same offset.

Independent Practice: renameat2(..., RENAME_NOREPLACE) Lockless Publisher

On Linux 3.15+ (#define _GNU_SOURCE), renameat2(dfd, tmp_name, dfd, target_name, RENAME_NOREPLACE) atomically publishes a staged temporary file only if target_name does not yet exist (returning -1 with EEXIST instead of overwriting!). Write a C11 test publish_once.c that stages two competing files in /tmp via openat(..., O_CREAT | O_EXCL | O_CLOEXEC, 0600), races two renameat2(..., RENAME_NOREPLACE) calls onto "ksa_manifest.v1", proves the second fails with EEXIST while leaving the winner's payload intact, and cleans up all /tmp artifacts.

Common Production Pitfalls

warning: Symptom: Calling pwrite(fd, &super_hdr, 64, 0) on Linux to overwrite a file header at offset 0 silently appends super_hdr to the end of the file instead! Root Cause: On Linux (deviating from strict POSIX), if fd was opened with O_APPEND, pwrite() ignores its offset parameter and forces every write to i_size. Fix: Open descriptors used for positional pwrite() updates without O_APPEND (or maintain a separate non-append header descriptor).

warning: Symptom: Guarding daemon lockfile creation with if (access(lock_path, F_OK) != 0) open(lock_path, O_WRONLY | O_CREAT, 0600); allows two daemon instances to start concurrently or follow an attacker-planted symlink. Root Cause: Scheduler preemption between access() and open() creates a TOCTOU race window, and open() without O_EXCL follows symlinks. Fix: Remove access() and execute a single openat(dfd, name, O_WRONLY | O_CREAT | O_EXCL | O_NOFOLLOW | O_CLOEXEC, 0600).

Knowledge Check

quiz · 1 of 4

Eight worker threads share one int fd opened with O_RDWR | O_CLOEXEC on an indexed record store (f_pos is currently 128). Thread 3 calls pread(fd, buf, 64, 4096) and reads 64 bytes. What is f_pos afterward?

quiz · 2 of 4

Two independent collector processes open /var/log/events.bin without O_APPEND and execute lseek(fd, 0, SEEK_END) followed by write(fd, rec, 32). Why do committed records randomly vanish under load?

quiz · 3 of 4

(Review from earlier lesson) When pwrite(fd, buf, 4096, slot_off) returns a short count of 1024 bytes, how must a production C11 retry loop issue the next call?

quiz · 4 of 4

Why do security-hardened daemons replace path-string open("/tmp/work/cfg.tmp", ...) + rename() with an O_RDONLY | O_DIRECTORY | O_CLOEXEC directory descriptor (openat with O_CREAT | O_EXCL | O_NOFOLLOW | O_CLOEXEC, fdatasync(tfd), renameat(), and fsync(dfd))?

Key takeaways

  • Any file invariant split across two user-space syscalls (access + open, or lseek + write) is vulnerable to kernel scheduler preemption races.
  • open(..., O_CREAT | O_EXCL, mode) fuses existence testing and inode creation into one atomic VFS directory operation failing with EEXIST on collision.
  • pread() and pwrite() transfer bytes at an explicit off_t coordinate without reading or mutating struct file.f_pos (provided O_APPEND is clear on Linux).
  • Opening log descriptors with O_APPEND serializes offset placement (ki_pos = i_size) and payload copy under inode->i_rwsem.
  • Directory-pinned openat() (O_CREAT | O_EXCL | O_NOFOLLOW | O_CLOEXEC) paired with fdatasync(tfd), renameat(), and fsync(dfd) closes path-prefix TOCTOU races and delivers crash-safe atomic replacement.
  • Next, we complete Module 4 by controlling live descriptors at runtime using fcntl() flag tiers, ABI-stable ioctl() structures, and ftruncate() file resizing.
Progress is saved on this device.

search — fzf

0/0 ───────────────────────────────────────────

keyboard shortcuts — less

/
search
f
focus mode
[
previous
]
next
?
help
Esc
close

figure