9918 execve("./tests/gpiod-test", ["./tests/gpiod-test"], 0x7ffd4734e378 /* 15 vars */) = 0 9918 brk(NULL) = 0x5596da8e6000 9918 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 9918 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f193fd66000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libtinfo.so.6", O_RDONLY|O_CLOEXEC) = 3 9918 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\351\0\0\0\0\0\0"..., 832) = 832 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=183528, ...}) = 0 9918 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f193fd64000 9918 mmap(NULL, 186752, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f193fd36000 9918 mmap(0x7f193fd44000, 57344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x7f193fd44000 9918 mmap(0x7f193fd52000, 53248, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c000) = 0x7f193fd52000 9918 mmap(0x7f193fd5f000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x28000) = 0x7f193fd5f000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 9918 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\21\0\0\0\0\0\0"..., 832) = 832 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=14592, ...}) = 0 9918 mmap(NULL, 16656, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f193fd31000 9918 mmap(0x7f193fd32000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f193fd32000 9918 mmap(0x7f193fd33000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f193fd33000 9918 mmap(0x7f193fd34000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f193fd34000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 9918 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 9918 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 9918 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f193fb70000 9918 mprotect(0x7f193fb92000, 1658880, PROT_NONE) = 0 9918 mmap(0x7f193fb92000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f193fb92000 9918 mmap(0x7f193fcda000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f193fcda000 9918 mmap(0x7f193fd27000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f193fd27000 9918 mmap(0x7f193fd2d000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f193fd2d000 9918 close(3) = 0 9918 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f193fb6d000 9918 arch_prctl(ARCH_SET_FS, 0x7f193fb6d740) = 0 9918 mprotect(0x7f193fd27000, 16384, PROT_READ) = 0 9918 mprotect(0x7f193fd34000, 4096, PROT_READ) = 0 9918 mprotect(0x7f193fd5f000, 16384, PROT_READ) = 0 9918 mprotect(0x5596d8fc2000, 12288, PROT_READ) = 0 9918 mprotect(0x7f193fd92000, 4096, PROT_READ) = 0 9918 munmap(0x7f193fd66000, 17208) = 0 9918 openat(AT_FDCWD, "/dev/tty", O_RDWR|O_NONBLOCK) = 3 9918 close(3) = 0 9918 brk(NULL) = 0x5596da8e6000 9918 brk(0x5596da907000) = 0x5596da907000 9918 openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=252, ...}) = 0 9918 mmap(NULL, 252, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f193fd6a000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=26402, ...}) = 0 9918 mmap(NULL, 26402, PROT_READ, MAP_SHARED, 3, 0) = 0x7f193fb66000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = 3 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0 9918 mmap(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f193fd69000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = 3 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=47, ...}) = 0 9918 mmap(NULL, 47, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f193fd68000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = 3 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=131, ...}) = 0 9918 mmap(NULL, 131, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f193fd67000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NAME", O_RDONLY|O_CLOEXEC) = 3 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0 9918 mmap(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f193fd66000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_PAPER", O_RDONLY|O_CLOEXEC) = 3 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0 9918 mmap(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f193fb65000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 9918 fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9918 close(3) = 0 9918 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=48, ...}) = 0 9918 mmap(NULL, 48, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f193fb64000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = 3 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=270, ...}) = 0 9918 mmap(NULL, 270, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f193fb63000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_COLLATE", O_RDONLY|O_CLOEXEC) = 3 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=1517626, ...}) = 0 9918 mmap(NULL, 1517626, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f193f9f0000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TIME", O_RDONLY|O_CLOEXEC) = 3 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=3360, ...}) = 0 9918 mmap(NULL, 3360, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f193f9ef000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = 3 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0 9918 mmap(NULL, 50, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f193f9ee000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=200752, ...}) = 0 9918 mmap(NULL, 200752, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f193f9bc000 9918 close(3) = 0 9918 getuid() = 0 9918 getgid() = 0 9918 geteuid() = 0 9918 getegid() = 0 9918 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 9918 ioctl(-1, TIOCGPGRP, 0x7fff31e74d24) = -1 EBADF (Bad file descriptor) 9918 sysinfo({uptime=16852, loads=[1472, 640, 0], totalram=106127360, freeram=60006400, sharedram=2273280, bufferram=0, totalswap=0, freeswap=0, procs=59, totalhigh=0, freehigh=0, mem_unit=1}) = 0 9918 rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 9918 rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9918 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 9918 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 9918 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 9918 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 9918 rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 9918 rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 9918 rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 uname({sysname="Linux", nodename="compilator", ...}) = 0 9918 stat("/libgpiod", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9918 stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9918 stat("/libgpiod", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9918 stat("/libgpiod.old", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9918 getpid() = 9918 9918 getppid() = 9914 9918 getpid() = 9918 9918 getpgrp() = 9914 9918 ioctl(2, TIOCGPGRP, 0x7fff31e74bf4) = -1 ENOTTY (Inappropriate ioctl for device) 9918 rt_sigaction(SIGCHLD, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9918 ioctl(2, TIOCGPGRP, 0x7fff31e74bd4) = -1 ENOTTY (Inappropriate ioctl for device) 9918 prlimit64(0, RLIMIT_NPROC, NULL, {rlim_cur=388, rlim_max=388}) = 0 9918 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 9918 openat(AT_FDCWD, "./tests/gpiod-test", O_RDONLY) = 3 9918 stat("./tests/gpiod-test", {st_mode=S_IFREG|0755, st_size=6315, ...}) = 0 9918 ioctl(3, TCGETS, 0x7fff31e74cb0) = -1 ENOTTY (Inappropriate ioctl for device) 9918 lseek(3, 0, SEEK_CUR) = 0 9918 read(3, "#! /bin/bash\n\n# gpiod-test - tem"..., 80) = 80 9918 lseek(3, 0, SEEK_SET) = 0 9918 prlimit64(0, RLIMIT_NOFILE, NULL, {rlim_cur=1024, rlim_max=1024*1024}) = 0 9918 fcntl(255, F_GETFD) = -1 EBADF (Bad file descriptor) 9918 dup2(3, 255) = 255 9918 close(3) = 0 9918 fcntl(255, F_SETFD, FD_CLOEXEC) = 0 9918 fcntl(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) 9918 fstat(255, {st_mode=S_IFREG|0755, st_size=6315, ...}) = 0 9918 lseek(255, 0, SEEK_CUR) = 0 9918 read(255, "#! /bin/bash\n\n# gpiod-test - tem"..., 6315) = 6315 9918 pipe([3, 4]) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 9918 lseek(255, -5402, SEEK_CUR) = 913 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f193fb6da10) = 9919 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 rt_sigaction(SIGCHLD, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9918 close(4) = 0 9918 read(3, 9919 getpid() = 9919 9919 close(255) = 0 9919 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9919 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9919 rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9919 rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9919 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9919 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9919 rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9919 rt_sigaction(SIGCHLD, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9919 rt_sigaction(SIGINT, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9919 dup2(4, 1) = 1 9919 close(4) = 0 9919 close(3) = 0 9919 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 9919 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 9919 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f193fb6da10) = 9920 9919 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9919 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9919 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9919 rt_sigprocmask(SIG_BLOCK, [CHLD], 9920 getpid( 9919 <... rt_sigprocmask resumed> [], 8) = 0 9920 <... getpid resumed> ) = 9920 9919 rt_sigaction(SIGINT, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9920 rt_sigprocmask(SIG_SETMASK, [], 9919 wait4(-1, 9920 <... rt_sigprocmask resumed> NULL, 8) = 0 9920 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9920 rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9920 rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9920 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9920 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9920 rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9920 rt_sigaction(SIGINT, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9920 rt_sigaction(SIGCHLD, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9920 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9920 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9920 ioctl(2, TIOCGPGRP, 0x7fff31e746b4) = -1 ENOTTY (Inappropriate ioctl for device) 9920 openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3 9920 dup2(3, 2) = 2 9920 close(3) = 0 9920 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 9920 write(1, "allexport \toff\n", 20 9918 <... read resumed> "allexport \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "braceexpand \ton\n", 19 9918 <... read resumed> "braceexpand \ton\n", 128) = 19 9918 read(3, 9920 <... write resumed> ) = 19 9920 write(1, "emacs \toff\n", 20 9918 <... read resumed> "emacs \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "errexit \toff\n", 20 9918 <... read resumed> "errexit \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "errtrace \toff\n", 20 9918 <... read resumed> "errtrace \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "functrace \toff\n", 20 9918 <... read resumed> "functrace \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "hashall \ton\n", 19 9918 <... read resumed> "hashall \ton\n", 128) = 19 9918 read(3, 9920 <... write resumed> ) = 19 9920 write(1, "histexpand \toff\n", 20 9918 <... read resumed> "histexpand \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "history \toff\n", 20 9918 <... read resumed> "history \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "ignoreeof \toff\n", 20 9918 <... read resumed> "ignoreeof \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "interactive-comments\ton\n", 24 9918 <... read resumed> "interactive-comments\ton\n", 128) = 24 9918 read(3, 9920 <... write resumed> ) = 24 9920 write(1, "keyword \toff\n", 20 9918 <... read resumed> "keyword \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "monitor \toff\n", 20 9918 <... read resumed> "monitor \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "noclobber \toff\n", 20 9918 <... read resumed> "noclobber \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "noexec \toff\n", 20 9918 <... read resumed> "noexec \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "noglob \toff\n", 20 9918 <... read resumed> "noglob \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "nolog \toff\n", 20 9918 <... read resumed> "nolog \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "notify \toff\n", 20 9918 <... read resumed> "notify \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "nounset \toff\n", 20 9918 <... read resumed> "nounset \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "onecmd \toff\n", 20 9918 <... read resumed> "onecmd \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "physical \toff\n", 20 9918 <... read resumed> "physical \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "pipefail \toff\n", 20 9918 <... read resumed> "pipefail \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "posix \toff\n", 20 9918 <... read resumed> "posix \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "privileged \toff\n", 20 9918 <... read resumed> "privileged \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "verbose \toff\n", 20 9918 <... read resumed> "verbose \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "vi \toff\n", 20 9918 <... read resumed> "vi \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 write(1, "xtrace \toff\n", 20 9918 <... read resumed> "xtrace \toff\n", 128) = 20 9918 read(3, 9920 <... write resumed> ) = 20 9920 exit_group(0) = ? 9920 +++ exited with 0 +++ 9919 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9920 9919 rt_sigaction(SIGINT, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9919 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9919 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9920, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 9919 wait4(-1, 0x7fff31e74110, WNOHANG, NULL) = -1 ECHILD (No child processes) 9919 rt_sigreturn({mask=[]}) = 0 9919 exit_group(0) = ? 9918 <... read resumed> "", 128) = 0 9918 close(3) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9918 rt_sigaction(SIGINT, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 wait4(-1, 9919 +++ exited with 0 +++ 9918 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9919 9918 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9919, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 9918 wait4(-1, 0x7fff31e742d0, WNOHANG, NULL) = -1 ECHILD (No child processes) 9918 rt_sigreturn({mask=[]}) = 0 9918 read(255, "BIN_SH=xpg4; export BIN_SH # for"..., 6315) = 5402 9918 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0 9918 rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0 9918 lseek(255, -5185, SEEK_CUR) = 1130 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f193fb6da10) = 9921 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9918 rt_sigaction(SIGINT, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 wait4(-1, 9921 getpid() = 9921 9921 close(255) = 0 9921 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9921 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9921 rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9921 rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9921 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9921 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9921 rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9921 rt_sigaction(SIGINT, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9921 rt_sigaction(SIGCHLD, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9921 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9921 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9921 ioctl(2, TIOCGPGRP, 0x7fff31e74a94) = -1 ENOTTY (Inappropriate ioctl for device) 9921 openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3 9921 dup2(3, 1) = 1 9921 close(3) = 0 9921 dup2(1, 2) = 2 9921 fcntl(1, F_GETFD) = 0 9921 exit_group(0) = ? 9921 +++ exited with 0 +++ 9918 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9921 9918 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 ioctl(2, TIOCGWINSZ, 0x7fff31e74990) = -1 ENOTTY (Inappropriate ioctl for device) 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9921, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 9918 wait4(-1, 0x7fff31e744d0, WNOHANG, NULL) = -1 ECHILD (No child processes) 9918 rt_sigreturn({mask=[]}) = 0 9918 read(255, "\nrelink_command=\"\"\n\n# This envir"..., 6315) = 5185 9918 pipe([3, 4]) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f193fb6da10) = 9922 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 rt_sigaction(SIGCHLD, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9918 close(4) = 0 9918 read(3, 9922 getpid() = 9922 9922 close(255) = 0 9922 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9922 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9922 rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9922 rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9922 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9922 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9922 rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9922 rt_sigaction(SIGCHLD, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9922 rt_sigaction(SIGINT, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9922 dup2(4, 1) = 1 9922 close(4) = 0 9922 close(3) = 0 9922 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 9922 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9922 pipe([3, 4]) = 0 9922 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0 9922 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f193fb6da10) = 9923 9922 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 9922 close(4) = 0 9922 close(4) = -1 EBADF (Bad file descriptor) 9923 getpid( 9922 rt_sigprocmask(SIG_BLOCK, [INT CHLD], 9923 <... getpid resumed> ) = 9923 9922 <... rt_sigprocmask resumed> [CHLD], 8) = 0 9923 rt_sigprocmask(SIG_SETMASK, [], 9922 clone( 9923 <... rt_sigprocmask resumed> NULL, 8) = 0 9923 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9922 <... clone resumed> child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f193fb6da10) = 9924 9923 rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9924 getpid( 9923 rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 9924 <... getpid resumed> ) = 9924 9923 <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9924 rt_sigprocmask(SIG_SETMASK, [], 9923 close(3 9924 <... rt_sigprocmask resumed> NULL, 8) = 0 9923 <... close resumed> ) = 0 9924 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9923 dup2(4, 1 9924 rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 9923 <... dup2 resumed> ) = 1 9924 <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9924 rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9924 dup2(3, 0) = 0 9924 close(3) = 0 9924 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9924 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9924 rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9924 execve("/usr/bin/sed", ["/usr/bin/sed", "s%/[^/]*$%%"], 0x5596da905f50 /* 17 vars */ 9923 close(4) = 0 9923 openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 9923 fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9923 brk(0x5596da92f000 9924 <... execve resumed> ) = 0 9923 <... brk resumed> ) = 0x5596da92f000 9924 brk(NULL 9923 getdents64(3 9924 <... brk resumed> ) = 0x55b28458d000 9922 rt_sigprocmask(SIG_SETMASK, [CHLD], 9923 <... getdents64 resumed> , /* 34 entries */, 32768) = 1064 9923 getdents64(3 9922 <... rt_sigprocmask resumed> NULL, 8) = 0 9923 <... getdents64 resumed> , /* 0 entries */, 32768) = 0 9923 brk(0x5596da927000 9924 access("/etc/ld.so.preload", R_OK 9923 <... brk resumed> ) = 0x5596da927000 9923 close(3) = 0 9923 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9923 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 9924 <... access resumed> ) = -1 ENOENT (No such file or directory) 9923 <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9923 rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 9924 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC 9923 <... rt_sigaction resumed> {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9923 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9924 <... openat resumed> ) = 3 9923 rt_sigprocmask(SIG_SETMASK, [], 9924 fstat(3, 9923 <... rt_sigprocmask resumed> NULL, 8) = 0 9924 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 9923 ioctl(2, TIOCGPGRP 9924 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd0b0d78000 9924 close(3) = 0 9923 <... ioctl resumed> , 0x7fff31e73614) = -1 ENOTTY (Inappropriate ioctl for device) 9923 rt_sigaction(SIGCHLD, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 9924 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libacl.so.1", O_RDONLY|O_CLOEXEC 9923 <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9923 rt_sigaction(SIGINT, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 9924 <... openat resumed> ) = 3 9924 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220#\0\0\0\0\0\0"..., 832) = 832 9924 fstat(3, 9923 <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9924 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=38936, ...}) = 0 9924 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd0b0d76000 9924 mmap(NULL, 41120, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0b0d6b000 9924 mmap(0x7fd0b0d6d000, 20480, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fd0b0d6d000 9924 mmap(0x7fd0b0d72000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fd0b0d72000 9924 mmap(0x7fd0b0d74000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7fd0b0d74000 9924 close(3) = 0 9924 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libselinux.so.1", O_RDONLY|O_CLOEXEC 9923 fstat(1, 9924 <... openat resumed> ) = 3 9924 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@k\0\0\0\0\0\0"..., 832) = 832 9924 fstat(3, 9923 <... fstat resumed> {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 9924 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=155296, ...}) = 0 9924 mmap(NULL, 2259632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0b0b43000 9924 mprotect(0x7fd0b0b68000, 2093056, PROT_NONE) = 0 9924 mmap(0x7fd0b0d67000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7fd0b0d67000 9924 mmap(0x7fd0b0d69000, 6832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd0b0d69000 9924 close(3) = 0 9924 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC 9923 write(1, "./tests/gpiod-test\n", 19 9924 <... openat resumed> ) = 3 9924 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 9924 fstat(3, 9923 <... write resumed> ) = 19 9924 <... fstat resumed> {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 9924 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0b0982000 9924 mprotect(0x7fd0b09a4000, 1658880, PROT_NONE) = 0 9924 mmap(0x7fd0b09a4000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fd0b09a4000 9924 mmap(0x7fd0b0aec000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7fd0b0aec000 9924 mmap(0x7fd0b0b39000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7fd0b0b39000 9924 mmap(0x7fd0b0b3f000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd0b0b3f000 9924 close(3) = 0 9924 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libattr.so.1", O_RDONLY|O_CLOEXEC 9923 exit_group(0 9924 <... openat resumed> ) = 3 9924 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\"\0\0\0\0\0\0"..., 832) = 832 9924 fstat(3, 9923 <... exit_group resumed>) = ? 9924 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=26544, ...}) = 0 9924 mmap(NULL, 28696, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0b097a000 9924 mmap(0x7fd0b097c000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fd0b097c000 9924 mmap(0x7fd0b097f000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7fd0b097f000 9924 mmap(0x7fd0b0980000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7fd0b0980000 9924 close(3) = 0 9924 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpcre.so.3", O_RDONLY|O_CLOEXEC 9923 +++ exited with 0 +++ 9924 <... openat resumed> ) = 3 9924 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340!\0\0\0\0\0\0"..., 832) = 832 9924 fstat(3, 9922 close(3 9924 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=468944, ...}) = 0 9924 mmap(NULL, 471304, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0b0906000 9924 mmap(0x7fd0b0908000, 335872, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fd0b0908000 9924 mmap(0x7fd0b095a000, 122880, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x54000) = 0x7fd0b095a000 9924 mmap(0x7fd0b0978000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x71000) = 0x7fd0b0978000 9924 close(3) = 0 9924 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC 9922 <... close resumed> ) = 0 9924 <... openat resumed> ) = 3 9924 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\21\0\0\0\0\0\0"..., 832) = 832 9924 fstat(3, 9922 rt_sigprocmask(SIG_BLOCK, [CHLD], 9924 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=14592, ...}) = 0 9924 mmap(NULL, 16656, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0b0901000 9924 mmap(0x7fd0b0902000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7fd0b0902000 9924 mmap(0x7fd0b0903000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fd0b0903000 9924 mmap(0x7fd0b0904000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fd0b0904000 9924 close(3) = 0 9924 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC 9922 <... rt_sigprocmask resumed> [CHLD], 8) = 0 9924 <... openat resumed> ) = 3 9924 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@l\0\0\0\0\0\0"..., 832) = 832 9924 fstat(3, 9922 rt_sigprocmask(SIG_SETMASK, [CHLD], 9924 <... fstat resumed> {st_mode=S_IFREG|0755, st_size=146968, ...}) = 0 9924 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd0b08ff000 9924 mmap(NULL, 132288, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd0b08de000 9924 mmap(0x7fd0b08e4000, 61440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fd0b08e4000 9924 mmap(0x7fd0b08f3000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7fd0b08f3000 9924 mmap(0x7fd0b08f9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7fd0b08f9000 9924 mmap(0x7fd0b08fb000, 13504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd0b08fb000 9924 close(3) = 0 9924 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd0b08db000 9924 arch_prctl(ARCH_SET_FS, 0x7fd0b08db800) = 0 9924 mprotect(0x7fd0b0b39000, 16384, PROT_READ 9922 <... rt_sigprocmask resumed> NULL, 8) = 0 9924 <... mprotect resumed> ) = 0 9922 rt_sigprocmask(SIG_BLOCK, [CHLD], 9924 mprotect(0x7fd0b08f9000, 4096, PROT_READ 9922 <... rt_sigprocmask resumed> [CHLD], 8) = 0 9924 <... mprotect resumed> ) = 0 9922 rt_sigaction(SIGINT, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 9924 mprotect(0x7fd0b0904000, 4096, PROT_READ) = 0 9924 mprotect(0x7fd0b0978000, 4096, PROT_READ) = 0 9924 mprotect(0x7fd0b0980000, 4096, PROT_READ) = 0 9924 mprotect(0x7fd0b0d67000, 4096, PROT_READ) = 0 9924 mprotect(0x7fd0b0d74000, 4096, PROT_READ) = 0 9924 mprotect(0x55b283412000, 4096, PROT_READ) = 0 9924 mprotect(0x7fd0b0da4000, 4096, PROT_READ) = 0 9924 munmap(0x7fd0b0d78000, 17208) = 0 9924 set_tid_address(0x7fd0b08dbad0) = 9924 9924 set_robust_list(0x7fd0b08dbae0, 24) = 0 9924 rt_sigaction(SIGRTMIN, {sa_handler=0x7fd0b08e46b0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fd0b08f0730}, NULL, 8) = 0 9924 rt_sigaction(SIGRT_1, {sa_handler=0x7fd0b08e4740, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fd0b08f0730}, NULL, 8) = 0 9924 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 9924 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 9924 statfs("/sys/fs/selinux", {f_type=SELINUX_MAGIC, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={val=[0, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0 9924 statfs("/sys/fs/selinux", {f_type=SELINUX_MAGIC, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={val=[0, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0 9924 brk(NULL) = 0x55b28458d000 9924 brk(0x55b2845ae000) = 0x55b2845ae000 9924 access("/etc/selinux/config", F_OK 9922 <... rt_sigaction resumed> {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9924 <... access resumed> ) = -1 ENOENT (No such file or directory) 9924 openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC 9922 wait4(-1, 9924 <... openat resumed> ) = -1 ENOENT (No such file or directory) 9922 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9923 9922 wait4(-1, 9924 openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9924 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3 9924 fstat(3, {st_mode=S_IFREG|0644, st_size=252, ...}) = 0 9924 mmap(NULL, 252, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd0b0d7c000 9924 close(3) = 0 9924 openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3 9924 fstat(3, {st_mode=S_IFREG|0644, st_size=26402, ...}) = 0 9924 mmap(NULL, 26402, PROT_READ, MAP_SHARED, 3, 0) = 0x7fd0b08d4000 9924 close(3) = 0 9924 futex(0x7fd0b0b3ea08, FUTEX_WAKE_PRIVATE, 2147483647) = 0 9924 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = 3 9924 fstat(3, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0 9924 mmap(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd0b0d7b000 9924 close(3) = 0 9924 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = 3 9924 fstat(3, {st_mode=S_IFREG|0644, st_size=47, ...}) = 0 9924 mmap(NULL, 47, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd0b0d7a000 9924 close(3) = 0 9924 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = 3 9924 fstat(3, {st_mode=S_IFREG|0644, st_size=131, ...}) = 0 9924 mmap(NULL, 131, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd0b0d79000 9924 close(3) = 0 9924 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NAME", O_RDONLY|O_CLOEXEC) = 3 9924 fstat(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0 9924 mmap(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd0b0d78000 9924 close(3) = 0 9924 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_PAPER", O_RDONLY|O_CLOEXEC) = 3 9924 fstat(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0 9924 mmap(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd0b08d3000 9924 close(3) = 0 9924 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 9924 fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9924 close(3) = 0 9924 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 9924 fstat(3, {st_mode=S_IFREG|0644, st_size=48, ...}) = 0 9924 mmap(NULL, 48, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd0b08d2000 9924 close(3) = 0 9924 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = 3 9924 fstat(3, {st_mode=S_IFREG|0644, st_size=270, ...}) = 0 9924 mmap(NULL, 270, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd0b08d1000 9924 close(3) = 0 9924 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_COLLATE", O_RDONLY|O_CLOEXEC) = 3 9924 fstat(3, {st_mode=S_IFREG|0644, st_size=1517626, ...}) = 0 9924 mmap(NULL, 1517626, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd0b075e000 9924 close(3) = 0 9924 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TIME", O_RDONLY|O_CLOEXEC) = 3 9924 fstat(3, {st_mode=S_IFREG|0644, st_size=3360, ...}) = 0 9924 mmap(NULL, 3360, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd0b075d000 9924 close(3) = 0 9924 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = 3 9924 fstat(3, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0 9924 mmap(NULL, 50, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd0b075c000 9924 close(3) = 0 9924 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3 9924 fstat(3, {st_mode=S_IFREG|0644, st_size=200752, ...}) = 0 9924 mmap(NULL, 200752, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd0b072a000 9924 close(3) = 0 9924 fstat(0, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 9924 read(0, "./tests/gpiod-test\n", 4096) = 19 9924 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 9924 read(0, "", 4096) = 0 9924 write(1, "./tests\n", 8 9918 <... read resumed> "./tests\n", 128) = 8 9924 <... write resumed> ) = 8 9918 read(3, 9924 close(1) = 0 9924 exit_group(0) = ? 9924 +++ exited with 0 +++ 9922 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9924 9922 rt_sigaction(SIGINT, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9922 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 9922 close(3) = -1 EBADF (Bad file descriptor) 9922 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9922 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9923, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 9922 wait4(-1, 0x7fff31e73350, WNOHANG, NULL) = -1 ECHILD (No child processes) 9922 rt_sigreturn({mask=[]}) = 0 9922 exit_group(0) = ? 9918 <... read resumed> "", 128) = 0 9918 close(3) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9918 rt_sigaction(SIGINT, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 wait4(-1, 9922 +++ exited with 0 +++ 9918 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9922 9918 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9922, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 9918 wait4(-1, 0x7fff31e73550, WNOHANG, NULL) = -1 ECHILD (No child processes) 9918 rt_sigreturn({mask=[]}) = 0 9918 pipe([3, 4]) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f193fb6da10) = 9925 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 rt_sigaction(SIGCHLD, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9918 close(4) = 0 9918 read(3, 9925 getpid() = 9925 9925 close(255) = 0 9925 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9925 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9925 rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9925 rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9925 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9925 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9925 rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9925 rt_sigaction(SIGCHLD, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9925 rt_sigaction(SIGINT, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9925 dup2(4, 1) = 1 9925 close(4) = 0 9925 close(3) = 0 9925 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 9925 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9925 pipe([3, 4]) = 0 9925 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0 9925 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f193fb6da10) = 9926 9925 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 9925 close(4) = 0 9925 close(4) = -1 EBADF (Bad file descriptor) 9926 getpid( 9925 rt_sigprocmask(SIG_BLOCK, [INT CHLD], 9926 <... getpid resumed> ) = 9926 9925 <... rt_sigprocmask resumed> [CHLD], 8) = 0 9926 rt_sigprocmask(SIG_SETMASK, [], 9925 clone( 9926 <... rt_sigprocmask resumed> NULL, 8) = 0 9926 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 9925 <... clone resumed> child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f193fb6da10) = 9927 9926 <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9925 rt_sigprocmask(SIG_SETMASK, [CHLD], 9926 rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9927 getpid( 9926 rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 9927 <... getpid resumed> ) = 9927 9926 <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9926 close(3 9927 rt_sigprocmask(SIG_SETMASK, [], 9926 <... close resumed> ) = 0 9927 <... rt_sigprocmask resumed> NULL, 8) = 0 9926 dup2(4, 1 9927 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 9926 <... dup2 resumed> ) = 1 9927 <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9926 close(4 9927 rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9927 rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9927 dup2(3, 0) = 0 9927 close(3) = 0 9927 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9927 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9927 rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9927 execve("/usr/bin/sed", ["/usr/bin/sed", "-n", "s/.*-> //p"], 0x5596da8f1e60 /* 17 vars */ 9926 <... close resumed> ) = 0 9926 stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9926 stat("/usr/local/sbin/ls", 9927 <... execve resumed> ) = 0 9926 <... stat resumed> 0x7fff31e73600) = -1 ENOENT (No such file or directory) 9927 brk(NULL 9926 stat("/usr/local/bin/ls", 9927 <... brk resumed> ) = 0x55a228595000 9926 <... stat resumed> 0x7fff31e73600) = -1 ENOENT (No such file or directory) 9926 stat("/usr/sbin/ls", 9925 <... rt_sigprocmask resumed> NULL, 8) = 0 9926 <... stat resumed> 0x7fff31e73600) = -1 ENOENT (No such file or directory) 9926 stat("/usr/bin/ls", 9925 close(3 9926 <... stat resumed> {st_mode=S_IFREG|0755, st_size=138856, ...}) = 0 9927 access("/etc/ld.so.preload", R_OK 9926 stat("/usr/bin/ls", 9925 <... close resumed> ) = 0 9926 <... stat resumed> {st_mode=S_IFREG|0755, st_size=138856, ...}) = 0 9926 geteuid( 9927 <... access resumed> ) = -1 ENOENT (No such file or directory) 9926 <... geteuid resumed> ) = 0 9927 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC 9926 getegid() = 0 9926 getuid() = 0 9927 <... openat resumed> ) = 3 9926 getgid( 9927 fstat(3, 9926 <... getgid resumed> ) = 0 9927 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 9927 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3ad7c0e000 9927 close(3) = 0 9926 access("/usr/bin/ls", X_OK 9927 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libacl.so.1", O_RDONLY|O_CLOEXEC 9926 <... access resumed> ) = 0 9927 <... openat resumed> ) = 3 9927 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220#\0\0\0\0\0\0"..., 832) = 832 9927 fstat(3, 9926 stat("/usr/bin/ls", 9927 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=38936, ...}) = 0 9927 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ad7c0c000 9927 mmap(NULL, 41120, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3ad7c01000 9927 mmap(0x7f3ad7c03000, 20480, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f3ad7c03000 9927 mmap(0x7f3ad7c08000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f3ad7c08000 9927 mmap(0x7f3ad7c0a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f3ad7c0a000 9927 close(3) = 0 9927 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libselinux.so.1", O_RDONLY|O_CLOEXEC 9926 <... stat resumed> {st_mode=S_IFREG|0755, st_size=138856, ...}) = 0 9927 <... openat resumed> ) = 3 9927 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@k\0\0\0\0\0\0"..., 832) = 832 9927 fstat(3, 9926 geteuid( 9927 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=155296, ...}) = 0 9927 mmap(NULL, 2259632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3ad79d9000 9927 mprotect(0x7f3ad79fe000, 2093056, PROT_NONE) = 0 9927 mmap(0x7f3ad7bfd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7f3ad7bfd000 9927 mmap(0x7f3ad7bff000, 6832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3ad7bff000 9927 close(3) = 0 9927 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC 9926 <... geteuid resumed> ) = 0 9926 getegid( 9927 <... openat resumed> ) = 3 9927 read(3, 9926 <... getegid resumed> ) = 0 9927 <... read resumed> "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 9927 fstat(3, 9926 getuid( 9927 <... fstat resumed> {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 9927 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3ad7818000 9927 mprotect(0x7f3ad783a000, 1658880, PROT_NONE) = 0 9927 mmap(0x7f3ad783a000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f3ad783a000 9927 mmap(0x7f3ad7982000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f3ad7982000 9927 mmap(0x7f3ad79cf000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f3ad79cf000 9927 mmap(0x7f3ad79d5000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3ad79d5000 9927 close(3) = 0 9927 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libattr.so.1", O_RDONLY|O_CLOEXEC 9926 <... getuid resumed> ) = 0 9926 getgid( 9927 <... openat resumed> ) = 3 9927 read(3, 9926 <... getgid resumed> ) = 0 9927 <... read resumed> "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\"\0\0\0\0\0\0"..., 832) = 832 9927 fstat(3, 9926 access("/usr/bin/ls", R_OK 9927 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=26544, ...}) = 0 9927 mmap(NULL, 28696, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3ad7810000 9927 mmap(0x7f3ad7812000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f3ad7812000 9927 mmap(0x7f3ad7815000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f3ad7815000 9927 mmap(0x7f3ad7816000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f3ad7816000 9927 close(3) = 0 9927 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpcre.so.3", O_RDONLY|O_CLOEXEC 9926 <... access resumed> ) = 0 9926 stat("/usr/bin/ls", 9927 <... openat resumed> ) = 3 9927 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340!\0\0\0\0\0\0"..., 832) = 832 9927 fstat(3, 9926 <... stat resumed> {st_mode=S_IFREG|0755, st_size=138856, ...}) = 0 9927 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=468944, ...}) = 0 9927 mmap(NULL, 471304, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3ad779c000 9927 mmap(0x7f3ad779e000, 335872, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f3ad779e000 9927 mmap(0x7f3ad77f0000, 122880, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x54000) = 0x7f3ad77f0000 9927 mmap(0x7f3ad780e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x71000) = 0x7f3ad780e000 9927 close(3) = 0 9927 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC 9926 stat("/usr/bin/ls", 9927 <... openat resumed> ) = 3 9927 read(3, 9926 <... stat resumed> {st_mode=S_IFREG|0755, st_size=138856, ...}) = 0 9927 <... read resumed> "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\21\0\0\0\0\0\0"..., 832) = 832 9927 fstat(3, 9926 geteuid( 9927 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=14592, ...}) = 0 9927 mmap(NULL, 16656, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3ad7797000 9927 mmap(0x7f3ad7798000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f3ad7798000 9927 mmap(0x7f3ad7799000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f3ad7799000 9927 mmap(0x7f3ad779a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f3ad779a000 9927 close(3) = 0 9927 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC 9926 <... geteuid resumed> ) = 0 9926 getegid( 9927 <... openat resumed> ) = 3 9927 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@l\0\0\0\0\0\0"..., 832) = 832 9927 fstat(3, 9926 <... getegid resumed> ) = 0 9927 <... fstat resumed> {st_mode=S_IFREG|0755, st_size=146968, ...}) = 0 9927 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ad7795000 9927 mmap(NULL, 132288, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3ad7774000 9927 mmap(0x7f3ad777a000, 61440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f3ad777a000 9927 mmap(0x7f3ad7789000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f3ad7789000 9927 mmap(0x7f3ad778f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7f3ad778f000 9927 mmap(0x7f3ad7791000, 13504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3ad7791000 9927 close(3) = 0 9927 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ad7771000 9927 arch_prctl(ARCH_SET_FS, 0x7f3ad7771800) = 0 9926 getuid( 9927 mprotect(0x7f3ad79cf000, 16384, PROT_READ 9926 <... getuid resumed> ) = 0 9926 getgid( 9927 <... mprotect resumed> ) = 0 9926 <... getgid resumed> ) = 0 9927 mprotect(0x7f3ad778f000, 4096, PROT_READ 9926 access("/usr/bin/ls", X_OK 9927 <... mprotect resumed> ) = 0 9926 <... access resumed> ) = 0 9927 mprotect(0x7f3ad779a000, 4096, PROT_READ 9926 stat("/usr/bin/ls", 9927 <... mprotect resumed> ) = 0 9927 mprotect(0x7f3ad780e000, 4096, PROT_READ) = 0 9927 mprotect(0x7f3ad7816000, 4096, PROT_READ) = 0 9927 mprotect(0x7f3ad7bfd000, 4096, PROT_READ) = 0 9927 mprotect(0x7f3ad7c0a000, 4096, PROT_READ) = 0 9926 <... stat resumed> {st_mode=S_IFREG|0755, st_size=138856, ...}) = 0 9927 mprotect(0x55a22704b000, 4096, PROT_READ) = 0 9927 mprotect(0x7f3ad7c3a000, 4096, PROT_READ) = 0 9927 munmap(0x7f3ad7c0e000, 17208 9926 geteuid( 9927 <... munmap resumed> ) = 0 9927 set_tid_address(0x7f3ad7771ad0) = 9927 9927 set_robust_list(0x7f3ad7771ae0, 24) = 0 9927 rt_sigaction(SIGRTMIN, {sa_handler=0x7f3ad777a6b0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f3ad7786730}, NULL, 8) = 0 9927 rt_sigaction(SIGRT_1, {sa_handler=0x7f3ad777a740, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f3ad7786730}, NULL, 8) = 0 9927 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 9927 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 9927 statfs("/sys/fs/selinux", {f_type=SELINUX_MAGIC, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={val=[0, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0 9927 statfs("/sys/fs/selinux", {f_type=SELINUX_MAGIC, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={val=[0, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0 9927 brk(NULL) = 0x55a228595000 9927 brk(0x55a2285b6000) = 0x55a2285b6000 9927 access("/etc/selinux/config", F_OK 9926 <... geteuid resumed> ) = 0 9926 getegid( 9927 <... access resumed> ) = -1 ENOENT (No such file or directory) 9926 <... getegid resumed> ) = 0 9927 openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC 9926 getuid( 9927 <... openat resumed> ) = -1 ENOENT (No such file or directory) 9926 <... getuid resumed> ) = 0 9927 openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC 9926 getgid() = 0 9926 access("/usr/bin/ls", R_OK 9927 <... openat resumed> ) = -1 ENOENT (No such file or directory) 9927 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC 9926 <... access resumed> ) = 0 9927 <... openat resumed> ) = 3 9926 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 9927 fstat(3, 9926 <... rt_sigaction resumed> {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9927 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=252, ...}) = 0 9927 mmap(NULL, 252, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3ad7c12000 9927 close(3) = 0 9927 openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY 9926 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 9927 <... openat resumed> ) = 3 9927 fstat(3, 9926 <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9927 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=26402, ...}) = 0 9927 mmap(NULL, 26402, PROT_READ, MAP_SHARED, 3, 0) = 0x7f3ad776a000 9927 close(3) = 0 9927 futex(0x7f3ad79d4a08, FUTEX_WAKE_PRIVATE, 2147483647) = 0 9927 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC 9926 rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 9927 <... openat resumed> ) = 3 9927 fstat(3, 9926 <... rt_sigaction resumed> {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9927 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=23, ...}) = 0 9927 mmap(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3ad7c11000 9927 close(3) = 0 9927 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC 9926 execve("/usr/bin/ls", ["ls", "-ld", "./tests/gpiod-test"], 0x5596da8f2070 /* 17 vars */ 9927 <... openat resumed> ) = 3 9927 fstat(3, {st_mode=S_IFREG|0644, st_size=47, ...}) = 0 9927 mmap(NULL, 47, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3ad7c10000 9927 close(3) = 0 9927 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_ADDRESS", O_RDONLY|O_CLOEXEC 9926 <... execve resumed> ) = 0 9927 <... openat resumed> ) = 3 9927 fstat(3, 9926 brk(NULL 9927 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=131, ...}) = 0 9927 mmap(NULL, 131, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3ad7c0f000 9927 close(3) = 0 9927 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NAME", O_RDONLY|O_CLOEXEC 9926 <... brk resumed> ) = 0x55ef5c9c9000 9927 <... openat resumed> ) = 3 9927 fstat(3, 9926 access("/etc/ld.so.preload", R_OK 9927 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=62, ...}) = 0 9927 mmap(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3ad7c0e000 9927 close(3) = 0 9927 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_PAPER", O_RDONLY|O_CLOEXEC 9926 <... access resumed> ) = -1 ENOENT (No such file or directory) 9927 <... openat resumed> ) = 3 9927 fstat(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0 9927 mmap(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3ad7769000 9927 close(3) = 0 9927 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES", O_RDONLY|O_CLOEXEC 9926 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC 9927 <... openat resumed> ) = 3 9927 fstat(3, 9926 <... openat resumed> ) = 3 9927 <... fstat resumed> {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9927 close(3) = 0 9927 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC 9926 fstat(3, 9927 <... openat resumed> ) = 3 9927 fstat(3, 9926 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 9927 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=48, ...}) = 0 9927 mmap(NULL, 48, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3ad7768000 9927 close(3) = 0 9927 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MONETARY", O_RDONLY|O_CLOEXEC 9926 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0 9927 <... openat resumed> ) = 3 9927 fstat(3, 9926 <... mmap resumed> ) = 0x7f03d6f19000 9927 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=270, ...}) = 0 9927 mmap(NULL, 270, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3ad7767000 9927 close(3) = 0 9927 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_COLLATE", O_RDONLY|O_CLOEXEC 9926 close(3 9927 <... openat resumed> ) = 3 9927 fstat(3, 9926 <... close resumed> ) = 0 9927 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=1517626, ...}) = 0 9927 mmap(NULL, 1517626, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3ad75f4000 9927 close(3) = 0 9927 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TIME", O_RDONLY|O_CLOEXEC 9926 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libselinux.so.1", O_RDONLY|O_CLOEXEC 9927 <... openat resumed> ) = 3 9927 fstat(3, 9926 <... openat resumed> ) = 3 9927 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=3360, ...}) = 0 9927 mmap(NULL, 3360, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3ad75f3000 9927 close(3) = 0 9927 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NUMERIC", O_RDONLY|O_CLOEXEC 9926 read(3, 9927 <... openat resumed> ) = 3 9927 fstat(3, 9926 <... read resumed> "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@k\0\0\0\0\0\0"..., 832) = 832 9927 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=50, ...}) = 0 9927 mmap(NULL, 50, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3ad75f2000 9927 close(3) = 0 9927 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC 9926 fstat(3, 9927 <... openat resumed> ) = 3 9927 fstat(3, 9926 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=155296, ...}) = 0 9927 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=200752, ...}) = 0 9927 mmap(NULL, 200752, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3ad75c0000 9927 close(3) = 0 9926 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f03d6f17000 9926 mmap(NULL, 2259632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f03d6cef000 9926 mprotect(0x7f03d6d14000, 2093056, PROT_NONE) = 0 9926 mmap(0x7f03d6f13000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7f03d6f13000 9926 mmap(0x7f03d6f15000, 6832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f03d6f15000 9926 close(3) = 0 9926 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC 9925 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 9926 <... openat resumed> ) = 3 9926 read(3, 9925 rt_sigprocmask(SIG_SETMASK, [CHLD], 9926 <... read resumed> "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 9926 fstat(3, 9925 <... rt_sigprocmask resumed> NULL, 8) = 0 9926 <... fstat resumed> {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 9926 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f03d6b2e000 9926 mprotect(0x7f03d6b50000, 1658880, PROT_NONE) = 0 9926 mmap(0x7f03d6b50000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f03d6b50000 9926 mmap(0x7f03d6c98000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f03d6c98000 9926 mmap(0x7f03d6ce5000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f03d6ce5000 9926 mmap(0x7f03d6ceb000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f03d6ceb000 9926 close(3) = 0 9926 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpcre.so.3", O_RDONLY|O_CLOEXEC 9925 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 9926 <... openat resumed> ) = 3 9926 read(3, 9925 rt_sigaction(SIGINT, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 9926 <... read resumed> "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340!\0\0\0\0\0\0"..., 832) = 832 9926 fstat(3, 9925 <... rt_sigaction resumed> {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9926 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=468944, ...}) = 0 9926 mmap(NULL, 471304, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f03d6aba000 9927 fstat(0, 9926 mmap(0x7f03d6abc000, 335872, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000 9927 <... fstat resumed> {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 9926 <... mmap resumed> ) = 0x7f03d6abc000 9927 read(0, 9926 mmap(0x7f03d6b0e000, 122880, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x54000) = 0x7f03d6b0e000 9926 mmap(0x7f03d6b2c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x71000) = 0x7f03d6b2c000 9926 close(3) = 0 9926 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC 9925 wait4(-1, 9926 <... openat resumed> ) = 3 9926 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\21\0\0\0\0\0\0"..., 832) = 832 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=14592, ...}) = 0 9926 mmap(NULL, 16656, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f03d6ab5000 9926 mmap(0x7f03d6ab6000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f03d6ab6000 9926 mmap(0x7f03d6ab7000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f03d6ab7000 9926 mmap(0x7f03d6ab8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f03d6ab8000 9926 close(3) = 0 9926 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 9926 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@l\0\0\0\0\0\0"..., 832) = 832 9926 fstat(3, {st_mode=S_IFREG|0755, st_size=146968, ...}) = 0 9926 mmap(NULL, 132288, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f03d6a94000 9926 mmap(0x7f03d6a9a000, 61440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f03d6a9a000 9926 mmap(0x7f03d6aa9000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f03d6aa9000 9926 mmap(0x7f03d6aaf000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7f03d6aaf000 9926 mmap(0x7f03d6ab1000, 13504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f03d6ab1000 9926 close(3) = 0 9926 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f03d6a92000 9926 arch_prctl(ARCH_SET_FS, 0x7f03d6a93380) = 0 9926 mprotect(0x7f03d6ce5000, 16384, PROT_READ) = 0 9926 mprotect(0x7f03d6aaf000, 4096, PROT_READ) = 0 9926 mprotect(0x7f03d6ab8000, 4096, PROT_READ) = 0 9926 mprotect(0x7f03d6b2c000, 4096, PROT_READ) = 0 9926 mprotect(0x7f03d6f13000, 4096, PROT_READ) = 0 9926 mprotect(0x55ef5b29b000, 4096, PROT_READ) = 0 9926 mprotect(0x7f03d6f45000, 4096, PROT_READ) = 0 9926 munmap(0x7f03d6f19000, 17208) = 0 9926 set_tid_address(0x7f03d6a93650) = 9926 9926 set_robust_list(0x7f03d6a93660, 24) = 0 9926 rt_sigaction(SIGRTMIN, {sa_handler=0x7f03d6a9a6b0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f03d6aa6730}, NULL, 8) = 0 9926 rt_sigaction(SIGRT_1, {sa_handler=0x7f03d6a9a740, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f03d6aa6730}, NULL, 8) = 0 9926 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 9926 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 9926 statfs("/sys/fs/selinux", {f_type=SELINUX_MAGIC, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={val=[0, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0 9926 statfs("/sys/fs/selinux", {f_type=SELINUX_MAGIC, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={val=[0, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0 9926 brk(NULL) = 0x55ef5c9c9000 9926 brk(0x55ef5c9ea000) = 0x55ef5c9ea000 9926 access("/etc/selinux/config", F_OK) = -1 ENOENT (No such file or directory) 9926 openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9926 openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9926 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=252, ...}) = 0 9926 mmap(NULL, 252, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f03d6f1d000 9926 close(3) = 0 9926 openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=26402, ...}) = 0 9926 mmap(NULL, 26402, PROT_READ, MAP_SHARED, 3, 0) = 0x7f03d6a8b000 9926 close(3) = 0 9926 futex(0x7f03d6ceaa08, FUTEX_WAKE_PRIVATE, 2147483647) = 0 9926 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = 3 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0 9926 mmap(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f03d6f1c000 9926 close(3) = 0 9926 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = 3 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=47, ...}) = 0 9926 mmap(NULL, 47, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f03d6f1b000 9926 close(3) = 0 9926 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = 3 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=131, ...}) = 0 9926 mmap(NULL, 131, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f03d6f1a000 9926 close(3) = 0 9926 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NAME", O_RDONLY|O_CLOEXEC) = 3 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0 9926 mmap(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f03d6f19000 9926 close(3) = 0 9926 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_PAPER", O_RDONLY|O_CLOEXEC) = 3 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0 9926 mmap(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f03d6a8a000 9926 close(3) = 0 9926 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 9926 fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9926 close(3) = 0 9926 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=48, ...}) = 0 9926 mmap(NULL, 48, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f03d6a89000 9926 close(3) = 0 9926 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = 3 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=270, ...}) = 0 9926 mmap(NULL, 270, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f03d6a88000 9926 close(3) = 0 9926 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_COLLATE", O_RDONLY|O_CLOEXEC) = 3 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=1517626, ...}) = 0 9926 mmap(NULL, 1517626, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f03d6915000 9926 close(3) = 0 9926 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TIME", O_RDONLY|O_CLOEXEC) = 3 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=3360, ...}) = 0 9926 mmap(NULL, 3360, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f03d6914000 9926 close(3) = 0 9926 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = 3 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0 9926 mmap(NULL, 50, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f03d6913000 9926 close(3) = 0 9926 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=200752, ...}) = 0 9926 mmap(NULL, 200752, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f03d68e1000 9926 close(3) = 0 9926 ioctl(1, TCGETS, 0x7fff06bae630) = -1 ENOTTY (Inappropriate ioctl for device) 9926 ioctl(1, TIOCGWINSZ, 0x7fff06bae700) = -1 ENOTTY (Inappropriate ioctl for device) 9926 openat(AT_FDCWD, "/usr/share/locale/C.UTF-8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) 9926 openat(AT_FDCWD, "/usr/share/locale/C.utf8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) 9926 openat(AT_FDCWD, "/usr/share/locale/C/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) 9926 lstat("./tests/gpiod-test", {st_mode=S_IFREG|0755, st_size=6315, ...}) = 0 9926 lgetxattr("./tests/gpiod-test", "security.selinux", "unlabeled", 255) = 10 9926 access("/var/run/setrans/.setrans-unix", F_OK) = -1 ENOENT (No such file or directory) 9926 futex(0x7f03d6f16a90, FUTEX_WAKE_PRIVATE, 2147483647) = 0 9926 getxattr("./tests/gpiod-test", "system.posix_acl_access", NULL, 0) = -1 EOPNOTSUPP (Operation not supported) 9926 socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3 9926 connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) 9926 close(3) = 0 9926 socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3 9926 connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) 9926 close(3) = 0 9926 openat(AT_FDCWD, "/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=494, ...}) = 0 9926 read(3, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 494 9926 read(3, "", 4096) = 0 9926 close(3) = 0 9926 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 9926 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f03d68dc000 9926 close(3) = 0 9926 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3 9926 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0003\0\0\0\0\0\0"..., 832) = 832 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=55792, ...}) = 0 9926 mmap(NULL, 83768, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f03d68c7000 9926 mprotect(0x7f03d68ca000, 40960, PROT_NONE) = 0 9926 mmap(0x7f03d68ca000, 28672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f03d68ca000 9926 mmap(0x7f03d68d1000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x7f03d68d1000 9926 mmap(0x7f03d68d4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7f03d68d4000 9926 mmap(0x7f03d68d6000, 22328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f03d68d6000 9926 close(3) = 0 9926 mprotect(0x7f03d68d4000, 4096, PROT_READ) = 0 9926 munmap(0x7f03d68dc000, 17208) = 0 9926 openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 3 9926 lseek(3, 0, SEEK_CUR) = 0 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=1243, ...}) = 0 9926 read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1243 9926 close(3) = 0 9926 socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3 9926 connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) 9926 close(3) = 0 9926 socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3 9926 connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) 9926 close(3) = 0 9926 openat(AT_FDCWD, "/etc/group", O_RDONLY|O_CLOEXEC) = 3 9926 lseek(3, 0, SEEK_CUR) = 0 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=627, ...}) = 0 9926 read(3, "root:x:0:\ndaemon:x:1:\nbin:x:2:\ns"..., 4096) = 627 9926 close(3) = 0 9926 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 9926 openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 3 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=127, ...}) = 0 9926 fstat(3, {st_mode=S_IFREG|0644, st_size=127, ...}) = 0 9926 read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\0"..., 4096) = 127 9926 lseek(3, -71, SEEK_CUR) = 56 9926 read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\0"..., 4096) = 71 9926 close(3) = 0 9926 write(1, "-rwxr-xr-x 1 root root 6315 Mar "..., 60 9927 <... read resumed> "-rwxr-xr-x 1 root root 6315 Mar "..., 4096) = 60 9926 <... write resumed> ) = 60 9927 read(0, 9926 close(1) = 0 9927 <... read resumed> "", 4096) = 0 9926 close(2) = 0 9927 close(1 9926 exit_group(0 9927 <... close resumed> ) = 0 9926 <... exit_group resumed>) = ? 9927 exit_group(0) = ? 9926 +++ exited with 0 +++ 9925 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9926 9925 wait4(-1, 9927 +++ exited with 0 +++ 9925 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9927 9925 rt_sigaction(SIGINT, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9925 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 9925 close(3) = -1 EBADF (Bad file descriptor) 9925 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9925 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9926, si_uid=0, si_status=0, si_utime=5, si_stime=10} --- 9925 wait4(-1, 0x7fff31e73550, WNOHANG, NULL) = -1 ECHILD (No child processes) 9925 rt_sigreturn({mask=[]}) = 0 9925 exit_group(0) = ? 9918 <... read resumed> "", 128) = 0 9925 +++ exited with 0 +++ 9918 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9925, si_uid=0, si_status=0, si_utime=0, si_stime=1} --- 9918 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 9925 9918 wait4(-1, 0x7fff31e73850, WNOHANG, NULL) = -1 ECHILD (No child processes) 9918 rt_sigreturn({mask=[]}) = 0 9918 close(3) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9918 rt_sigaction(SIGINT, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 pipe([3, 4]) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f193fb6da10) = 9928 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 rt_sigaction(SIGCHLD, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9918 close(4) = 0 9918 read(3, 9928 getpid() = 9928 9928 close(255) = 0 9928 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9928 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9928 rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9928 rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9928 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9928 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9928 rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9928 rt_sigaction(SIGCHLD, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9928 rt_sigaction(SIGINT, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9928 dup2(4, 1) = 1 9928 close(4) = 0 9928 close(3) = 0 9928 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 9928 stat("/libgpiod", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9928 stat("/libgpiod/tests", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9928 chdir("/libgpiod/tests") = 0 9928 stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9928 stat("/libgpiod/tests", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9928 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 9928 write(1, "/libgpiod/tests\n", 16 9918 <... read resumed> "/libgpiod/tests\n", 128) = 16 9928 <... write resumed> ) = 16 9918 read(3, 9928 exit_group(0) = ? 9918 <... read resumed> "", 128) = 0 9928 +++ exited with 0 +++ 9918 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9928, si_uid=0, si_status=0, si_utime=0, si_stime=1} --- 9918 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 9928 9918 wait4(-1, 0x7fff31e73c50, WNOHANG, NULL) = -1 ECHILD (No child processes) 9918 rt_sigreturn({mask=[]}) = 0 9918 close(3) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9918 rt_sigaction(SIGINT, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 stat("/libgpiod/tests/.libs/gpiod-test", {st_mode=S_IFREG|0755, st_size=407960, ...}) = 0 9918 pipe([3, 4]) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f193fb6da10) = 9929 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 rt_sigaction(SIGCHLD, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9918 close(4) = 0 9918 read(3, 9929 getpid() = 9929 9929 close(255) = 0 9929 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9929 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9929 rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9929 rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9929 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9929 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9929 rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9929 rt_sigaction(SIGCHLD, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9929 rt_sigaction(SIGINT, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9929 dup2(4, 1) = 1 9929 close(4) = 0 9929 close(3) = 0 9929 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 9929 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9929 pipe([3, 4]) = 0 9929 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0 9929 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f193fb6da10) = 9930 9929 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 9929 close(4) = 0 9929 close(4) = -1 EBADF (Bad file descriptor) 9929 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0 9929 clone( 9930 getpid( 9929 <... clone resumed> child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f193fb6da10) = 9931 9930 <... getpid resumed> ) = 9930 9929 rt_sigprocmask(SIG_SETMASK, [CHLD], 9930 rt_sigprocmask(SIG_SETMASK, [], 9929 <... rt_sigprocmask resumed> NULL, 8) = 0 9930 <... rt_sigprocmask resumed> NULL, 8) = 0 9929 close(3 9930 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 9931 getpid( 9930 <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9931 <... getpid resumed> ) = 9931 9930 rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9931 rt_sigprocmask(SIG_SETMASK, [], 9930 rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 9931 <... rt_sigprocmask resumed> NULL, 8) = 0 9930 <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9931 rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 9930 close(3 9931 <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9930 <... close resumed> ) = 0 9931 rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 9930 dup2(4, 1 9931 <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9931 rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9931 dup2(3, 0) = 0 9931 close(3) = 0 9931 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 9930 <... dup2 resumed> ) = 1 9931 <... rt_sigaction resumed> {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9930 close(4 9931 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 9930 <... close resumed> ) = 0 9931 <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9931 rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9931 execve("/usr/bin/sed", ["/usr/bin/sed", "s/::*$//"], 0x5596da8f1e60 /* 17 vars */ 9930 openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 9930 fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9930 brk(0x5596da92f000) = 0x5596da92f000 9930 getdents64(3 9929 <... close resumed> ) = 0 9930 <... getdents64 resumed> , /* 34 entries */, 32768) = 1064 9930 getdents64(3, /* 0 entries */, 32768) = 0 9930 brk(0x5596da927000) = 0x5596da927000 9930 close(3 9929 rt_sigprocmask(SIG_BLOCK, [CHLD], 9930 <... close resumed> ) = 0 9930 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9930 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9930 rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9931 <... execve resumed> ) = 0 9930 rt_sigprocmask(SIG_BLOCK, [CHLD], 9931 brk(NULL 9930 <... rt_sigprocmask resumed> [], 8) = 0 9931 <... brk resumed> ) = 0x55b897b30000 9930 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9930 ioctl(2, TIOCGPGRP, 0x7fff31e73c34) = -1 ENOTTY (Inappropriate ioctl for device) 9930 rt_sigaction(SIGCHLD, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9930 rt_sigaction(SIGINT, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9930 fstat(1, 9931 access("/etc/ld.so.preload", R_OK 9930 <... fstat resumed> {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 9930 write(1, "/libgpiod/src/lib/.libs:\n", 25) = 25 9930 exit_group(0) = ? 9931 <... access resumed> ) = -1 ENOENT (No such file or directory) 9930 +++ exited with 0 +++ 9929 <... rt_sigprocmask resumed> [CHLD], 8) = 0 9929 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 9931 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC 9929 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 9929 rt_sigaction(SIGINT, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9929 wait4(-1, 9931 <... openat resumed> ) = 3 9929 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9930 9931 fstat(3, 9929 wait4(-1, 9931 <... fstat resumed> {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 9931 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0d7c5d1000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libacl.so.1", O_RDONLY|O_CLOEXEC) = 3 9931 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220#\0\0\0\0\0\0"..., 832) = 832 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=38936, ...}) = 0 9931 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0d7c5cf000 9931 mmap(NULL, 41120, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0d7c5c4000 9931 mmap(0x7f0d7c5c6000, 20480, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f0d7c5c6000 9931 mmap(0x7f0d7c5cb000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f0d7c5cb000 9931 mmap(0x7f0d7c5cd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f0d7c5cd000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3 9931 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@k\0\0\0\0\0\0"..., 832) = 832 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=155296, ...}) = 0 9931 mmap(NULL, 2259632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0d7c39c000 9931 mprotect(0x7f0d7c3c1000, 2093056, PROT_NONE) = 0 9931 mmap(0x7f0d7c5c0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7f0d7c5c0000 9931 mmap(0x7f0d7c5c2000, 6832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0d7c5c2000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 9931 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 9931 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 9931 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0d7c1db000 9931 mprotect(0x7f0d7c1fd000, 1658880, PROT_NONE) = 0 9931 mmap(0x7f0d7c1fd000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f0d7c1fd000 9931 mmap(0x7f0d7c345000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f0d7c345000 9931 mmap(0x7f0d7c392000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f0d7c392000 9931 mmap(0x7f0d7c398000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0d7c398000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libattr.so.1", O_RDONLY|O_CLOEXEC) = 3 9931 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\"\0\0\0\0\0\0"..., 832) = 832 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=26544, ...}) = 0 9931 mmap(NULL, 28696, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0d7c1d3000 9931 mmap(0x7f0d7c1d5000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f0d7c1d5000 9931 mmap(0x7f0d7c1d8000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f0d7c1d8000 9931 mmap(0x7f0d7c1d9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f0d7c1d9000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpcre.so.3", O_RDONLY|O_CLOEXEC) = 3 9931 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340!\0\0\0\0\0\0"..., 832) = 832 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=468944, ...}) = 0 9931 mmap(NULL, 471304, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0d7c15f000 9931 mmap(0x7f0d7c161000, 335872, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f0d7c161000 9931 mmap(0x7f0d7c1b3000, 122880, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x54000) = 0x7f0d7c1b3000 9931 mmap(0x7f0d7c1d1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x71000) = 0x7f0d7c1d1000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 9931 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\21\0\0\0\0\0\0"..., 832) = 832 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=14592, ...}) = 0 9931 mmap(NULL, 16656, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0d7c15a000 9931 mmap(0x7f0d7c15b000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f0d7c15b000 9931 mmap(0x7f0d7c15c000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f0d7c15c000 9931 mmap(0x7f0d7c15d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f0d7c15d000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 9931 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@l\0\0\0\0\0\0"..., 832) = 832 9931 fstat(3, {st_mode=S_IFREG|0755, st_size=146968, ...}) = 0 9931 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0d7c158000 9931 mmap(NULL, 132288, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0d7c137000 9931 mmap(0x7f0d7c13d000, 61440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f0d7c13d000 9931 mmap(0x7f0d7c14c000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f0d7c14c000 9931 mmap(0x7f0d7c152000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7f0d7c152000 9931 mmap(0x7f0d7c154000, 13504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0d7c154000 9931 close(3) = 0 9931 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0d7c134000 9931 arch_prctl(ARCH_SET_FS, 0x7f0d7c134800) = 0 9931 mprotect(0x7f0d7c392000, 16384, PROT_READ) = 0 9931 mprotect(0x7f0d7c152000, 4096, PROT_READ) = 0 9931 mprotect(0x7f0d7c15d000, 4096, PROT_READ) = 0 9931 mprotect(0x7f0d7c1d1000, 4096, PROT_READ) = 0 9931 mprotect(0x7f0d7c1d9000, 4096, PROT_READ) = 0 9931 mprotect(0x7f0d7c5c0000, 4096, PROT_READ) = 0 9931 mprotect(0x7f0d7c5cd000, 4096, PROT_READ) = 0 9931 mprotect(0x55b896a50000, 4096, PROT_READ) = 0 9931 mprotect(0x7f0d7c5fd000, 4096, PROT_READ) = 0 9931 munmap(0x7f0d7c5d1000, 17208) = 0 9931 set_tid_address(0x7f0d7c134ad0) = 9931 9931 set_robust_list(0x7f0d7c134ae0, 24) = 0 9931 rt_sigaction(SIGRTMIN, {sa_handler=0x7f0d7c13d6b0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f0d7c149730}, NULL, 8) = 0 9931 rt_sigaction(SIGRT_1, {sa_handler=0x7f0d7c13d740, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f0d7c149730}, NULL, 8) = 0 9931 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 9931 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 9931 statfs("/sys/fs/selinux", {f_type=SELINUX_MAGIC, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={val=[0, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0 9931 statfs("/sys/fs/selinux", {f_type=SELINUX_MAGIC, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={val=[0, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0 9931 brk(NULL) = 0x55b897b30000 9931 brk(0x55b897b51000) = 0x55b897b51000 9931 access("/etc/selinux/config", F_OK) = -1 ENOENT (No such file or directory) 9931 openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9931 openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9931 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=252, ...}) = 0 9931 mmap(NULL, 252, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0d7c5d5000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=26402, ...}) = 0 9931 mmap(NULL, 26402, PROT_READ, MAP_SHARED, 3, 0) = 0x7f0d7c12d000 9931 close(3) = 0 9931 futex(0x7f0d7c397a08, FUTEX_WAKE_PRIVATE, 2147483647) = 0 9931 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = 3 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0 9931 mmap(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0d7c5d4000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = 3 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=47, ...}) = 0 9931 mmap(NULL, 47, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0d7c5d3000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = 3 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=131, ...}) = 0 9931 mmap(NULL, 131, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0d7c5d2000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NAME", O_RDONLY|O_CLOEXEC) = 3 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0 9931 mmap(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0d7c5d1000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_PAPER", O_RDONLY|O_CLOEXEC) = 3 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0 9931 mmap(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0d7c12c000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 9931 fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9931 close(3) = 0 9931 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=48, ...}) = 0 9931 mmap(NULL, 48, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0d7c12b000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = 3 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=270, ...}) = 0 9931 mmap(NULL, 270, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0d7c12a000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_COLLATE", O_RDONLY|O_CLOEXEC) = 3 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=1517626, ...}) = 0 9931 mmap(NULL, 1517626, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0d7bfb7000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TIME", O_RDONLY|O_CLOEXEC) = 3 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=3360, ...}) = 0 9931 mmap(NULL, 3360, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0d7bfb6000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = 3 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0 9931 mmap(NULL, 50, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0d7bfb5000 9931 close(3) = 0 9931 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3 9931 fstat(3, {st_mode=S_IFREG|0644, st_size=200752, ...}) = 0 9931 mmap(NULL, 200752, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0d7bf83000 9931 close(3) = 0 9931 fstat(0, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 9931 read(0, "/libgpiod/src/lib/.libs:\n", 4096) = 25 9931 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 9931 read(0, "", 4096) = 0 9931 write(1, "/libgpiod/src/lib/.libs\n", 24 9918 <... read resumed> "/libgpiod/src/lib/.libs\n", 128) = 24 9931 <... write resumed> ) = 24 9918 read(3, 9931 close(1) = 0 9931 exit_group(0) = ? 9931 +++ exited with 0 +++ 9929 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9931 9929 rt_sigaction(SIGINT, {sa_handler=0x5596d8f26d70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9929 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 9929 close(3) = -1 EBADF (Bad file descriptor) 9929 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9929 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9930, si_uid=0, si_status=0, si_utime=0, si_stime=1} --- 9929 wait4(-1, 0x7fff31e73950, WNOHANG, NULL) = -1 ECHILD (No child processes) 9929 rt_sigreturn({mask=[]}) = 0 9929 exit_group(0) = ? 9918 <... read resumed> "", 128) = 0 9918 close(3) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 9918 rt_sigaction(SIGINT, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 wait4(-1, 9929 +++ exited with 0 +++ 9918 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9929 9918 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f06df0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 9918 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9929, si_uid=0, si_status=0, si_utime=0, si_stime=1} --- 9918 wait4(-1, 0x7fff31e73b50, WNOHANG, NULL) = -1 ECHILD (No child processes) 9918 rt_sigreturn({mask=[]}) = 0 9918 brk(0x5596da928000) = 0x5596da928000 9918 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f193fba7940}, 8) = 0 9918 rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, {sa_handler=0x5596d8f0a410, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f193fba7940}, 8) = 0 9918 execve("/libgpiod/tests/.libs/gpiod-test", ["/libgpiod/tests/.libs/gpiod-test"], 0x5596da907180 /* 17 vars */) = 0 9918 brk(NULL) = 0x564d1c13a000 9918 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7fffb2965ef0) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fffb2965ef0) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fffb2965ef0) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/libgpiod/src/lib/.libs/tls", 0x7fffb2965ef0) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7fffb2965ef0) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fffb2965ef0) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fffb2965ef0) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 9918 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 9918 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 9918 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f08f8d98000 9918 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f08f8d8e000 9918 mmap(0x7f08f8d91000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f08f8d91000 9918 mmap(0x7f08f8d94000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f08f8d94000 9918 mmap(0x7f08f8d96000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f08f8d96000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libkmod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libkmod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7fffb2965ed0) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libkmod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fffb2965ed0) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libkmod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fffb2965ed0) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libkmod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7fffb2965ed0) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libkmod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7fffb2965ed0) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libkmod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fffb2965ed0) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libkmod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fffb2965ed0) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libkmod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9918 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 9918 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f08f8d89000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libkmod.so.2", O_RDONLY|O_CLOEXEC) = 3 9918 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`G\0\0\0\0\0\0"..., 832) = 832 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=104496, ...}) = 0 9918 mmap(NULL, 106568, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f08f8d6e000 9918 mprotect(0x7f08f8d72000, 86016, PROT_NONE) = 0 9918 mmap(0x7f08f8d72000, 61440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7f08f8d72000 9918 mmap(0x7f08f8d81000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x7f08f8d81000 9918 mmap(0x7f08f8d87000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18000) = 0x7f08f8d87000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libudev.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libudev.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libudev.so.1", O_RDONLY|O_CLOEXEC) = 3 9918 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20G\0\0\0\0\0\0"..., 832) = 832 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=149704, ...}) = 0 9918 mmap(NULL, 153864, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f08f8d48000 9918 mprotect(0x7f08f8d4c000, 131072, PROT_NONE) = 0 9918 mmap(0x7f08f8d4c000, 94208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7f08f8d4c000 9918 mmap(0x7f08f8d63000, 32768, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7f08f8d63000 9918 mmap(0x7f08f8d6c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23000) = 0x7f08f8d6c000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 9918 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@l\0\0\0\0\0\0"..., 832) = 832 9918 fstat(3, {st_mode=S_IFREG|0755, st_size=146968, ...}) = 0 9918 mmap(NULL, 132288, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f08f8d27000 9918 mmap(0x7f08f8d2d000, 61440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f08f8d2d000 9918 mmap(0x7f08f8d3c000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f08f8d3c000 9918 mmap(0x7f08f8d42000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7f08f8d42000 9918 mmap(0x7f08f8d44000, 13504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f08f8d44000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 9918 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 9918 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 9918 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f08f8b66000 9918 mprotect(0x7f08f8b88000, 1658880, PROT_NONE) = 0 9918 mmap(0x7f08f8b88000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f08f8b88000 9918 mmap(0x7f08f8cd0000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f08f8cd0000 9918 mmap(0x7f08f8d1d000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f08f8d1d000 9918 mmap(0x7f08f8d23000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f08f8d23000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 3 9918 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0205\0\0\0\0\0\0"..., 832) = 832 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=158400, ...}) = 0 9918 mmap(NULL, 160400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f08f8b3e000 9918 mmap(0x7f08f8b41000, 98304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f08f8b41000 9918 mmap(0x7f08f8b59000, 45056, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7f08f8b59000 9918 mmap(0x7f08f8b64000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f08f8b64000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libssl.so.1.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libssl.so.1.1", O_RDONLY|O_CLOEXEC) = 3 9918 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\364\1\0\0\0\0\0"..., 832) = 832 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=589600, ...}) = 0 9918 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f08f8b3c000 9918 mmap(NULL, 592176, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f08f8aab000 9918 mmap(0x7f08f8ac8000, 315392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d000) = 0x7f08f8ac8000 9918 mmap(0x7f08f8b15000, 106496, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6a000) = 0x7f08f8b15000 9918 mmap(0x7f08f8b2f000, 53248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x83000) = 0x7f08f8b2f000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libcrypto.so.1.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libcrypto.so.1.1", O_RDONLY|O_CLOEXEC) = 3 9918 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\360\10\0\0\0\0\0"..., 832) = 832 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=3040096, ...}) = 0 9918 mmap(NULL, 3055464, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f08f87c1000 9918 mprotect(0x7f08f8846000, 2293760, PROT_NONE) = 0 9918 mmap(0x7f08f8846000, 1708032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x85000) = 0x7f08f8846000 9918 mmap(0x7f08f89e7000, 581632, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x226000) = 0x7f08f89e7000 9918 mmap(0x7f08f8a76000, 204800, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2b4000) = 0x7f08f8a76000 9918 mmap(0x7f08f8aa8000, 12136, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f08f8aa8000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3 9918 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260#\0\0\0\0\0\0"..., 832) = 832 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=35808, ...}) = 0 9918 mmap(NULL, 39904, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f08f87b7000 9918 mmap(0x7f08f87b9000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f08f87b9000 9918 mmap(0x7f08f87bd000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f08f87bd000 9918 mmap(0x7f08f87bf000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f08f87bf000 9918 close(3) = 0 9918 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 9918 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\21\0\0\0\0\0\0"..., 832) = 832 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=14592, ...}) = 0 9918 mmap(NULL, 16656, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f08f87b2000 9918 mmap(0x7f08f87b3000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f08f87b3000 9918 mmap(0x7f08f87b4000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f08f87b4000 9918 mmap(0x7f08f87b5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f08f87b5000 9918 close(3) = 0 9918 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f08f87b0000 9918 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f08f87ae000 9918 arch_prctl(ARCH_SET_FS, 0x7f08f87b16c0) = 0 9918 mprotect(0x7f08f8d1d000, 16384, PROT_READ) = 0 9918 mprotect(0x7f08f87b5000, 4096, PROT_READ) = 0 9918 mprotect(0x7f08f8d42000, 4096, PROT_READ) = 0 9918 mprotect(0x7f08f87bf000, 4096, PROT_READ) = 0 9918 mprotect(0x7f08f8a76000, 196608, PROT_READ) = 0 9918 mprotect(0x7f08f8b2f000, 36864, PROT_READ) = 0 9918 mprotect(0x7f08f8b64000, 4096, PROT_READ) = 0 9918 mprotect(0x7f08f8d6c000, 4096, PROT_READ) = 0 9918 mprotect(0x7f08f8d87000, 4096, PROT_READ) = 0 9918 mprotect(0x7f08f8d96000, 4096, PROT_READ) = 0 9918 mprotect(0x564d1ba87000, 4096, PROT_READ) = 0 9918 mprotect(0x7f08f8dc1000, 4096, PROT_READ) = 0 9918 munmap(0x7f08f8d89000, 17208) = 0 9918 set_tid_address(0x7f08f87b1990) = 9918 9918 set_robust_list(0x7f08f87b19a0, 24) = 0 9918 rt_sigaction(SIGRTMIN, {sa_handler=0x7f08f8d2d6b0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f08f8d39730}, NULL, 8) = 0 9918 rt_sigaction(SIGRT_1, {sa_handler=0x7f08f8d2d740, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f08f8d39730}, NULL, 8) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 9918 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 9918 getpid() = 9918 9918 pipe([3, 4]) = 0 9918 fcntl(3, F_GETPIPE_SZ) = 65536 9918 close(3) = 0 9918 close(4) = 0 9918 brk(NULL) = 0x564d1c13a000 9918 brk(0x564d1c15b000) = 0x564d1c15b000 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "[INFO] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "libgpiod test suite", 19) = 19 9918 write(2, "\n", 1) = 1 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "[INFO] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "117 tests registered", 20) = 20 9918 write(2, "\n", 1) = 1 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "[INFO] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "checking the linux kernel versio"..., 33) = 33 9918 write(2, "\n", 1) = 1 9918 uname({sysname="Linux", nodename="compilator", ...}) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "[INFO] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "kernel release is v5.0.1 - ok to"..., 42) = 42 9918 write(2, "\n", 1) = 1 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "[INFO] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "checking gpio-mockup availabilit"..., 33) = 33 9918 write(2, "\n", 1) = 1 9918 uname({sysname="Linux", nodename="compilator", ...}) = 0 9918 stat("/etc/modprobe.d", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9918 openat(AT_FDCWD, "/etc/modprobe.d", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 9918 fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9918 getdents64(3, /* 2 entries */, 32768) = 48 9918 getdents64(3, /* 0 entries */, 32768) = 0 9918 close(3) = 0 9918 stat("/run/modprobe.d", 0x7fffb2965a60) = -1 ENOENT (No such file or directory) 9918 stat("/lib/modprobe.d", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9918 openat(AT_FDCWD, "/lib/modprobe.d", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 9918 fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 9918 getdents64(3, /* 5 entries */, 32768) = 152 9918 newfstatat(3, "fbdev-blacklist.conf", {st_mode=S_IFREG|0644, st_size=390, ...}, 0) = 0 9918 newfstatat(3, "systemd.conf", {st_mode=S_IFREG|0644, st_size=765, ...}, 0) = 0 9918 newfstatat(3, "aliases.conf", {st_mode=S_IFREG|0644, st_size=655, ...}, 0) = 0 9918 getdents64(3, /* 0 entries */, 32768) = 0 9918 close(3) = 0 9918 openat(AT_FDCWD, "/lib/modprobe.d/aliases.conf", O_RDONLY|O_CLOEXEC) = 3 9918 fcntl(3, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=655, ...}) = 0 9918 read(3, "# These are the standard aliases"..., 4096) = 655 9918 read(3, "", 4096) = 0 9918 close(3) = 0 9918 openat(AT_FDCWD, "/lib/modprobe.d/fbdev-blacklist.conf", O_RDONLY|O_CLOEXEC) = 3 9918 fcntl(3, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=390, ...}) = 0 9918 read(3, "# This file blacklists most old-"..., 4096) = 390 9918 read(3, "", 4096) = 0 9918 close(3) = 0 9918 openat(AT_FDCWD, "/lib/modules/5.0.1/modules.softdep", O_RDONLY|O_CLOEXEC) = 3 9918 fcntl(3, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=55, ...}) = 0 9918 read(3, "# Soft dependencies extracted fr"..., 4096) = 55 9918 read(3, "", 4096) = 0 9918 close(3) = 0 9918 openat(AT_FDCWD, "/lib/modprobe.d/systemd.conf", O_RDONLY|O_CLOEXEC) = 3 9918 fcntl(3, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=765, ...}) = 0 9918 read(3, "# SPDX-License-Identifier: LGPL"..., 4096) = 765 9918 read(3, "", 4096) = 0 9918 close(3) = 0 9918 openat(AT_FDCWD, "/proc/cmdline", O_RDONLY|O_CLOEXEC) = 3 9918 read(3, "root=/dev/root rootfstype=9p roo"..., 4095) = 66 9918 read(3, "", 4029) = 0 9918 close(3) = 0 9918 openat(AT_FDCWD, "/lib/modules/5.0.1/modules.dep.bin", O_RDONLY|O_CLOEXEC) = 3 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=2159, ...}) = 0 9918 read(3, "\260\7\364W\0\2\0\1 \0\10\25rypto_engine\0\0\0\0\1\0\0\0"..., 4096) = 2159 9918 lseek(3, 0, SEEK_SET) = 0 9918 read(3, "\260\7\364W\0\2\0\1 \0\10\25rypto_engine\0\0\0\0\1\0\0\0"..., 4096) = 2159 9918 lseek(3, 2159, SEEK_SET) = 2159 9918 close(3) = 0 9918 openat(AT_FDCWD, "/lib/modules/5.0.1/modules.builtin.bin", O_RDONLY|O_CLOEXEC) = 3 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=13387, ...}) = 0 9918 read(3, "\260\7\364W\0\2\0\1 \0003=39too\0\0\0\0\1\0\0\0\0\0ase\0\0"..., 4096) = 4096 9918 lseek(3, 12288, SEEK_SET) = 12288 9918 read(3, "\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"..., 4096) = 1099 9918 lseek(3, 0, SEEK_SET) = 0 9918 read(3, "\260\7\364W\0\2\0\1 \0003=39too\0\0\0\0\1\0\0\0\0\0ase\0\0"..., 4096) = 4096 9918 close(3) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/lib/modules/5.0.1/kernel/drivers/gpio/gpio-mockup.ko", O_RDONLY|O_CLOEXEC) = 3 9918 read(3, "\177ELF\2\1", 6) = 6 9918 lseek(3, 0, SEEK_SET) = 0 9918 fstat(3, {st_mode=S_IFREG|0644, st_size=15944, ...}) = 0 9918 mmap(NULL, 15944, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f08f8d8a000 9918 finit_module(3, "gpio_mockup_ranges=-1,4", 0) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "[INFO] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "gpio-mockup ok", 14) = 14 9918 write(2, "\n", 1) = 1 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "[INFO] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "running tests", 13) = 13 9918 write(2, "\n", 1) = 1 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 getpid() = 9918 9918 gettid() = 9918 9918 getrandom("\xa9\xe4\x40\x94\x29\x7f\x66\xdd\x5e\x58\x9e\x7f\x28\xd4\x83\xa4", 16, GRND_NONBLOCK) = 16 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xe3\x39\x1f\x1b\xd0\x75\x71\x1b\x28\xbd\x5c\xd1\xb3\x21\xc8\x2f", 16, GRND_NONBLOCK) = 16 9918 getrandom("\x52\x63\xac\x06\xec\x35\x91\xe3\x83\xbb\xa1\xda\xb2\xbd\x42\x7b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xa9\x0c\x22\xaf\x9b\x47\x4d\xc7\x1f\x81\x86\x7b\x13\x2d\x3f\x58", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_open() - good': ", 28) = 28 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b20) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xf8\x1c\x93\x8c\x39\xae\xa0\x38\xde\x8b\x19\x4f\xac\x6b\xa7\x12", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xe5\x2c\xc3\xd9\x62\x88\xe6\x4e\x84\xae\xdd\x25\xdb\xd4\x11\x91", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x3c\x9d\x68\x4b\xbf\x40\x81\xf3\x10\x4a\xcc\xf1\x1e\x02\xfe\xb5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x82\x3c\x32\xd3\x52\xa6\x50\x15\xb8\x01\xfa\x13\x27\x83\x7a\xca", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_open() - nonexistent"..., 40) = 40 9918 openat(AT_FDCWD, "/dev/nonexistent_gpiochip", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xeb\xa5\xba\x7f\xe2\xf2\xb3\x5d\x87\x46\x24\x6a\x3e\xbe\x65\x1f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xe9\x04\xc0\xa8\x3d\x99\xf7\xd9\x49\xbc\x1d\x10\xf4\xab\x84\xda", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_open() - notty': ", 29) = 29 9918 openat(AT_FDCWD, "/dev/null", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/null", {st_mode=S_IFCHR|0666, st_rdev=makedev(0x1, 0x3), ...}) = 0 9918 access("/sys/bus/gpio/devices/null/dev", R_OK) = -1 ENOENT (No such file or directory) 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xe3\xc8\xd2\x8a\x90\x4c\xee\x6e\x40\x4f\x6f\x0d\x13\x78\xb5\x60", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x83\xfd\x5b\xfe\x30\xe4\xd6\xcf\xe9\xc5\x1c\x11\x1a\x9f\x4a\xe2", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x00\x85\xfb\x10\xcf\xce\x71\x87\xf9\xa1\xd6\xce\xf4\x5a\x8b\xeb", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xf0\x3e\x6a\x9c\x6d\x7c\xea\xcc\x98\x26\x7c\xf3\x53\x96\x67\xf4", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_open_by_name() - goo"..., 36) = 36 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b00) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x40\xf7\x9e\x83\xfc\x64\xaf\xbb\x75\xa9\x0d\x54\x46\x50\x2b\x13", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xbc\x76\x67\x9a\xc5\xd9\x40\x78\xed\x14\xcf\x4b\xfe\x31\xd1\xcd", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_open_by_number() - g"..., 38) = 38 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b00) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-966273628, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9953, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x4c\x93\xab\xbf\xee\x65\xe8\xec\x21\x4c\xac\x5c\xb4\xb7\xfc\x6f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1054191569, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9955, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x66\x1a\xdb\x73\x71\x24\xf7\xe3\xb2\x73\xec\xee\x86\x62\x1d\xf4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x2c\x1e\x6e\xce\xa7\x51\x0c\x9f\x3d\x0a\x9f\x52\x56\xc1\xf9\x0a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x26\x39\x50\xc0\x56\xeb\xa4\xad\xcc\xd8\x5a\x61\x26\x07\xd4\xb9", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x42\x20\x0f\x99\x54\xfc\x5a\xbc\x78\xaf\x44\xf6\xc9\x1c\xc8\x2a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xc9\x10\x44\xc2\xe7\xf3\xf4\x10\x63\x65\x5a\x8d\x97\x78\x9a\x68", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_open_lookup() - good"..., 35) = 35 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 9918 getdents64(4, /* 152 entries */, 32768) = 4528 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a70) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a70) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a70) = 0 9918 close(4) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 5 9918 read(5, "254:1", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966af0) = 0 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 5 9918 fstat(5, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 9918 getdents64(5, /* 152 entries */, 32768) = 4528 9918 getdents64(5, /* 0 entries */, 32768) = 0 9918 close(5) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 6 9918 read(6, "254:0", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a70) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 9918 read(7, "254:1", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a70) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 7 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 8 9918 read(8, "254:2", 5) = 5 9918 close(8) = 0 9918 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a70) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 close(7) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b10) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 9918 read(7, "254:1", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966af0) = 0 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 7 9918 fstat(7, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 9918 getdents64(7, /* 152 entries */, 32768) = 4528 9918 getdents64(7, /* 0 entries */, 32768) = 0 9918 close(7) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 7 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 8 9918 read(8, "254:0", 5) = 5 9918 close(8) = 0 9918 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a70) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 8 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 9918 read(9, "254:1", 5) = 5 9918 close(9) = 0 9918 ioctl(8, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a70) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 9 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 10 9918 read(10, "254:2", 5) = 5 9918 close(10) = 0 9918 ioctl(9, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a70) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 close(6) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4,-1,4,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x97\xef\xc2\x51\x39\x53\xaa\x6e\x94\x23\x19\x6d\x7c\x08\xc8\xa7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xca\xf5\x09\x7a\x44\x89\xb3\x16\x54\x94\x2a\xcf\x1f\x7c\xef\x3b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x0f\x6b\x62\x4e\x1a\x2c\x37\x2d\xa9\x4a\xb6\xc0\xe2\x70\x84\xe5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x50\x9d\x4d\xd3\x62\x42\x31\x2f\x67\xb3\xb5\xdd\xad\x1e\x2e\xa1", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xb9\x42\xf4\x6f\xc8\x02\x85\x07\x5c\x17\x21\x6e\x01\x66\x1a\x46", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x56\xb1\xa6\xa2\x15\x5f\x11\x89\x81\x79\xf4\x54\xc6\x64\x2c\x49", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-966273628, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9953, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x21\x78\x96\x56\xe2\x10\xd5\x74\x98\x82\xdf\x8b\xfd\x34\x53\xb7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x76\x9c\x85\x55\x3f\x02\x48\x1c\xc5\x52\xf4\x43\xf3\x5c\x98\xca", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x51\x90\x7a\x26\x8c\xbe\x5b\xd5\x61\x02\xc9\x87\x4b\x98\xa8\x7f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1054191569, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9955, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xff\x95\x92\x21\xa7\x51\x42\x13\xfa\x33\x6d\x9d\x6a\xc4\x0b\xc4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-966273628, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9953, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x4e\x08\xb4\x4c\x02\xa2\xe2\xbd\xe9\xe3\x63\x5c\x46\x1e\x0b\x3a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x24\xbb\x22\x58\x4f\x98\x71\x25\xbb\xcf\xbc\xa0\x59\x34\x4d\xfb", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x7c\xf3\x5b\xd0\x1f\xea\xcd\x1b\x7c\x60\x20\xb0\x6b\x53\x73\x6f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x9a\x8f\x8c\x11\x6c\xa9\xa0\xa8\xdf\x26\xfb\xe4\x4f\x79\xdb\xb5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x9c\xfe\x75\xbb\x37\x14\x05\xdd\xf3\x1a\xb3\x0e\x3d\x85\xb3\x43", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x68\xb9\x83\x31\xc0\x83\xa3\x53\x60\x2f\x92\xe2\x34\x66\x06\x41", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_open_by_label() - go"..., 37) = 37 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3080, ...}) = 0 9918 getdents64(4, /* 154 entries */, 32768) = 4592 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip3", O_RDWR|O_CLOEXEC) = 7 9918 lstat("/dev/gpiochip3", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x3), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip3/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip3/dev", O_RDONLY) = 8 9918 read(8, "254:3", 5) = 5 9918 close(8) = 0 9918 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip4", O_RDWR|O_CLOEXEC) = 8 9918 lstat("/dev/gpiochip4", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x4), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip4/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip4/dev", O_RDONLY) = 9 9918 read(9, "254:4", 5) = 5 9918 close(9) = 0 9918 ioctl(8, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 close(4) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 close(7) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4,-1,4,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x89\x27\x1d\x6d\x74\xd0\x02\xa5\xd4\xe1\x7e\x1e\x4c\x9f\x31\x20", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x9f\x2d\xb6\xc3\xc7\x5f\x12\x0c\xd1\x31\x5a\x22\x25\xbc\xb6\xbe", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x65\x96\x9a\xaa\xd7\x32\x94\xeb\xdb\x0f\x7c\x65\xf8\x75\x91\x95", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xe1\x1d\xf7\x01\xb3\x12\x0c\xd5\xee\x8b\x39\x5e\x1a\x76\xeb\xe7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xba\xf7\xef\x9e\x67\x14\x22\x9e\x26\xac\x5e\x9f\xbd\x86\x87\xa8", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x94\xfb\xaf\xfa\xf2\xe9\x50\xec\x79\xcf\x45\xb3\x85\x0b\x84\x8a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x3f\x04\x55\xee\xcd\xec\x69\xe4\x90\x4e\x75\x5d\x01\x97\xfe\xa7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xd3\xe6\x0a\xab\xe1\xbc\x57\x42\xd0\xe6\x05\x89\xc8\x19\x96\xfc", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x68\x3f\x96\x47\x37\xd3\x5d\x76\xf0\x8c\xef\x76\x7f\xca\x1b\x6c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x7b\x4f\x17\xdf\x89\x00\x89\x75\x65\x39\x68\x0a\xcf\xde\x94\xa0", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xd4\x5a\xf7\x91\xb2\x47\x56\x4e\x1a\xd0\xc3\x2e\x7a\x90\x95\x5b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x0f\xfb\x58\xfd\xca\xb9\x74\x1c\x59\x41\x45\x67\x92\x66\x9c\x04", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x1c\x7c\x80\x3c\xca\xec\x56\xb2\x5e\x07\x49\x8c\x23\xb9\x24\x9c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x03\x8d\xaa\xc1\x65\xdc\x85\xb0\xaa\x4b\x7a\xdd\x33\x62\xfa\xe3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x81\x82\x28\xfd\x2a\x03\x88\x0c\x57\x46\xa5\x08\x66\xaf\x90\xa2", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1054191569, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9955, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x1e\x71\xc2\xfc\xd7\xc4\x59\xfb\x90\xbb\x6d\xb1\x02\xe6\x1a\x16", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-966273628, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9953, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x30\xce\x81\xd1\xeb\xe7\x8b\x3f\x25\x54\x0f\x78\x5f\xde\xe9\xc8", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xfa\x47\x8a\x1c\x7a\x6a\x90\xcd\x63\x02\x7a\x48\x6f\x19\x9e\x3b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xf2\xa6\x5c\x31\x81\xf7\x99\xf9\xc9\xff\x26\x61\x91\x44\x86\x6f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x6e\xfd\xd4\x66\xd1\xbd\xee\x87\xd7\x69\xde\x86\xc6\xd0\x70\x40", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_open_by_label() - ba"..., 36) = 36 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3080, ...}) = 0 9918 getdents64(4, /* 154 entries */, 32768) = 4592 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip3", O_RDWR|O_CLOEXEC) = 7 9918 lstat("/dev/gpiochip3", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x3), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip3/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip3/dev", O_RDONLY) = 8 9918 read(8, "254:3", 5) = 5 9918 close(8) = 0 9918 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip4", O_RDWR|O_CLOEXEC) = 8 9918 lstat("/dev/gpiochip4", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x4), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip4/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip4/dev", O_RDONLY) = 9 9918 read(9, "254:4", 5) = 5 9918 close(9) = 0 9918 ioctl(8, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 close(4) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 close(7) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x9f\x20\xc4\x8d\x7e\x9c\xa7\x5c\x74\x64\x85\x51\xa9\x9f\x2c\x90", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x96\xfa\x6c\x37\x72\xd4\x94\x21\xf2\x46\x9a\x3e\x46\xe7\x28\xf3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x1c\xcb\xb0\xe6\x40\x70\x7c\x1d\x14\xe5\xb4\xfc\x7b\x18\x69\x3b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xfd\xf4\xac\xc0\x5b\x8d\x7f\xd8\xc7\xb8\xee\xe4\x0f\x74\x79\xb1", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x23\x5e\xd5\x58\x29\x0d\xa1\x43\x6f\xf2\x74\xe3\x30\x73\xc8\x63", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xe6\xa2\xc0\xef\x40\xd4\xfe\xb9\xb9\xd3\xe5\x8b\x97\x63\xa3\xdc", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x50\xd2\x50\x7d\x53\x77\xfe\x32\xc6\x4e\x22\xf1\x50\x63\xd4\xbb", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x20\x4c\x32\x2a\x4b\x22\x81\xef\x15\x0b\x42\x0b\x5d\x2f\x13\xed", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x76\x24\x58\x22\x64\xdb\x9b\xe4\x97\x3c\x94\xf8\x26\x8c\xde\x59", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x7a\x3c\x29\xe0\x5b\xb5\xc8\x8b\xf9\xac\x28\xaa\xe8\x01\x47\x9c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x95\x4e\x51\xc5\xd2\xce\x90\xf8\xb8\x3e\x58\x67\x00\xed\x9c\xf4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1054191569, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9955, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x4d\xb7\xe3\xe0\x18\x84\x6e\x53\xd6\x54\x18\xef\xa1\xab\xf1\x6c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x26\x62\x00\x05\x7d\x95\x15\x32\xab\xe1\xc2\x86\xd6\xf3\x82\x36", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xe4\x85\x2e\x3d\xa6\xb0\x01\xb1\x2e\xd7\x64\xd9\x74\x92\xb6\x79", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xf2\x83\x39\xd7\xc8\xad\x97\xa7\x8d\x20\x33\x86\x7d\x20\x85\xbe", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x3b\x9f\x82\x75\x9c\x51\x2e\xe2\x70\x9d\xa6\xc2\xe1\xeb\xa9\x5a", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_name()': ", 21) = 21 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b10) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b10) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b10) = 0 9918 close(6) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x48\xf2\xee\x9c\x81\x00\xf0\x60\xec\xde\xf3\xb9\xde\x0c\x26\xee", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xff\xeb\xc4\xd7\x9e\x34\xde\x62\x96\x36\x93\x31\x5f\x4b\x93\xa5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xf8\xd7\x7d\x39\x84\x2a\xcd\xf8\x44\xa3\xda\x8e\x61\xba\xbf\xc5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xfc\x4a\x31\x08\xf2\x6b\x52\xf4\x0b\x04\xa6\xea\x3f\xfd\x86\x36", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x80\x97\x8a\xfc\x14\x9b\xc2\xb8\x9b\xc2\x6d\x61\xa5\x6b\x0d\x3d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xa7\xc9\xd9\x3f\x56\xee\xc9\x9b\x66\x0b\x23\x5b\x7a\xe1\x0e\x5b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xaf\xc9\xeb\xe7\x70\x38\x45\x02\x95\xcf\xb1\xaf\xb4\xc9\x94\x88", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x82\xc3\x7f\x6a\xb8\xc4\x0a\x31\xdd\x69\x57\x08\xed\x15\x12\xb4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x1e\xa3\x4c\x2b\x22\x91\x96\xcf\x03\x73\xa0\xf0\x8f\x8a\x5c\x3a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x12\x3b\x22\xf1\x60\x9e\x2d\x4a\x20\x0d\xb0\x4f\xae\xde\x65\xd4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x6a\x40\xe7\x1f\x2a\xc0\x5f\xf5\x2b\xd2\xdc\x3a\x58\x97\xe0\x69", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xf1\x4f\xc8\xeb\x6d\x23\x55\xe7\xc4\x6c\xcb\x7d\x08\xad\x4f\x66", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_label()': ", 22) = 22 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b10) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b10) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b10) = 0 9918 close(6) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,1,-1,4,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x15\xde\x39\x12\xbb\xfd\x72\x6c\x03\xc4\xeb\x51\xf0\x1a\x52\x72", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x6b\x21\x12\x65\x24\xee\xbd\x69\x8c\x28\x8f\xd9\xc5\x7a\x80\xcc", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x6f\x02\x7d\x86\xa6\x10\xeb\xdc\xba\x66\x70\x93\x3e\x8d\xa6\x64", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xb4\xa1\xa0\x1a\x00\x7a\x0d\x2e\x77\xf8\xdf\x8f\x14\xcf\x99\xe8", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x19\x1f\xe0\x4b\x35\x01\xf9\x8d\x9e\xd8\xae\xa6\xe1\x5a\xe8\x54", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x31\x54\xc0\xb9\x1e\x1d\xe1\x81\x37\x74\x29\x6a\x79\x94\x92\x4f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xbd\xdb\x3c\x86\x6b\x57\x57\xbf\x7e\xde\xeb\xc4\xc6\x95\x87\xb4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x83\x58\x54\xc6\x41\x51\x99\x2f\xa1\x11\x74\x19\x27\x05\x8c\x36", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x57\xf7\xb6\xaf\xc7\x60\x78\x7c\xef\x10\x90\x1a\x4f\x92\x3e\xbc", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x24\x04\x21\xb0\x78\x09\x36\x20\xad\x3b\x5b\x0a\x24\x04\x26\xc9", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xf0\x38\x75\xa0\x04\x7a\x65\x5d\xde\xcd\x18\xeb\x20\x4a\x4a\xa0", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x12\x0c\x8b\xdd\xf1\xac\x28\x7f\xce\x19\xe6\xd1\x7e\x1d\x39\x1e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xb2\x72\x69\x89\x18\x59\x8b\x8b\xc6\xf0\x48\xe3\x5b\x8c\x65\x86", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xef\x11\xac\x67\x45\xac\xb6\x4c\xf0\xb5\x6d\xa8\x8c\x3e\xed\xb6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xe6\x67\x18\x76\x48\x52\xf0\x0e\xd7\x1c\x40\x00\xe2\xb1\xe2\x3a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x67\xe6\x62\xa5\x6c\x5d\x74\xee\xbf\x42\x1c\x1e\xdf\x31\xe2\xad", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_num_lines()': ", 26) = 26 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b00) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b00) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b00) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip3", O_RDWR|O_CLOEXEC) = 7 9918 lstat("/dev/gpiochip3", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x3), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip3/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip3/dev", O_RDONLY) = 8 9918 read(8, "254:3", 5) = 5 9918 close(8) = 0 9918 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b00) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip4", O_RDWR|O_CLOEXEC) = 8 9918 lstat("/dev/gpiochip4", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x4), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip4/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip4/dev", O_RDONLY) = 9 9918 read(9, "254:4", 5) = 5 9918 close(9) = 0 9918 ioctl(8, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b00) = 0 9918 close(8) = 0 9918 close(7) = 0 9918 close(6) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,16", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x20\x56\xe7\x21\xa5\xa0\xd8\x70\xa1\xfa\x43\x1d\xed\xde\x2d\xb7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x55\x9f\xb5\xf0\xd6\x0d\xe5\x6b\xf0\xfc\x30\xce\x2e\x6f\x93\x9c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xe1\xdc\xd0\x2e\x7a\xa3\x60\x01\x0a\x7d\xb5\x75\xc6\x1c\x07\x7b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x82\xb4\xc5\xd4\xa9\x99\x72\x23\xe6\x1b\x03\x99\xf9\x49\x9c\x36", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xba\x27\x19\xdd\x84\x0e\x1c\xf7\x7f\xfe\x76\xba\x4a\x5b\xc8\xaf", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x79\xbc\x33\x58\xef\x63\x46\x8b\x6d\x69\x56\x30\xe1\x33\xec\x32", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xca\x9a\x09\xb0\x57\x61\xb6\xbd\xd3\x26\xc0\x84\x69\x9f\x23\xc3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x60\x18\xbc\x38\x3a\xad\xf0\x59\xcb\xfe\x62\x2e\x2e\xfc\x65\x65", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xa3\x0c\xff\x3e\x0c\x35\x9c\x4d\x54\x87\x97\x4d\x54\x3c\x74\x49", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xfe\x00\xbf\xb7\x2d\x9b\xbf\xd7\x2c\xe3\x01\xa1\x9e\xde\x70\x7d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xbf\xdb\xac\x02\xd9\xd8\x00\xac\x6b\x79\xd5\xc7\x56\xe6\x7d\x1b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xac\x2d\xb4\x4d\xa6\xbc\x2f\x84\xb0\x23\x87\xed\x7b\xc1\xe1\xd6", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_get_lines()': ", 26) = 26 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966900) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966900) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966900) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966900) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966900) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x74\xa2\xa2\x8c\x90\x41\x89\x16\x7d\x01\x41\xd0\x88\xec\x9a\x04", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x3a\xd8\xbe\x48\xcd\xa0\xfd\x92\x7f\x56\x73\xa9\x6a\x74\xcc\x14", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x29\xaf\xf8\xd1\xdd\xec\xe1\xa6\xdf\x37\xe2\xff\xa6\xff\xbe\x82", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xe2\xa9\x92\x1e\xbe\xa4\x05\xd8\xb0\x88\xed\xe1\x5d\x85\xd3\x4f", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_get_all_lines()': ", 30) = 30 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966910) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668f0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668f0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668f0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668f0) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xba\x7f\xd4\xed\xe9\x4d\xa4\x8d\x37\xc0\xc4\x92\x06\x0e\xfc\x58", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x71\x1d\xbd\xea\x6d\xa4\x2f\xb9\xff\xa5\xa7\xbc\xf4\x63\xd8\xa9", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xd2\xfb\xf1\xf0\xc8\x96\x79\x78\xfe\x15\xf0\x9b\xfb\x21\x42\x5a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x5f\x27\x86\xc1\x65\x74\xd0\x4a\x99\xc0\xd5\xb3\xe1\xb9\xec\x1f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x94\x3a\x8c\x98\x4b\x1e\xb6\x44\xc3\x63\xcf\x56\xbc\x32\xdb\xa0", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xe5\x6b\x3d\xc6\x23\x15\xc1\x52\x27\x18\x3c\xd4\xe6\x22\x8d\x66", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xb0\xe7\x5b\xa4\x50\xcb\xc9\x5c\x6e\x21\x53\x5c\x08\xe2\xe2\x95", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xf5\x1f\x98\xdb\xd8\x80\x0f\xc1\xd3\x26\x26\xd9\xf6\x35\xfb\x50", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_find_line() - good':"..., 33) = 33 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 5 9918 read(5, "254:1", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b00) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b00) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b00) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b00) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b00) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b00) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b00) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b00) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x90\x85\x24\xe5\xbc\xab\xff\xcf\x68\x50\x99\xf2\x11\xa0\x49\xc7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xcb\x58\x1d\xd0\xaa\x1c\xc8\x0c\x04\xc5\xb5\x6a\xca\x63\xdd\xc3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x6e\xd4\x2b\x5f\xe2\x55\xe7\xf9\x4f\xe8\x0e\x85\xfb\xf3\x63\x67", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x3a\x4c\x41\xc9\x67\x8c\x28\xcc\x53\x2a\x59\xb7\x06\xbf\x92\x60", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x45\xc1\xd6\xab\x51\xaf\x56\xf4\x9d\x1c\xf9\xd2\x9c\x4d\x86\xe7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xf4\x2e\x1d\xe8\x89\xfe\xc5\x33\xab\x94\xb1\x30\xa0\xd5\x59\x21", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xfd\x1a\x23\x9e\x9d\xdb\xc8\xe9\xf0\xc9\x3e\x10\x2d\x71\xe2\x76", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x8e\xd7\x9a\x9b\x8a\x5f\xd1\x9a\xf8\x2f\x05\x41\x7d\x96\x4a\x91", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x52\x40\x85\x8e\x4d\x91\x48\x96\x3b\x26\x85\x30\x71\xd8\xb8\x6b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x01\x49\xc0\x25\x24\x0a\x25\x56\x5f\x54\x8b\xb8\xf9\x9d\xee\xa1", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xa6\xaa\x43\x02\xc6\x30\x14\xa6\x53\x3a\xa0\xee\x4d\x38\x97\xc3", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_find_line() - not fo"..., 38) = 38 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 5 9918 read(5, "254:1", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b00) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b00) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b00) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b00) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b00) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b00) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b00) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b00) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xcb\xd0\xb1\xfd\xcc\x18\xb0\xd8\x4d\x58\xb5\x2d\x33\x0f\x8a\x3d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x65\xe5\x98\x86\x6e\x43\xb3\x09\xb7\x50\x00\x46\x08\xe1\xa5\xfd", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x08\xca\x0d\x26\xb9\xf1\x46\x70\x2b\xaf\x6c\x00\xbf\xee\x3e\x8a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xf6\xf6\x7d\xea\x56\xb1\x37\x97\xe2\xf7\x38\x0c\xf7\x12\x0b\x65", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x4c\x32\x6a\x9e\xd3\x24\x29\x02\x14\xdb\x57\x3b\x63\x83\xdc\x9b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x68\x7d\x8b\x30\x50\x44\x57\xd3\x24\x46\x61\xcc\xa5\xa6\x20\x7c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xfd\xf1\x5c\x11\xcb\x23\xb4\x33\x2f\x80\x4d\x73\x24\x36\x3a\x8e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x12\xcf\x74\x84\xb5\xd6\x41\xca\x8f\x0a\x79\x4e\x76\x91\x0d\x7b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x35\x28\x9d\x3d\xb1\xae\x9a\xc8\x22\x17\x24\xcd\x3e\xdd\xf4\xa7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x7a\xda\x53\x3b\x9c\xd0\xe6\xe6\xb4\xab\x99\xdd\xb3\xb7\xba\xe5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x90\xf6\x4a\xa7\xbc\xda\xea\x9b\x34\x6a\xc2\xf1\x46\x3b\x15\x43", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_find_lines() - good'"..., 34) = 34 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 5 9918 read(5, "254:1", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966910) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x80\xe9\xf7\x94\x37\x80\xaf\x05\x05\x88\x5d\xa4\x90\x32\x3d\x8c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x43\xdc\x16\x76\xab\xc6\xa2\x69\x18\x92\x39\x15\xb5\x61\x4b\xd4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xf1\x05\xc9\xac\x07\x69\xcc\xe5\xcb\x89\xa3\x50\x9d\x07\xd9\x4a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x1b\x52\xc8\x01\xde\x86\x1e\xee\xbd\xb3\x0b\x80\x80\xce\xf5\x4e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xce\x60\xcb\x74\x1a\x9f\xd6\xff\x9f\x18\x08\xa1\x09\x49\x29\x18", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x68\x2e\xa2\x74\xf1\x19\x05\xb2\x73\x5b\xf1\x4d\xed\x70\x34\x2e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x66\x05\x64\xf2\xde\x6e\x4d\x5e\x6f\x39\x1e\xc3\x66\xa7\x25\xf8", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x98\x22\xdb\xc6\x90\x83\xd8\x86\x18\x5b\x8c\xd4\x8b\x6c\x40\x99", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x15\x55\x29\x03\xb5\xa7\x19\xae\xd2\x2b\x19\x27\x5a\x35\xa0\x45", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x66\x99\x6b\x29\xb2\x5e\xfc\xf3\x52\x5b\xde\xd5\x5c\xf8\x49\xa2", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_find_lines() - not f"..., 39) = 39 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 5 9918 read(5, "254:1", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966910) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x14\x59\x92\x39\x3d\x9e\x6b\x44\xd0\xb3\x9a\x14\x5b\x3c\xc9\x15", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x0e\x8c\x2c\x50\xf9\xd7\x89\xd3\x89\xd7\x71\x00\x16\xe9\x28\x34", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xea\x0c\xc6\x3d\xd5\x00\x1e\xa4\xd9\x9e\x7b\x6a\xf7\xac\xf3\x6f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x80\xdc\x8e\xec\xaa\x3c\xa4\x64\x15\x57\xf8\xa8\x81\x05\xfc\xf3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x18\x7a\x41\xa1\xd2\xa6\x4b\x93\x79\xfe\x36\xcb\x8e\xac\x1e\x92", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x20\xe9\x24\xdb\xe4\x3d\x5b\x01\x8a\xd4\x34\x94\xa1\x02\x37\xe7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x0e\x25\x85\x74\xad\x72\xe1\xf4\xbe\xe1\x4f\x8d\x42\x57\x3f\x10", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'ctxless set/get value - single "..., 39) = 39 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3000, ...}) = 0 9918 getdents64(4, /* 150 entries */, 32768) = 4464 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966800) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966880) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966720) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666a0) = 0 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966910) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3000, ...}) = 0 9918 getdents64(4, /* 150 entries */, 32768) = 4464 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966800) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966880) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966720) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666a0) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3000, ...}) = 0 9918 getdents64(4, /* 150 entries */, 32768) = 4464 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966800) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966880) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668d0) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966720) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666a0) = 0 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966910) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,16", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xf7\x3a\x79\xff\xc9\x92\xc3\x41\x8b\x51\xc3\xe8\x98\xdf\xbf\xe6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x2d\xe2\xd2\x06\x36\x55\xca\x11\xfc\x75\xf6\xe7\x4a\x7c\x9b\xb4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x93\x2d\x2b\xa0\x27\xdc\x7f\xf0\xd9\x41\x18\xe1\xa7\x80\x9d\xd2", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x3b\xae\x9c\xad\x71\xb0\x87\x59\x94\x39\xe7\xa4\x4f\xb2\xd9\xc3", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'ctxless set/get value - multipl"..., 42) = 42 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3000, ...}) = 0 9918 getdents64(4, /* 150 entries */, 32768) = 4464 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667c0) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966840) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb29666e0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb29668d0) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3000, ...}) = 0 9918 getdents64(4, /* 150 entries */, 32768) = 4464 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667c0) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966840) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb29666e0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3000, ...}) = 0 9918 getdents64(4, /* 150 entries */, 32768) = 4464 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667c0) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966840) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb29666e0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb29668d0) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,128", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x32\x8e\x67\x42\x17\x1c\x7a\x25\x1e\xc8\xdf\x96\xfe\x46\x65\xf3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xb6\x5d\x2c\x94\x7b\x21\x72\x26\xbf\x7c\x81\x7b\xb1\x93\xbc\xd8", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x7c\xfd\xee\xf9\xe5\x75\x53\x3f\xf6\x5f\x53\x5d\x6f\x0a\xdd\x66", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xde\x61\x99\x06\xf5\x68\xef\xcf\xb8\x63\xf8\x53\xe2\xf0\x56\x20", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_ctxless_get_value_multipl"..., 55) = 55 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,128", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xcb\x38\x89\xb0\x60\xab\x28\x5b\x2a\xe0\x50\x55\x4e\x90\x0d\x63", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x7b\xe9\x1b\x54\xf2\xe9\x1e\x3e\x24\x5c\x50\x0e\xe2\x1d\x29\xec", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x80\x6b\xa2\x88\x98\x0f\x98\x97\x2e\xb2\x74\x39\xf8\x23\x7b\xa9", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xba\x08\x93\x21\x93\x82\x19\x2a\x95\xfd\x7e\x70\xf8\xca\x75\x85", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_ctxless_set_value_multipl"..., 55) = 55 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x20\x4e\xca\x9a\x60\xcb\x8e\x7a\x13\x21\x0b\x01\x21\x54\x13\xc4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x35\xaa\x90\x29\x13\x5f\x46\x51\xfb\x83\xbf\x3f\xe2\x30\x0f\x9f", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_ctxless_event_monitor() -"..., 48) = 48 9918 mmap(NULL, 8392704, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f08f7fad000 9918 mprotect(0x7f08f7fae000, 8388608, PROT_READ|PROT_WRITE) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 10643 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3000, ...}) = 0 9918 getdents64(4, /* 150 entries */, 32768) = 4464 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 10643 set_robust_list(0x7f08f87ad9e0, 24 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 10643 <... set_robust_list resumed> ) = 0 10643 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552333965, tv_nsec=884341000}, FUTEX_BITSET_MATCH_ANY 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966560) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29665e0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966630) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29665e0) = 0 9918 ppoll([{fd=5, events=POLLIN|POLLPRI}], 1, {tv_sec=1, tv_nsec=0}, NULL, 8 10643 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 10643 mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f08effad000 10643 munmap(0x7f08effad000, 339968) = 0 10643 munmap(0x7f08f4000000, 66768896) = 0 10643 mprotect(0x7f08f0000000, 135168, PROT_READ|PROT_WRITE) = 0 10643 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 6 10643 write(6, "1", 1 9918 <... ppoll resumed> ) = 1 ([{fd=5, revents=POLLIN}], left {tv_sec=0, tv_nsec=922253606}) 9918 read(5, "d.\31r\204\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 9918 ppoll([{fd=5, events=POLLIN|POLLPRI}], 1, {tv_sec=1, tv_nsec=0}, NULL, 8 10643 <... write resumed> ) = 1 10643 close(6) = 0 10643 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 10643 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552333966, tv_nsec=3194000}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out) 10643 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 6 10643 write(6, "0", 1 9918 <... ppoll resumed> ) = 1 ([{fd=5, revents=POLLIN}], left {tv_sec=0, tv_nsec=894567770}) 9918 read(5, "\244\253\225x\204\377\212\25\2\0\0\0\0\0\0\0", 16) = 16 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a698, FUTEX_WAIT_PRIVATE, 2, NULL 10643 <... write resumed> ) = 1 10643 close(6) = 0 10643 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1 9918 <... futex resumed> ) = 0 9918 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 10643, NULL 10643 <... futex resumed> ) = 1 10643 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 10643 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK 10643 +++ exited with 0 +++ 9918 <... delete_module resumed> ) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x63\x09\x60\x45\x8c\x65\xdc\xfd\xdf\xc8\x16\x1b\x34\x60\x86\xff", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x49\x39\x39\x66\x5e\x11\xea\x66\x88\x62\x39\x13\x95\xc0\x17\x40", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x99\x20\x13\xba\x0f\xc1\x8f\x48\xc8\xde\x07\xb8\x2f\x0d\x91\x28", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x71\x93\x18\x4e\x54\x12\xed\x70\xeb\x65\x0f\xc5\x6f\x22\xca\x0f", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_ctxless_event_monitor() -"..., 54) = 54 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 10662 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3000, ...}) = 0 9918 getdents64(4, /* 150 entries */, 32768) = 4464 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966560) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29665e0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966630) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL 10662 set_robust_list(0x7f08f87ad9e0, 24 9918 <... ioctl resumed> , 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29665e0) = 0 9918 ppoll([{fd=5, events=POLLIN|POLLPRI}], 1, {tv_sec=1, tv_nsec=0}, NULL, 8 10662 <... set_robust_list resumed> ) = 0 10662 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552333966, tv_nsec=696766000}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out) 10662 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 6 10662 write(6, "1", 1 9918 <... ppoll resumed> ) = 1 ([{fd=5, revents=POLLIN}], left {tv_sec=0, tv_nsec=897053896}) 9918 read(5, "\256Z\342\241\204\377\212\25\2\0\0\0\0\0\0\0", 16) = 16 9918 ppoll([{fd=5, events=POLLIN|POLLPRI}], 1, {tv_sec=1, tv_nsec=0}, NULL, 8 10662 <... write resumed> ) = 1 10662 close(6) = 0 10662 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 10662 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552333966, tv_nsec=802766000}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out) 10662 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 6 10662 write(6, "0", 1 9918 <... ppoll resumed> ) = 1 ([{fd=5, revents=POLLIN}], left {tv_sec=0, tv_nsec=895886633}) 9918 read(5, "\366\371.\250\204\377\212\25\2\0\0\0\0\0\0\0", 16) = 16 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a698, FUTEX_WAIT_PRIVATE, 2, NULL 10662 <... write resumed> ) = 1 10662 close(6) = 0 10662 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1 9918 <... futex resumed> ) = 0 9918 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 10662, NULL 10662 <... futex resumed> ) = 1 10662 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 10662 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0 10662 +++ exited with 0 +++ 9918 <... finit_module resumed> ) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x4c\x01\x29\xab\x8a\x71\xb6\xc6\xe3\x77\x4a\x65\xdf\xbf\x69\x52", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x8c\x22\x1f\xfd\x2d\x94\xd2\x47\x6e\x41\x0b\x99\x73\x70\x22\xd8", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x05\x45\x5a\xaf\x28\x24\x91\x08\xad\x1d\x1b\x1c\x9d\x2d\x76\x9a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x38\x7a\xec\x14\x08\xb4\x75\x47\xbb\xd5\xbb\x3c\xe1\x3c\xe6\x1f", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_ctxless_event_monitor_mul"..., 57) = 57 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 10681 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3000, ...}) = 0 9918 getdents64(4, /* 150 entries */, 32768) = 4464 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 10681 set_robust_list(0x7f08f87ad9e0, 24 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK 10681 <... set_robust_list resumed> ) = 0 9918 <... access resumed> ) = 0 10681 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552333967, tv_nsec=453543000}, FUTEX_BITSET_MATCH_ANY 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966590) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966610) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966660) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966610) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966610) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966610) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966610) = 0 9918 ppoll([{fd=5, events=POLLIN|POLLPRI}, {fd=6, events=POLLIN|POLLPRI}, {fd=7, events=POLLIN|POLLPRI}, {fd=8, events=POLLIN|POLLPRI}], 4, {tv_sec=1, tv_nsec=0}, NULL, 8 10681 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 10681 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 9 10681 write(9, "1", 1 9918 <... ppoll resumed> ) = 1 ([{fd=6, revents=POLLIN}], left {tv_sec=0, tv_nsec=918184126}) 9918 read(6, "\357dH\317\204\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 9918 ppoll([{fd=5, events=POLLIN|POLLPRI}, {fd=6, events=POLLIN|POLLPRI}, {fd=7, events=POLLIN|POLLPRI}, {fd=8, events=POLLIN|POLLPRI}], 4, {tv_sec=1, tv_nsec=0}, NULL, 8 10681 <... write resumed> ) = 1 10681 close(9) = 0 10681 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 10681 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552333967, tv_nsec=567466000}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out) 10681 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 9 10681 write(9, "0", 1 9918 <... ppoll resumed> ) = 1 ([{fd=6, revents=POLLIN}], left {tv_sec=0, tv_nsec=894554874}) 9918 read(6, "^ \324\325\204\377\212\25\2\0\0\0\0\0\0\0", 16) = 16 9918 close(5) = 0 9918 close(6) = 0 9918 close(7) = 0 9918 close(8) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a698, FUTEX_WAIT_PRIVATE, 2, NULL 10681 <... write resumed> ) = 1 10681 close(9) = 0 10681 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1 9918 <... futex resumed> ) = 0 9918 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 10681, NULL 10681 <... futex resumed> ) = 1 10681 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 10681 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK 10681 +++ exited with 0 +++ 9918 <... delete_module resumed> ) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xbf\xc1\xe3\x9b\x10\x11\x73\x0e\xa8\x6c\x23\x39\xbc\x43\xec\x17", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x89\xb6\x3e\x30\xdb\x58\x3e\xcc\xda\x8c\x5d\x0b\xd7\x59\x04\xda", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x40\x8e\xd6\xec\xe4\xef\x4d\x0d\x06\x97\x34\xd8\xc8\xa1\x98\xdf", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_ctxless_event_monitor() -"..., 53) = 53 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 10702 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3000, ...}) = 0 9918 getdents64(4, /* 150 entries */, 32768) = 4464 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966570) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29665f0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966640) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL 10702 set_robust_list(0x7f08f87ad9e0, 24 9918 <... ioctl resumed> , 0x7fffb2966670) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29665f0) = 0 9918 ppoll([{fd=5, events=POLLIN|POLLPRI}], 1, {tv_sec=1, tv_nsec=0}, NULL, 8 10702 <... set_robust_list resumed> ) = 0 10702 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552333968, tv_nsec=116943000}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out) 10702 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 6 10702 write(6, "1", 1 9918 <... ppoll resumed> ) = 1 ([{fd=5, revents=POLLIN}], left {tv_sec=0, tv_nsec=895724095}) 9918 read(5, "\312\26\234\366\204\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a698, FUTEX_WAIT_PRIVATE, 2, NULL 10702 <... write resumed> ) = 1 10702 close(6) = 0 10702 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1 9918 <... futex resumed> ) = 0 9918 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 10702, NULL 10702 <... futex resumed> ) = 1 10702 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 10702 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0 10702 +++ exited with 0 +++ 9918 <... finit_module resumed> ) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x5c\x93\x37\xf7\xc4\x8b\x5f\x0d\x4c\x4e\xa6\xc0\x84\x70\xf8\x6e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x64\xb8\xaf\xd1\x3c\x58\x9b\xa3\x7c\x5a\x02\x89\x89\x7d\x6f\xf4", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_ctxless_event_monitor() -"..., 67) = 67 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3000, ...}) = 0 9918 getdents64(4, /* 150 entries */, 32768) = 4464 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966570) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29665f0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966640) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966670) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29665f0) = 0 9918 ppoll([{fd=5, events=POLLIN|POLLPRI}], 1, {tv_sec=0, tv_nsec=100000}, NULL, 8) = 0 (Timeout) 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,16,-1"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x6d\x6e\x42\x19\x79\x8c\xe2\xd8\x79\x59\x1b\xde\x3d\xe7\x78\xfd", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x9d\xaf\xef\x0c\x83\x58\x1c\x0f\xc0\x2a\xce\xb5\x4f\xa4\x24\x33", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x97\x5c\x40\xe6\x3e\x66\x69\x4d\xc5\xd4\xd6\x30\xd8\xc2\xf0\x05", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x0d\xb2\x8b\x58\xda\x3d\x46\xe0\xdf\xf3\xb8\x7c\x0d\x09\xfe\xc5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x66\x2e\xff\x25\x5b\x27\xe1\x72\xee\xde\xe7\x27\xde\x93\x81\x02", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x51\xea\xdf\x63\xc2\xe6\xe6\x8b\xac\x69\x9f\x08\x4e\x79\x30\xf6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x82\x65\xb7\x9f\x16\x76\x33\x0c\xa5\x8c\x6a\x1a\x56\x3d\x2b\xb9", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x3c\xa6\x53\x72\xa6\x8c\xfb\xc1\xbb\x05\xc7\x49\x75\xbd\x4b\x03", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x46\xbe\x6d\x46\xd0\xb0\xe3\x73\x6d\x75\x83\xf3\xe2\x46\x01\x2e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xdf\x1d\x2c\xfb\xd0\xf4\x59\x77\xae\xb1\x8e\x87\xa4\x95\x22\x00", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_ctxless_find_line() - goo"..., 36) = 36 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3060, ...}) = 0 9918 getdents64(4, /* 153 entries */, 32768) = 4560 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a40) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a40) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a40) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip3", O_RDWR|O_CLOEXEC) = 7 9918 lstat("/dev/gpiochip3", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x3), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip3/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip3/dev", O_RDONLY) = 8 9918 read(8, "254:3", 5) = 5 9918 close(8) = 0 9918 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a40) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 close(4) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 close(5) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 close(7) = 0 9918 close(6) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,16,-1"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x2b\x71\x8f\xcf\xba\xb1\x41\x78\xdf\x5a\x6c\x29\xaf\xba\xe0\x59", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x30\x7f\x9d\xd3\xcf\xb5\x47\x1c\x05\x23\xff\x45\xf3\x67\xf8\x6c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xea\x67\xa9\xfc\xdc\x39\x41\xf9\x1e\xea\xbc\xc3\xcd\x13\x1a\x2e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xe4\xe3\xe8\x27\xb6\xba\x33\x62\x6e\x7b\xd6\xd6\x26\x5c\x3c\xf3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x07\x7d\x28\xa4\xc4\x5f\x19\x7d\x23\x58\x2d\x83\x19\x4b\x79\x15", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x81\xf1\xfb\x31\x2d\xa0\x11\x7f\x78\xc9\x3b\xdb\x20\xc5\xf2\x5b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xf0\x87\x03\x85\xfb\xfe\xd4\x6f\x27\x9c\xc3\x23\x75\x7c\x47\x1c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xaf\x15\xcb\xdc\xde\x25\xe4\x03\x6d\xe4\x9f\x84\x00\x4f\xa9\x28", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x3a\x32\x6b\x3a\x0d\x4a\xb4\x23\x30\xb6\x05\xb9\xeb\x02\x21\x52", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x93\xa2\x99\x27\x95\x41\x2a\xd2\xe5\x73\xef\x92\xa6\x28\xdf\x41", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x3e\x51\xcd\xc5\xde\x94\x74\xc5\x79\x1f\xcf\x51\x06\xf8\x3a\x3b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x92\x69\x24\x48\x04\x22\x5d\x6b\x00\x40\xc1\x6f\x06\x74\xa0\x84", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x1a\x83\x1d\xed\xf0\xcf\xf0\x5c\xd2\xa9\x59\xcf\x23\x2e\x62\x50", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x47\xa9\x7a\x69\x1b\xc9\xd3\x9c\xc6\xf4\x81\x4b\xb5\xc2\x30\x70", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xe2\xb1\x9c\xb3\xb0\xf6\x36\xee\x83\xb8\x81\xf5\x12\xd5\xac\x32", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_ctxless_find_line() - chi"..., 51) = 51 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3060, ...}) = 0 9918 getdents64(4, /* 153 entries */, 32768) = 4560 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a60) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a60) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a60) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip3", O_RDWR|O_CLOEXEC) = 7 9918 lstat("/dev/gpiochip3", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x3), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip3/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip3/dev", O_RDONLY) = 8 9918 read(8, "254:3", 5) = 5 9918 close(8) = 0 9918 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a60) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 close(4) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 close(5) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 close(7) = 0 9918 close(6) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,16,-1"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x08\x0e\xcb\x8e\x41\xe6\x1a\x4e\xc9\x35\x2c\xdd\xea\x92\xd6\x0a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x65\x53\x84\x3f\x09\x3a\x79\x51\x08\x1d\xb9\x6b\xdb\x2b\x30\xb0", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x74\xe5\x3a\xf6\x31\xc5\xfd\x35\x93\x50\x8c\xda\x39\x5c\x64\xb6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x21\x95\xd6\xb8\x09\x8a\x8c\x7b\xe7\x10\x52\x8f\xad\xf8\x30\x77", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x8e\xb4\xfa\x6d\x83\xbc\xaf\x03\xea\xb1\x88\x92\x3d\x22\x45\x25", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x7b\x97\x3c\x39\x64\x16\x26\xfc\xb1\xb1\xeb\x7a\xf9\x4e\x6c\x82", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x51\xe1\x4f\x6f\x84\x0c\xfe\x53\x85\x5f\x74\xe7\x2d\x0c\xf9\xa5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x38\x01\x71\x5a\x4a\xfa\x5f\x69\xb8\x01\xe6\x27\x13\xf8\x57\x51", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x28\x55\xb1\x38\x08\xd4\xe8\x23\x71\x2b\x84\x99\xa5\x89\x2b\x62", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x7b\x01\xec\x10\x4d\x59\x8a\x2d\xc2\xf5\xa2\xea\x3b\x8e\xc7\x0f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xcb\x23\x11\x31\x65\xc2\x2c\xcb\xf7\xb2\xff\x4f\x4e\xb0\xb3\x6f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x1d\xe8\xb1\x93\x4b\x42\x09\x0a\xac\x56\x9d\x17\xd2\x60\xf0\xef", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x58\x7b\xca\xb1\xea\xc7\x0b\x4d\x28\xb4\x1f\x12\x58\x4b\xe1\x5a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x81\x6c\x63\xcd\xc7\x6a\x8b\x89\x08\xc3\x52\x15\xab\x5c\xee\x4e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1054191569, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9955, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x50\xc3\x60\x08\x69\x18\x1d\xd4\x0b\xea\xb6\x8d\x85\xfa\xfa\x2a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xf3\xc0\xb9\xef\x67\xf1\x8a\xc3\xc8\xdd\x02\xce\x56\xb5\x01\x23", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_ctxless_find_line() - not"..., 41) = 41 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3060, ...}) = 0 9918 getdents64(4, /* 153 entries */, 32768) = 4560 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a40) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a40) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a40) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip3", O_RDWR|O_CLOEXEC) = 7 9918 lstat("/dev/gpiochip3", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x3), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip3/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip3/dev", O_RDONLY) = 8 9918 read(8, "254:3", 5) = 5 9918 close(8) = 0 9918 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a40) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 close(4) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 close(5) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 close(6) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966a80) = 0 9918 close(7) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x60\xba\xcd\x3d\x3a\xb4\x33\xaa\x4b\x2c\xf4\x4a\x48\xb7\x47\x1e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x75\x28\xf7\x51\x12\x03\x0c\xed\x0f\x64\xfb\x2a\xf6\x37\x64\xda", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x39\x12\xa4\x00\x29\xb5\x05\x0f\xfe\x84\xbf\x62\x16\xfa\x88\x33", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xd0\x1f\x6a\x45\x9e\xc1\x93\x6b\xe4\xd7\xea\x18\x6e\xe5\x54\xc9", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x3e\x52\xd1\x4d\x74\x24\x44\x96\x94\x39\x50\x78\xde\x6b\x27\x98", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xe6\xfb\x4e\xdf\x6c\x59\x42\x0b\x2f\x37\xa0\x7f\x0e\xf9\xf2\x99", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x6b\xdd\x6d\x74\x52\xd3\xa1\xe2\x78\xee\x27\x72\x74\x2a\xe7\x73", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xd0\x51\xc8\x95\x94\xed\x3a\x9e\x55\x9c\xbb\xaf\x38\xc8\x39\x40", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x51\x51\xff\x0d\x97\xb2\x37\xee\xd0\x5e\xd2\x74\xf9\xad\xb1\x2b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xdc\xe7\x0a\xde\xba\x1a\x9e\x65\x38\xc1\x32\x44\x5d\xb0\xd9\x39", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'events - receive single rising "..., 45) = 45 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966af0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966900) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966880) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 10905 9918 ppoll([{fd=5, events=POLLIN|POLLPRI}], 1, {tv_sec=1, tv_nsec=0}, NULL, 8 10905 set_robust_list(0x7f08f87ad9e0, 24) = 0 10905 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552333974, tv_nsec=759953000}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out) 10905 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/7", O_RDWR) = 6 10905 write(6, "1", 1 9918 <... ppoll resumed> ) = 1 ([{fd=5, revents=POLLIN}], left {tv_sec=0, tv_nsec=882760090}) 10905 <... write resumed> ) = 1 9918 read(5, "\322,:\203\206\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 9918 close(5) = 0 10905 close(6 9918 close(4) = 0 10905 <... close resumed> ) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 10905, NULL 10905 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 10905 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 10905 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK 10905 +++ exited with 0 +++ 9918 <... delete_module resumed> ) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xba\x3f\x1c\xe2\xdb\xa1\x63\x70\x76\xbd\x94\x16\x3d\xc8\x03\xf4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xc3\xaf\x54\xe4\x76\x33\x46\x77\x63\xd9\xb1\xcb\xd8\x58\xb7\x1b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x4a\x06\xb9\xfa\xca\x9a\xf7\x75\xad\x9a\xa3\xe2\x6d\x53\x31\xf0", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x4d\x0a\xa1\xbe\xef\xdf\xc6\xea\xa8\x6e\xa8\x16\x7b\x6f\x24\xe8", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'events - receive single falling"..., 46) = 46 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966af0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966900) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966880) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 10924 9918 ppoll([{fd=5, events=POLLIN|POLLPRI}], 1, {tv_sec=1, tv_nsec=0}, NULL, 8 10924 set_robust_list(0x7f08f87ad9e0, 24) = 0 10924 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552333975, tv_nsec=509518000}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out) 10924 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/7", O_RDWR) = 6 10924 write(6, "0", 1 9918 <... ppoll resumed> ) = 1 ([{fd=5, revents=POLLIN}], left {tv_sec=0, tv_nsec=888164411}) 9918 read(5, 10924 <... write resumed> ) = 1 9918 <... read resumed> "\370d\207\257\206\377\212\25\2\0\0\0\0\0\0\0", 16) = 16 9918 close(5) = 0 10924 close(6 9918 close(4 10924 <... close resumed> ) = 0 9918 <... close resumed> ) = 0 10924 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 10924, NULL 10924 <... futex resumed> ) = 0 10924 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 10924 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK 10924 +++ exited with 0 +++ 9918 <... delete_module resumed> ) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x35\x41\xda\x84\xdd\x93\x85\x4f\xa8\xb1\xee\x5d\x32\xec\xae\xa7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x4a\xad\x2b\xa5\x7a\x0f\x82\xfa\x86\xc6\xff\x51\x45\xf8\x84\x7e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xcf\x92\xb2\x1a\x1a\x4e\xfb\x50\xdb\xe0\xaf\x36\x5f\x6e\xc4\x3d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xe4\xec\x0f\xd0\x73\xdb\xc6\xfc\x1b\x1f\x86\xd4\x40\xa6\xac\x6b", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'events - request rising edge & "..., 61) = 61 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b10) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b40) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966920) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668a0) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 10943 9918 ppoll([{fd=5, events=POLLIN|POLLPRI}], 1, {tv_sec=0, tv_nsec=300}, NULL, 8) = 0 (Timeout) 9918 close(5) = 0 10943 set_robust_list(0x7f08f87ad9e0, 24 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 10943, NULL 10943 <... set_robust_list resumed> ) = 0 10943 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 10943 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0 10943 +++ exited with 0 +++ 9918 <... finit_module resumed> ) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x84\x00\x87\x5a\x1e\x69\x4b\xa3\x46\xc2\x7b\xb3\x9f\x04\xd2\x22", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xb2\x50\x2d\x9d\x60\xf0\x4c\xbd\x27\xdc\x96\x02\xf6\x45\x21\xf0", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'events - single rising edge eve"..., 59) = 59 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966af0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966900) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966880) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 10960 9918 ppoll([{fd=5, events=POLLIN|POLLPRI}], 1, {tv_sec=1, tv_nsec=0}, NULL, 8 10960 set_robust_list(0x7f08f87ad9e0, 24) = 0 10960 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552333976, tv_nsec=476894000}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out) 10960 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/7", O_RDWR) = 6 10960 write(6, "1", 1 9918 <... ppoll resumed> ) = 1 ([{fd=5, revents=POLLIN}], left {tv_sec=0, tv_nsec=895981642}) 9918 read(5, "n\305\332\350\206\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a698, FUTEX_WAIT_PRIVATE, 2, NULL 10960 <... write resumed> ) = 1 10960 close(6) = 0 10960 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1 9918 <... futex resumed> ) = 0 9918 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 10960, NULL 10960 <... futex resumed> ) = 1 10960 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 10960 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 10960 +++ exited with 0 +++ 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xa6\x76\x86\x1a\x64\xe3\xc3\x6d\x2e\x8b\x42\xfe\x66\x5b\x85\x60", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xc4\xb8\x96\x77\xc1\xf6\x39\x9b\x86\x44\xe5\x35\xbe\xe0\xb5\xc3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x3b\x96\x3e\xfb\x6a\xea\x60\x56\x97\x51\xce\xeb\x58\xf1\xa3\xad", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xc0\xff\x56\xe4\x14\xc2\x06\xba\x89\xf2\x7c\xe6\xb1\xbe\x9d\x23", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'events - mixing events and gpio"..., 53) = 53 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966af0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966900) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966880) = 0 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966930) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 10979 9918 ppoll([{fd=5, events=POLLIN|POLLPRI}], 1, {tv_sec=1, tv_nsec=0}, NULL, 8 10979 set_robust_list(0x7f08f87ad9e0, 24) = 0 10979 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552333977, tv_nsec=163688000}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out) 10979 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/7", O_RDWR) = 6 10979 write(6, "1", 1 9918 <... ppoll resumed> ) = 1 ([{fd=5, revents=POLLIN}], left {tv_sec=0, tv_nsec=866707907}) 9918 read(5, "M\247r\23\207\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966930) = 0 9918 close(5) = 0 10979 <... write resumed> ) = 1 9918 close(4) = 0 10979 close(6 9918 write(2, "\33[32m", 5 10979 <... close resumed> ) = 0 9918 <... write resumed> ) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 10979, NULL 10979 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 10979 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 10979 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK 10979 +++ exited with 0 +++ 9918 <... delete_module resumed> ) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x3f\x43\xa9\x2e\xba\x85\x3a\x94\x3d\x49\xac\xb8\x1d\x7a\xea\x3d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x0d\xd3\x99\x4e\xc4\x4a\x1e\x20\x8a\xb4\x76\xf4\x7c\x4f\x92\x66", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x76\x46\x6d\xa3\x51\x3b\xc7\x7f\x27\xba\x61\x38\x93\x27\x46\xe5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x9f\x25\x6d\xc3\x14\xec\xf7\x52\x6c\xd2\xe5\x91\xaa\xbb\x40\x9d", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'events - mixing events and gpio"..., 71) = 71 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966af0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966900) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966880) = 0 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966930) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 10998 9918 ppoll([{fd=5, events=POLLIN|POLLPRI}], 1, {tv_sec=1, tv_nsec=0}, NULL, 8 10998 set_robust_list(0x7f08f87ad9e0, 24) = 0 10998 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552333977, tv_nsec=986673000}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out) 10998 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/7", O_RDWR) = 6 10998 write(6, "0", 1) = 1 9918 <... ppoll resumed> ) = 1 ([{fd=5, revents=POLLIN}], left {tv_sec=0, tv_nsec=863663110}) 9918 read(5, 10998 close(6 9918 <... read resumed> "\334}\256D\207\377\212\25\2\0\0\0\0\0\0\0", 16) = 16 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966930) = 0 10998 <... close resumed> ) = 0 9918 close(5) = 0 10998 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1 9918 close(4 10998 <... futex resumed> ) = 0 9918 <... close resumed> ) = 0 10998 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552333978, tv_nsec=127993000}, FUTEX_BITSET_MATCH_ANY 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 10998, NULL 10998 <... futex resumed> ) = 0 10998 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 10998 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 10998 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK 10998 +++ exited with 0 +++ 9918 <... delete_module resumed> ) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x5f\xe3\x68\x62\xc4\xea\xe3\xdb\x29\xbf\x63\x67\xd6\x27\x86\xb0", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x15\x36\xd7\x6c\x1e\xb3\x05\xd2\x56\xf9\x9f\x2f\x1f\xad\x93\xf4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x9a\x7d\x25\x8d\x1f\x20\x0a\x41\xe3\xde\x2c\xea\xa3\xf6\xe3\xf8", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x2d\xc3\xd7\xeb\x51\x8c\x46\xd6\x07\x99\x7e\x60\x92\xc6\xe4\x62", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'events - wait for events on mul"..., 46) = 46 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29666f0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966720) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966720) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966720) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966720) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966720) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966720) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966720) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966720) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966730) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666b0) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966730) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666b0) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966730) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666b0) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966730) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666b0) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966730) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666b0) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966730) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666b0) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966730) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666b0) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966730) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666b0) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 11024 9918 ppoll([{fd=5, events=POLLIN|POLLPRI}, {fd=6, events=POLLIN|POLLPRI}, {fd=7, events=POLLIN|POLLPRI}, {fd=8, events=POLLIN|POLLPRI}, {fd=9, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}], 8, {tv_sec=1, tv_nsec=0}, NULL, 8 11024 set_robust_list(0x7f08f87ad9e0, 24) = 0 11024 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552333978, tv_nsec=635580000}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out) 11024 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/4", O_RDWR) = 13 11024 write(13, "1", 1 9918 <... ppoll resumed> ) = 1 ([{fd=9, revents=POLLIN}], left {tv_sec=0, tv_nsec=895643334}) 9918 close(5) = 0 9918 close(6) = 0 9918 close(7) = 0 9918 close(8) = 0 9918 close(9) = 0 9918 close(10) = 0 9918 close(11) = 0 9918 close(12) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a698, FUTEX_WAIT_PRIVATE, 2, NULL 11024 <... write resumed> ) = 1 11024 close(13) = 0 11024 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1 9918 <... futex resumed> ) = 0 9918 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 11024, NULL 11024 <... futex resumed> ) = 1 11024 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 11024 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 11024 +++ exited with 0 +++ 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xc5\xd6\x52\x91\x74\x83\x89\x3d\x70\xa4\xbc\x95\x6e\xc1\xe7\xaf", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x2e\x92\xf6\xf7\x41\xa9\xae\x5a\x26\x89\x41\x19\x9e\xa6\xd3\xe5", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'events - gpiod_line_event_get_f"..., 65) = 65 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b50) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966770) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666f0) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xe7\x51\xf1\x81\xbe\xfc\x6e\xa5\xe6\xe4\xdd\x54\xf3\x15\x40\x52", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x4e\x85\x54\x32\xe7\x43\x41\xd6\x13\x2f\xb7\x8b\x6d\x02\xb3\x16", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x4e\xb7\x94\x1a\x49\x47\x96\xf3\xef\x3c\x7e\x40\xc2\xe2\x85\x19", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'events - failed bulk request (t"..., 56) = 56 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966900) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966930) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966550) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29664d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966930) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966930) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966930) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966930) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966930) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966930) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966930) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966930) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x75\xef\x93\x2f\x65\x83\xa5\xcf\x64\x13\x7c\x59\x6d\x33\x55\xba", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x7f\x97\x4f\x4f\x60\xaf\xa3\x01\xf5\xe5\xbf\xf2\x84\xf1\x69\x6c", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'events - gpiod_line_event_wait("..., 55) = 55 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29666d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966700) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb29664e0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966460) = 0 9918 close(5) = 0 9918 ppoll([{fd=5, events=POLLIN|POLLPRI}], 1, {tv_sec=1, tv_nsec=0}, NULL, 8) = 1 ([{fd=5, revents=POLLNVAL}], left {tv_sec=0, tv_nsec=999929885}) 9918 ppoll([{fd=5, events=POLLIN|POLLPRI}], 1, {tv_sec=1, tv_nsec=0}, NULL, 8) = 1 ([{fd=5, revents=POLLNVAL}], left {tv_sec=0, tv_nsec=999993113}) 9918 close(5) = -1 EBADF (Bad file descriptor) 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x3a\x19\x4f\x5f\x2c\x22\x36\x4b\x25\x53\xf4\x32\x93\x12\xff\x76", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x62\xa9\x2a\x12\xb1\x6a\x1b\x76\xfb\x74\xb7\x80\x4d\x7a\xdd\xd4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x17\x3f\xdf\xbe\x39\x20\x97\xd0\x7f\xd2\x6a\x50\xf7\x06\x85\x7b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x75\x0b\x35\x63\xa0\xea\xb2\x6b\x8c\x35\x45\x81\x3c\x1a\xc9\x26", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x3f\xe4\x42\x23\x36\x72\xff\x75\x15\x34\xaf\xaf\x98\xc9\xcc\x17", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_iter - simple loop':"..., 33) = 33 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 9918 getdents64(4, /* 152 entries */, 32768) = 4528 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a90) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a90) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a90) = 0 9918 close(4) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x53\x87\xaf\x6d\x2c\x35\x68\xa0\x89\x99\xdf\x74\x93\xd9\x60\xd6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x81\x9b\xe3\xb4\x99\x89\xb4\x8b\x4b\xaa\xfa\x84\x07\xc8\x6b\xc3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x87\xca\x76\x99\xf3\x3e\x1d\xfd\xee\xd6\xeb\x1a\xf7\x70\x2b\x1b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xb0\xe7\x53\x36\x44\xa7\x5b\x8c\x2c\x38\xf3\x9c\xea\xdd\x3a\x42", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xea\xd7\x47\xee\xb5\x72\xc8\xd2\xbb\x8a\x1c\x0f\x53\x38\x2d\x63", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x90\x5b\x8b\x1f\xc5\x32\x66\xf8\x0a\x1a\x8f\xf2\x12\x53\x34\x29", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xf5\x2a\x42\x31\x20\xb7\xf9\x4f\x43\xbc\xce\xaa\x2a\xd7\x49\x53", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xa2\x8f\x49\x7a\xcd\x5d\x97\xfb\x95\x04\x55\xda\x96\xa7\x50\x6a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x60\x4a\x81\x71\x5c\x66\xb3\xd3\xb6\x63\xb3\x0c\xbf\x2a\x7b\x0c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x82\x75\x66\x65\x11\x15\xa5\xd6\xc9\xfe\x7c\xca\x8e\x7e\x5f\xf6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xb2\xa5\xa4\x25\x75\x73\xc2\x78\xda\xa8\x14\xac\xfd\x1a\x39\xe5", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_iter - simple loop, "..., 50) = 50 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 9918 getdents64(4, /* 152 entries */, 32768) = 4528 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a80) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a80) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a80) = 0 9918 close(6) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x6a\xb3\x73\x1a\x4f\xd2\x98\x6b\x97\x2d\x3f\x36\xd1\xaa\x75\xef", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x76\xda\xd5\xff\x3e\x9d\xfc\xa9\x96\xf2\x28\x05\xfe\x32\x6a\x14", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x65\x55\xa9\x1c\x5a\x5e\x9d\x75\xd0\xa2\xa1\x21\xe1\x04\xbb\x5f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x5f\xc4\x05\x25\xf2\xd7\x18\xf6\xc0\x07\xe8\x6b\xe0\x42\x65\x0a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xd7\x23\x62\x5e\x6a\x1b\x1d\x9e\x98\x98\x22\xbf\x5b\xd6\x87\xb2", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x55\xdc\x1f\x17\xc3\x67\x65\xb2\xf1\xc9\x28\xe7\x50\x8d\xbe\x2d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1054191569, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9955, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x7b\x00\x9a\x7f\x60\x8a\x97\x94\xa8\x99\x4a\xeb\xd0\x68\xd7\x7a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x30\x97\x1a\xc8\xdc\x11\x5c\x1f\x9a\x7b\x5d\xf3\xbf\xe2\xef\x19", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xbf\xfc\xb2\x17\x93\xcb\x39\x0c\x7e\x2e\x09\x08\x91\x0e\x76\x8c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x92\x39\xbf\x4c\x18\x86\x1b\x24\xac\x8c\xc4\xe3\x93\x59\xbe\xba", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x18\x04\x05\xba\x9b\x61\x6f\x46\x71\x0c\xbf\x39\x3d\xf3\xb9\x23", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1054191569, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9955, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x5e\x69\xc3\x81\x1e\xec\x14\x7e\x83\xbb\xf5\x12\x5c\x9c\x3d\x1a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x30\xda\x13\x52\xef\xab\x78\x46\xac\x56\x14\x74\x1a\xfc\xae\xb3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x22\x2c\xe3\xf6\xf7\xa9\xdf\x49\xcc\x6c\x1b\x05\x5b\x16\x45\xd5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x08\xc8\x8c\x0d\x1d\x01\xdf\x2a\x69\x7e\x9a\x42\xde\x36\xb7\xff", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_chip_iter - break': ", 27) = 27 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3080, ...}) = 0 9918 getdents64(4, /* 154 entries */, 32768) = 4592 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip3", O_RDWR|O_CLOEXEC) = 7 9918 lstat("/dev/gpiochip3", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x3), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip3/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip3/dev", O_RDONLY) = 8 9918 read(8, "254:3", 5) = 5 9918 close(8) = 0 9918 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip4", O_RDWR|O_CLOEXEC) = 8 9918 lstat("/dev/gpiochip4", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x4), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip4/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip4/dev", O_RDONLY) = 9 9918 read(9, "254:4", 5) = 5 9918 close(9) = 0 9918 ioctl(8, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966aa0) = 0 9918 close(4) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 close(7) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x07\x19\xe3\xd8\xfb\x3c\x67\xf7\x39\x46\xac\x79\x2c\x4f\x35\x3f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x31\x7a\x48\xe5\x69\x0b\x13\x8f\x2d\x52\x98\x93\x00\xfb\x3f\x24", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xb5\x41\x34\x60\x96\x0b\x02\x55\xc7\xef\xcf\x85\x32\xe8\xbc\xe5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x47\x0d\xa6\x71\x2e\x69\x42\xa9\xaa\xe0\xd1\xb0\x9c\x75\xaf\xcd", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x06\x98\x3a\x9c\x0c\xc6\x42\x0a\x90\x9f\xbf\x5d\xa6\xf7\x56\x25", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x40\xfe\x30\xcf\xc6\xfa\x4b\xf4\x36\x13\x22\xf8\x17\x89\x06\xaa", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x47\x67\xbc\xa6\x47\xbf\x4c\xca\x53\xe6\x70\x88\x17\x1a\x4d\x80", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x01\xba\x4d\xb1\x51\xd8\x9f\xf7\xa6\x9b\x40\x5b\x5f\x6a\xc0\x61", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x63\x53\x8a\x24\x74\x63\xd5\x23\x73\x45\x7b\x9e\xa2\x62\x2e\x11", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x9a\xc1\xc4\x15\x96\x9a\x53\x4a\xcb\xc4\x98\x55\x8a\x16\x0e\x13", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x7a\xe6\x2c\x32\x7a\x7d\xc7\x70\xa0\xd3\xfb\x40\x90\x1b\x3d\x82", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x7e\x1d\x1c\x8a\x46\xbd\x7f\xe4\xe4\x00\x65\x91\xe0\xea\xf0\xad", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line_iter - simple loop, "..., 48) = 48 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b20) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xd1\xcc\x3a\xaa\xfa\x5b\xe3\x47\x71\x0c\xd8\x81\x75\x52\xfd\xe2", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x5b\x69\xd3\xa4\x94\xd7\x61\xbd\x25\x2d\x4f\xc1\x6c\x37\x0c\xcf", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x51\x2d\xbc\x58\x67\xf7\x45\xe3\x15\x5d\x05\x7c\xbf\x28\xea\x01", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x00\xd8\xc0\xc7\x3b\xea\x35\x89\x23\x62\x27\x15\x49\xbd\x8b\x94", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line_request_output() - g"..., 38) = 38 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b10) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b40) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b40) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966760) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666e0) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966760) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666e0) = 0 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966950) = 0 9918 ioctl(6, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966950) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xcb\x81\x15\x3d\x0f\x59\x6c\x23\x2b\xfc\x4a\xc8\x38\x15\xb9\x7f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x86\x70\xb4\xef\x55\xaf\x97\x92\x4a\x35\x42\x77\x42\x8d\x10\xd1", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line_request() - already "..., 44) = 44 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b50) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966770) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666f0) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x13\x42\xd3\xf8\x87\x5e\x24\xe2\x32\x15\xc1\xce\x95\xe5\x31\xff", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x3a\xde\xf6\x72\x7f\xd6\x2d\x6c\xd4\x05\xd5\x3a\x84\xcd\xa7\xa7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xba\xed\xe9\xdb\xf8\x6c\x35\x26\x39\xe7\xd9\x28\x62\x4c\xa2\xcb", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x02\x4c\xed\xd6\xf6\x09\xe0\x9c\x9f\x3d\xd8\xfd\xe3\xe7\x1f\x2a", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line_consumer() - good': ", 32) = 32 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b50) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966770) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666f0) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x93\x5f\x80\xec\x3e\xa7\xfa\xf9\xca\x5e\xe0\xa7\x99\x0a\x18\x0d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x90\x80\x72\x74\x84\xa6\x27\x6a\xdb\x61\x48\x9f\xbe\x34\x39\x91", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line_consumer() - long co"..., 48) = 48 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b50) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966770) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666f0) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x18\x7d\x78\xc3\xf9\x32\x68\xe6\xbe\xf3\x5d\xe9\x59\x8e\x55\xc8", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x91\x56\x12\xa2\x7b\x24\xfa\xf0\xe3\x06\x96\x33\x1f\x02\x47\x81", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x27\xff\x89\xe1\x04\x2a\xb4\x70\xfb\xa3\xc8\x83\x0c\xa5\xc7\x3a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x08\xc0\xec\x25\x24\x5c\xd2\x32\x18\xb0\xfe\x35\xb1\xa1\x9f\x34", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x20\x88\x7b\x80\xf0\x7b\x8a\x87\xa8\xa8\x3b\xd5\x6a\x60\x02\x13", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x25\x76\xa8\x74\x0a\xd4\xea\x63\x4d\x7c\x71\xed\x76\xe4\x9d\xfb", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line_request_bulk_output("..., 43) = 43 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29666a0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29666a0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666d0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666d0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666d0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666d0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666d0) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966520) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29664a0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29664a0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29664a0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29664a0) = 0 9918 ioctl(5, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966520) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29664a0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29664a0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29664a0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29664a0) = 0 9918 ioctl(6, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966710) = 0 9918 ioctl(7, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966710) = 0 9918 close(7) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xa4\x1e\x4b\x77\xd7\x9d\xaa\x7b\x09\x38\x8d\x40\x9b\x16\x78\x58", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x4e\x88\x1d\xe0\x69\x77\xfb\x0b\x00\xe8\x5c\x21\x49\x15\x37\x4c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x4e\xfe\x28\x34\x04\xab\x3b\x26\x6e\xa0\x6c\x87\x46\x01\xcb\x70", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xe0\x80\x1e\x84\x2f\x34\xf2\x9e\xa1\x97\xa1\x88\x7a\x7e\x98\xa9", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xbc\x17\x7c\xbe\xe5\xf2\x38\x7a\x7e\xcf\xec\xb9\x96\x77\x54\x51", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xe1\x48\x64\xa2\x4c\xbe\x4a\xf7\xca\x8a\x39\xc2\x7e\xc8\x0f\x97", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x3a\x2b\x0d\xbb\x12\x08\x93\x9d\xe1\x67\x9f\x76\xc6\x18\xff\x7a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x81\x06\x08\x89\x2c\xa0\x78\xc1\x80\x3a\x5a\xcc\x51\xee\x0d\x46", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line_request_bulk() - dif"..., 47) = 47 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29668f0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29668f0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966920) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966920) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966920) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966920) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xea\x77\x64\xd8\x32\xcd\x76\xe0\x62\x3f\x4b\x1c\x7b\x84\xbf\x9f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x65\x0d\xd1\xc0\xef\x30\x23\x4e\x44\xd0\x87\x60\xc6\x6a\xa0\x29", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x6c\xb9\xf0\x13\x25\x38\xdb\x12\x0c\x61\xe3\x39\x5b\x99\x99\xda", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x13\xf3\x29\xd1\xa6\x8e\xb6\xe4\xdb\x90\x52\xda\xcf\x74\xd7\x48", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xf3\x01\x44\x58\x23\x37\x3a\x81\x53\xd7\xf0\x90\xb9\x1e\x2c\x5c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xc4\xbc\x86\x7e\x00\xbb\x19\x30\xe0\x6f\xa6\x1c\x58\xe8\x93\x73", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line_request_bulk() - nul"..., 60) = 60 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966900) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966930) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966930) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966930) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966780) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966700) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966700) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966700) = 0 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966780) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966700) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966700) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966700) = 0 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966970) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x71\x5f\xb3\x39\x7d\x42\xc7\xf4\x6c\x29\x4e\x37\xf4\xe6\x86\x71", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x67\x65\xae\x4b\xf2\x29\x44\xeb\x0e\x91\x3d\xef\x0f\x6c\xa3\x85", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x8f\xba\x12\x36\xd7\xbc\xfe\xcf\x65\xf6\xf6\x88\xee\x3e\xd4\x4c", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line_set_value() - good':"..., 33) = 33 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b50) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966770) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666f0) = 0 9918 ioctl(5, GPIOHANDLE_SET_LINE_VALUES_IOCTL, 0x7fffb2966960) = 0 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966960) = 0 9918 ioctl(5, GPIOHANDLE_SET_LINE_VALUES_IOCTL, 0x7fffb2966960) = 0 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966960) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xcc\x18\x0e\x19\x29\x2b\x9b\xf7\xab\x2f\x0f\xff\x8f\xb1\x0e\xd2", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x6e\xfa\xaa\xb6\x15\xe3\xe4\x18\xa7\x0e\x90\xd1\x31\x28\xa7\x41", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x9e\x92\x04\xad\x38\x95\x0a\x53\x74\xfe\xc4\x1a\x5d\x7f\x8d\x86", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x97\x0c\xc8\x21\x18\x6b\x94\x21\x87\x79\x6e\xe8\xce\xd3\xf4\x34", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x80\xa6\x4b\xf8\xe1\x8d\x07\x21\x5a\x7c\xfe\x8a\xb6\x5c\x72\x66", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xd1\xaa\xf2\x21\x55\xa3\xfa\x98\xe2\x14\x11\x27\x88\xd4\xff\x7e", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line_get_value_bulk() - d"..., 49) = 49 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29664d0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29664d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966500) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966500) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966500) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966500) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966350) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29662d0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29662d0) = 0 9918 ioctl(5, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966350) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29662d0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29662d0) = 0 9918 close(7) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,16,-1,16,-"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x0d\x8b\x31\xcb\x65\xc0\x63\xac\xf8\x3b\x23\x3b\x37\x66\xfa\xb9", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x62\x96\x03\xaf\xd3\x10\x2e\x5d\x58\xad\x7b\xef\x8a\x19\x3c\x71", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xfa\xfa\xf4\x6e\x44\xe1\xed\xd2\x22\x9d\x1a\xbc\x3b\x48\x62\x38", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xc0\x47\x3a\x5d\x38\x58\xdb\x4b\x5c\xd4\xea\x2e\xca\xb3\x37\x21", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x43\xfd\x32\xe3\xce\x17\xa2\xa7\xda\x7f\xd4\x19\x8f\x52\xcf\xf5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xfd\x40\x71\x5e\x7c\xb4\x3c\xf3\x85\x0d\x3a\x14\x72\xcf\xdc\x04", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xa3\x7d\x00\x9b\x0d\x3f\x8d\x96\xc8\x6d\xfd\x1a\xf5\x13\x4f\xd4", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line_get() - good': ", 27) = 27 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3060, ...}) = 0 9918 getdents64(4, /* 153 entries */, 32768) = 4560 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a50) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a50) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a50) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip3", O_RDWR|O_CLOEXEC) = 7 9918 lstat("/dev/gpiochip3", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x3), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip3/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip3/dev", O_RDONLY) = 8 9918 read(8, "254:3", 5) = 5 9918 close(8) = 0 9918 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a50) = 0 9918 close(4) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 close(7) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 5 9918 read(5, "254:2", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b20) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,16,-1,16,-"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xd7\x05\x91\xf2\x75\x32\xb4\x28\xf1\xa0\x1e\xc6\x64\xa7\x9f\x5f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x89\x02\x21\xa6\x54\x65\x49\x75\x68\x17\x8c\xb8\x2f\x1f\x6d\x3e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xa8\x8b\x2f\x73\x8c\xf7\x55\x9e\xb8\x10\x1f\x99\xd4\x88\x76\xde", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x94\x82\x74\x76\x1b\x18\x0e\x89\x7e\xca\x1d\x43\x6e\x15\x9f\x92", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x82\xdb\x5d\x5f\x8a\xd5\x4d\xf9\x72\xca\xca\x4f\xec\x7a\xe6\x6a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x37\x40\xb0\x21\x9d\xd9\xa9\xfe\xe3\xf2\x68\xce\xa2\x54\x51\xce", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x69\x42\x5d\xb8\xfa\x73\x4a\xec\xae\x70\x40\x4c\xe8\xa0\xba\xf9", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xd5\xa0\xb8\x35\xdb\xfc\xdf\x8f\xee\x72\x82\xae\xb2\xae\xa1\xc7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x40\x31\x67\xd3\x5b\x19\x12\x3e\xd3\xdb\x53\xcd\xb1\x1a\xd3\xc1", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x47\xf7\xd5\xa8\x78\x8c\xbe\x06\xae\xe6\x82\x93\xee\xf7\xc9\x04", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1054191569, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9955, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x1a\x6e\xc8\xc7\x4b\x3d\x7c\xfd\x3c\x36\x7a\xb4\x46\xa4\x15\x87", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xcc\x43\xd9\x0c\xcd\xc4\x37\x69\x90\x24\xbc\xfb\x93\xa0\x9e\xde", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xe1\x99\x1d\x8a\xcc\x0b\x6c\x18\x29\xf9\xfb\x6f\xf1\x7e\x88\x96", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line_get() - invalid offs"..., 37) = 37 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3060, ...}) = 0 9918 getdents64(4, /* 153 entries */, 32768) = 4560 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a50) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a50) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a50) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip3", O_RDWR|O_CLOEXEC) = 7 9918 lstat("/dev/gpiochip3", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x3), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip3/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip3/dev", O_RDONLY) = 8 9918 read(8, "254:3", 5) = 5 9918 close(8) = 0 9918 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a50) = 0 9918 close(4) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 close(7) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip3", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip3", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x3), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip3/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip3/dev", O_RDONLY) = 5 9918 read(5, "254:3", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,16,-1,16,-"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xf6\x4c\xab\x51\x5d\x45\xf0\xe7\x7a\x84\xf5\x5f\x1d\xf9\xe2\x16", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x8c\x3c\x3a\xf8\x93\x12\xef\x09\xea\xce\x8a\x12\x03\xca\xfc\x0f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x6e\x65\xb3\x2d\x84\x43\x76\xd8\x09\xfa\x3f\x4d\x73\xd7\xb3\x92", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x9f\x77\xf8\x24\xbc\x80\xcd\xf0\xc0\x81\x47\xf1\xde\x90\xe0\xd6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xe4\x98\x7e\x38\x21\xa8\x64\x69\x77\x36\x84\x8a\x44\xb7\x82\x87", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xac\xf0\xb9\x27\x24\x35\x67\x35\x61\x49\x76\x72\x44\x30\x1f\x5c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xe1\x69\x41\xec\xf5\x06\x33\xa5\xfe\x88\xeb\x3f\x86\x8a\x58\xb6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x81\x33\x9c\xa1\xf8\x1f\x05\xa6\xf2\x56\xa4\x5f\x4b\x7f\xf2\xfc", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x93\x25\x6a\x7b\xb8\xbc\x3b\xec\x03\x4c\xe2\x15\x4b\xb0\xfb\x52", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x06\x7c\x7d\x68\x98\x51\x22\x30\x4d\xb3\x56\xe2\x4d\xe5\xfa\x17", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x76\xaf\x27\x6b\x57\x25\x64\x34\x37\xc1\x7e\x6d\x47\xb7\x46\x58", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xec\x39\xc9\xfc\x7e\xb4\xa0\x7c\xd4\x2e\xa6\xf4\x72\x7f\xd1\xaa", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1054191569, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9955, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xcd\x7f\xbd\xe7\xba\x9c\x7a\x30\x56\x4a\xa7\x92\x2a\xfe\x46\xa9", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xf3\x1a\xcd\x04\xb8\x58\xda\x19\x82\x21\x3e\xf9\x85\x8d\x44\x58", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1054191569, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9955, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xe6\x8a\x95\xed\x5d\x79\x7f\xdb\xea\xae\xc7\xbe\x83\x39\x2f\x69", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x9b\xf0\x06\x3c\xd5\x73\x5b\x0b\x8d\x90\x00\xcb\x0f\x97\xa0\xb6", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line_find() - good': ", 28) = 28 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3060, ...}) = 0 9918 getdents64(4, /* 153 entries */, 32768) = 4560 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a90) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a90) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a90) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip3", O_RDWR|O_CLOEXEC) = 7 9918 lstat("/dev/gpiochip3", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x3), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip3/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip3/dev", O_RDONLY) = 8 9918 read(8, "254:3", 5) = 5 9918 close(8) = 0 9918 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a90) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 close(4) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 close(5) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 close(7) = 0 9918 close(6) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,16,-1,16,-"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x9d\x24\xde\x46\x02\xc7\x90\xdd\xae\x13\xca\xf2\x97\xed\x0f\xd2", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x24\x8e\x1e\x16\xad\x99\x49\x5b\x7d\x98\xc1\x77\x6b\x6e\x74\x53", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xd4\x88\xce\x59\x21\x75\x69\xa2\xef\xac\xc6\xf8\x9f\xca\x66\xd7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x32\x79\x04\x0c\x84\xa9\xa7\x6b\x46\x30\x87\x54\xdc\x67\x54\x63", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xb0\x01\x9a\x5f\x93\x51\x03\x97\x80\xac\x71\x7b\xb5\x31\x02\xe1", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x82\x4c\x43\x42\xcf\x7e\xbf\xb1\x56\x80\x3e\xfa\x98\x83\x22\x64", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xe5\xd8\xf6\x40\x12\x31\xc3\x50\xf1\xd5\x98\x83\x9b\x0f\xf1\x1a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x4a\x45\xbd\x89\x55\x48\x55\x1e\xda\xa9\x4b\xb1\x49\x72\xde\xfb", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x1f\x4e\x08\x77\xe1\xd6\x74\x3a\x0e\xb8\x36\xf0\x0f\xef\x31\x6f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xfc\xa4\x42\xb1\x4a\xb0\xf9\x1e\x67\xe4\xfe\xe7\x9e\xbd\x1a\x38", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x9e\xfe\x6e\x53\xef\x71\x1f\x23\x97\xdc\x00\xe9\x81\xaa\xc0\xb5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x01\xf7\x91\x67\x8c\x82\xb3\x4d\x01\x67\x7d\x50\x60\x42\x2a\x1b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x6f\xfc\xeb\x8f\x53\x71\x32\xda\x31\x18\xcc\x80\xa3\xff\xef\xb4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x06\xdc\x4d\x53\x10\x8d\x2f\x12\xa8\x83\x20\x75\xfc\x2e\x2a\xee", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xd8\x43\x01\xc7\x28\x23\xfa\x9e\xd9\xaf\x12\xf1\x47\x8f\x5a\x71", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line_find() - not found':"..., 33) = 33 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3060, ...}) = 0 9918 getdents64(4, /* 153 entries */, 32768) = 4560 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a90) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a90) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a90) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip3", O_RDWR|O_CLOEXEC) = 7 9918 lstat("/dev/gpiochip3", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x3), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip3/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip3/dev", O_RDONLY) = 8 9918 read(8, "254:3", 5) = 5 9918 close(8) = 0 9918 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a90) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 close(4) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 close(5) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 close(6) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 close(7) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,16,-1,16,-"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xce\x90\xdd\x02\x8a\xa8\xc5\x95\x7b\xdf\x42\x51\xf6\xe4\x02\x40", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x2a\x64\xf9\x7b\xab\x71\xb5\xa9\x6c\xe4\xbb\x8e\x2f\x6a\x65\x9a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xaa\xbf\x84\x6f\x4b\xe2\xb3\x3b\x0d\xbd\xde\x29\x50\x2b\x7c\xd6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x49\x7c\x4b\x84\xcd\xba\x89\xc4\x56\xf7\x1c\x6f\x51\x23\x78\x9f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x1c\x5a\x0e\x3b\x74\x32\xee\xf7\xbf\xd3\x76\x4c\x33\xfb\xc4\x2d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x7a\x6e\x28\xc3\xdd\x4b\x27\x9c\xa2\xda\x5f\xe5\xe3\x5d\x3e\x56", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xc2\x4e\xbe\xdb\x02\xf4\xfb\x0e\xe3\xd9\x47\xa9\x7d\xf8\x56\x30", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x03\xa2\x14\xfe\x7c\x60\x49\xdf\x47\x55\x13\x72\xd0\x41\xb2\xc4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x9c\x87\x82\xf8\x4a\x91\x02\x83\xf5\xaf\x0e\x0e\xe4\x63\x4b\xb4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x68\xe3\xc5\x7d\x35\xf9\x1c\x1a\x46\x4c\xea\xb9\x04\xce\x0a\x49", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x46\x44\xc3\xe8\x7f\x74\x8c\x35\xc8\x6d\xdc\x59\xb9\xf3\xe4\x29", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x0a\x1d\xc5\x23\x98\x1b\x43\x1a\xb9\xc9\x0d\xa1\x36\x29\x38\x4c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xc2\xba\x69\x03\x70\x7d\x3d\xb3\x57\xd2\x82\x90\xe1\x64\x3e\xb7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x48\x1d\x1e\x1f\x74\xde\x9f\xf4\x32\x6d\xd6\xaa\xdb\xee\x22\xf8", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x5b\x65\x29\x60\xd4\x89\x17\xa6\x7f\xd1\x98\x2a\x54\x0c\xdf\x64", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x2b\x71\x40\x9a\x59\xd0\x75\x58\xc5\x0c\xf3\xc9\x4d\x9e\x33\xb8", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line_find() - unnamed lin"..., 37) = 37 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3060, ...}) = 0 9918 getdents64(4, /* 153 entries */, 32768) = 4560 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a90) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a90) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a90) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip3", O_RDWR|O_CLOEXEC) = 7 9918 lstat("/dev/gpiochip3", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x3), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip3/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip3/dev", O_RDONLY) = 8 9918 read(8, "254:3", 5) = 5 9918 close(8) = 0 9918 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966a90) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 close(4) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(5, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 close(5) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(6, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 close(6) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 ioctl(7, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966ad0) = 0 9918 close(7) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x5e\x56\x0a\x09\x19\x81\x4f\x1f\x6d\xe9\x7a\xc8\x23\x21\x12\xd9", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x91\x13\x7c\x22\x8e\x24\xb1\x21\x71\x4e\xd6\xb0\x45\x10\x11\x3b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x46\xa9\x1e\xc4\xc8\x28\x45\xa9\xdd\x6e\x77\x35\x4d\x14\x1c\x0d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x93\x9b\xb9\xc3\xfb\x64\x8f\x98\xb6\xa3\x84\x99\xcd\x52\x54\xc3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x1d\xce\x49\x16\x71\xf7\x85\x63\x0a\x44\x4a\x1d\xae\x5a\x5c\x21", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xfc\x47\x0d\x4c\x28\x20\x41\xea\x9a\xf9\x6e\x41\xec\xf1\x1b\xc9", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x2f\x28\x18\xa1\x3e\x68\x67\xcc\x2f\xd2\xdc\x78\x7b\x01\xf7\xa6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xca\xc6\xe2\xf5\xf3\xa4\xa2\x63\x85\xa6\xbe\xf9\x22\x2e\xbf\x4a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x43\x3d\xf6\x43\xde\x1f\xce\x3d\xa5\xb0\x02\xde\x88\x0e\xf3\x6b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x01\x46\xc5\x7d\x98\xa1\x0c\xf8\x1c\xa5\x11\x6b\x01\xe0\xa6\xb6", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line_direction() - set & "..., 38) = 38 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b50) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966770) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666f0) = 0 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966770) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666f0) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xbf\x5d\x3f\x1e\x02\xfd\x0b\x08\xe9\x77\x51\x27\xe4\x4d\xbb\xc5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x8a\x52\xed\x2b\x30\x95\xa3\x54\x5e\x04\x1a\x57\xdd\x46\xa0\x91", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x09\xf9\x1c\x57\x0b\xd4\xcd\xce\xaa\xbc\x11\x59\x14\xf9\xca\x4b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x58\x41\x08\x20\x12\x46\x83\x0f\x01\x71\x63\x65\x17\xe4\xd0\x4f", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line_active_state() - set"..., 41) = 41 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b50) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966770) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666f0) = 0 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966770) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666f0) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xb8\xc7\x0f\x77\x86\xcb\x51\x31\xfd\x15\x19\x7e\xc9\x3b\xab\x41", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x3d\x1c\x61\xb1\xc6\xe2\xa4\xc6\x95\x27\x40\x40\xc4\x40\xde\x2b", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line - misc flags': ", 27) = 27 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b00) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b30) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966770) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666f0) = 0 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966770) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666f0) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xbf\x63\x9a\x66\x35\x86\x58\x72\x42\xa3\x46\x6f\xc5\x3e\x0b\x71", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x32\xe4\xab\xa3\xf4\x24\x79\x4c\xc8\x56\xc7\x36\xe3\xef\x5c\xeb", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line - open-source & open"..., 66) = 66 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b10) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b40) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x47\xf1\xec\xd7\x86\xaf\x58\x05\x7b\xcb\xcd\x7b\x2a\xd3\x19\x8c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xba\xff\x85\x2a\x87\xd2\x3b\xca\x4e\x20\xc7\x97\xa3\x5f\x9e\x66", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xe4\xb1\x7f\xe8\x89\x01\x02\x9d\xc3\x6c\x2f\xf2\x6d\xba\x78\x9a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xe2\x3b\x8e\x0a\x76\xae\x08\xca\x29\x7d\xb6\xd9\x51\xe9\xd7\x56", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line - open-source & open"..., 62) = 62 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b50) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x2e\x27\x53\x02\xd2\x10\x1c\xd7\xc3\xe4\x7b\x71\xbb\x93\xd6\xdb", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_line - request two, relea"..., 60) = 60 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966900) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966930) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966930) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966780) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966700) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966700) = 0 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966740) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x96\x66\x4a\xe2\xb6\x0b\x3a\xff\xbf\x7d\x54\x9b\x48\xf1\xed\xf2", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'line request - NULL consumer st"..., 39) = 39 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b00) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b30) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966770) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666f0) = 0 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966930) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668b0) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x51\xea\xf8\x9c\x00\x9e\x39\xf5\x23\x3d\x03\x23\x73\x88\xd7\xc5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x88\xb4\x83\x43\xa6\xbd\x05\xf9\xdc\x3b\x15\x59\xce\xa9\x5a\xb4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x48\x1a\x4c\x71\x08\x69\x10\x9f\xc4\x66\x32\xc7\xba\x50\x5a\x88", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xf2\x87\x73\xd6\xe3\xdf\xe5\xc3\x4c\x68\x2c\x2a\xef\x60\xe5\x34", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'line request - empty consumer s"..., 40) = 40 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b00) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b30) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966770) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666f0) = 0 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb2966930) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668b0) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8 gpio_moc"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x23\xf5\xa0\x8e\xcb\x1f\x92\xf5\xd7\x41\xfd\xe4\xc8\xcb\x26\xf0", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x4f\x92\x9d\xd6\x8e\xd4\x76\xdd\xf4\x5b\x42\x77\x0c\x57\x3c\x72", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'line bulk - iterate over all li"..., 38) = 38 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29668e0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966910) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966910) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966910) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966910) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'gpiod_version_string()': ", 26) = 26 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965b00) = -1 ENOENT (No such file or directory) 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x0c\xd3\x91\x1e\x42\x02\x7a\x5f\xfc\x0f\x13\xe0\x2b\xf5\xaa\xd0", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xac\x29\xff\xd2\x7b\xf9\xb8\xc6\x8a\x28\xaa\xc0\xae\x22\x1b\x23", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xce\x99\xab\xfd\x5e\xd7\xda\x0e\xef\xa8\xf5\xa4\x7a\x82\x5e\xb3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x0b\x72\x88\x13\xa8\xc4\x24\x31\x3d\x30\x6c\x56\x04\x73\xa8\xe0", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x5e\x79\xa7\x57\x9b\xce\x32\x56\x42\x06\x36\x24\x95\x58\xf6\x35", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiodetect - simple': ", 30) = 30 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiodetect", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 11869 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 11869 set_robust_list(0x7f08f87b19a0, 24) = 0 11869 close(10) = 0 11869 dup2(4, 0) = 0 11869 close(4) = 0 11869 dup2(7, 1) = 1 11869 close(7) = 0 11869 dup2(9, 2) = 2 11869 close(9) = 0 11869 execve("/libgpiod/../install-libgpiod/bin/gpiodetect", ["/libgpiod/../install-libgpiod/bi"...], 0x7fffb2966d78 /* 17 vars */) = 0 11869 brk(NULL) = 0x564a46076000 11869 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 11869 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11869 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffd4b7f95e0) = -1 ENOENT (No such file or directory) 11869 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11869 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd4b7f95e0) = -1 ENOENT (No such file or directory) 11869 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11869 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd4b7f95e0) = -1 ENOENT (No such file or directory) 11869 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11869 stat("/libgpiod/src/lib/.libs/tls", 0x7ffd4b7f95e0) = -1 ENOENT (No such file or directory) 11869 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11869 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffd4b7f95e0) = -1 ENOENT (No such file or directory) 11869 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11869 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd4b7f95e0) = -1 ENOENT (No such file or directory) 11869 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11869 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd4b7f95e0) = -1 ENOENT (No such file or directory) 11869 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 11869 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 11869 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 11869 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a919a9000 11869 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1a9199f000 11869 mmap(0x7f1a919a2000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f1a919a2000 11869 mmap(0x7f1a919a5000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f1a919a5000 11869 mmap(0x7f1a919a7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f1a919a7000 11869 close(3) = 0 11869 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11869 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11869 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffd4b7f95c0) = -1 ENOENT (No such file or directory) 11869 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11869 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd4b7f95c0) = -1 ENOENT (No such file or directory) 11869 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11869 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd4b7f95c0) = -1 ENOENT (No such file or directory) 11869 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11869 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffd4b7f95c0) = -1 ENOENT (No such file or directory) 11869 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11869 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffd4b7f95c0) = -1 ENOENT (No such file or directory) 11869 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11869 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd4b7f95c0) = -1 ENOENT (No such file or directory) 11869 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11869 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd4b7f95c0) = -1 ENOENT (No such file or directory) 11869 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11869 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 11869 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 11869 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 11869 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1a9199a000 11869 close(3) = 0 11869 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 11869 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 11869 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 11869 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1a917d9000 11869 mprotect(0x7f1a917fb000, 1658880, PROT_NONE) = 0 11869 mmap(0x7f1a917fb000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f1a917fb000 11869 mmap(0x7f1a91943000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f1a91943000 11869 mmap(0x7f1a91990000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f1a91990000 11869 mmap(0x7f1a91996000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1a91996000 11869 close(3) = 0 11869 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a917d6000 11869 arch_prctl(ARCH_SET_FS, 0x7f1a917d6740) = 0 11869 mprotect(0x7f1a91990000, 16384, PROT_READ) = 0 11869 mprotect(0x7f1a919a7000, 4096, PROT_READ) = 0 11869 mprotect(0x564a457d6000, 4096, PROT_READ) = 0 11869 mprotect(0x7f1a919d2000, 4096, PROT_READ) = 0 11869 munmap(0x7f1a9199a000, 17208) = 0 11869 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 11869 fstat(3, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 11869 brk(NULL) = 0x564a46076000 11869 brk(0x564a46097000) = 0x564a46097000 11869 getdents64(3, /* 152 entries */, 32768) = 4528 11869 getdents64(3, /* 0 entries */, 32768) = 0 11869 close(3) = 0 11869 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 11869 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 11869 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 11869 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 11869 read(4, "254:0", 5) = 5 11869 close(4) = 0 11869 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd4b7fa210) = 0 11869 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 11869 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 11869 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 11869 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 11869 read(7, "254:1", 5) = 5 11869 close(7) = 0 11869 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd4b7fa210) = 0 11869 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 7 11869 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 11869 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 11869 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 9 11869 read(9, "254:2", 5) = 5 11869 close(9) = 0 11869 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd4b7fa210) = 0 11869 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 11869 close(3) = 0 11869 close(4) = 0 11869 close(7) = 0 11869 write(1, "gpiochip0 [gpio-mockup-A] (4 lin"..., 109) = 109 11869 exit_group(0) = ? 11869 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0].\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "gpiochip0 [gpio-mockup-A] (4 lin"..., 65536) = 109 9918 read(8, "", 65536) = 0 9918 wait4(11869, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 11869 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiodetect - invalid arg"..., 41) = 41 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiodetect", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 11884 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 11884 set_robust_list(0x7f08f87b19a0, 24) = 0 11884 close(10) = 0 11884 dup2(4, 0) = 0 11884 close(4) = 0 11884 dup2(7, 1) = 1 11884 close(7) = 0 11884 dup2(9, 2) = 2 11884 close(9) = 0 11884 execve("/libgpiod/../install-libgpiod/bin/gpiodetect", ["/libgpiod/../install-libgpiod/bi"..., "unused argument"], 0x7fffb2966d78 /* 17 vars */) = 0 11884 brk(NULL) = 0x561246510000 11884 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 11884 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11884 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffc0b26a0b0) = -1 ENOENT (No such file or directory) 11884 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11884 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc0b26a0b0) = -1 ENOENT (No such file or directory) 11884 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11884 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc0b26a0b0) = -1 ENOENT (No such file or directory) 11884 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11884 stat("/libgpiod/src/lib/.libs/tls", 0x7ffc0b26a0b0) = -1 ENOENT (No such file or directory) 11884 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11884 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffc0b26a0b0) = -1 ENOENT (No such file or directory) 11884 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11884 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc0b26a0b0) = -1 ENOENT (No such file or directory) 11884 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11884 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc0b26a0b0) = -1 ENOENT (No such file or directory) 11884 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 11884 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 11884 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 11884 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6f76b8a000 11884 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6f76b80000 11884 mmap(0x7f6f76b83000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f6f76b83000 11884 mmap(0x7f6f76b86000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f6f76b86000 11884 mmap(0x7f6f76b88000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f6f76b88000 11884 close(3) = 0 11884 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11884 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11884 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffc0b26a090) = -1 ENOENT (No such file or directory) 11884 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11884 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc0b26a090) = -1 ENOENT (No such file or directory) 11884 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11884 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc0b26a090) = -1 ENOENT (No such file or directory) 11884 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11884 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffc0b26a090) = -1 ENOENT (No such file or directory) 11884 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11884 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffc0b26a090) = -1 ENOENT (No such file or directory) 11884 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11884 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc0b26a090) = -1 ENOENT (No such file or directory) 11884 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11884 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc0b26a090) = -1 ENOENT (No such file or directory) 11884 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11884 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 11884 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 11884 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 11884 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6f76b7b000 11884 close(3) = 0 11884 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 11884 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 11884 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 11884 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6f769ba000 11884 mprotect(0x7f6f769dc000, 1658880, PROT_NONE) = 0 11884 mmap(0x7f6f769dc000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f6f769dc000 11884 mmap(0x7f6f76b24000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f6f76b24000 11884 mmap(0x7f6f76b71000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f6f76b71000 11884 mmap(0x7f6f76b77000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6f76b77000 11884 close(3) = 0 11884 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6f769b7000 11884 arch_prctl(ARCH_SET_FS, 0x7f6f769b7740) = 0 11884 mprotect(0x7f6f76b71000, 16384, PROT_READ) = 0 11884 mprotect(0x7f6f76b88000, 4096, PROT_READ) = 0 11884 mprotect(0x5612464f1000, 4096, PROT_READ) = 0 11884 mprotect(0x7f6f76bb3000, 4096, PROT_READ) = 0 11884 munmap(0x7f6f76b7b000, 17208) = 0 11884 write(2, "/libgpiod/../install-libgpiod/bi"..., 46) = 46 11884 write(2, "unrecognized argument: unused ar"..., 38) = 38 11884 write(2, "\n", 1) = 1 11884 exit_group(1) = ? 11884 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0l.\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 85 9918 wait4(11884, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 11884 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965b00) = -1 ENOENT (No such file or directory) 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4,-1,8 gpi"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x59\x92\x59\x6b\xa7\x2b\x53\x4b\xb9\x28\x71\x71\x8c\xc1\xa7\x14", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x51\x27\xa9\x0e\xdc\xf0\x1e\xd0\x98\x90\x37\xff\x8a\xad\x6d\xbf", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x70\x6a\x8a\xed\x1c\xdc\xf9\xf8\x2b\x5d\x52\xb2\x15\xee\xec\x13", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xf9\x90\x20\xaa\xf4\xd3\x9e\xe4\xb3\xb7\xc9\x31\x3f\xbe\x73\x13", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiofind - found': ", 27) = 27 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiofind", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 11901 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 11901 set_robust_list(0x7f08f87b19a0, 24) = 0 11901 close(10) = 0 11901 dup2(4, 0) = 0 11901 close(4) = 0 11901 dup2(7, 1) = 1 11901 close(7) = 0 11901 dup2(9, 2) = 2 11901 close(9) = 0 11901 execve("/libgpiod/../install-libgpiod/bin/gpiofind", ["/libgpiod/../install-libgpiod/bi"..., "gpio-mockup-B-7"], 0x7fffb2966d78 /* 17 vars */) = 0 11901 brk(NULL) = 0x564272881000 11901 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 11901 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11901 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffff2fd8d20) = -1 ENOENT (No such file or directory) 11901 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11901 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffff2fd8d20) = -1 ENOENT (No such file or directory) 11901 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11901 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffff2fd8d20) = -1 ENOENT (No such file or directory) 11901 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11901 stat("/libgpiod/src/lib/.libs/tls", 0x7ffff2fd8d20) = -1 ENOENT (No such file or directory) 11901 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11901 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffff2fd8d20) = -1 ENOENT (No such file or directory) 11901 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11901 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffff2fd8d20) = -1 ENOENT (No such file or directory) 11901 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11901 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffff2fd8d20) = -1 ENOENT (No such file or directory) 11901 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 11901 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 11901 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 11901 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9c16982000 11901 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9c16978000 11901 mmap(0x7f9c1697b000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f9c1697b000 11901 mmap(0x7f9c1697e000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f9c1697e000 11901 mmap(0x7f9c16980000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f9c16980000 11901 close(3) = 0 11901 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11901 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11901 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffff2fd8d00) = -1 ENOENT (No such file or directory) 11901 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11901 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffff2fd8d00) = -1 ENOENT (No such file or directory) 11901 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11901 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffff2fd8d00) = -1 ENOENT (No such file or directory) 11901 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11901 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffff2fd8d00) = -1 ENOENT (No such file or directory) 11901 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11901 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffff2fd8d00) = -1 ENOENT (No such file or directory) 11901 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11901 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffff2fd8d00) = -1 ENOENT (No such file or directory) 11901 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11901 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffff2fd8d00) = -1 ENOENT (No such file or directory) 11901 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11901 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 11901 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 11901 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 11901 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9c16973000 11901 close(3) = 0 11901 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 11901 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 11901 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 11901 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9c167b2000 11901 mprotect(0x7f9c167d4000, 1658880, PROT_NONE) = 0 11901 mmap(0x7f9c167d4000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f9c167d4000 11901 mmap(0x7f9c1691c000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f9c1691c000 11901 mmap(0x7f9c16969000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f9c16969000 11901 mmap(0x7f9c1696f000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9c1696f000 11901 close(3) = 0 11901 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9c167af000 11901 arch_prctl(ARCH_SET_FS, 0x7f9c167af740) = 0 11901 mprotect(0x7f9c16969000, 16384, PROT_READ) = 0 11901 mprotect(0x7f9c16980000, 4096, PROT_READ) = 0 11901 mprotect(0x56427164d000, 4096, PROT_READ) = 0 11901 mprotect(0x7f9c169ab000, 4096, PROT_READ) = 0 11901 munmap(0x7f9c16973000, 17208) = 0 11901 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 11901 fstat(3, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 11901 brk(NULL) = 0x564272881000 11901 brk(0x5642728a2000) = 0x5642728a2000 11901 getdents64(3, /* 151 entries */, 32768) = 4496 11901 getdents64(3, /* 0 entries */, 32768) = 0 11901 close(3) = 0 11901 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 11901 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 11901 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 11901 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 11901 read(4, "254:0", 5) = 5 11901 close(4) = 0 11901 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffff2fd98e0) = 0 11901 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 11901 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 11901 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 11901 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 11901 read(7, "254:1", 5) = 5 11901 close(7) = 0 11901 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffff2fd98e0) = 0 11901 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffff2fd9920) = 0 11901 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffff2fd9920) = 0 11901 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffff2fd9920) = 0 11901 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffff2fd9920) = 0 11901 close(3) = 0 11901 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffff2fd9920) = 0 11901 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffff2fd9920) = 0 11901 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffff2fd9920) = 0 11901 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffff2fd9920) = 0 11901 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffff2fd9920) = 0 11901 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffff2fd9920) = 0 11901 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffff2fd9920) = 0 11901 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffff2fd9920) = 0 11901 close(4) = 0 11901 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 11901 write(1, "gpiochip1 7\n", 12) = 12 11901 exit_group(0) = ? 11901 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0}.\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "gpiochip1 7\n", 65536) = 12 9918 read(8, "", 65536) = 0 9918 wait4(11901, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 11901 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4,-1,8 gpi"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x0d\x24\x3a\xcb\xeb\xda\x1e\xaa\x32\xb2\x22\xee\x48\xaa\x39\x76", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x0c\x9a\x2b\xfc\xad\xb4\x20\xb7\xac\x6b\x37\x01\x6d\x50\xe5\x6d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x1f\x53\x88\xd1\xb1\x25\xf4\x1a\xd6\x5d\x2c\xe5\x68\xdf\x9d\x5f", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiofind - not found': ", 31) = 31 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiofind", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 11927 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 11927 set_robust_list(0x7f08f87b19a0, 24) = 0 11927 close(10) = 0 11927 dup2(4, 0) = 0 11927 close(4) = 0 11927 dup2(7, 1) = 1 11927 close(7) = 0 11927 dup2(9, 2) = 2 11927 close(9) = 0 11927 execve("/libgpiod/../install-libgpiod/bin/gpiofind", ["/libgpiod/../install-libgpiod/bi"..., "nonexistent"], 0x7fffb2966d78 /* 17 vars */) = 0 11927 brk(NULL) = 0x55cbf9cf2000 11927 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 11927 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11927 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffc29677e00) = -1 ENOENT (No such file or directory) 11927 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11927 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc29677e00) = -1 ENOENT (No such file or directory) 11927 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11927 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc29677e00) = -1 ENOENT (No such file or directory) 11927 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11927 stat("/libgpiod/src/lib/.libs/tls", 0x7ffc29677e00) = -1 ENOENT (No such file or directory) 11927 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11927 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffc29677e00) = -1 ENOENT (No such file or directory) 11927 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11927 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc29677e00) = -1 ENOENT (No such file or directory) 11927 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11927 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc29677e00) = -1 ENOENT (No such file or directory) 11927 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 11927 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 11927 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 11927 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feb8879a000 11927 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7feb88790000 11927 mmap(0x7feb88793000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7feb88793000 11927 mmap(0x7feb88796000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7feb88796000 11927 mmap(0x7feb88798000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7feb88798000 11927 close(3) = 0 11927 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11927 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11927 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffc29677de0) = -1 ENOENT (No such file or directory) 11927 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11927 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc29677de0) = -1 ENOENT (No such file or directory) 11927 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11927 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc29677de0) = -1 ENOENT (No such file or directory) 11927 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11927 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffc29677de0) = -1 ENOENT (No such file or directory) 11927 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11927 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffc29677de0) = -1 ENOENT (No such file or directory) 11927 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11927 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc29677de0) = -1 ENOENT (No such file or directory) 11927 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11927 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc29677de0) = -1 ENOENT (No such file or directory) 11927 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11927 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 11927 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 11927 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 11927 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7feb8878b000 11927 close(3) = 0 11927 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 11927 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 11927 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 11927 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7feb885ca000 11927 mprotect(0x7feb885ec000, 1658880, PROT_NONE) = 0 11927 mmap(0x7feb885ec000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7feb885ec000 11927 mmap(0x7feb88734000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7feb88734000 11927 mmap(0x7feb88781000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7feb88781000 11927 mmap(0x7feb88787000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7feb88787000 11927 close(3) = 0 11927 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7feb885c7000 11927 arch_prctl(ARCH_SET_FS, 0x7feb885c7740) = 0 11927 mprotect(0x7feb88781000, 16384, PROT_READ) = 0 11927 mprotect(0x7feb88798000, 4096, PROT_READ) = 0 11927 mprotect(0x55cbf85de000, 4096, PROT_READ) = 0 11927 mprotect(0x7feb887c3000, 4096, PROT_READ) = 0 11927 munmap(0x7feb8878b000, 17208) = 0 11927 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 11927 fstat(3, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 11927 brk(NULL) = 0x55cbf9cf2000 11927 brk(0x55cbf9d13000) = 0x55cbf9d13000 11927 getdents64(3, /* 151 entries */, 32768) = 4496 11927 getdents64(3, /* 0 entries */, 32768) = 0 11927 close(3) = 0 11927 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 11927 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 11927 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 11927 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 11927 read(4, "254:0", 5) = 5 11927 close(4) = 0 11927 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc296789c0) = 0 11927 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 11927 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 11927 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 11927 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 11927 read(7, "254:1", 5) = 5 11927 close(7) = 0 11927 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc296789c0) = 0 11927 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc29678a00) = 0 11927 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc29678a00) = 0 11927 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc29678a00) = 0 11927 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc29678a00) = 0 11927 close(3) = 0 11927 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffc29678a00) = 0 11927 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffc29678a00) = 0 11927 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffc29678a00) = 0 11927 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffc29678a00) = 0 11927 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffc29678a00) = 0 11927 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffc29678a00) = 0 11927 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffc29678a00) = 0 11927 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffc29678a00) = 0 11927 close(4) = 0 11927 exit_group(1) = ? 11927 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\227.\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "", 65536) = 0 9918 wait4(11927, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 11927 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiofind - invalid argum"..., 39) = 39 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiofind", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 11938 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 11938 set_robust_list(0x7f08f87b19a0, 24) = 0 11938 close(10) = 0 11938 dup2(4, 0) = 0 11938 close(4) = 0 11938 dup2(7, 1) = 1 11938 close(7) = 0 11938 dup2(9, 2) = 2 11938 close(9) = 0 11938 execve("/libgpiod/../install-libgpiod/bin/gpiofind", ["/libgpiod/../install-libgpiod/bi"...], 0x7fffb2966d78 /* 17 vars */) = 0 11938 brk(NULL) = 0x557723d55000 11938 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 11938 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11938 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffd0bc9ff70) = -1 ENOENT (No such file or directory) 11938 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11938 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd0bc9ff70) = -1 ENOENT (No such file or directory) 11938 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11938 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd0bc9ff70) = -1 ENOENT (No such file or directory) 11938 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11938 stat("/libgpiod/src/lib/.libs/tls", 0x7ffd0bc9ff70) = -1 ENOENT (No such file or directory) 11938 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11938 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffd0bc9ff70) = -1 ENOENT (No such file or directory) 11938 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11938 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd0bc9ff70) = -1 ENOENT (No such file or directory) 11938 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11938 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd0bc9ff70) = -1 ENOENT (No such file or directory) 11938 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 11938 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 11938 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 11938 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f85c5dd0000 11938 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f85c5dc6000 11938 mmap(0x7f85c5dc9000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f85c5dc9000 11938 mmap(0x7f85c5dcc000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f85c5dcc000 11938 mmap(0x7f85c5dce000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f85c5dce000 11938 close(3) = 0 11938 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11938 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11938 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffd0bc9ff50) = -1 ENOENT (No such file or directory) 11938 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11938 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd0bc9ff50) = -1 ENOENT (No such file or directory) 11938 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11938 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd0bc9ff50) = -1 ENOENT (No such file or directory) 11938 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11938 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffd0bc9ff50) = -1 ENOENT (No such file or directory) 11938 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11938 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffd0bc9ff50) = -1 ENOENT (No such file or directory) 11938 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11938 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd0bc9ff50) = -1 ENOENT (No such file or directory) 11938 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11938 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd0bc9ff50) = -1 ENOENT (No such file or directory) 11938 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11938 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 11938 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 11938 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 11938 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f85c5dc1000 11938 close(3) = 0 11938 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 11938 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 11938 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 11938 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f85c5c00000 11938 mprotect(0x7f85c5c22000, 1658880, PROT_NONE) = 0 11938 mmap(0x7f85c5c22000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f85c5c22000 11938 mmap(0x7f85c5d6a000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f85c5d6a000 11938 mmap(0x7f85c5db7000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f85c5db7000 11938 mmap(0x7f85c5dbd000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f85c5dbd000 11938 close(3) = 0 11938 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f85c5bfd000 11938 arch_prctl(ARCH_SET_FS, 0x7f85c5bfd740) = 0 11938 mprotect(0x7f85c5db7000, 16384, PROT_READ) = 0 11938 mprotect(0x7f85c5dce000, 4096, PROT_READ) = 0 11938 mprotect(0x557723268000, 4096, PROT_READ) = 0 11938 mprotect(0x7f85c5df9000, 4096, PROT_READ) = 0 11938 munmap(0x7f85c5dc1000, 17208) = 0 11938 write(2, "/libgpiod/../install-libgpiod/bi"..., 44) = 44 11938 write(2, "exactly one GPIO line name must "..., 44) = 44 11938 write(2, "\n", 1) = 1 11938 exit_group(1) = ? 11938 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\242.\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 89 9918 wait4(11938, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 11938 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiofind", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 11939 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 11939 set_robust_list(0x7f08f87b19a0, 24) = 0 11939 close(10) = 0 11939 dup2(4, 0) = 0 11939 close(4) = 0 11939 dup2(7, 1) = 1 11939 close(7) = 0 11939 dup2(9, 2) = 2 11939 close(9) = 0 11939 execve("/libgpiod/../install-libgpiod/bin/gpiofind", ["/libgpiod/../install-libgpiod/bi"..., "first argument", "second argument"], 0x7fffb2966d78 /* 17 vars */) = 0 11939 brk(NULL) = 0x55fa61da6000 11939 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 11939 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11939 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffcba42dd00) = -1 ENOENT (No such file or directory) 11939 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11939 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffcba42dd00) = -1 ENOENT (No such file or directory) 11939 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11939 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffcba42dd00) = -1 ENOENT (No such file or directory) 11939 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11939 stat("/libgpiod/src/lib/.libs/tls", 0x7ffcba42dd00) = -1 ENOENT (No such file or directory) 11939 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11939 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffcba42dd00) = -1 ENOENT (No such file or directory) 11939 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11939 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffcba42dd00) = -1 ENOENT (No such file or directory) 11939 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11939 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffcba42dd00) = -1 ENOENT (No such file or directory) 11939 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 11939 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 11939 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 11939 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f33c8870000 11939 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f33c8866000 11939 mmap(0x7f33c8869000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f33c8869000 11939 mmap(0x7f33c886c000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f33c886c000 11939 mmap(0x7f33c886e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f33c886e000 11939 close(3) = 0 11939 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11939 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11939 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffcba42dce0) = -1 ENOENT (No such file or directory) 11939 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11939 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffcba42dce0) = -1 ENOENT (No such file or directory) 11939 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11939 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffcba42dce0) = -1 ENOENT (No such file or directory) 11939 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11939 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffcba42dce0) = -1 ENOENT (No such file or directory) 11939 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11939 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffcba42dce0) = -1 ENOENT (No such file or directory) 11939 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11939 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffcba42dce0) = -1 ENOENT (No such file or directory) 11939 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11939 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffcba42dce0) = -1 ENOENT (No such file or directory) 11939 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11939 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 11939 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 11939 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 11939 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f33c8861000 11939 close(3) = 0 11939 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 11939 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 11939 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 11939 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f33c86a0000 11939 mprotect(0x7f33c86c2000, 1658880, PROT_NONE) = 0 11939 mmap(0x7f33c86c2000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f33c86c2000 11939 mmap(0x7f33c880a000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f33c880a000 11939 mmap(0x7f33c8857000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f33c8857000 11939 mmap(0x7f33c885d000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f33c885d000 11939 close(3) = 0 11939 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f33c869d000 11939 arch_prctl(ARCH_SET_FS, 0x7f33c869d740) = 0 11939 mprotect(0x7f33c8857000, 16384, PROT_READ) = 0 11939 mprotect(0x7f33c886e000, 4096, PROT_READ) = 0 11939 mprotect(0x55fa60c17000, 4096, PROT_READ) = 0 11939 mprotect(0x7f33c8899000, 4096, PROT_READ) = 0 11939 munmap(0x7f33c8861000, 17208) = 0 11939 write(2, "/libgpiod/../install-libgpiod/bi"..., 44) = 44 11939 write(2, "exactly one GPIO line name must "..., 44) = 44 11939 write(2, "\n", 1) = 1 11939 exit_group(1) = ? 11939 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\243.\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 89 9918 wait4(11939, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 11939 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965b00) = -1 ENOENT (No such file or directory) 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x9e\x8b\x6c\x13\xf1\xb0\xa4\xe9\xe0\xab\x00\xe1\x89\x77\xf3\x4b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xad\x87\xb5\xa8\x06\x0a\x96\x54\x02\x06\x39\x83\xff\x71\x12\xb5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x2d\xf0\x08\x39\x81\x37\xdb\x1c\xb3\x77\x6b\x99\xcb\xa4\x9f\x8e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xa0\xdb\xb6\xb8\x2c\x0c\x8d\x94\x39\xd5\x62\x01\x31\x9b\x01\x3d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xa0\x66\xc3\x30\xef\x82\x37\xd2\xba\xf5\x89\x3f\x95\xcc\x8b\x27", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioget - read all lines"..., 35) = 35 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioget", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 11962 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 11962 set_robust_list(0x7f08f87b19a0, 24) = 0 11962 close(10) = 0 11962 dup2(4, 0) = 0 11962 close(4) = 0 11962 dup2(7, 1) = 1 11962 close(7) = 0 11962 dup2(9, 2) = 2 11962 close(9) = 0 11962 execve("/libgpiod/../install-libgpiod/bin/gpioget", ["/libgpiod/../install-libgpiod/bi"..., "gpiochip1", "0", "1", "2", "3", "4", "5", "6", "7"], 0x7fffb2966d78 /* 17 vars */) = 0 11962 brk(NULL) = 0x55b2074bf000 11962 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 11962 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11962 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7fffd8333c50) = -1 ENOENT (No such file or directory) 11962 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11962 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fffd8333c50) = -1 ENOENT (No such file or directory) 11962 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11962 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fffd8333c50) = -1 ENOENT (No such file or directory) 11962 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11962 stat("/libgpiod/src/lib/.libs/tls", 0x7fffd8333c50) = -1 ENOENT (No such file or directory) 11962 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11962 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7fffd8333c50) = -1 ENOENT (No such file or directory) 11962 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11962 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fffd8333c50) = -1 ENOENT (No such file or directory) 11962 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11962 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fffd8333c50) = -1 ENOENT (No such file or directory) 11962 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 11962 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 11962 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 11962 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f49080db000 11962 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f49080d1000 11962 mmap(0x7f49080d4000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f49080d4000 11962 mmap(0x7f49080d7000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f49080d7000 11962 mmap(0x7f49080d9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f49080d9000 11962 close(3) = 0 11962 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11962 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11962 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7fffd8333c30) = -1 ENOENT (No such file or directory) 11962 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11962 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fffd8333c30) = -1 ENOENT (No such file or directory) 11962 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11962 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fffd8333c30) = -1 ENOENT (No such file or directory) 11962 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11962 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7fffd8333c30) = -1 ENOENT (No such file or directory) 11962 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11962 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7fffd8333c30) = -1 ENOENT (No such file or directory) 11962 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11962 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fffd8333c30) = -1 ENOENT (No such file or directory) 11962 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11962 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fffd8333c30) = -1 ENOENT (No such file or directory) 11962 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11962 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 11962 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 11962 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 11962 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f49080cc000 11962 close(3) = 0 11962 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 11962 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 11962 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 11962 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4907f0b000 11962 mprotect(0x7f4907f2d000, 1658880, PROT_NONE) = 0 11962 mmap(0x7f4907f2d000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f4907f2d000 11962 mmap(0x7f4908075000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f4908075000 11962 mmap(0x7f49080c2000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f49080c2000 11962 mmap(0x7f49080c8000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f49080c8000 11962 close(3) = 0 11962 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4907f08000 11962 arch_prctl(ARCH_SET_FS, 0x7f4907f08740) = 0 11962 mprotect(0x7f49080c2000, 16384, PROT_READ) = 0 11962 mprotect(0x7f49080d9000, 4096, PROT_READ) = 0 11962 mprotect(0x55b2074b8000, 4096, PROT_READ) = 0 11962 mprotect(0x7f4908104000, 4096, PROT_READ) = 0 11962 munmap(0x7f49080cc000, 17208) = 0 11962 brk(NULL) = 0x55b2074bf000 11962 brk(0x55b2074e0000) = 0x55b2074e0000 11962 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 11962 fstat(3, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 11962 getdents64(3, /* 152 entries */, 32768) = 4528 11962 getdents64(3, /* 0 entries */, 32768) = 0 11962 close(3) = 0 11962 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 11962 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 11962 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 11962 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 11962 read(4, "254:0", 5) = 5 11962 close(4) = 0 11962 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7fffd83345b0) = 0 11962 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 11962 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 11962 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 11962 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 11962 read(7, "254:1", 5) = 5 11962 close(7) = 0 11962 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffd83345b0) = 0 11962 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 7 11962 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 11962 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 11962 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 9 11962 read(9, "254:2", 5) = 5 11962 close(9) = 0 11962 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fffd83345b0) = 0 11962 close(3) = 0 11962 close(4) = 0 11962 close(7) = 0 11962 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 3 11962 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 11962 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 11962 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 4 11962 read(4, "254:1", 5) = 5 11962 close(4) = 0 11962 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7fffd8334630) = 0 11962 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fffd8334680) = 0 11962 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fffd8334680) = 0 11962 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fffd8334680) = 0 11962 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fffd8334680) = 0 11962 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fffd8334680) = 0 11962 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fffd8334680) = 0 11962 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fffd8334680) = 0 11962 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fffd8334680) = 0 11962 ioctl(3, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffd83344d0) = 0 11962 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fffd8334450) = 0 11962 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fffd8334450) = 0 11962 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fffd8334450) = 0 11962 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fffd8334450) = 0 11962 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fffd8334450) = 0 11962 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fffd8334450) = 0 11962 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fffd8334450) = 0 11962 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fffd8334450) = 0 11962 ioctl(4, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffd83346c0) = 0 11962 close(4) = 0 11962 close(3) = 0 11962 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 11962 write(1, "0 0 0 0 0 0 0 0\n", 16) = 16 11962 exit_group(0) = ? 11962 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\272.\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "0 0 0 0 0 0 0 0\n", 65536) = 16 9918 read(8, "", 65536) = 0 9918 wait4(11962, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 11962 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 9918 getdents64(4, /* 152 entries */, 32768) = 4528 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 close(4) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 5 9918 read(5, "254:1", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966870) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966710) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioget", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 11963 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 11963 set_robust_list(0x7f08f87b19a0, 24) = 0 11963 close(10) = 0 11963 dup2(4, 0) = 0 11963 close(4) = 0 11963 dup2(7, 1) = 1 11963 close(7) = 0 11963 dup2(9, 2) = 2 11963 close(9) = 0 11963 execve("/libgpiod/../install-libgpiod/bin/gpioget", ["/libgpiod/../install-libgpiod/bi"..., "gpiochip1", "0", "1", "2", "3", "4", "5", "6", "7"], 0x7fffb2966d78 /* 17 vars */) = 0 11963 brk(NULL) = 0x558148007000 11963 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 11963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11963 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffc1c90cc90) = -1 ENOENT (No such file or directory) 11963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11963 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc1c90cc90) = -1 ENOENT (No such file or directory) 11963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11963 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc1c90cc90) = -1 ENOENT (No such file or directory) 11963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11963 stat("/libgpiod/src/lib/.libs/tls", 0x7ffc1c90cc90) = -1 ENOENT (No such file or directory) 11963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11963 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffc1c90cc90) = -1 ENOENT (No such file or directory) 11963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11963 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc1c90cc90) = -1 ENOENT (No such file or directory) 11963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11963 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc1c90cc90) = -1 ENOENT (No such file or directory) 11963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 11963 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 11963 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 11963 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb4b8e47000 11963 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb4b8e3d000 11963 mmap(0x7fb4b8e40000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fb4b8e40000 11963 mmap(0x7fb4b8e43000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fb4b8e43000 11963 mmap(0x7fb4b8e45000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fb4b8e45000 11963 close(3) = 0 11963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11963 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11963 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffc1c90cc70) = -1 ENOENT (No such file or directory) 11963 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11963 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc1c90cc70) = -1 ENOENT (No such file or directory) 11963 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11963 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc1c90cc70) = -1 ENOENT (No such file or directory) 11963 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11963 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffc1c90cc70) = -1 ENOENT (No such file or directory) 11963 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11963 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffc1c90cc70) = -1 ENOENT (No such file or directory) 11963 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11963 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc1c90cc70) = -1 ENOENT (No such file or directory) 11963 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11963 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc1c90cc70) = -1 ENOENT (No such file or directory) 11963 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 11963 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 11963 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 11963 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 11963 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb4b8e38000 11963 close(3) = 0 11963 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 11963 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 11963 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 11963 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb4b8c77000 11963 mprotect(0x7fb4b8c99000, 1658880, PROT_NONE) = 0 11963 mmap(0x7fb4b8c99000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fb4b8c99000 11963 mmap(0x7fb4b8de1000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7fb4b8de1000 11963 mmap(0x7fb4b8e2e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7fb4b8e2e000 11963 mmap(0x7fb4b8e34000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb4b8e34000 11963 close(3) = 0 11963 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb4b8c74000 11963 arch_prctl(ARCH_SET_FS, 0x7fb4b8c74740) = 0 11963 mprotect(0x7fb4b8e2e000, 16384, PROT_READ) = 0 11963 mprotect(0x7fb4b8e45000, 4096, PROT_READ) = 0 11963 mprotect(0x558147b59000, 4096, PROT_READ) = 0 11963 mprotect(0x7fb4b8e70000, 4096, PROT_READ) = 0 11963 munmap(0x7fb4b8e38000, 17208) = 0 11963 brk(NULL) = 0x558148007000 11963 brk(0x558148028000) = 0x558148028000 11963 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 11963 fstat(3, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 11963 getdents64(3, /* 152 entries */, 32768) = 4528 11963 getdents64(3, /* 0 entries */, 32768) = 0 11963 close(3) = 0 11963 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 11963 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 11963 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 11963 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 11963 read(4, "254:0", 5) = 5 11963 close(4) = 0 11963 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc1c90d5f0) = 0 11963 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 11963 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 11963 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 11963 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 11963 read(7, "254:1", 5) = 5 11963 close(7) = 0 11963 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc1c90d5f0) = 0 11963 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 7 11963 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 11963 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 11963 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 9 11963 read(9, "254:2", 5) = 5 11963 close(9) = 0 11963 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc1c90d5f0) = 0 11963 close(3) = 0 11963 close(4) = 0 11963 close(7) = 0 11963 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 3 11963 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 11963 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 11963 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 4 11963 read(4, "254:1", 5) = 5 11963 close(4) = 0 11963 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc1c90d670) = 0 11963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1c90d6c0) = 0 11963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1c90d6c0) = 0 11963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1c90d6c0) = 0 11963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1c90d6c0) = 0 11963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1c90d6c0) = 0 11963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1c90d6c0) = 0 11963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1c90d6c0) = 0 11963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1c90d6c0) = 0 11963 ioctl(3, GPIO_GET_LINEHANDLE_IOCTL, 0x7ffc1c90d510) = 0 11963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1c90d490) = 0 11963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1c90d490) = 0 11963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1c90d490) = 0 11963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1c90d490) = 0 11963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1c90d490) = 0 11963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1c90d490) = 0 11963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1c90d490) = 0 11963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1c90d490) = 0 11963 ioctl(4, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7ffc1c90d700) = 0 11963 close(4) = 0 11963 close(3) = 0 11963 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 11963 write(1, "0 0 1 1 0 1 0 1\n", 16) = 16 11963 exit_group(0) = ? 11963 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\273.\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "0 0 1 1 0 1 0 1\n", 65536) = 16 9918 read(8, "", 65536) = 0 9918 wait4(11963, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 11963 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x57\xdc\x1f\xf8\x58\x2a\xef\x0c\xfe\xfc\x6b\x3b\x8a\x41\x4b\x65", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x48\xda\x4a\x24\x23\x21\x96\x3b\xd1\xc0\x69\x26\xd1\xc3\xfc\x1f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x55\xbb\xa0\xc7\xd0\xf3\x9a\x24\x62\x44\x3e\x2b\x90\x07\xf3\x9e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xcd\x5d\x90\x27\xd1\xf9\x0c\x98\x03\x7b\xd1\x32\x67\x3d\x12\x44", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xd9\x0a\xe2\xdd\xb4\x01\x25\xa1\x13\xba\x66\x5a\x95\x09\xe4\x45", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x64\x9f\x19\x16\xbf\x4f\x4c\xc2\x6f\x0a\x55\xa2\x29\xa1\xcd\xd4", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioget - read all lines"..., 48) = 48 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioget", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12001 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 12001 set_robust_list(0x7f08f87b19a0, 24 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12001 <... set_robust_list resumed> ) = 0 12001 close(10) = 0 12001 dup2(4, 0) = 0 12001 close(4) = 0 12001 dup2(7, 1) = 1 12001 close(7) = 0 12001 dup2(9, 2) = 2 12001 close(9) = 0 12001 execve("/libgpiod/../install-libgpiod/bin/gpioget", ["/libgpiod/../install-libgpiod/bi"..., "--active-low", "gpiochip1", "0", "1", "2", "3", "4", "5", "6", "7"], 0x7fffb2966d78 /* 17 vars */) = 0 12001 brk(NULL) = 0x5584b2c7e000 12001 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12001 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12001 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffc2b1a3600) = -1 ENOENT (No such file or directory) 12001 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12001 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc2b1a3600) = -1 ENOENT (No such file or directory) 12001 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12001 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc2b1a3600) = -1 ENOENT (No such file or directory) 12001 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12001 stat("/libgpiod/src/lib/.libs/tls", 0x7ffc2b1a3600) = -1 ENOENT (No such file or directory) 12001 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12001 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffc2b1a3600) = -1 ENOENT (No such file or directory) 12001 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12001 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc2b1a3600) = -1 ENOENT (No such file or directory) 12001 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12001 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc2b1a3600) = -1 ENOENT (No such file or directory) 12001 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12001 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12001 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12001 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f86e1de8000 12001 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f86e1dde000 12001 mmap(0x7f86e1de1000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f86e1de1000 12001 mmap(0x7f86e1de4000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f86e1de4000 12001 mmap(0x7f86e1de6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f86e1de6000 12001 close(3) = 0 12001 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12001 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12001 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffc2b1a35e0) = -1 ENOENT (No such file or directory) 12001 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12001 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc2b1a35e0) = -1 ENOENT (No such file or directory) 12001 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12001 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc2b1a35e0) = -1 ENOENT (No such file or directory) 12001 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12001 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffc2b1a35e0) = -1 ENOENT (No such file or directory) 12001 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12001 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffc2b1a35e0) = -1 ENOENT (No such file or directory) 12001 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12001 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc2b1a35e0) = -1 ENOENT (No such file or directory) 12001 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12001 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc2b1a35e0) = -1 ENOENT (No such file or directory) 12001 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12001 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12001 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12001 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12001 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f86e1dd9000 12001 close(3) = 0 12001 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12001 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12001 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12001 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f86e1c18000 12001 mprotect(0x7f86e1c3a000, 1658880, PROT_NONE) = 0 12001 mmap(0x7f86e1c3a000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f86e1c3a000 12001 mmap(0x7f86e1d82000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f86e1d82000 12001 mmap(0x7f86e1dcf000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f86e1dcf000 12001 mmap(0x7f86e1dd5000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f86e1dd5000 12001 close(3) = 0 12001 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f86e1c15000 12001 arch_prctl(ARCH_SET_FS, 0x7f86e1c15740) = 0 12001 mprotect(0x7f86e1dcf000, 16384, PROT_READ) = 0 12001 mprotect(0x7f86e1de6000, 4096, PROT_READ) = 0 12001 mprotect(0x5584b2528000, 4096, PROT_READ) = 0 12001 mprotect(0x7f86e1e11000, 4096, PROT_READ) = 0 12001 munmap(0x7f86e1dd9000, 17208) = 0 12001 brk(NULL) = 0x5584b2c7e000 12001 brk(0x5584b2c9f000) = 0x5584b2c9f000 12001 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 12001 fstat(3, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 12001 getdents64(3, /* 152 entries */, 32768) = 4528 12001 getdents64(3, /* 0 entries */, 32768) = 0 12001 close(3) = 0 12001 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 12001 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12001 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12001 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 12001 read(4, "254:0", 5) = 5 12001 close(4) = 0 12001 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc2b1a3f60) = 0 12001 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 12001 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12001 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12001 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 12001 read(7, "254:1", 5) = 5 12001 close(7) = 0 12001 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc2b1a3f60) = 0 12001 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 7 12001 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 12001 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 12001 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 9 12001 read(9, "254:2", 5) = 5 12001 close(9) = 0 12001 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc2b1a3f60) = 0 12001 close(3) = 0 12001 close(4) = 0 12001 close(7) = 0 12001 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 3 12001 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12001 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12001 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 4 12001 read(4, "254:1", 5) = 5 12001 close(4) = 0 12001 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc2b1a3fe0) = 0 12001 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc2b1a4030) = 0 12001 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc2b1a4030) = 0 12001 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc2b1a4030) = 0 12001 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc2b1a4030) = 0 12001 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc2b1a4030) = 0 12001 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc2b1a4030) = 0 12001 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc2b1a4030) = 0 12001 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc2b1a4030) = 0 12001 ioctl(3, GPIO_GET_LINEHANDLE_IOCTL, 0x7ffc2b1a3e80) = 0 12001 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc2b1a3e00) = 0 12001 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc2b1a3e00) = 0 12001 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc2b1a3e00) = 0 12001 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc2b1a3e00) = 0 12001 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc2b1a3e00) = 0 12001 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc2b1a3e00) = 0 12001 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc2b1a3e00) = 0 12001 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc2b1a3e00) = 0 12001 ioctl(4, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7ffc2b1a4070) = 0 12001 close(4) = 0 12001 close(3) = 0 12001 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12001 write(1, "1 1 1 1 1 1 1 1\n", 16) = 16 12001 exit_group(0) = ? 12001 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\341.\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "1 1 1 1 1 1 1 1\n", 65536) = 16 9918 read(8, "", 65536) = 0 9918 wait4(12001, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12001 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 9918 getdents64(4, /* 152 entries */, 32768) = 4528 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 close(4) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 5 9918 read(5, "254:1", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966870) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966710) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioget", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12002 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12002 set_robust_list(0x7f08f87b19a0, 24) = 0 12002 close(10) = 0 12002 dup2(4, 0) = 0 12002 close(4) = 0 12002 dup2(7, 1) = 1 12002 close(7) = 0 12002 dup2(9, 2) = 2 12002 close(9) = 0 12002 execve("/libgpiod/../install-libgpiod/bin/gpioget", ["/libgpiod/../install-libgpiod/bi"..., "--active-low", "gpiochip1", "0", "1", "2", "3", "4", "5", "6", "7"], 0x7fffb2966d78 /* 17 vars */) = 0 12002 brk(NULL) = 0x55f31e737000 12002 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12002 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12002 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffc7a901cc0) = -1 ENOENT (No such file or directory) 12002 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12002 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc7a901cc0) = -1 ENOENT (No such file or directory) 12002 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12002 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc7a901cc0) = -1 ENOENT (No such file or directory) 12002 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12002 stat("/libgpiod/src/lib/.libs/tls", 0x7ffc7a901cc0) = -1 ENOENT (No such file or directory) 12002 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12002 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffc7a901cc0) = -1 ENOENT (No such file or directory) 12002 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12002 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc7a901cc0) = -1 ENOENT (No such file or directory) 12002 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12002 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc7a901cc0) = -1 ENOENT (No such file or directory) 12002 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12002 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12002 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12002 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa5c0aee000 12002 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fa5c0ae4000 12002 mmap(0x7fa5c0ae7000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fa5c0ae7000 12002 mmap(0x7fa5c0aea000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fa5c0aea000 12002 mmap(0x7fa5c0aec000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fa5c0aec000 12002 close(3) = 0 12002 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12002 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12002 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffc7a901ca0) = -1 ENOENT (No such file or directory) 12002 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12002 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc7a901ca0) = -1 ENOENT (No such file or directory) 12002 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12002 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc7a901ca0) = -1 ENOENT (No such file or directory) 12002 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12002 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffc7a901ca0) = -1 ENOENT (No such file or directory) 12002 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12002 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffc7a901ca0) = -1 ENOENT (No such file or directory) 12002 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12002 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc7a901ca0) = -1 ENOENT (No such file or directory) 12002 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12002 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc7a901ca0) = -1 ENOENT (No such file or directory) 12002 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12002 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12002 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12002 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12002 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa5c0adf000 12002 close(3) = 0 12002 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12002 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12002 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12002 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fa5c091e000 12002 mprotect(0x7fa5c0940000, 1658880, PROT_NONE) = 0 12002 mmap(0x7fa5c0940000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fa5c0940000 12002 mmap(0x7fa5c0a88000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7fa5c0a88000 12002 mmap(0x7fa5c0ad5000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7fa5c0ad5000 12002 mmap(0x7fa5c0adb000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa5c0adb000 12002 close(3) = 0 12002 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa5c091b000 12002 arch_prctl(ARCH_SET_FS, 0x7fa5c091b740) = 0 12002 mprotect(0x7fa5c0ad5000, 16384, PROT_READ) = 0 12002 mprotect(0x7fa5c0aec000, 4096, PROT_READ) = 0 12002 mprotect(0x55f31e5d3000, 4096, PROT_READ) = 0 12002 mprotect(0x7fa5c0b17000, 4096, PROT_READ) = 0 12002 munmap(0x7fa5c0adf000, 17208) = 0 12002 brk(NULL) = 0x55f31e737000 12002 brk(0x55f31e758000) = 0x55f31e758000 12002 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 12002 fstat(3, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 12002 getdents64(3, /* 152 entries */, 32768) = 4528 12002 getdents64(3, /* 0 entries */, 32768) = 0 12002 close(3) = 0 12002 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 12002 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12002 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12002 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 12002 read(4, "254:0", 5) = 5 12002 close(4) = 0 12002 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc7a902620) = 0 12002 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 12002 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12002 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12002 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 12002 read(7, "254:1", 5) = 5 12002 close(7) = 0 12002 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc7a902620) = 0 12002 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 7 12002 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 12002 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 12002 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 9 12002 read(9, "254:2", 5) = 5 12002 close(9) = 0 12002 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc7a902620) = 0 12002 close(3) = 0 12002 close(4) = 0 12002 close(7) = 0 12002 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 3 12002 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12002 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12002 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 4 12002 read(4, "254:1", 5) = 5 12002 close(4) = 0 12002 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc7a9026a0) = 0 12002 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc7a9026f0) = 0 12002 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc7a9026f0) = 0 12002 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc7a9026f0) = 0 12002 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc7a9026f0) = 0 12002 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc7a9026f0) = 0 12002 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc7a9026f0) = 0 12002 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc7a9026f0) = 0 12002 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc7a9026f0) = 0 12002 ioctl(3, GPIO_GET_LINEHANDLE_IOCTL, 0x7ffc7a902540) = 0 12002 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc7a9024c0) = 0 12002 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc7a9024c0) = 0 12002 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc7a9024c0) = 0 12002 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc7a9024c0) = 0 12002 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc7a9024c0) = 0 12002 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc7a9024c0) = 0 12002 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc7a9024c0) = 0 12002 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc7a9024c0) = 0 12002 ioctl(4, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7ffc7a902730) = 0 12002 close(4) = 0 12002 close(3) = 0 12002 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12002 write(1, "1 1 0 0 1 0 1 0\n", 16) = 16 12002 exit_group(0) = ? 12002 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\342.\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "1 1 0 0 1 0 1 0\n", 65536) = 16 9918 read(8, "", 65536) = 0 9918 wait4(12002, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12002 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xb5\x98\xb6\xf1\xb0\x96\x5b\x1a\x7f\x86\xff\xd0\x4a\xaa\xe6\xe4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xd5\xfe\x2d\x6f\x63\xe2\xe6\x6f\x30\xec\x7f\x55\x05\x22\x32\x52", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x98\x24\xd1\xf8\x72\xf5\xfd\xab\x30\x23\x25\xf1\x85\xd9\x51\x0d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x0e\x84\xd0\xcf\xca\xfb\xa1\x4e\xba\xf8\x8c\x39\x00\xd2\x25\x71", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x04\x8b\xa4\x9c\xd5\xed\x5e\x95\x7f\xea\x86\x21\xfc\x37\x1f\xf1", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xde\xfb\x73\x50\x60\x44\x6d\x42\x58\xde\xac\x64\x81\x26\x15\x94", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xf1\x20\xcb\xe2\x44\x8e\xf7\x01\x7c\xe3\x66\x6d\x32\x35\x40\x19", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x1b\xe9\x01\xb9\xd3\x6e\xe7\xba\xe2\x44\xc6\x90\x90\x3f\x9b\xd8", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x58\x21\xec\x94\xd4\xa5\x18\x86\x3c\xf0\xc0\xee\x1f\x01\xac\xeb", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xdc\x4d\xc8\x10\x96\x70\xa9\xfe\xbe\x36\x6b\x68\x2a\xe1\xb5\x52", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x92\x61\x75\xf9\x0f\x98\x38\x13\x62\xfd\xfe\xb9\x80\x14\x19\xd1", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioget - read some line"..., 36) = 36 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioget", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12045 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12045 set_robust_list(0x7f08f87b19a0, 24) = 0 12045 close(10) = 0 12045 dup2(4, 0) = 0 12045 close(4) = 0 12045 dup2(7, 1) = 1 12045 close(7) = 0 12045 dup2(9, 2) = 2 12045 close(9) = 0 12045 execve("/libgpiod/../install-libgpiod/bin/gpioget", ["/libgpiod/../install-libgpiod/bi"..., "gpiochip1", "0", "1", "4", "6"], 0x7fffb2966d78 /* 17 vars */) = 0 12045 brk(NULL) = 0x560fa4ca2000 12045 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12045 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12045 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffde1ad9680) = -1 ENOENT (No such file or directory) 12045 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12045 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffde1ad9680) = -1 ENOENT (No such file or directory) 12045 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12045 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffde1ad9680) = -1 ENOENT (No such file or directory) 12045 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12045 stat("/libgpiod/src/lib/.libs/tls", 0x7ffde1ad9680) = -1 ENOENT (No such file or directory) 12045 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12045 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffde1ad9680) = -1 ENOENT (No such file or directory) 12045 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12045 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffde1ad9680) = -1 ENOENT (No such file or directory) 12045 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12045 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffde1ad9680) = -1 ENOENT (No such file or directory) 12045 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12045 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12045 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12045 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3c630dd000 12045 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3c630d3000 12045 mmap(0x7f3c630d6000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f3c630d6000 12045 mmap(0x7f3c630d9000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f3c630d9000 12045 mmap(0x7f3c630db000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f3c630db000 12045 close(3) = 0 12045 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12045 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12045 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffde1ad9660) = -1 ENOENT (No such file or directory) 12045 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12045 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffde1ad9660) = -1 ENOENT (No such file or directory) 12045 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12045 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffde1ad9660) = -1 ENOENT (No such file or directory) 12045 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12045 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffde1ad9660) = -1 ENOENT (No such file or directory) 12045 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12045 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffde1ad9660) = -1 ENOENT (No such file or directory) 12045 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12045 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffde1ad9660) = -1 ENOENT (No such file or directory) 12045 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12045 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffde1ad9660) = -1 ENOENT (No such file or directory) 12045 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12045 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12045 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12045 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12045 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3c630ce000 12045 close(3) = 0 12045 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12045 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12045 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12045 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3c62f0d000 12045 mprotect(0x7f3c62f2f000, 1658880, PROT_NONE) = 0 12045 mmap(0x7f3c62f2f000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f3c62f2f000 12045 mmap(0x7f3c63077000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f3c63077000 12045 mmap(0x7f3c630c4000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f3c630c4000 12045 mmap(0x7f3c630ca000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3c630ca000 12045 close(3) = 0 12045 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3c62f0a000 12045 arch_prctl(ARCH_SET_FS, 0x7f3c62f0a740) = 0 12045 mprotect(0x7f3c630c4000, 16384, PROT_READ) = 0 12045 mprotect(0x7f3c630db000, 4096, PROT_READ) = 0 12045 mprotect(0x560fa2e8e000, 4096, PROT_READ) = 0 12045 mprotect(0x7f3c63106000, 4096, PROT_READ) = 0 12045 munmap(0x7f3c630ce000, 17208) = 0 12045 brk(NULL) = 0x560fa4ca2000 12045 brk(0x560fa4cc3000) = 0x560fa4cc3000 12045 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 12045 fstat(3, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 12045 getdents64(3, /* 152 entries */, 32768) = 4528 12045 getdents64(3, /* 0 entries */, 32768) = 0 12045 close(3) = 0 12045 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 12045 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12045 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12045 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 12045 read(4, "254:0", 5) = 5 12045 close(4) = 0 12045 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffde1ad9fe0) = 0 12045 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 12045 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12045 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12045 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 12045 read(7, "254:1", 5) = 5 12045 close(7) = 0 12045 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffde1ad9fe0) = 0 12045 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 7 12045 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 12045 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 12045 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 9 12045 read(9, "254:2", 5) = 5 12045 close(9) = 0 12045 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffde1ad9fe0) = 0 12045 close(3) = 0 12045 close(4) = 0 12045 close(7) = 0 12045 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 3 12045 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12045 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12045 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 4 12045 read(4, "254:1", 5) = 5 12045 close(4) = 0 12045 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffde1ada060) = 0 12045 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffde1ada0b0) = 0 12045 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffde1ada0b0) = 0 12045 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffde1ada0b0) = 0 12045 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffde1ada0b0) = 0 12045 ioctl(3, GPIO_GET_LINEHANDLE_IOCTL, 0x7ffde1ad9f00) = 0 12045 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffde1ad9e80) = 0 12045 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffde1ad9e80) = 0 12045 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffde1ad9e80) = 0 12045 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffde1ad9e80) = 0 12045 ioctl(4, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7ffde1ada0f0) = 0 12045 close(4) = 0 12045 close(3) = 0 12045 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12045 write(1, "0 0 0 0\n", 8) = 8 12045 exit_group(0) = ? 12045 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\r/\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "0 0 0 0\n", 65536) = 8 9918 read(8, "", 65536) = 0 9918 wait4(12045, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12045 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 9918 getdents64(4, /* 152 entries */, 32768) = 4528 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966810) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966810) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966810) = 0 9918 close(4) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 5 9918 read(5, "254:1", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668e0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668e0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668e0) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966730) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666b0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666b0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666b0) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioget", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12047 12047 set_robust_list(0x7f08f87b19a0, 24) = 0 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12047 close(10) = 0 12047 dup2(4, 0) = 0 12047 close(4) = 0 12047 dup2(7, 1) = 1 12047 close(7) = 0 12047 dup2(9, 2) = 2 12047 close(9) = 0 12047 execve("/libgpiod/../install-libgpiod/bin/gpioget", ["/libgpiod/../install-libgpiod/bi"..., "gpiochip1", "0", "1", "4", "6"], 0x7fffb2966d78 /* 17 vars */) = 0 12047 brk(NULL) = 0x5581cc2d6000 12047 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12047 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12047 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffe66e01b00) = -1 ENOENT (No such file or directory) 12047 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12047 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffe66e01b00) = -1 ENOENT (No such file or directory) 12047 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12047 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffe66e01b00) = -1 ENOENT (No such file or directory) 12047 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12047 stat("/libgpiod/src/lib/.libs/tls", 0x7ffe66e01b00) = -1 ENOENT (No such file or directory) 12047 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12047 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffe66e01b00) = -1 ENOENT (No such file or directory) 12047 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12047 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffe66e01b00) = -1 ENOENT (No such file or directory) 12047 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12047 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffe66e01b00) = -1 ENOENT (No such file or directory) 12047 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12047 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12047 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12047 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f67bac05000 12047 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f67babfb000 12047 mmap(0x7f67babfe000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f67babfe000 12047 mmap(0x7f67bac01000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f67bac01000 12047 mmap(0x7f67bac03000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f67bac03000 12047 close(3) = 0 12047 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12047 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12047 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffe66e01ae0) = -1 ENOENT (No such file or directory) 12047 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12047 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffe66e01ae0) = -1 ENOENT (No such file or directory) 12047 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12047 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffe66e01ae0) = -1 ENOENT (No such file or directory) 12047 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12047 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffe66e01ae0) = -1 ENOENT (No such file or directory) 12047 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12047 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffe66e01ae0) = -1 ENOENT (No such file or directory) 12047 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12047 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffe66e01ae0) = -1 ENOENT (No such file or directory) 12047 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12047 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffe66e01ae0) = -1 ENOENT (No such file or directory) 12047 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12047 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12047 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12047 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12047 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f67babf6000 12047 close(3) = 0 12047 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12047 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12047 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12047 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f67baa35000 12047 mprotect(0x7f67baa57000, 1658880, PROT_NONE) = 0 12047 mmap(0x7f67baa57000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f67baa57000 12047 mmap(0x7f67bab9f000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f67bab9f000 12047 mmap(0x7f67babec000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f67babec000 12047 mmap(0x7f67babf2000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f67babf2000 12047 close(3) = 0 12047 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f67baa32000 12047 arch_prctl(ARCH_SET_FS, 0x7f67baa32740) = 0 12047 mprotect(0x7f67babec000, 16384, PROT_READ) = 0 12047 mprotect(0x7f67bac03000, 4096, PROT_READ) = 0 12047 mprotect(0x5581cbee9000, 4096, PROT_READ) = 0 12047 mprotect(0x7f67bac2e000, 4096, PROT_READ) = 0 12047 munmap(0x7f67babf6000, 17208) = 0 12047 brk(NULL) = 0x5581cc2d6000 12047 brk(0x5581cc2f7000) = 0x5581cc2f7000 12047 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 12047 fstat(3, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 12047 getdents64(3, /* 152 entries */, 32768) = 4528 12047 getdents64(3, /* 0 entries */, 32768) = 0 12047 close(3) = 0 12047 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 12047 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12047 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12047 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 12047 read(4, "254:0", 5) = 5 12047 close(4) = 0 12047 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe66e02460) = 0 12047 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 12047 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12047 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12047 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 12047 read(7, "254:1", 5) = 5 12047 close(7) = 0 12047 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe66e02460) = 0 12047 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 7 12047 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 12047 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 12047 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 9 12047 read(9, "254:2", 5) = 5 12047 close(9) = 0 12047 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe66e02460) = 0 12047 close(3) = 0 12047 close(4) = 0 12047 close(7) = 0 12047 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 3 12047 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12047 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12047 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 4 12047 read(4, "254:1", 5) = 5 12047 close(4) = 0 12047 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe66e024e0) = 0 12047 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe66e02530) = 0 12047 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe66e02530) = 0 12047 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe66e02530) = 0 12047 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe66e02530) = 0 12047 ioctl(3, GPIO_GET_LINEHANDLE_IOCTL, 0x7ffe66e02380) = 0 12047 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe66e02300) = 0 12047 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe66e02300) = 0 12047 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe66e02300) = 0 12047 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe66e02300) = 0 12047 ioctl(4, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7ffe66e02570) = 0 12047 close(4) = 0 12047 close(3) = 0 12047 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12047 write(1, "0 1 1 1\n", 8) = 8 12047 exit_group(0) = ? 12047 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\17/\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "0 1 1 1\n", 65536) = 8 9918 read(8, "", 65536) = 0 9918 wait4(12047, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12047 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioget - no arguments':"..., 33) = 33 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioget", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12062 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12062 set_robust_list(0x7f08f87b19a0, 24) = 0 12062 close(10) = 0 12062 dup2(4, 0) = 0 12062 close(4) = 0 12062 dup2(7, 1) = 1 12062 close(7) = 0 12062 dup2(9, 2) = 2 12062 close(9) = 0 12062 execve("/libgpiod/../install-libgpiod/bin/gpioget", ["/libgpiod/../install-libgpiod/bi"...], 0x7fffb2966d78 /* 17 vars */) = 0 12062 brk(NULL) = 0x5638b9e9c000 12062 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12062 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12062 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffd4c65bb40) = -1 ENOENT (No such file or directory) 12062 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12062 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd4c65bb40) = -1 ENOENT (No such file or directory) 12062 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12062 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd4c65bb40) = -1 ENOENT (No such file or directory) 12062 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12062 stat("/libgpiod/src/lib/.libs/tls", 0x7ffd4c65bb40) = -1 ENOENT (No such file or directory) 12062 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12062 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffd4c65bb40) = -1 ENOENT (No such file or directory) 12062 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12062 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd4c65bb40) = -1 ENOENT (No such file or directory) 12062 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12062 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd4c65bb40) = -1 ENOENT (No such file or directory) 12062 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12062 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12062 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12062 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f487c75d000 12062 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f487c753000 12062 mmap(0x7f487c756000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f487c756000 12062 mmap(0x7f487c759000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f487c759000 12062 mmap(0x7f487c75b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f487c75b000 12062 close(3) = 0 12062 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12062 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12062 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffd4c65bb20) = -1 ENOENT (No such file or directory) 12062 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12062 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd4c65bb20) = -1 ENOENT (No such file or directory) 12062 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12062 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd4c65bb20) = -1 ENOENT (No such file or directory) 12062 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12062 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffd4c65bb20) = -1 ENOENT (No such file or directory) 12062 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12062 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffd4c65bb20) = -1 ENOENT (No such file or directory) 12062 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12062 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd4c65bb20) = -1 ENOENT (No such file or directory) 12062 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12062 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd4c65bb20) = -1 ENOENT (No such file or directory) 12062 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12062 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12062 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12062 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12062 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f487c74e000 12062 close(3) = 0 12062 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12062 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12062 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12062 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f487c58d000 12062 mprotect(0x7f487c5af000, 1658880, PROT_NONE) = 0 12062 mmap(0x7f487c5af000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f487c5af000 12062 mmap(0x7f487c6f7000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f487c6f7000 12062 mmap(0x7f487c744000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f487c744000 12062 mmap(0x7f487c74a000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f487c74a000 12062 close(3) = 0 12062 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f487c58a000 12062 arch_prctl(ARCH_SET_FS, 0x7f487c58a740) = 0 12062 mprotect(0x7f487c744000, 16384, PROT_READ) = 0 12062 mprotect(0x7f487c75b000, 4096, PROT_READ) = 0 12062 mprotect(0x5638b8720000, 4096, PROT_READ) = 0 12062 mprotect(0x7f487c786000, 4096, PROT_READ) = 0 12062 munmap(0x7f487c74e000, 17208) = 0 12062 write(2, "/libgpiod/../install-libgpiod/bi"..., 43) = 43 12062 write(2, "gpiochip must be specified", 26) = 26 12062 write(2, "\n", 1) = 1 12062 exit_group(1) = ? 12062 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\36/\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 70 9918 wait4(12062, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 12062 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965b00) = -1 ENOENT (No such file or directory) 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4,-1,4", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x50\xe8\x01\xbd\xec\x24\x5d\xf8\xce\xa0\xd9\x4f\x26\xb4\x31\x5d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x6d\x20\xe8\x17\x1d\xe2\xc6\x9b\xe4\x02\xaf\xea\x9f\xd1\x28\x30", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x00\xf4\xb3\x3d\x3b\x6a\x77\x88\x4d\x61\x75\x43\xe7\x2b\x7d\x2e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x37\x82\x89\x6a\x82\x28\x3e\x4c\x1c\x76\x3f\x6b\x70\xfa\xd2\x94", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioget - no lines speci"..., 39) = 39 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioget", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12079 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12079 set_robust_list(0x7f08f87b19a0, 24) = 0 12079 close(10) = 0 12079 dup2(4, 0) = 0 12079 close(4) = 0 12079 dup2(7, 1) = 1 12079 close(7) = 0 12079 dup2(9, 2) = 2 12079 close(9) = 0 12079 execve("/libgpiod/../install-libgpiod/bin/gpioget", ["/libgpiod/../install-libgpiod/bi"..., "gpiochip1"], 0x7fffb2966d78 /* 17 vars */) = 0 12079 brk(NULL) = 0x558b7a899000 12079 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12079 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12079 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffeebcc7c80) = -1 ENOENT (No such file or directory) 12079 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12079 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffeebcc7c80) = -1 ENOENT (No such file or directory) 12079 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12079 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffeebcc7c80) = -1 ENOENT (No such file or directory) 12079 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12079 stat("/libgpiod/src/lib/.libs/tls", 0x7ffeebcc7c80) = -1 ENOENT (No such file or directory) 12079 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12079 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffeebcc7c80) = -1 ENOENT (No such file or directory) 12079 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12079 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffeebcc7c80) = -1 ENOENT (No such file or directory) 12079 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12079 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffeebcc7c80) = -1 ENOENT (No such file or directory) 12079 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12079 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12079 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12079 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd4d87db000 12079 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd4d87d1000 12079 mmap(0x7fd4d87d4000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fd4d87d4000 12079 mmap(0x7fd4d87d7000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fd4d87d7000 12079 mmap(0x7fd4d87d9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fd4d87d9000 12079 close(3) = 0 12079 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12079 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12079 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffeebcc7c60) = -1 ENOENT (No such file or directory) 12079 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12079 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffeebcc7c60) = -1 ENOENT (No such file or directory) 12079 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12079 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffeebcc7c60) = -1 ENOENT (No such file or directory) 12079 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12079 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffeebcc7c60) = -1 ENOENT (No such file or directory) 12079 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12079 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffeebcc7c60) = -1 ENOENT (No such file or directory) 12079 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12079 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffeebcc7c60) = -1 ENOENT (No such file or directory) 12079 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12079 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffeebcc7c60) = -1 ENOENT (No such file or directory) 12079 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12079 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12079 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12079 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12079 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd4d87cc000 12079 close(3) = 0 12079 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12079 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12079 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12079 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd4d860b000 12079 mprotect(0x7fd4d862d000, 1658880, PROT_NONE) = 0 12079 mmap(0x7fd4d862d000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fd4d862d000 12079 mmap(0x7fd4d8775000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7fd4d8775000 12079 mmap(0x7fd4d87c2000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7fd4d87c2000 12079 mmap(0x7fd4d87c8000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd4d87c8000 12079 close(3) = 0 12079 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd4d8608000 12079 arch_prctl(ARCH_SET_FS, 0x7fd4d8608740) = 0 12079 mprotect(0x7fd4d87c2000, 16384, PROT_READ) = 0 12079 mprotect(0x7fd4d87d9000, 4096, PROT_READ) = 0 12079 mprotect(0x558b792f7000, 4096, PROT_READ) = 0 12079 mprotect(0x7fd4d8804000, 4096, PROT_READ) = 0 12079 munmap(0x7fd4d87cc000, 17208) = 0 12079 write(2, "/libgpiod/../install-libgpiod/bi"..., 43) = 43 12079 write(2, "at least one GPIO line offset mu"..., 47) = 47 12079 write(2, "\n", 1) = 1 12079 exit_group(1) = ? 12079 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0//\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 91 9918 wait4(12079, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 12079 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xf4\x86\x16\x14\x8c\x5e\x33\x62\xe9\x18\x9d\x01\x4c\x83\x0b\x60", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x77\xc8\xa9\xb0\x69\xbe\xd7\x4e\xf6\x12\x5b\x5d\x73\xf9\xea\x68", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x2a\x12\x94\x40\x05\xf0\x09\xd2\xf1\xa8\x5b\xe9\xbf\x45\xa6\x54", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x5e\x5a\x83\xea\xd1\xa2\xee\x25\xf4\x58\xc0\x4b\xb4\x05\x35\xb5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x5d\x58\xa7\xbf\x7e\x95\xde\xd8\x50\xe8\x71\x06\x40\x6a\xcb\x38", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x7e\x26\x91\x5b\x53\xe2\xbd\x3a\xdd\x58\xf6\xfe\x8d\x77\x35\xea", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioget - too many lines"..., 45) = 45 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioget", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12103 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12103 set_robust_list(0x7f08f87b19a0, 24) = 0 12103 close(10) = 0 12103 dup2(4, 0) = 0 12103 close(4) = 0 12103 dup2(7, 1) = 1 12103 close(7) = 0 12103 dup2(9, 2) = 2 12103 close(9) = 0 12103 execve("/libgpiod/../install-libgpiod/bin/gpioget", ["/libgpiod/../install-libgpiod/bi"..., "gpiochip0", "0", "1", "2", "3", "4"], 0x7fffb2966d78 /* 17 vars */) = 0 12103 brk(NULL) = 0x5653111d3000 12103 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12103 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12103 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffe38d045e0) = -1 ENOENT (No such file or directory) 12103 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12103 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffe38d045e0) = -1 ENOENT (No such file or directory) 12103 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12103 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffe38d045e0) = -1 ENOENT (No such file or directory) 12103 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12103 stat("/libgpiod/src/lib/.libs/tls", 0x7ffe38d045e0) = -1 ENOENT (No such file or directory) 12103 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12103 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffe38d045e0) = -1 ENOENT (No such file or directory) 12103 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12103 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffe38d045e0) = -1 ENOENT (No such file or directory) 12103 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12103 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffe38d045e0) = -1 ENOENT (No such file or directory) 12103 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12103 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12103 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12103 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbd2995e000 12103 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbd29954000 12103 mmap(0x7fbd29957000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fbd29957000 12103 mmap(0x7fbd2995a000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fbd2995a000 12103 mmap(0x7fbd2995c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fbd2995c000 12103 close(3) = 0 12103 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12103 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12103 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffe38d045c0) = -1 ENOENT (No such file or directory) 12103 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12103 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffe38d045c0) = -1 ENOENT (No such file or directory) 12103 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12103 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffe38d045c0) = -1 ENOENT (No such file or directory) 12103 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12103 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffe38d045c0) = -1 ENOENT (No such file or directory) 12103 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12103 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffe38d045c0) = -1 ENOENT (No such file or directory) 12103 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12103 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffe38d045c0) = -1 ENOENT (No such file or directory) 12103 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12103 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffe38d045c0) = -1 ENOENT (No such file or directory) 12103 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12103 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12103 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12103 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12103 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fbd2994f000 12103 close(3) = 0 12103 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12103 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12103 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12103 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbd2978e000 12103 mprotect(0x7fbd297b0000, 1658880, PROT_NONE) = 0 12103 mmap(0x7fbd297b0000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fbd297b0000 12103 mmap(0x7fbd298f8000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7fbd298f8000 12103 mmap(0x7fbd29945000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7fbd29945000 12103 mmap(0x7fbd2994b000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbd2994b000 12103 close(3) = 0 12103 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbd2978b000 12103 arch_prctl(ARCH_SET_FS, 0x7fbd2978b740) = 0 12103 mprotect(0x7fbd29945000, 16384, PROT_READ) = 0 12103 mprotect(0x7fbd2995c000, 4096, PROT_READ) = 0 12103 mprotect(0x565310a10000, 4096, PROT_READ) = 0 12103 mprotect(0x7fbd29987000, 4096, PROT_READ) = 0 12103 munmap(0x7fbd2994f000, 17208) = 0 12103 brk(NULL) = 0x5653111d3000 12103 brk(0x5653111f4000) = 0x5653111f4000 12103 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 12103 fstat(3, {st_mode=S_IFDIR|0755, st_size=3000, ...}) = 0 12103 getdents64(3, /* 150 entries */, 32768) = 4464 12103 getdents64(3, /* 0 entries */, 32768) = 0 12103 close(3) = 0 12103 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 12103 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12103 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12103 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 12103 read(4, "254:0", 5) = 5 12103 close(4) = 0 12103 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe38d04f40) = 0 12103 close(3) = 0 12103 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 12103 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12103 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12103 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 12103 read(4, "254:0", 5) = 5 12103 close(4) = 0 12103 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe38d04fc0) = 0 12103 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe38d05010) = 0 12103 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe38d05010) = 0 12103 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe38d05010) = 0 12103 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe38d05010) = 0 12103 close(3) = 0 12103 write(2, "/libgpiod/../install-libgpiod/bi"..., 43) = 43 12103 write(2, "error reading GPIO values", 25) = 25 12103 write(2, ": Invalid argument\n", 19) = 19 12103 exit_group(1) = ? 12103 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0G/\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 87 9918 wait4(12103, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 12103 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x1b\x44\x19\xca\x4d\xa2\x1e\xb5\x95\xc2\x1f\x6c\xff\x86\x9b\x92", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x7f\xf5\xaf\xf3\x81\xf0\xba\x87\xac\x45\x49\xd6\x66\xf7\xb5\xf5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xc4\x3f\x51\xae\x5e\x0c\xdc\xe3\xb5\xb6\x3e\x6c\xa0\xf7\x5e\xa6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x4c\x82\xde\x09\x96\x22\x4b\xbe\x93\x1a\x71\x13\x00\xc2\xc6\xa8", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xdb\x7d\xf5\x58\xc3\x37\x49\x94\xcc\x5e\x1d\x2a\x2e\x50\xa0\x11", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x53\x14\xff\xd9\x3e\x0e\xd6\x64\xe6\x99\x76\x35\xab\xa0\x6d\x36", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioinfo - dump all chip"..., 36) = 36 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioinfo", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12128 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12128 set_robust_list(0x7f08f87b19a0, 24) = 0 12128 close(10) = 0 12128 dup2(4, 0) = 0 12128 close(4) = 0 12128 dup2(7, 1) = 1 12128 close(7) = 0 12128 dup2(9, 2) = 2 12128 close(9) = 0 12128 execve("/libgpiod/../install-libgpiod/bin/gpioinfo", ["/libgpiod/../install-libgpiod/bi"...], 0x7fffb2966d78 /* 17 vars */) = 0 12128 brk(NULL) = 0x561975653000 12128 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12128 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12128 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7fff32fd3fa0) = -1 ENOENT (No such file or directory) 12128 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12128 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fff32fd3fa0) = -1 ENOENT (No such file or directory) 12128 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12128 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fff32fd3fa0) = -1 ENOENT (No such file or directory) 12128 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12128 stat("/libgpiod/src/lib/.libs/tls", 0x7fff32fd3fa0) = -1 ENOENT (No such file or directory) 12128 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12128 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7fff32fd3fa0) = -1 ENOENT (No such file or directory) 12128 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12128 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fff32fd3fa0) = -1 ENOENT (No such file or directory) 12128 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12128 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fff32fd3fa0) = -1 ENOENT (No such file or directory) 12128 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12128 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12128 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12128 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f32c64eb000 12128 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f32c64e1000 12128 mmap(0x7f32c64e4000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f32c64e4000 12128 mmap(0x7f32c64e7000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f32c64e7000 12128 mmap(0x7f32c64e9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f32c64e9000 12128 close(3) = 0 12128 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12128 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12128 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7fff32fd3f80) = -1 ENOENT (No such file or directory) 12128 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12128 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fff32fd3f80) = -1 ENOENT (No such file or directory) 12128 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12128 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fff32fd3f80) = -1 ENOENT (No such file or directory) 12128 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12128 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7fff32fd3f80) = -1 ENOENT (No such file or directory) 12128 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12128 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7fff32fd3f80) = -1 ENOENT (No such file or directory) 12128 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12128 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fff32fd3f80) = -1 ENOENT (No such file or directory) 12128 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12128 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fff32fd3f80) = -1 ENOENT (No such file or directory) 12128 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12128 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12128 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12128 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12128 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f32c64dc000 12128 close(3) = 0 12128 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12128 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12128 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12128 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f32c631b000 12128 mprotect(0x7f32c633d000, 1658880, PROT_NONE) = 0 12128 mmap(0x7f32c633d000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f32c633d000 12128 mmap(0x7f32c6485000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f32c6485000 12128 mmap(0x7f32c64d2000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f32c64d2000 12128 mmap(0x7f32c64d8000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f32c64d8000 12128 close(3) = 0 12128 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f32c6318000 12128 arch_prctl(ARCH_SET_FS, 0x7f32c6318740) = 0 12128 mprotect(0x7f32c64d2000, 16384, PROT_READ) = 0 12128 mprotect(0x7f32c64e9000, 4096, PROT_READ) = 0 12128 mprotect(0x561974019000, 4096, PROT_READ) = 0 12128 mprotect(0x7f32c6514000, 4096, PROT_READ) = 0 12128 munmap(0x7f32c64dc000, 17208) = 0 12128 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 12128 fstat(3, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12128 brk(NULL) = 0x561975653000 12128 brk(0x561975674000) = 0x561975674000 12128 getdents64(3, /* 151 entries */, 32768) = 4496 12128 getdents64(3, /* 0 entries */, 32768) = 0 12128 close(3) = 0 12128 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 12128 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12128 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12128 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 12128 read(4, "254:0", 5) = 5 12128 close(4) = 0 12128 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7fff32fd4be0) = 0 12128 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 12128 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12128 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12128 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 12128 read(7, "254:1", 5) = 5 12128 close(7) = 0 12128 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fff32fd4be0) = 0 12128 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff32fd4be0) = 0 12128 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff32fd4be0) = 0 12128 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff32fd4be0) = 0 12128 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff32fd4be0) = 0 12128 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12128 close(3) = 0 12128 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff32fd4be0) = 0 12128 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff32fd4be0) = 0 12128 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff32fd4be0) = 0 12128 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff32fd4be0) = 0 12128 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff32fd4be0) = 0 12128 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff32fd4be0) = 0 12128 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff32fd4be0) = 0 12128 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff32fd4be0) = 0 12128 close(4) = 0 12128 write(1, "gpiochip0 - 4 lines:\n\tline 0: "..., 750) = 750 12128 exit_group(0) = ? 12128 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0`/\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "gpiochip0 - 4 lines:\n\tline 0: "..., 65536) = 750 9918 read(8, "", 65536) = 0 9918 wait4(12128, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12128 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 brk(0x564d1c17c000) = 0x564d1c17c000 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x39\xa7\x46\x63\x54\x73\xbf\xa6\xb1\xba\x67\x48\x47\x91\x97\x70", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x46\xe0\xd7\x99\x97\x6b\x11\xad\x59\x1c\xd0\x60\x58\x78\xa7\x91", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xb5\xe8\xad\x86\x4e\x1a\xeb\xa7\x87\xfd\x20\xd9\xd2\xc0\xb3\xca", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x80\x1e\x94\xb2\x9a\xa2\xb4\xfc\x43\x96\x6a\xb6\x6b\x39\xdb\xb5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xfd\x9d\x54\x78\x96\x40\x99\xdf\xaf\xba\x00\x11\xf5\x2a\xa8\xca", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xa0\x98\x43\xf1\x15\xe1\x3e\x23\x09\x15\x81\x80\x4f\xbc\xa1\x30", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x1a\xd9\x32\x74\xcc\x66\xf8\xc9\x8a\x17\x14\xff\xe7\xf1\x8a\x25", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x10\x57\x95\xe4\x68\xd6\xb1\x77\xa9\x5c\xa4\x36\xf7\x21\x62\x69", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioinfo - dump all chip"..., 56) = 56 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 5 9918 read(5, "254:1", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966b20) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966b50) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966770) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666f0) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 pipe([10, 11]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioinfo", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 12 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12159 9918 close(6) = 0 9918 close(9) = 0 9918 close(11) = 0 9918 poll([{fd=12, events=POLLIN|POLLPRI}], 1, 5000 12159 set_robust_list(0x7f08f87b19a0, 24) = 0 12159 close(12) = 0 12159 dup2(6, 0) = 0 12159 close(6) = 0 12159 dup2(9, 1) = 1 12159 close(9) = 0 12159 dup2(11, 2) = 2 12159 close(11) = 0 12159 execve("/libgpiod/../install-libgpiod/bin/gpioinfo", ["/libgpiod/../install-libgpiod/bi"...], 0x7fffb2966d78 /* 17 vars */) = 0 12159 brk(NULL) = 0x55b7c1311000 12159 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12159 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12159 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7fff051f4bf0) = -1 ENOENT (No such file or directory) 12159 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12159 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fff051f4bf0) = -1 ENOENT (No such file or directory) 12159 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12159 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fff051f4bf0) = -1 ENOENT (No such file or directory) 12159 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12159 stat("/libgpiod/src/lib/.libs/tls", 0x7fff051f4bf0) = -1 ENOENT (No such file or directory) 12159 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12159 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7fff051f4bf0) = -1 ENOENT (No such file or directory) 12159 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12159 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fff051f4bf0) = -1 ENOENT (No such file or directory) 12159 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12159 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fff051f4bf0) = -1 ENOENT (No such file or directory) 12159 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12159 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12159 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12159 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbce4fa2000 12159 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbce4f98000 12159 mmap(0x7fbce4f9b000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fbce4f9b000 12159 mmap(0x7fbce4f9e000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fbce4f9e000 12159 mmap(0x7fbce4fa0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fbce4fa0000 12159 close(3) = 0 12159 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12159 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12159 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7fff051f4bd0) = -1 ENOENT (No such file or directory) 12159 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12159 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fff051f4bd0) = -1 ENOENT (No such file or directory) 12159 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12159 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fff051f4bd0) = -1 ENOENT (No such file or directory) 12159 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12159 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7fff051f4bd0) = -1 ENOENT (No such file or directory) 12159 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12159 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7fff051f4bd0) = -1 ENOENT (No such file or directory) 12159 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12159 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fff051f4bd0) = -1 ENOENT (No such file or directory) 12159 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12159 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fff051f4bd0) = -1 ENOENT (No such file or directory) 12159 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12159 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12159 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12159 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12159 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fbce4f93000 12159 close(3) = 0 12159 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12159 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12159 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12159 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fbce4dd2000 12159 mprotect(0x7fbce4df4000, 1658880, PROT_NONE) = 0 12159 mmap(0x7fbce4df4000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fbce4df4000 12159 mmap(0x7fbce4f3c000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7fbce4f3c000 12159 mmap(0x7fbce4f89000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7fbce4f89000 12159 mmap(0x7fbce4f8f000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fbce4f8f000 12159 close(3) = 0 12159 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbce4dcf000 12159 arch_prctl(ARCH_SET_FS, 0x7fbce4dcf740) = 0 12159 mprotect(0x7fbce4f89000, 16384, PROT_READ) = 0 12159 mprotect(0x7fbce4fa0000, 4096, PROT_READ) = 0 12159 mprotect(0x55b7c00fb000, 4096, PROT_READ) = 0 12159 mprotect(0x7fbce4fcb000, 4096, PROT_READ) = 0 12159 munmap(0x7fbce4f93000, 17208) = 0 12159 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 12159 fstat(3, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12159 brk(NULL) = 0x55b7c1311000 12159 brk(0x55b7c1332000) = 0x55b7c1332000 12159 getdents64(3, /* 151 entries */, 32768) = 4496 12159 getdents64(3, /* 0 entries */, 32768) = 0 12159 close(3) = 0 12159 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 12159 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12159 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12159 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 12159 read(4, "254:0", 5) = 5 12159 close(4) = 0 12159 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7fff051f5830) = 0 12159 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 12159 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12159 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12159 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 5 12159 read(5, "254:1", 5) = 5 12159 close(5) = 0 12159 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fff051f5830) = 0 12159 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff051f5830) = 0 12159 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff051f5830) = 0 12159 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff051f5830) = 0 12159 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff051f5830) = 0 12159 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12159 close(3) = 0 12159 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff051f5830) = 0 12159 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff051f5830) = 0 12159 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff051f5830) = 0 12159 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff051f5830) = 0 12159 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff051f5830) = 0 12159 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff051f5830) = 0 12159 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff051f5830) = 0 12159 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff051f5830) = 0 12159 close(4) = 0 12159 write(1, "gpiochip0 - 4 lines:\n\tline 0: "..., 756) = 756 12159 exit_group(0) = ? 12159 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=12, revents=POLLIN}]) 9918 read(12, "\21\0\0\0\0\0\0\0\1\0\0\0\177/\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(12) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(8, "gpiochip0 - 4 lines:\n\tline 0: "..., 65536) = 756 9918 read(10, "", 65536) = 0 9918 wait4(12159, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12159 9918 close(7) = 0 9918 close(8) = 0 9918 close(10) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,4", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xb5\xea\x4e\x1d\x0a\xa2\xca\xbc\xd2\x04\x4c\xbb\x67\xe5\xa0\xcb", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xcf\xa0\x75\x40\xf7\xec\xae\xe8\x9a\x45\xfb\x29\x33\x81\xd8\x86", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xac\x6f\x56\x49\x2f\x1a\x50\xf0\xf6\xb3\x5e\xd6\x0b\x8f\x54\xe6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x69\x9b\x83\xf9\x59\xc0\x05\xa4\x87\x6b\x65\xf2\xeb\x92\x99\x93", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x55\xd6\xf5\x7e\x62\x89\x6d\x0f\xb7\x92\xc6\x25\x58\xff\xff\xf3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x1b\xe5\x20\xb0\x9a\x8d\x31\xf3\x0e\x9b\x3a\x76\x7e\xbc\xd9\x37", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x79\x8d\x54\x4f\xbb\xa2\xbe\x67\xa3\xe4\xbd\x37\xfc\x18\x51\xc3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x70\xe2\xcd\xc7\x84\x0d\xb5\x50\x36\xcd\x09\x8a\x73\x7a\x4c\xce", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioinfo - dump one chip"..., 35) = 35 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioinfo", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12190 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12190 set_robust_list(0x7f08f87b19a0, 24) = 0 12190 close(10) = 0 12190 dup2(4, 0) = 0 12190 close(4) = 0 12190 dup2(7, 1) = 1 12190 close(7) = 0 12190 dup2(9, 2) = 2 12190 close(9) = 0 12190 execve("/libgpiod/../install-libgpiod/bin/gpioinfo", ["/libgpiod/../install-libgpiod/bi"..., "gpiochip1"], 0x7fffb2966d78 /* 17 vars */) = 0 12190 brk(NULL) = 0x5593048fc000 12190 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12190 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12190 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffd8b1ec860) = -1 ENOENT (No such file or directory) 12190 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12190 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd8b1ec860) = -1 ENOENT (No such file or directory) 12190 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12190 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd8b1ec860) = -1 ENOENT (No such file or directory) 12190 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12190 stat("/libgpiod/src/lib/.libs/tls", 0x7ffd8b1ec860) = -1 ENOENT (No such file or directory) 12190 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12190 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffd8b1ec860) = -1 ENOENT (No such file or directory) 12190 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12190 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd8b1ec860) = -1 ENOENT (No such file or directory) 12190 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12190 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd8b1ec860) = -1 ENOENT (No such file or directory) 12190 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12190 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12190 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12190 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9b0fe0d000 12190 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9b0fe03000 12190 mmap(0x7f9b0fe06000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f9b0fe06000 12190 mmap(0x7f9b0fe09000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f9b0fe09000 12190 mmap(0x7f9b0fe0b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f9b0fe0b000 12190 close(3) = 0 12190 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12190 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12190 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffd8b1ec840) = -1 ENOENT (No such file or directory) 12190 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12190 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd8b1ec840) = -1 ENOENT (No such file or directory) 12190 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12190 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd8b1ec840) = -1 ENOENT (No such file or directory) 12190 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12190 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffd8b1ec840) = -1 ENOENT (No such file or directory) 12190 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12190 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffd8b1ec840) = -1 ENOENT (No such file or directory) 12190 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12190 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd8b1ec840) = -1 ENOENT (No such file or directory) 12190 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12190 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd8b1ec840) = -1 ENOENT (No such file or directory) 12190 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12190 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12190 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12190 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12190 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9b0fdfe000 12190 close(3) = 0 12190 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12190 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12190 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12190 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9b0fc3d000 12190 mprotect(0x7f9b0fc5f000, 1658880, PROT_NONE) = 0 12190 mmap(0x7f9b0fc5f000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f9b0fc5f000 12190 mmap(0x7f9b0fda7000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f9b0fda7000 12190 mmap(0x7f9b0fdf4000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f9b0fdf4000 12190 mmap(0x7f9b0fdfa000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9b0fdfa000 12190 close(3) = 0 12190 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9b0fc3a000 12190 arch_prctl(ARCH_SET_FS, 0x7f9b0fc3a740) = 0 12190 mprotect(0x7f9b0fdf4000, 16384, PROT_READ) = 0 12190 mprotect(0x7f9b0fe0b000, 4096, PROT_READ) = 0 12190 mprotect(0x5593037a4000, 4096, PROT_READ) = 0 12190 mprotect(0x7f9b0fe36000, 4096, PROT_READ) = 0 12190 munmap(0x7f9b0fdfe000, 17208) = 0 12190 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 12190 fstat(3, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12190 brk(NULL) = 0x5593048fc000 12190 brk(0x55930491d000) = 0x55930491d000 12190 getdents64(3, /* 151 entries */, 32768) = 4496 12190 getdents64(3, /* 0 entries */, 32768) = 0 12190 close(3) = 0 12190 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 12190 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12190 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12190 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 12190 read(4, "254:0", 5) = 5 12190 close(4) = 0 12190 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd8b1ed460) = 0 12190 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 12190 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12190 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12190 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 12190 read(7, "254:1", 5) = 5 12190 close(7) = 0 12190 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd8b1ed460) = 0 12190 close(3) = 0 12190 close(4) = 0 12190 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 3 12190 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12190 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12190 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 4 12190 read(4, "254:1", 5) = 5 12190 close(4) = 0 12190 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd8b1ed4e0) = 0 12190 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd8b1ed4a0) = 0 12190 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd8b1ed4a0) = 0 12190 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd8b1ed4a0) = 0 12190 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd8b1ed4a0) = 0 12190 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12190 close(3) = 0 12190 write(1, "gpiochip1 - 4 lines:\n\tline 0: "..., 257) = 257 12190 exit_group(0) = ? 12190 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\236/\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "gpiochip1 - 4 lines:\n\tline 0: "..., 65536) = 257 9918 read(8, "", 65536) = 0 9918 wait4(12190, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12190 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4,-1,4,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xb4\xcc\x8a\x4a\x6e\xa5\x91\xa7\xed\x43\x00\x58\x84\xc5\xac\xaa", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x0b\xeb\x18\xde\x5d\xf1\xad\x5e\x43\xa9\xbc\x9c\x1d\xf6\xbf\xda", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x90\xb5\x39\xb5\x17\x89\xa2\x2b\x56\xeb\x67\x8c\x83\xf9\x42\x26", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x5a\x62\x20\x4f\x41\xfc\xe2\xc7\xd9\xbf\xd3\xc7\x5a\x2c\x27\x33", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x79\x17\xad\xad\xeb\x73\x75\x49\x14\x0d\x3c\x5a\x0a\x4a\x57\xd4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x10\x0d\x5f\x43\x6a\x51\xbf\x0c\xb9\x82\x50\xaa\xc3\xd1\x0b\xe4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xdd\x09\x2f\x68\x1f\x27\x97\xfe\x96\xde\x18\xac\xd5\xfb\x2e\xf5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xc7\x15\x4e\x1b\xe9\x6f\x20\xe4\xc9\xce\xca\xf6\x7d\xe5\x80\x9b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xa7\xb2\xc5\xf6\x8d\x1e\xcf\xd1\x2f\xd2\x56\x73\x9f\x55\x53\x56", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x6b\xdd\x93\xfd\x5d\x63\xca\x81\x5e\xf8\x39\xf4\xd5\x6d\xe0\x31", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x6c\xca\x1b\xfb\xea\x07\x93\xfb\x4e\xf7\x98\x62\x41\xd6\x5f\x43", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioinfo - dump all but "..., 43) = 43 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioinfo", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12234 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12234 set_robust_list(0x7f08f87b19a0, 24) = 0 12234 close(10) = 0 12234 dup2(4, 0) = 0 12234 close(4) = 0 12234 dup2(7, 1) = 1 12234 close(7) = 0 12234 dup2(9, 2) = 2 12234 close(9) = 0 12234 execve("/libgpiod/../install-libgpiod/bin/gpioinfo", ["/libgpiod/../install-libgpiod/bi"..., "gpiochip0", "gpiochip1", "gpiochip3"], 0x7fffb2966d78 /* 17 vars */) = 0 12234 brk(NULL) = 0x55cd7eb65000 12234 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12234 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12234 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7fff2180c390) = -1 ENOENT (No such file or directory) 12234 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12234 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fff2180c390) = -1 ENOENT (No such file or directory) 12234 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12234 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fff2180c390) = -1 ENOENT (No such file or directory) 12234 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12234 stat("/libgpiod/src/lib/.libs/tls", 0x7fff2180c390) = -1 ENOENT (No such file or directory) 12234 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12234 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7fff2180c390) = -1 ENOENT (No such file or directory) 12234 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12234 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fff2180c390) = -1 ENOENT (No such file or directory) 12234 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12234 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fff2180c390) = -1 ENOENT (No such file or directory) 12234 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12234 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12234 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12234 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb5f9d93000 12234 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb5f9d89000 12234 mmap(0x7fb5f9d8c000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fb5f9d8c000 12234 mmap(0x7fb5f9d8f000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fb5f9d8f000 12234 mmap(0x7fb5f9d91000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fb5f9d91000 12234 close(3) = 0 12234 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12234 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12234 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7fff2180c370) = -1 ENOENT (No such file or directory) 12234 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12234 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fff2180c370) = -1 ENOENT (No such file or directory) 12234 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12234 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fff2180c370) = -1 ENOENT (No such file or directory) 12234 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12234 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7fff2180c370) = -1 ENOENT (No such file or directory) 12234 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12234 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7fff2180c370) = -1 ENOENT (No such file or directory) 12234 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12234 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fff2180c370) = -1 ENOENT (No such file or directory) 12234 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12234 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fff2180c370) = -1 ENOENT (No such file or directory) 12234 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12234 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12234 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12234 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12234 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb5f9d84000 12234 close(3) = 0 12234 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12234 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12234 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12234 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb5f9bc3000 12234 mprotect(0x7fb5f9be5000, 1658880, PROT_NONE) = 0 12234 mmap(0x7fb5f9be5000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fb5f9be5000 12234 mmap(0x7fb5f9d2d000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7fb5f9d2d000 12234 mmap(0x7fb5f9d7a000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7fb5f9d7a000 12234 mmap(0x7fb5f9d80000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb5f9d80000 12234 close(3) = 0 12234 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb5f9bc0000 12234 arch_prctl(ARCH_SET_FS, 0x7fb5f9bc0740) = 0 12234 mprotect(0x7fb5f9d7a000, 16384, PROT_READ) = 0 12234 mprotect(0x7fb5f9d91000, 4096, PROT_READ) = 0 12234 mprotect(0x55cd7e014000, 4096, PROT_READ) = 0 12234 mprotect(0x7fb5f9dbc000, 4096, PROT_READ) = 0 12234 munmap(0x7fb5f9d84000, 17208) = 0 12234 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 12234 fstat(3, {st_mode=S_IFDIR|0755, st_size=3060, ...}) = 0 12234 brk(NULL) = 0x55cd7eb65000 12234 brk(0x55cd7eb86000) = 0x55cd7eb86000 12234 getdents64(3, /* 153 entries */, 32768) = 4560 12234 getdents64(3, /* 0 entries */, 32768) = 0 12234 close(3) = 0 12234 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 12234 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12234 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12234 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 12234 read(4, "254:0", 5) = 5 12234 close(4) = 0 12234 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7fff2180cf90) = 0 12234 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 12234 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12234 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12234 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 12234 read(7, "254:1", 5) = 5 12234 close(7) = 0 12234 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fff2180cf90) = 0 12234 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 7 12234 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 12234 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 12234 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 9 12234 read(9, "254:2", 5) = 5 12234 close(9) = 0 12234 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fff2180cf90) = 0 12234 openat(AT_FDCWD, "/dev/gpiochip3", O_RDWR|O_CLOEXEC) = 9 12234 lstat("/dev/gpiochip3", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x3), ...}) = 0 12234 access("/sys/bus/gpio/devices/gpiochip3/dev", R_OK) = 0 12234 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip3/dev", O_RDONLY) = 10 12234 read(10, "254:3", 5) = 5 12234 close(10) = 0 12234 ioctl(9, GPIO_GET_CHIPINFO_IOCTL, 0x7fff2180cf90) = 0 12234 close(3) = 0 12234 close(4) = 0 12234 close(7) = 0 12234 close(9) = 0 12234 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 12234 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12234 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12234 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 12234 read(4, "254:0", 5) = 5 12234 close(4) = 0 12234 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7fff2180d010) = 0 12234 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff2180cfd0) = 0 12234 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff2180cfd0) = 0 12234 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff2180cfd0) = 0 12234 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff2180cfd0) = 0 12234 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12234 close(3) = 0 12234 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 12234 fstat(3, {st_mode=S_IFDIR|0755, st_size=3060, ...}) = 0 12234 getdents64(3, /* 153 entries */, 32768) = 4560 12234 getdents64(3, /* 0 entries */, 32768) = 0 12234 close(3) = 0 12234 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 12234 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12234 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12234 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 12234 read(4, "254:0", 5) = 5 12234 close(4) = 0 12234 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7fff2180cf90) = 0 12234 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 12234 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12234 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12234 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 12234 read(7, "254:1", 5) = 5 12234 close(7) = 0 12234 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fff2180cf90) = 0 12234 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 7 12234 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 12234 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 12234 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 9 12234 read(9, "254:2", 5) = 5 12234 close(9) = 0 12234 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fff2180cf90) = 0 12234 openat(AT_FDCWD, "/dev/gpiochip3", O_RDWR|O_CLOEXEC) = 9 12234 lstat("/dev/gpiochip3", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x3), ...}) = 0 12234 access("/sys/bus/gpio/devices/gpiochip3/dev", R_OK) = 0 12234 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip3/dev", O_RDONLY) = 10 12234 read(10, "254:3", 5) = 5 12234 close(10) = 0 12234 ioctl(9, GPIO_GET_CHIPINFO_IOCTL, 0x7fff2180cf90) = 0 12234 close(3) = 0 12234 close(4) = 0 12234 close(7) = 0 12234 close(9) = 0 12234 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 3 12234 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12234 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12234 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 4 12234 read(4, "254:1", 5) = 5 12234 close(4) = 0 12234 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7fff2180d010) = 0 12234 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff2180cfd0) = 0 12234 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff2180cfd0) = 0 12234 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff2180cfd0) = 0 12234 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff2180cfd0) = 0 12234 close(3) = 0 12234 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 12234 fstat(3, {st_mode=S_IFDIR|0755, st_size=3060, ...}) = 0 12234 getdents64(3, /* 153 entries */, 32768) = 4560 12234 getdents64(3, /* 0 entries */, 32768) = 0 12234 close(3) = 0 12234 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 12234 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12234 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12234 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 12234 read(4, "254:0", 5) = 5 12234 close(4) = 0 12234 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7fff2180cf90) = 0 12234 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 12234 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12234 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12234 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 12234 read(7, "254:1", 5) = 5 12234 close(7) = 0 12234 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fff2180cf90) = 0 12234 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 7 12234 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 12234 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 12234 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 9 12234 read(9, "254:2", 5) = 5 12234 close(9) = 0 12234 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fff2180cf90) = 0 12234 openat(AT_FDCWD, "/dev/gpiochip3", O_RDWR|O_CLOEXEC) = 9 12234 lstat("/dev/gpiochip3", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x3), ...}) = 0 12234 access("/sys/bus/gpio/devices/gpiochip3/dev", R_OK) = 0 12234 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip3/dev", O_RDONLY) = 10 12234 read(10, "254:3", 5) = 5 12234 close(10) = 0 12234 ioctl(9, GPIO_GET_CHIPINFO_IOCTL, 0x7fff2180cf90) = 0 12234 close(3) = 0 12234 close(4) = 0 12234 close(7) = 0 12234 close(9) = 0 12234 openat(AT_FDCWD, "/dev/gpiochip3", O_RDWR|O_CLOEXEC) = 3 12234 lstat("/dev/gpiochip3", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x3), ...}) = 0 12234 access("/sys/bus/gpio/devices/gpiochip3/dev", R_OK) = 0 12234 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip3/dev", O_RDONLY) = 4 12234 read(4, "254:3", 5) = 5 12234 close(4) = 0 12234 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7fff2180d010) = 0 12234 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff2180cfd0) = 0 12234 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff2180cfd0) = 0 12234 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff2180cfd0) = 0 12234 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff2180cfd0) = 0 12234 close(3) = 0 12234 write(1, "gpiochip0 - 4 lines:\n\tline 0: "..., 771) = 771 12234 exit_group(0) = ? 12234 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\312/\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "gpiochip0 - 4 lines:\n\tline 0: "..., 65536) = 771 9918 read(8, "", 65536) = 0 9918 wait4(12234, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12234 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,4", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x98\x6d\x1c\x73\x41\x85\xdb\xc1\x27\x51\x32\xa8\xc2\x34\xcf\x32", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xa0\x12\xcf\x63\xf2\x99\x86\xf7\x88\x78\xea\x8f\xcc\x5c\xbe\xc8", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x01\x67\x0e\x6d\xfc\x65\x45\x60\xe1\x22\x78\x9f\x84\x14\x95\xd2", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x38\x27\xf1\xe1\xc1\xc9\xa0\x5b\xc5\x54\x41\xc4\x7a\x51\x65\xac", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x9e\xf8\x63\xb8\x00\xe0\x50\x11\xec\xd3\x8f\xe8\xf2\x7c\x68\x65", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x92\x85\x7c\xdd\xd3\x60\x39\xfe\x76\x6e\x04\x2b\x46\x3f\xf2\x40", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xf4\x16\x06\x97\x0e\xf0\xfd\xc2\xc4\x19\x8e\x5f\xaa\x55\x39\xba", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xf0\x15\xc4\x17\x65\x82\x5e\xdd\xf0\xf4\x70\xad\x79\x83\x1b\xb5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x04\x0d\x30\x1c\x9c\xb8\x20\xc8\x53\x16\x0b\x30\xe3\xd8\x5d\xcb", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x80\xec\xef\x38\x9f\xeb\x65\x78\xa0\xd9\x4d\x29\xa9\xda\x18\x64", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x59\xc9\x5f\x2b\xc0\xd5\x13\x70\x84\xc1\xd5\xb2\x8c\x37\xe5\xec", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xfd\x91\x35\xa5\xdf\x34\xe6\xed\xd8\x4e\x98\xcf\x5a\x13\x0f\x82", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioinfo - inexistent ch"..., 37) = 37 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioinfo", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12277 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12277 set_robust_list(0x7f08f87b19a0, 24) = 0 12277 close(10) = 0 12277 dup2(4, 0) = 0 12277 close(4) = 0 12277 dup2(7, 1) = 1 12277 close(7) = 0 12277 dup2(9, 2) = 2 12277 close(9) = 0 12277 execve("/libgpiod/../install-libgpiod/bin/gpioinfo", ["/libgpiod/../install-libgpiod/bi"..., "inexistent"], 0x7fffb2966d78 /* 17 vars */) = 0 12277 brk(NULL) = 0x5560766d9000 12277 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12277 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12277 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffd401897c0) = -1 ENOENT (No such file or directory) 12277 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12277 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd401897c0) = -1 ENOENT (No such file or directory) 12277 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12277 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd401897c0) = -1 ENOENT (No such file or directory) 12277 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12277 stat("/libgpiod/src/lib/.libs/tls", 0x7ffd401897c0) = -1 ENOENT (No such file or directory) 12277 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12277 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffd401897c0) = -1 ENOENT (No such file or directory) 12277 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12277 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd401897c0) = -1 ENOENT (No such file or directory) 12277 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12277 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd401897c0) = -1 ENOENT (No such file or directory) 12277 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12277 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12277 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12277 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f22c301e000 12277 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f22c3014000 12277 mmap(0x7f22c3017000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f22c3017000 12277 mmap(0x7f22c301a000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f22c301a000 12277 mmap(0x7f22c301c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f22c301c000 12277 close(3) = 0 12277 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12277 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12277 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffd401897a0) = -1 ENOENT (No such file or directory) 12277 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12277 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd401897a0) = -1 ENOENT (No such file or directory) 12277 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12277 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd401897a0) = -1 ENOENT (No such file or directory) 12277 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12277 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffd401897a0) = -1 ENOENT (No such file or directory) 12277 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12277 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffd401897a0) = -1 ENOENT (No such file or directory) 12277 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12277 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd401897a0) = -1 ENOENT (No such file or directory) 12277 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12277 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd401897a0) = -1 ENOENT (No such file or directory) 12277 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12277 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12277 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12277 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12277 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f22c300f000 12277 close(3) = 0 12277 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12277 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12277 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12277 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f22c2e4e000 12277 mprotect(0x7f22c2e70000, 1658880, PROT_NONE) = 0 12277 mmap(0x7f22c2e70000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f22c2e70000 12277 mmap(0x7f22c2fb8000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f22c2fb8000 12277 mmap(0x7f22c3005000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f22c3005000 12277 mmap(0x7f22c300b000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f22c300b000 12277 close(3) = 0 12277 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f22c2e4b000 12277 arch_prctl(ARCH_SET_FS, 0x7f22c2e4b740) = 0 12277 mprotect(0x7f22c3005000, 16384, PROT_READ) = 0 12277 mprotect(0x7f22c301c000, 4096, PROT_READ) = 0 12277 mprotect(0x556074e36000, 4096, PROT_READ) = 0 12277 mprotect(0x7f22c3047000, 4096, PROT_READ) = 0 12277 munmap(0x7f22c300f000, 17208) = 0 12277 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 12277 fstat(3, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12277 brk(NULL) = 0x5560766d9000 12277 brk(0x5560766fa000) = 0x5560766fa000 12277 getdents64(3, /* 151 entries */, 32768) = 4496 12277 getdents64(3, /* 0 entries */, 32768) = 0 12277 close(3) = 0 12277 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 12277 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12277 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12277 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 12277 read(4, "254:0", 5) = 5 12277 close(4) = 0 12277 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd4018a3c0) = 0 12277 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 12277 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12277 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12277 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 12277 read(7, "254:1", 5) = 5 12277 close(7) = 0 12277 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd4018a3c0) = 0 12277 close(3) = 0 12277 close(4) = 0 12277 openat(AT_FDCWD, "/dev/inexistent", O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12277 write(2, "/libgpiod/../install-libgpiod/bi"..., 44) = 44 12277 write(2, "looking up chip inexistent", 26) = 26 12277 write(2, ": No such file or directory\n", 28) = 28 12277 exit_group(1) = ? 12277 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\365/\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 98 9918 wait4(12277, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 12277 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x04\xb4\x82\xc7\x5c\x46\xcb\xb0\x1d\xf5\xd2\xbe\x4f\x64\x42\x68", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x13\xaa\x22\x0b\xcd\x40\x4c\xe1\x5a\x02\xd1\xd0\x05\x39\x27\xf5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xe6\x10\xd6\x89\xc8\x95\x65\x80\x52\x7c\x3a\x5f\xe8\x6d\x86\x51", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x46\xff\xd8\x4d\x39\x12\xff\x04\x4d\x28\xb1\xe2\x7a\x3d\xe2\xce", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x0c\xe1\xc4\xe6\xa5\xc6\xdb\xed\xa2\x60\x82\xfe\x93\x70\x89\x06", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xf3\xdb\x1e\x21\x27\x5d\x0e\x89\x51\x5f\xda\x90\xc9\x98\x88\xda", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x9d\x23\xae\x22\xdb\x42\x95\x28\xd3\x5d\x2c\xf5\xbe\xe1\xda\x36", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x1b\xac\xf8\xd6\x6d\x94\x06\x1a\x8e\x14\xd0\xd9\x58\x17\x50\x23", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - single rising "..., 45) = 45 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12308 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 12309 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12308 set_robust_list(0x7f08f87b19a0, 24) = 0 12308 close(10) = 0 12308 dup2(4, 0 12309 set_robust_list(0x7f08f87ad9e0, 24 12308 <... dup2 resumed> ) = 0 12309 <... set_robust_list resumed> ) = 0 12308 close(4) = 0 12309 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334021, tv_nsec=133533000}, FUTEX_BITSET_MATCH_ANY 12308 dup2(7, 1) = 1 12308 close(7) = 0 12308 dup2(9, 2) = 2 12308 close(9) = 0 12308 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "--rising-edge", "--num-events=1", "gpiochip1", "4"], 0x7fffb2966d78 /* 17 vars */) = 0 12308 brk(NULL) = 0x555b7dfb5000 12308 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12308 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12308 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7fffbb09bcb0) = -1 ENOENT (No such file or directory) 12308 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12308 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fffbb09bcb0) = -1 ENOENT (No such file or directory) 12308 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12308 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fffbb09bcb0) = -1 ENOENT (No such file or directory) 12308 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12308 stat("/libgpiod/src/lib/.libs/tls", 0x7fffbb09bcb0) = -1 ENOENT (No such file or directory) 12308 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12308 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7fffbb09bcb0) = -1 ENOENT (No such file or directory) 12308 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12308 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fffbb09bcb0) = -1 ENOENT (No such file or directory) 12308 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12308 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fffbb09bcb0) = -1 ENOENT (No such file or directory) 12308 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12308 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12308 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12308 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8fc2767000 12308 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8fc275d000 12308 mmap(0x7f8fc2760000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f8fc2760000 12308 mmap(0x7f8fc2763000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f8fc2763000 12308 mmap(0x7f8fc2765000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f8fc2765000 12308 close(3) = 0 12308 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12308 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12308 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7fffbb09bc90) = -1 ENOENT (No such file or directory) 12308 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12308 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fffbb09bc90) = -1 ENOENT (No such file or directory) 12308 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12308 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fffbb09bc90) = -1 ENOENT (No such file or directory) 12308 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12308 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7fffbb09bc90) = -1 ENOENT (No such file or directory) 12308 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12308 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7fffbb09bc90) = -1 ENOENT (No such file or directory) 12308 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12308 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fffbb09bc90) = -1 ENOENT (No such file or directory) 12308 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12308 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fffbb09bc90) = -1 ENOENT (No such file or directory) 12308 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12308 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12308 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12308 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12308 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8fc2758000 12308 close(3) = 0 12308 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12308 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12308 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12308 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8fc2597000 12308 mprotect(0x7f8fc25b9000, 1658880, PROT_NONE) = 0 12308 mmap(0x7f8fc25b9000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f8fc25b9000 12308 mmap(0x7f8fc2701000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f8fc2701000 12308 mmap(0x7f8fc274e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f8fc274e000 12308 mmap(0x7f8fc2754000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f8fc2754000 12308 close(3) = 0 12308 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8fc2594000 12308 arch_prctl(ARCH_SET_FS, 0x7f8fc2594740) = 0 12308 mprotect(0x7f8fc274e000, 16384, PROT_READ) = 0 12308 mprotect(0x7f8fc2765000, 4096, PROT_READ) = 0 12308 mprotect(0x555b7db38000, 4096, PROT_READ) = 0 12308 mprotect(0x7f8fc2790000, 4096, PROT_READ) = 0 12308 munmap(0x7f8fc2758000, 17208) = 0 12308 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12308 signalfd4(-1, [INT TERM], 8, 0) = 3 12308 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12308 fstat(4, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12308 brk(NULL) = 0x555b7dfb5000 12308 brk(0x555b7dfd6000) = 0x555b7dfd6000 12308 getdents64(4, /* 151 entries */, 32768) = 4496 12308 getdents64(4, /* 0 entries */, 32768) = 0 12308 close(4) = 0 12308 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12308 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12308 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12308 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12308 read(7, "254:0", 5) = 5 12308 close(7) = 0 12308 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffbb09c1f0) = 0 12308 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 7 12308 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12308 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12308 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 12308 read(9, "254:1", 5) = 5 12308 close(9) = 0 12308 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fffbb09c1f0) = 0 12308 close(4) = 0 12308 close(7) = 0 12308 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 12308 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12308 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12308 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 12308 read(7, "254:1", 5) = 5 12308 close(7) = 0 12308 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffbb09c270) = 0 12308 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffbb09c2c0) = 0 12308 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffbb09c2f0) = 0 12308 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffbb09c270) = 0 12308 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000 12309 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12309 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-B/4", O_RDWR) = 4 12309 write(4, "1", 1) = 1 12308 <... poll resumed> ) = 1 ([{fd=7, revents=POLLIN}]) 12309 close(4 12308 read(7, 12309 <... close resumed> ) = 0 12309 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12309 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334021, tv_nsec=354006000}, FUTEX_BITSET_MATCH_ANY 12308 <... read resumed> "\2767PO\221\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 12308 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12308 close(7) = 0 12308 close(4) = 0 12308 write(1, "event: RISING EDGE offset: 4 ti"..., 64) = 64 12308 exit_group(0) = ? 12308 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\0240\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "event: RISING EDGE offset: 4 ti"..., 65536) = 64 9918 read(8, "", 65536) = 0 9918 wait4(12308, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12308 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 12309 <... futex resumed> ) = 0 12309 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 12309, NULL 12309 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 12309 exit(0) = ? 9918 <... futex resumed> ) = 0 12309 +++ exited with 0 +++ 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x06\xea\x82\x5f\x00\xb8\x96\xfa\x84\x38\x1d\x9e\x19\x27\x92\xce", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xb2\x71\x94\x8e\xde\x78\x2b\x9c\xaa\x98\x78\x7c\xa4\xa4\xd0\x7e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x54\xee\xe8\xb2\x51\x3f\x87\xcd\x15\xa9\x01\x56\xab\xcf\x61\xd0", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xf6\x33\xef\xe7\x65\x81\x98\xc8\x11\xac\x0b\xa5\x85\xcd\xa4\x99", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x8e\x08\x20\x8a\x0e\x07\x3c\xec\x82\x6c\xd7\x85\x02\x69\x29\x7b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x35\x34\x14\x0d\xf1\x8a\xfc\x1d\x3a\xf9\x02\xd1\x4a\xea\xc6\x2d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xcf\xfd\x63\xd4\x4f\xf9\x27\x35\xe3\xd8\xfb\xe9\x5a\x6b\x5c\xb7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x9e\x62\xc4\xc4\x0c\xef\xa0\x78\xab\xb0\x62\xb2\x16\x4f\x89\x3e", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - single rising "..., 58) = 58 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12341 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 clone( 12341 set_robust_list(0x7f08f87b19a0, 24 9918 <... clone resumed> child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 12342 12341 <... set_robust_list resumed> ) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12341 close(10) = 0 12341 dup2(4, 0) = 0 12342 set_robust_list(0x7f08f87ad9e0, 24 12341 close(4 12342 <... set_robust_list resumed> ) = 0 12341 <... close resumed> ) = 0 12341 dup2(7, 1 12342 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334022, tv_nsec=411964000}, FUTEX_BITSET_MATCH_ANY 12341 <... dup2 resumed> ) = 1 12341 close(7) = 0 12341 dup2(9, 2) = 2 12341 close(9) = 0 12341 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "--rising-edge", "--num-events=1", "--active-low", "gpiochip1", "4"], 0x7fffb2966d78 /* 17 vars */) = 0 12341 brk(NULL) = 0x55c156f4a000 12341 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12341 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12341 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffe397d2a60) = -1 ENOENT (No such file or directory) 12341 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12341 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffe397d2a60) = -1 ENOENT (No such file or directory) 12341 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12341 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffe397d2a60) = -1 ENOENT (No such file or directory) 12341 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12341 stat("/libgpiod/src/lib/.libs/tls", 0x7ffe397d2a60) = -1 ENOENT (No such file or directory) 12341 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12341 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffe397d2a60) = -1 ENOENT (No such file or directory) 12341 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12341 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffe397d2a60) = -1 ENOENT (No such file or directory) 12341 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12341 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffe397d2a60) = -1 ENOENT (No such file or directory) 12341 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12341 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12341 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12341 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fee16523000 12341 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fee16519000 12341 mmap(0x7fee1651c000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fee1651c000 12341 mmap(0x7fee1651f000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fee1651f000 12341 mmap(0x7fee16521000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fee16521000 12341 close(3) = 0 12341 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12341 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12341 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffe397d2a40) = -1 ENOENT (No such file or directory) 12341 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12341 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffe397d2a40) = -1 ENOENT (No such file or directory) 12341 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12341 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffe397d2a40) = -1 ENOENT (No such file or directory) 12341 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12341 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffe397d2a40) = -1 ENOENT (No such file or directory) 12341 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12341 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffe397d2a40) = -1 ENOENT (No such file or directory) 12341 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12341 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffe397d2a40) = -1 ENOENT (No such file or directory) 12341 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12341 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffe397d2a40) = -1 ENOENT (No such file or directory) 12341 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12341 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12341 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12341 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12341 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fee16514000 12341 close(3) = 0 12341 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12341 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12341 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12341 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fee16353000 12341 mprotect(0x7fee16375000, 1658880, PROT_NONE) = 0 12341 mmap(0x7fee16375000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fee16375000 12341 mmap(0x7fee164bd000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7fee164bd000 12341 mmap(0x7fee1650a000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7fee1650a000 12341 mmap(0x7fee16510000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fee16510000 12341 close(3) = 0 12341 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fee16350000 12341 arch_prctl(ARCH_SET_FS, 0x7fee16350740) = 0 12341 mprotect(0x7fee1650a000, 16384, PROT_READ) = 0 12341 mprotect(0x7fee16521000, 4096, PROT_READ) = 0 12341 mprotect(0x55c1563b4000, 4096, PROT_READ) = 0 12341 mprotect(0x7fee1654c000, 4096, PROT_READ) = 0 12341 munmap(0x7fee16514000, 17208) = 0 12341 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12341 signalfd4(-1, [INT TERM], 8, 0) = 3 12341 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12341 fstat(4, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12341 brk(NULL) = 0x55c156f4a000 12341 brk(0x55c156f6b000) = 0x55c156f6b000 12341 getdents64(4, /* 151 entries */, 32768) = 4496 12341 getdents64(4, /* 0 entries */, 32768) = 0 12341 close(4) = 0 12341 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12341 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12341 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12341 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12341 read(7, "254:0", 5) = 5 12341 close(7) = 0 12341 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe397d2fa0) = 0 12341 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 7 12341 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12341 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12341 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 12341 read(9, "254:1", 5) = 5 12341 close(9) = 0 12341 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe397d2fa0) = 0 12341 close(4) = 0 12341 close(7) = 0 12341 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 12341 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12341 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12341 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 12341 read(7, "254:1", 5) = 5 12341 close(7) = 0 12341 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe397d3020) = 0 12341 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffe397d3070) = 0 12341 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7ffe397d30a0) = 0 12341 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffe397d3020) = 0 12341 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000 12342 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12342 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-B/4", O_RDWR) = 4 12342 write(4, "1", 1) = 1 12341 <... poll resumed> ) = 1 ([{fd=7, revents=POLLIN}]) 12341 read(7, 12342 close(4 12341 <... read resumed> " \241\4\233\221\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 12342 <... close resumed> ) = 0 12342 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12342 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334022, tv_nsec=625668000}, FUTEX_BITSET_MATCH_ANY 12341 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12341 close(7) = 0 12341 close(4) = 0 12341 write(1, "event: RISING EDGE offset: 4 ti"..., 64) = 64 12341 exit_group(0) = ? 12341 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\00050\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "event: RISING EDGE offset: 4 ti"..., 65536) = 64 9918 read(8, "", 65536) = 0 9918 wait4(12341, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12341 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 12342 <... futex resumed> ) = 0 12342 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12342 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 12342, NULL 12342 <... madvise resumed> ) = 0 12342 exit(0) = ? 12342 +++ exited with 0 +++ 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xd1\x81\x37\xe0\x3f\x1f\x68\x68\xfa\xfb\x7e\x32\x99\x15\x83\x2f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xd3\x56\x5c\xfb\x0f\xd6\xc9\x32\x33\x95\xde\x6f\x26\x1d\xfb\x45", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x4c\x5d\xa1\x63\x55\xd3\x1d\xc4\x9c\xce\xd1\x3b\x57\x19\x3f\xe0", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x39\xb6\xbe\xfd\x97\x08\x94\xd1\xe8\x93\x3f\x17\x19\xd2\x77\xff", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x5d\x82\x43\xb6\xd6\xfe\x4e\x7f\xa4\xe5\x4c\x63\x98\x99\x25\x45", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x91\xd1\x67\xd9\x2a\xe0\x25\x33\x52\xd3\xe0\x1a\x23\x46\x64\x09", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x7d\x35\xda\x9c\xab\xfc\x56\x9e\xed\x52\xdb\xa4\xb6\xc6\x98\x10", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x84\x0c\x55\x69\x21\x57\x1e\x64\xb3\xee\x51\x66\xed\xda\x57\x44", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - single rising "..., 59) = 59 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12374 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 12375 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12374 set_robust_list(0x7f08f87b19a0, 24) = 0 12374 close(10) = 0 12374 dup2(4, 0 12375 set_robust_list(0x7f08f87ad9e0, 24) = 0 12375 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334023, tv_nsec=674385000}, FUTEX_BITSET_MATCH_ANY 12374 <... dup2 resumed> ) = 0 12374 close(4) = 0 12374 dup2(7, 1) = 1 12374 close(7) = 0 12374 dup2(9, 2) = 2 12374 close(9) = 0 12374 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "--rising-edge", "--num-events=1", "--silent", "gpiochip1", "4"], 0x7fffb2966d78 /* 17 vars */) = 0 12374 brk(NULL) = 0x55f996550000 12374 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12374 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12374 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffd94949580) = -1 ENOENT (No such file or directory) 12374 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12374 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd94949580) = -1 ENOENT (No such file or directory) 12374 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12374 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd94949580) = -1 ENOENT (No such file or directory) 12374 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12374 stat("/libgpiod/src/lib/.libs/tls", 0x7ffd94949580) = -1 ENOENT (No such file or directory) 12374 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12374 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffd94949580) = -1 ENOENT (No such file or directory) 12374 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12374 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd94949580) = -1 ENOENT (No such file or directory) 12374 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12374 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd94949580) = -1 ENOENT (No such file or directory) 12374 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12374 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12374 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12374 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f08d5d0c000 12374 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f08d5d02000 12374 mmap(0x7f08d5d05000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f08d5d05000 12374 mmap(0x7f08d5d08000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f08d5d08000 12374 mmap(0x7f08d5d0a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f08d5d0a000 12374 close(3) = 0 12374 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12374 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12374 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffd94949560) = -1 ENOENT (No such file or directory) 12374 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12374 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd94949560) = -1 ENOENT (No such file or directory) 12374 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12374 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd94949560) = -1 ENOENT (No such file or directory) 12374 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12374 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffd94949560) = -1 ENOENT (No such file or directory) 12374 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12374 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffd94949560) = -1 ENOENT (No such file or directory) 12374 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12374 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd94949560) = -1 ENOENT (No such file or directory) 12374 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12374 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd94949560) = -1 ENOENT (No such file or directory) 12374 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12374 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12374 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12374 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12374 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f08d5cfd000 12374 close(3) = 0 12374 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12374 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12374 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12374 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f08d5b3c000 12374 mprotect(0x7f08d5b5e000, 1658880, PROT_NONE) = 0 12374 mmap(0x7f08d5b5e000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f08d5b5e000 12374 mmap(0x7f08d5ca6000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f08d5ca6000 12374 mmap(0x7f08d5cf3000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f08d5cf3000 12374 mmap(0x7f08d5cf9000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f08d5cf9000 12374 close(3) = 0 12374 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f08d5b39000 12374 arch_prctl(ARCH_SET_FS, 0x7f08d5b39740) = 0 12374 mprotect(0x7f08d5cf3000, 16384, PROT_READ) = 0 12374 mprotect(0x7f08d5d0a000, 4096, PROT_READ) = 0 12374 mprotect(0x55f995981000, 4096, PROT_READ) = 0 12374 mprotect(0x7f08d5d35000, 4096, PROT_READ) = 0 12374 munmap(0x7f08d5cfd000, 17208) = 0 12374 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12374 signalfd4(-1, [INT TERM], 8, 0) = 3 12374 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12374 fstat(4, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12374 brk(NULL) = 0x55f996550000 12374 brk(0x55f996571000) = 0x55f996571000 12374 getdents64(4, /* 151 entries */, 32768) = 4496 12374 getdents64(4, /* 0 entries */, 32768) = 0 12374 close(4) = 0 12374 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12374 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12374 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12374 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12374 read(7, "254:0", 5) = 5 12374 close(7) = 0 12374 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd94949ac0) = 0 12374 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 7 12374 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12374 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12374 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 12374 read(9, "254:1", 5) = 5 12374 close(9) = 0 12374 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd94949ac0) = 0 12374 close(4) = 0 12374 close(7) = 0 12374 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 12374 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12374 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12374 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 12374 read(7, "254:1", 5) = 5 12374 close(7) = 0 12374 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd94949b40) = 0 12374 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffd94949b90) = 0 12374 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7ffd94949bc0) = 0 12374 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffd94949b40) = 0 12374 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000 12375 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12375 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-B/4", O_RDWR) = 4 12375 write(4, "1", 1) = 1 12374 <... poll resumed> ) = 1 ([{fd=7, revents=POLLIN}]) 12374 read(7, 12375 close(4 12374 <... read resumed> "i\223W\346\221\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 12374 close(7 12375 <... close resumed> ) = 0 12374 <... close resumed> ) = 0 12375 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1 12374 close(4 12375 <... futex resumed> ) = 0 12374 <... close resumed> ) = 0 12375 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334023, tv_nsec=894283000}, FUTEX_BITSET_MATCH_ANY 12374 exit_group(0) = ? 12374 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0V0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "", 65536) = 0 9918 wait4(12374, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12374 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 12375, NULL 12375 <... futex resumed> ) = 0 12375 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12375 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 12375 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK 12375 +++ exited with 0 +++ 9918 <... delete_module resumed> ) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x61\x6f\xa8\x2f\x3d\x22\x46\xfa\x10\x91\xf0\x0e\xd7\xc5\x07\x94", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x20\xa3\x06\xa1\x1d\x5f\xfd\x6f\xaa\x3a\x94\x8c\x36\xf8\xe8\x9b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x9b\x3a\xcf\xa9\x8d\xd3\x3b\x49\xd3\xbf\xd2\xa3\xb8\x53\x4d\x89", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x92\x2d\x23\x58\x3f\xf9\x4d\x47\xd0\xff\xe2\xa4\x0d\xb4\x6d\x38", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xf5\x8c\x38\x55\x72\x02\xf0\x53\x1d\xbd\x29\xa9\xf5\x43\xf1\x5e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x2d\x7f\x3f\x24\xa1\x46\x4a\xb4\x27\x9e\x84\xe7\xb4\xd7\x1a\x34", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xfd\x2a\x69\x2f\x4c\xbd\xb8\x0f\xc2\x34\x71\xe7\xd6\xa6\x18\x88", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xdd\x6f\x71\x2d\xf3\x16\x4c\xcf\xbd\xdc\x24\x49\x2d\xd2\xc0\x4a", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - four alternati"..., 44) = 44 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12407 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 12408 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12407 set_robust_list(0x7f08f87b19a0, 24) = 0 12407 close(10) = 0 12407 dup2(4, 0 12408 set_robust_list(0x7f08f87ad9e0, 24 12407 <... dup2 resumed> ) = 0 12408 <... set_robust_list resumed> ) = 0 12408 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334024, tv_nsec=836572000}, FUTEX_BITSET_MATCH_ANY 12407 close(4) = 0 12407 dup2(7, 1) = 1 12407 close(7) = 0 12407 dup2(9, 2) = 2 12407 close(9) = 0 12407 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "--num-events=4", "gpiochip1", "4"], 0x7fffb2966d78 /* 17 vars */) = 0 12407 brk(NULL) = 0x55ec12e38000 12407 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12407 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12407 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffc9a8880b0) = -1 ENOENT (No such file or directory) 12407 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12407 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc9a8880b0) = -1 ENOENT (No such file or directory) 12407 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12407 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc9a8880b0) = -1 ENOENT (No such file or directory) 12407 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12407 stat("/libgpiod/src/lib/.libs/tls", 0x7ffc9a8880b0) = -1 ENOENT (No such file or directory) 12407 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12407 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffc9a8880b0) = -1 ENOENT (No such file or directory) 12407 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12407 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc9a8880b0) = -1 ENOENT (No such file or directory) 12407 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12407 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc9a8880b0) = -1 ENOENT (No such file or directory) 12407 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12407 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12407 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12407 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f528c761000 12407 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f528c757000 12407 mmap(0x7f528c75a000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f528c75a000 12407 mmap(0x7f528c75d000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f528c75d000 12407 mmap(0x7f528c75f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f528c75f000 12407 close(3) = 0 12407 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12407 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12407 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffc9a888090) = -1 ENOENT (No such file or directory) 12407 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12407 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc9a888090) = -1 ENOENT (No such file or directory) 12407 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12407 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc9a888090) = -1 ENOENT (No such file or directory) 12407 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12407 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffc9a888090) = -1 ENOENT (No such file or directory) 12407 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12407 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffc9a888090) = -1 ENOENT (No such file or directory) 12407 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12407 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc9a888090) = -1 ENOENT (No such file or directory) 12407 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12407 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc9a888090) = -1 ENOENT (No such file or directory) 12407 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12407 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12407 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12407 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12407 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f528c752000 12407 close(3) = 0 12407 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12407 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12407 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12407 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f528c591000 12407 mprotect(0x7f528c5b3000, 1658880, PROT_NONE) = 0 12407 mmap(0x7f528c5b3000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f528c5b3000 12407 mmap(0x7f528c6fb000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f528c6fb000 12407 mmap(0x7f528c748000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f528c748000 12407 mmap(0x7f528c74e000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f528c74e000 12407 close(3) = 0 12407 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f528c58e000 12407 arch_prctl(ARCH_SET_FS, 0x7f528c58e740) = 0 12407 mprotect(0x7f528c748000, 16384, PROT_READ) = 0 12407 mprotect(0x7f528c75f000, 4096, PROT_READ) = 0 12407 mprotect(0x55ec11476000, 4096, PROT_READ) = 0 12407 mprotect(0x7f528c78a000, 4096, PROT_READ) = 0 12407 munmap(0x7f528c752000, 17208) = 0 12407 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12407 signalfd4(-1, [INT TERM], 8, 0) = 3 12407 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12408 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12408 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-B/4", O_RDWR) = 4 12408 write(4, "1", 1) = 1 12408 close(4) = 0 12408 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12408 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334024, tv_nsec=942375000}, FUTEX_BITSET_MATCH_ANY 12407 fstat(4, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12407 brk(NULL) = 0x55ec12e38000 12407 brk(0x55ec12e59000) = 0x55ec12e59000 12407 getdents64(4, /* 151 entries */, 32768) = 4496 12407 getdents64(4, /* 0 entries */, 32768) = 0 12407 close(4) = 0 12407 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12407 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12407 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12407 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12407 read(7, "254:0", 5) = 5 12407 close(7) = 0 12407 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc9a8885f0) = 0 12407 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 7 12407 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12407 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12407 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 12407 read(9, "254:1", 5) = 5 12407 close(9) = 0 12407 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc9a8885f0) = 0 12407 close(4) = 0 12407 close(7) = 0 12407 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 12407 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12407 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12407 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 12407 read(7, "254:1", 5) = 5 12407 close(7) = 0 12407 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc9a888670) = 0 12407 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffc9a8886c0) = 0 12407 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7ffc9a8886f0) = 0 12407 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffc9a888670) = 0 12407 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000 12408 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12408 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-B/4", O_RDWR) = 4 12408 write(4, "0", 1) = 1 12408 close(4) = 0 12408 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12408 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334025, tv_nsec=50366000}, FUTEX_BITSET_MATCH_ANY 12407 <... poll resumed> ) = 1 ([{fd=7, revents=POLLIN}]) 12407 read(7, "\312\234\2571\222\377\212\25\2\0\0\0\0\0\0\0", 16) = 16 12407 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12407 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000 12408 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12408 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-B/4", O_RDWR) = 4 12408 write(4, "1", 1) = 1 12408 close(4) = 0 12408 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12408 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334025, tv_nsec=156762000}, FUTEX_BITSET_MATCH_ANY 12407 <... poll resumed> ) = 1 ([{fd=7, revents=POLLIN}]) 12407 read(7, "\263\266\228\222\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 12407 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000 12408 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12408 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-B/4", O_RDWR) = 4 12408 write(4, "0", 1) = 1 12408 close(4) = 0 12408 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12408 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334025, tv_nsec=262741000}, FUTEX_BITSET_MATCH_ANY 12407 <... poll resumed> ) = 1 ([{fd=7, revents=POLLIN}]) 12407 read(7, "\376\202d>\222\377\212\25\2\0\0\0\0\0\0\0", 16) = 16 12407 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000 12408 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12408 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-B/4", O_RDWR) = 4 12408 write(4, "1", 1) = 1 12408 close(4) = 0 12408 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12408 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334025, tv_nsec=369311000}, FUTEX_BITSET_MATCH_ANY 12407 <... poll resumed> ) = 1 ([{fd=7, revents=POLLIN}]) 12407 read(7, "Q\31\274D\222\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 12407 close(7) = 0 12407 close(4) = 0 12407 write(1, "event: FALLING EDGE offset: 4 ti"..., 256) = 256 12407 exit_group(0) = ? 12407 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0w0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "event: FALLING EDGE offset: 4 ti"..., 65536) = 256 9918 read(8, "", 65536) = 0 9918 wait4(12407, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12407 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 12408 <... futex resumed> ) = 0 12408 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12408 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 12408 exit(0 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 12408, NULL 12408 <... exit resumed>) = ? 12408 +++ exited with 0 +++ 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x7b\x6c\xca\x6c\xe3\xff\xcf\xc9\x0c\xe5\x7b\x0f\x24\xa6\xbf\x21", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x1b\x48\xd1\x14\x7e\xf5\xe8\x93\xb1\x36\x5f\x72\xfd\xb2\x78\x9a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x53\x26\xed\xd2\x37\x1b\x68\xb2\x07\x3f\x7c\x66\xd0\xfc\xfe\x74", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x8c\x74\x07\xcd\xbc\x95\x7e\x63\x4f\x26\x4a\xb1\xf6\x07\x51\xdd", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x6b\xc4\x16\xe0\x95\xcd\xc2\x89\x12\xa5\x1c\x46\x98\x2b\x9d\xff", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xab\x46\xe7\x14\x98\x23\x98\xee\x7e\x10\xba\x77\x62\xdb\x5d\x70", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xde\x06\x73\xc6\x30\x22\x3a\xea\xf0\x51\x40\x1c\x6d\x39\xce\xc3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xa0\x09\x4b\x21\x3b\x98\xf2\x6b\x23\x8f\x88\x0c\x2f\x12\xe1\x63", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - receive fallin"..., 69) = 69 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12440 9918 close(4) = 0 9918 close(7) = 0 9918 close(9 12440 set_robust_list(0x7f08f87b19a0, 24 9918 <... close resumed> ) = 0 9918 clone( 12440 <... set_robust_list resumed> ) = 0 9918 <... clone resumed> child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 12441 9918 nanosleep({tv_sec=0, tv_nsec=200000000}, 12440 close(10) = 0 12440 dup2(4, 0) = 0 12440 close(4) = 0 12441 set_robust_list(0x7f08f87ad9e0, 24 12440 dup2(7, 1 12441 <... set_robust_list resumed> ) = 0 12440 <... dup2 resumed> ) = 1 12441 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334026, tv_nsec=501760000}, FUTEX_BITSET_MATCH_ANY 12440 close(7) = 0 12440 dup2(9, 2) = 2 12440 close(9) = 0 12440 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "--falling-edge", "gpiochip0", "4"], 0x7fffb2966d78 /* 17 vars */) = 0 12440 brk(NULL) = 0x56367cc0b000 12440 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12440 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12440 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffd12d27500) = -1 ENOENT (No such file or directory) 12440 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12440 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd12d27500) = -1 ENOENT (No such file or directory) 12440 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12440 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd12d27500) = -1 ENOENT (No such file or directory) 12440 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12440 stat("/libgpiod/src/lib/.libs/tls", 0x7ffd12d27500) = -1 ENOENT (No such file or directory) 12440 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12440 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffd12d27500) = -1 ENOENT (No such file or directory) 12440 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12440 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd12d27500) = -1 ENOENT (No such file or directory) 12440 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12440 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd12d27500) = -1 ENOENT (No such file or directory) 12440 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12440 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12440 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12440 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f33fe057000 12440 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f33fe04d000 12440 mmap(0x7f33fe050000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f33fe050000 12440 mmap(0x7f33fe053000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f33fe053000 12440 mmap(0x7f33fe055000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f33fe055000 12440 close(3) = 0 12440 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12440 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12440 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffd12d274e0) = -1 ENOENT (No such file or directory) 12440 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12440 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd12d274e0) = -1 ENOENT (No such file or directory) 12440 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12440 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd12d274e0) = -1 ENOENT (No such file or directory) 12440 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12440 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffd12d274e0) = -1 ENOENT (No such file or directory) 12440 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12440 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffd12d274e0) = -1 ENOENT (No such file or directory) 12440 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12440 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd12d274e0) = -1 ENOENT (No such file or directory) 12440 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12440 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd12d274e0) = -1 ENOENT (No such file or directory) 12440 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12440 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12440 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12440 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12440 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f33fe048000 12440 close(3) = 0 12440 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12440 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12440 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12440 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f33fde87000 12440 mprotect(0x7f33fdea9000, 1658880, PROT_NONE) = 0 12440 mmap(0x7f33fdea9000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f33fdea9000 12440 mmap(0x7f33fdff1000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f33fdff1000 12440 mmap(0x7f33fe03e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f33fe03e000 12440 mmap(0x7f33fe044000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f33fe044000 12440 close(3) = 0 12440 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f33fde84000 12440 arch_prctl(ARCH_SET_FS, 0x7f33fde84740) = 0 12441 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12441 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/4", O_RDWR) = 4 12441 write(4, "0", 1) = 1 12441 close(4) = 0 12441 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12441 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334026, tv_nsec=609381000}, FUTEX_BITSET_MATCH_ANY 12440 mprotect(0x7f33fe03e000, 16384, PROT_READ) = 0 12440 mprotect(0x7f33fe055000, 4096, PROT_READ) = 0 12440 mprotect(0x56367ae92000, 4096, PROT_READ) = 0 12440 mprotect(0x7f33fe080000, 4096, PROT_READ) = 0 12440 munmap(0x7f33fe048000, 17208) = 0 12440 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12440 signalfd4(-1, [INT TERM], 8, 0) = 3 12440 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12440 fstat(4, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12440 brk(NULL) = 0x56367cc0b000 12440 brk(0x56367cc2c000) = 0x56367cc2c000 12440 getdents64(4, /* 151 entries */, 32768) = 4496 12440 getdents64(4, /* 0 entries */, 32768) = 0 12440 close(4) = 0 12440 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12440 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12440 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12440 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12440 read(7, "254:0", 5) = 5 12440 close(7) = 0 12440 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd12d27a40) = 0 12440 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 7 12440 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12440 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12440 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 12440 read(9, "254:1", 5) = 5 12440 close(9) = 0 12440 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd12d27a40) = 0 12440 close(4) = 0 12440 close(7) = 0 12440 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12440 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12440 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12440 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12440 read(7, "254:0", 5) = 5 12440 close(7) = 0 12440 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd12d27ac0) = 0 12440 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffd12d27b10) = 0 12440 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7ffd12d27b40) = 0 12440 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffd12d27ac0) = 0 12440 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000 9918 <... nanosleep resumed> NULL) = 0 9918 kill(12440, SIGINT) = 0 12440 <... poll resumed> ) = 1 ([{fd=3, revents=POLLIN}]) 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12440 close(3) = 0 12440 close(7) = 0 12440 close(4 12441 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12441 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/4", O_RDWR) = 4 12441 write(4, "0", 1) = 1 12441 close(4) = 0 12441 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12441 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334026, tv_nsec=713785000}, FUTEX_BITSET_MATCH_ANY 12440 <... close resumed> ) = 0 12440 exit_group(0) = ? 12440 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\2300\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "", 65536) = 0 9918 wait4(12440, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12440 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[1m\33[31m", 9) = 9 9918 write(2, "FAILED:", 7) = 7 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "\33[31m", 5) = 5 9918 write(2, "\n\t\t'tools: gpiomon - receive fal"..., 142) = 142 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 12441, NULL 12441 <... futex resumed> ) = 0 12441 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12441 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 12441 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK 12441 +++ exited with 0 +++ 9918 <... delete_module resumed> ) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x61\xa8\x65\xbe\xe5\xa1\xcb\x4f\xca\x7e\x20\x34\xc7\xaa\xd4\xb6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xad\x23\x44\x9e\x21\xc9\x37\x8f\xdc\x83\x11\x2e\xbc\x82\x71\xb4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x4d\x68\x84\xa3\xe9\x17\xf3\x44\x4f\x94\x97\x4c\x57\xcd\x11\x01", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x9d\x7c\x04\xf7\x6e\xf9\x44\x1a\xfc\xf1\xb8\x77\xa7\x71\xe7\xe9", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x54\x2e\x6a\x81\xec\xa5\xc2\x74\xbe\x5b\xae\x80\xc4\xf6\x86\x6e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x00\xee\x30\xc0\x2a\x7a\x14\x02\xdb\xb2\x9b\x85\xf5\x1d\x48\xa7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xca\x4d\x18\x95\xab\x1d\xdf\xe0\x57\xb0\x7f\xbb\xd9\x93\xcf\xa8", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xe1\x13\x9b\x6f\x9f\xb9\x21\x4b\xf2\x93\x2e\x0e\x2f\x3b\xca\x8d", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - receive both t"..., 71) = 71 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12473 9918 close(4) = 0 9918 close(7) = 0 12473 set_robust_list(0x7f08f87b19a0, 24 9918 close(9 12473 <... set_robust_list resumed> ) = 0 9918 <... close resumed> ) = 0 12473 close(10 9918 clone( 12473 <... close resumed> ) = 0 12473 dup2(4, 0 9918 <... clone resumed> child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 12474 12473 <... dup2 resumed> ) = 0 9918 nanosleep({tv_sec=0, tv_nsec=300000000}, 12473 close(4) = 0 12473 dup2(7, 1) = 1 12474 set_robust_list(0x7f08f87ad9e0, 24 12473 close(7 12474 <... set_robust_list resumed> ) = 0 12473 <... close resumed> ) = 0 12474 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334027, tv_nsec=757477000}, FUTEX_BITSET_MATCH_ANY 12473 dup2(9, 2) = 2 12473 close(9) = 0 12473 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "--falling-edge", "--rising-edge", "gpiochip0", "4"], 0x7fffb2966d78 /* 17 vars */) = 0 12473 brk(NULL) = 0x56023a771000 12473 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12473 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12473 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7fff00716080) = -1 ENOENT (No such file or directory) 12473 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12473 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fff00716080) = -1 ENOENT (No such file or directory) 12473 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12473 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fff00716080) = -1 ENOENT (No such file or directory) 12473 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12473 stat("/libgpiod/src/lib/.libs/tls", 0x7fff00716080) = -1 ENOENT (No such file or directory) 12473 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12473 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7fff00716080) = -1 ENOENT (No such file or directory) 12473 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12473 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fff00716080) = -1 ENOENT (No such file or directory) 12473 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12473 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fff00716080) = -1 ENOENT (No such file or directory) 12473 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12473 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12473 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12473 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f86629c6000 12473 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f86629bc000 12473 mmap(0x7f86629bf000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f86629bf000 12473 mmap(0x7f86629c2000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f86629c2000 12473 mmap(0x7f86629c4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f86629c4000 12473 close(3) = 0 12473 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12473 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12473 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7fff00716060) = -1 ENOENT (No such file or directory) 12473 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12473 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fff00716060) = -1 ENOENT (No such file or directory) 12473 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12473 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fff00716060) = -1 ENOENT (No such file or directory) 12473 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12473 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7fff00716060) = -1 ENOENT (No such file or directory) 12473 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12473 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7fff00716060) = -1 ENOENT (No such file or directory) 12473 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12473 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fff00716060) = -1 ENOENT (No such file or directory) 12473 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12473 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fff00716060) = -1 ENOENT (No such file or directory) 12473 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12473 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12473 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12473 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12473 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f86629b7000 12473 close(3) = 0 12473 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12473 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12473 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12473 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f86627f6000 12473 mprotect(0x7f8662818000, 1658880, PROT_NONE) = 0 12473 mmap(0x7f8662818000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f8662818000 12473 mmap(0x7f8662960000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f8662960000 12473 mmap(0x7f86629ad000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f86629ad000 12473 mmap(0x7f86629b3000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0 12474 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12474 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/4", O_RDWR) = 4 12474 write(4, "1", 1) = 1 12474 close(4) = 0 12474 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12474 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334027, tv_nsec=863500000}, FUTEX_BITSET_MATCH_ANY 12473 <... mmap resumed> ) = 0x7f86629b3000 12473 close(3) = 0 12473 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f86627f3000 12473 arch_prctl(ARCH_SET_FS, 0x7f86627f3740) = 0 12473 mprotect(0x7f86629ad000, 16384, PROT_READ) = 0 12473 mprotect(0x7f86629c4000, 4096, PROT_READ) = 0 12473 mprotect(0x56023903b000, 4096, PROT_READ) = 0 12473 mprotect(0x7f86629ef000, 4096, PROT_READ) = 0 12473 munmap(0x7f86629b7000, 17208) = 0 12473 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12473 signalfd4(-1, [INT TERM], 8, 0) = 3 12473 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12473 fstat(4, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12473 brk(NULL) = 0x56023a771000 12473 brk(0x56023a792000) = 0x56023a792000 12473 getdents64(4, /* 151 entries */, 32768) = 4496 12473 getdents64(4, /* 0 entries */, 32768) = 0 12473 close(4) = 0 12473 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12473 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12473 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12473 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12473 read(7, "254:0", 5) = 5 12473 close(7) = 0 12473 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fff007165c0) = 0 12473 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 7 12473 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12473 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12473 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 12473 read(9, "254:1", 5) = 5 12473 close(9) = 0 12473 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fff007165c0) = 0 12473 close(4) = 0 12473 close(7) = 0 12473 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12473 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12473 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12473 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12473 read(7, "254:0", 5) = 5 12473 close(7) = 0 12473 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fff00716640) = 0 12473 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff00716690) = 0 12473 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fff007166c0) = 0 12473 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff00716640) = 0 12473 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000 12474 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12474 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/4", O_RDWR) = 4 12474 write(4, "0", 1) = 1 12474 close(4) = 0 12474 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12474 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334027, tv_nsec=971587000}, FUTEX_BITSET_MATCH_ANY 12473 <... poll resumed> ) = 1 ([{fd=7, revents=POLLIN}]) 12473 read(7, "KZ\312\337\222\377\212\25\2\0\0\0\0\0\0\0", 16) = 16 12473 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12473 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000 9918 <... nanosleep resumed> NULL) = 0 9918 kill(12473, SIGTERM) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12473 <... poll resumed> ) = 1 ([{fd=3, revents=POLLIN}]) 12473 close(3) = 0 12473 close(7) = 0 12473 close(4) = 0 12473 write(1, "event: FALLING EDGE offset: 4 ti"..., 64) = 64 12473 exit_group(0) = ? 12473 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\2710\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "event: FALLING EDGE offset: 4 ti"..., 65536) = 64 9918 read(8, "", 65536) = 0 9918 wait4(12473, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12473 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 12474 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12474 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/4", O_RDWR) = 4 12474 write(4, "1", 1) = 1 12474 close(4) = 0 12474 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12474 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334028, tv_nsec=88558000}, FUTEX_BITSET_MATCH_ANY 9918 write(2, "\33[1m\33[31m", 9) = 9 9918 write(2, "FAILED:", 7) = 7 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "\33[31m", 5) = 5 9918 write(2, "\n\t\t'tools: gpiomon - receive bot"..., 240) = 240 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 12474 <... futex resumed> ) = 0 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 12474, NULL 12474 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12474 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 12474 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC 12474 +++ exited with 0 +++ 9918 <... openat resumed> ) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x8f\x96\x78\x19\xe6\x50\xa5\x92\xaf\xdb\x49\x4f\x7a\x66\x6a\xe8", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x5d\xe0\x63\xd9\x03\xed\x49\x43\x16\x3e\x16\xa0\x86\x05\xa7\x7c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x1c\x4f\x90\x56\x54\x09\x93\x5e\x00\x91\xfb\x12\xa9\x67\x5d\xb8", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xa1\x14\x52\x2a\xf4\xa5\x61\x09\x9c\x8b\xfb\x97\x8f\x75\x84\xf4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x29\x95\xe0\x6b\x5c\x13\xca\x0b\x53\xfa\x3f\x80\x10\x67\x21\x79", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x62\xa5\x6c\xdc\xbf\x36\xca\x41\xa7\x40\x61\x12\x61\x7c\x18\x98", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x0f\x00\x41\x43\x3a\x1d\x00\xdd\x49\xa5\xf6\x8f\x31\x6c\x04\xf4", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x54\x51\x3a\xb7\x69\xdb\x19\x34\x89\x43\x7f\x05\xae\x16\xab\xd2", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - watch multiple"..., 41) = 41 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12506 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 12507 9918 nanosleep({tv_sec=0, tv_nsec=150000000}, 12506 set_robust_list(0x7f08f87b19a0, 24) = 0 12506 close(10) = 0 12506 dup2(4, 0) = 0 12507 set_robust_list(0x7f08f87ad9e0, 24 12506 close(4 12507 <... set_robust_list resumed> ) = 0 12506 <... close resumed> ) = 0 12506 dup2(7, 1) = 1 12506 close(7) = 0 12506 dup2(9, 2 12507 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334029, tv_nsec=193503000}, FUTEX_BITSET_MATCH_ANY 12506 <... dup2 resumed> ) = 2 12506 close(9) = 0 12506 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "--format=%o", "gpiochip0", "1", "2", "3", "4", "5"], 0x7fffb2966d78 /* 17 vars */) = 0 12506 brk(NULL) = 0x5623b068d000 12506 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12506 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12506 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffcead585e0) = -1 ENOENT (No such file or directory) 12506 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12506 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffcead585e0) = -1 ENOENT (No such file or directory) 12506 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12506 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffcead585e0) = -1 ENOENT (No such file or directory) 12506 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12506 stat("/libgpiod/src/lib/.libs/tls", 0x7ffcead585e0) = -1 ENOENT (No such file or directory) 12506 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12506 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffcead585e0) = -1 ENOENT (No such file or directory) 12506 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12506 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffcead585e0) = -1 ENOENT (No such file or directory) 12506 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12506 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffcead585e0) = -1 ENOENT (No such file or directory) 12506 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12506 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12506 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12506 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff1293a2000 12506 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff129398000 12506 mmap(0x7ff12939b000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7ff12939b000 12506 mmap(0x7ff12939e000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7ff12939e000 12506 mmap(0x7ff1293a0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7ff1293a0000 12506 close(3) = 0 12506 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12506 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12506 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffcead585c0) = -1 ENOENT (No such file or directory) 12506 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12506 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffcead585c0) = -1 ENOENT (No such file or directory) 12506 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12506 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffcead585c0) = -1 ENOENT (No such file or directory) 12506 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12506 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffcead585c0) = -1 ENOENT (No such file or directory) 12506 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12506 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffcead585c0) = -1 ENOENT (No such file or directory) 12506 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12506 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffcead585c0) = -1 ENOENT (No such file or directory) 12506 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12506 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffcead585c0) = -1 ENOENT (No such file or directory) 12506 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12506 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12506 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12506 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12506 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ff129393000 12506 close(3) = 0 12506 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC 12507 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12507 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/2", O_RDWR) = 4 12507 write(4, "1", 1) = 1 12507 close(4) = 0 12507 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12507 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334029, tv_nsec=300471000}, FUTEX_BITSET_MATCH_ANY 12506 <... openat resumed> ) = 3 12506 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12506 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12506 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff1291d2000 12506 mprotect(0x7ff1291f4000, 1658880, PROT_NONE) = 0 12506 mmap(0x7ff1291f4000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7ff1291f4000 12506 mmap(0x7ff12933c000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7ff12933c000 12506 mmap(0x7ff129389000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7ff129389000 12506 mmap(0x7ff12938f000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff12938f000 12506 close(3) = 0 12506 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff1291cf000 12506 arch_prctl(ARCH_SET_FS, 0x7ff1291cf740) = 0 12506 mprotect(0x7ff129389000, 16384, PROT_READ) = 0 12506 mprotect(0x7ff1293a0000, 4096, PROT_READ) = 0 12506 mprotect(0x5623ae882000, 4096, PROT_READ) = 0 12506 mprotect(0x7ff1293cb000, 4096, PROT_READ) = 0 12506 munmap(0x7ff129393000, 17208) = 0 12506 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12506 signalfd4(-1, [INT TERM], 8, 0) = 3 12506 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12506 fstat(4, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12506 brk(NULL) = 0x5623b068d000 12506 brk(0x5623b06ae000) = 0x5623b06ae000 12506 getdents64(4, /* 151 entries */, 32768) = 4496 12506 getdents64(4, /* 0 entries */, 32768) = 0 12506 close(4) = 0 12506 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12506 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12506 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK 9918 <... nanosleep resumed> NULL) = 0 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 12507 <... futex resumed> ) = 0 9918 nanosleep({tv_sec=0, tv_nsec=150000000}, 12507 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12507 futex(0x564d1ba8a6ec, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334029, tv_nsec=338273000}, FUTEX_BITSET_MATCH_ANY 12506 <... access resumed> ) = 0 12506 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12506 read(7, "254:0", 5) = 5 12506 close(7) = 0 12506 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffcead58b20) = 0 12506 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 7 12506 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12506 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12506 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 12506 read(9, "254:1", 5) = 5 12506 close(9) = 0 12506 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffcead58b20) = 0 12506 close(4) = 0 12506 close(7) = 0 12506 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12506 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12506 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12506 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12506 read(7, "254:0", 5) = 5 12506 close(7) = 0 12506 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffcead58ba0) = 0 12506 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffcead58bf0) = 0 12506 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffcead58bf0) = 0 12506 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffcead58bf0) = 0 12506 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffcead58bf0) = 0 12506 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffcead58bf0) = 0 12506 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7ffcead58c20) = 0 12506 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffcead58ba0) = 0 12506 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7ffcead58c20) = 0 12506 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffcead58ba0) = 0 12506 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7ffcead58c20) = 0 12506 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffcead58ba0) = 0 12506 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7ffcead58c20) = 0 12506 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffcead58ba0) = 0 12506 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7ffcead58c20) = 0 12506 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffcead58ba0) = 0 12506 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=9, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 6, 10000 12507 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12507 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 4 12507 write(4, "1", 1) = 1 12507 close(4) = 0 12507 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12507 futex(0x564d1ba8a6ec, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334029, tv_nsec=446270000}, FUTEX_BITSET_MATCH_ANY 12506 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 12506 read(10, "b@\2527\223\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 12506 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12506 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=9, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 6, 10000 9918 <... nanosleep resumed> NULL) = 0 9918 futex(0x564d1ba8a6ec, FUTEX_WAKE_PRIVATE, 2147483647) = 1 9918 nanosleep({tv_sec=0, tv_nsec=150000000}, 12507 <... futex resumed> ) = 0 12507 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12507 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334029, tv_nsec=491792000}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out) 12507 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/4", O_RDWR) = 4 12507 write(4, "1", 1) = 1 12507 close(4) = 0 12507 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12507 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334029, tv_nsec=598345000}, FUTEX_BITSET_MATCH_ANY 12506 <... poll resumed> ) = 1 ([{fd=11, revents=POLLIN}]) 12506 read(11, "\r\351\317@\223\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 12506 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=9, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 6, 10000 9918 <... nanosleep resumed> NULL) = 0 9918 kill(12506, SIGTERM) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12506 <... poll resumed> ) = 1 ([{fd=3, revents=POLLIN}]) 12506 close(3) = 0 12506 close(7) = 0 12506 close(9) = 0 12506 close(10) = 0 12506 close(11) = 0 12506 close(12) = 0 12506 close(4) = 0 12506 write(1, "3\n4\n", 4) = 4 12506 exit_group(0) = ? 12506 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\3320\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "3\n4\n", 65536) = 4 9918 read(8, "", 65536) = 0 9918 wait4(12506, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12506 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[1m\33[31m", 9) = 9 9918 write(2, "FAILED:", 7) = 7 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "\33[31m", 5) = 5 9918 write(2, "\n\t\t'tools: gpiomon - watch multi"..., 131) = 131 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 12507, NULL 12507 <... futex resumed> ) = 0 12507 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12507 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 12507 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK 12507 +++ exited with 0 +++ 9918 <... delete_module resumed> ) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xfe\xb2\x6a\x91\xe3\x99\x56\x9d\xb6\x46\x88\x49\x00\x7f\xbd\x5b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xf7\xde\xef\x9e\x79\xcc\xd3\x79\x75\x2c\x9a\x13\x9e\x93\x44\x91", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x67\x1c\xcd\x82\x38\x40\x0f\xef\xc0\x66\x42\x7e\x5a\xfa\x83\x6c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x56\x14\x7b\x68\xa4\x49\xb6\x16\xbe\xf2\x11\x21\x33\xc9\x3c\xed", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x3e\xa8\x1b\xdf\x34\xdd\x8c\x9c\x95\x74\x42\xf7\x00\x04\xe8\xa3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xc9\x28\xc5\xf4\x30\x48\x5e\x07\x2a\xa8\xc0\xef\xb5\xcb\x4c\xf7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xfe\x65\x97\xda\x50\x8a\xf6\xb4\xbd\x43\x37\xcb\xb2\x27\x52\xd8", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x0b\xf3\x94\xd7\x1d\x2a\x69\x67\x70\xf8\x38\x06\x4e\x38\xb0\xe3", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - watch multiple"..., 64) = 64 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12543 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 12544 9918 nanosleep({tv_sec=0, tv_nsec=150000000}, 12543 set_robust_list(0x7f08f87b19a0, 24) = 0 12543 close(10) = 0 12543 dup2(4, 0 12544 set_robust_list(0x7f08f87ad9e0, 24 12543 <... dup2 resumed> ) = 0 12544 <... set_robust_list resumed> ) = 0 12544 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334030, tv_nsec=769970000}, FUTEX_BITSET_MATCH_ANY 12543 close(4) = 0 12543 dup2(7, 1) = 1 12543 close(7) = 0 12543 dup2(9, 2) = 2 12543 close(9) = 0 12543 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "--format=%o", "gpiochip0", "5", "2", "7", "1", "6"], 0x7fffb2966d78 /* 17 vars */) = 0 12543 brk(NULL) = 0x564d13f88000 12543 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12543 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12543 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7fffb662a0c0) = -1 ENOENT (No such file or directory) 12543 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12543 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fffb662a0c0) = -1 ENOENT (No such file or directory) 12543 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12543 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fffb662a0c0) = -1 ENOENT (No such file or directory) 12543 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12543 stat("/libgpiod/src/lib/.libs/tls", 0x7fffb662a0c0) = -1 ENOENT (No such file or directory) 12543 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12543 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7fffb662a0c0) = -1 ENOENT (No such file or directory) 12543 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12543 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fffb662a0c0) = -1 ENOENT (No such file or directory) 12543 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12543 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fffb662a0c0) = -1 ENOENT (No such file or directory) 12543 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12543 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12543 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12543 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe2f3a30000 12543 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fe2f3a26000 12543 mmap(0x7fe2f3a29000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fe2f3a29000 12543 mmap(0x7fe2f3a2c000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fe2f3a2c000 12543 mmap(0x7fe2f3a2e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fe2f3a2e000 12543 close(3) = 0 12543 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12543 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12543 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7fffb662a0a0) = -1 ENOENT (No such file or directory) 12543 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12543 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fffb662a0a0) = -1 ENOENT (No such file or directory) 12543 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12543 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fffb662a0a0) = -1 ENOENT (No such file or directory) 12543 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12543 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7fffb662a0a0) = -1 ENOENT (No such file or directory) 12543 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12543 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7fffb662a0a0) = -1 ENOENT (No such file or directory) 12543 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12543 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fffb662a0a0) = -1 ENOENT (No such file or directory) 12543 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12543 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fffb662a0a0) = -1 ENOENT (No such file or directory) 12543 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC 12544 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12544 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/2", O_RDWR) = 4 12544 write(4, "1", 1) = 1 12544 close(4) = 0 12544 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12544 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334030, tv_nsec=891675000}, FUTEX_BITSET_MATCH_ANY 12543 <... openat resumed> ) = -1 ENOENT (No such file or directory) 12543 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12543 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12543 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12543 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fe2f3a21000 12543 close(3) = 0 12543 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12543 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12543 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12543 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fe2f3860000 12543 mprotect(0x7fe2f3882000, 1658880, PROT_NONE) = 0 12543 mmap(0x7fe2f3882000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fe2f3882000 12543 mmap(0x7fe2f39ca000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7fe2f39ca000 12543 mmap(0x7fe2f3a17000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7fe2f3a17000 12543 mmap(0x7fe2f3a1d000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fe2f3a1d000 12543 close(3) = 0 12543 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe2f385d000 12543 arch_prctl(ARCH_SET_FS, 0x7fe2f385d740) = 0 12543 mprotect(0x7fe2f3a17000, 16384, PROT_READ 9918 <... nanosleep resumed> NULL) = 0 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 9918 nanosleep({tv_sec=0, tv_nsec=150000000}, 12544 <... futex resumed> ) = 0 12544 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12544 futex(0x564d1ba8a6ec, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334030, tv_nsec=917552000}, FUTEX_BITSET_MATCH_ANY 12543 <... mprotect resumed> ) = 0 12543 mprotect(0x7fe2f3a2e000, 4096, PROT_READ) = 0 12543 mprotect(0x564d1383f000, 4096, PROT_READ) = 0 12543 mprotect(0x7fe2f3a59000, 4096, PROT_READ) = 0 12543 munmap(0x7fe2f3a21000, 17208) = 0 12543 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12543 signalfd4(-1, [INT TERM], 8, 0) = 3 12543 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12543 fstat(4, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12543 brk(NULL) = 0x564d13f88000 12543 brk(0x564d13fa9000) = 0x564d13fa9000 12543 getdents64(4, /* 151 entries */, 32768) = 4496 12543 getdents64(4, /* 0 entries */, 32768) = 0 12543 close(4) = 0 12543 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12543 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12543 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12543 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12543 read(7, "254:0", 5) = 5 12543 close(7) = 0 12543 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb662a600) = 0 12543 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 7 12543 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12543 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12543 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 12543 read(9, "254:1", 5) = 5 12543 close(9) = 0 12543 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb662a600) = 0 12543 close(4) = 0 12543 close(7) = 0 12543 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12543 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12543 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12543 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12543 read(7, "254:0", 5) = 5 12543 close(7) = 0 12543 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb662a680) = 0 12543 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb662a6d0) = 0 12543 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb662a6d0) = 0 12543 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb662a6d0) = 0 12543 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb662a6d0) = 0 12543 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb662a6d0) = 0 12543 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb662a700) = 0 12543 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb662a680) = 0 12543 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb662a700) = 0 12543 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb662a680) = 0 12543 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb662a700) = 0 12543 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb662a680) = 0 12543 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb662a700) = 0 12543 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb662a680) = 0 12543 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fffb662a700) = 0 12543 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb662a680) = 0 12543 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=9, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 6, 10000 12544 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12544 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/1", O_RDWR) = 4 12544 write(4, "1", 1) = 1 12544 close(4) = 0 12544 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12544 futex(0x564d1ba8a6ec, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334031, tv_nsec=25366000}, FUTEX_BITSET_MATCH_ANY 12543 <... poll resumed> ) = 1 ([{fd=11, revents=POLLIN}]) 12543 read(11, "\324\354\316\225\223\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 12543 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12543 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=9, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 6, 10000 9918 <... nanosleep resumed> NULL) = 0 9918 futex(0x564d1ba8a6ec, FUTEX_WAKE_PRIVATE, 2147483647) = 1 9918 nanosleep({tv_sec=0, tv_nsec=150000000}, 12544 <... futex resumed> ) = 0 12544 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12544 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334031, tv_nsec=73527000}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out) 12544 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/6", O_RDWR) = 4 12544 write(4, "1", 1) = 1 12544 close(4) = 0 12544 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12544 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334031, tv_nsec=218194000}, FUTEX_BITSET_MATCH_ANY 12543 <... poll resumed> ) = 1 ([{fd=12, revents=POLLIN}]) 12543 read(12, "\30\314p\241\223\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 12543 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=9, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 6, 10000 9918 <... nanosleep resumed> NULL) = 0 9918 kill(12543, SIGTERM) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12543 <... poll resumed> ) = 1 ([{fd=3, revents=POLLIN}]) 12543 close(3) = 0 12543 close(11) = 0 12543 close(9) = 0 12543 close(7) = 0 12543 close(12) = 0 12543 close(10) = 0 12543 close(4) = 0 12543 write(1, "1\n6\n", 4) = 4 12543 exit_group(0) = ? 12543 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\3770\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "1\n6\n", 65536) = 4 9918 read(8, "", 65536) = 0 9918 wait4(12543, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12543 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[1m\33[31m", 9) = 9 9918 write(2, "FAILED:", 7) = 7 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "\33[31m", 5) = 5 9918 write(2, "\n\t\t'tools: gpiomon - watch multi"..., 154) = 154 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 12544, NULL 12544 <... futex resumed> ) = 0 12544 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12544 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 12544 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK 12544 +++ exited with 0 +++ 9918 <... delete_module resumed> ) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xea\xf2\xf6\xb0\x89\x54\xc0\x88\xe3\x54\x80\x85\x7f\x2f\xa0\x75", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xc6\x40\x0b\xdf\xac\x29\x40\xf3\x69\xee\xfe\x1a\x9b\x65\xbc\x26", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x16\xba\xbf\xd5\x4d\x48\x2d\xe1\xb3\xce\xe5\x68\xfa\x42\xd1\x97", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xa8\x7c\xd7\xda\x3b\x5c\xaf\xa3\xd7\xd6\x63\x0a\xf1\x0e\x18\x2b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xe8\x1e\xc0\xcb\xfb\x4b\x56\xb3\xeb\x41\xba\x7c\x31\xec\x7f\x7c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xb7\x86\x54\xe2\x2b\xa4\xcb\x0b\x4c\xf7\xc8\x63\x37\x3f\x98\x51", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x02\xaa\xff\xdd\x4e\x0d\x82\x3f\xc7\x2b\x6d\x16\x22\x65\x61\xea", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - request the sa"..., 48) = 48 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12579 9918 close(4) = 0 9918 close(7) = 0 9918 close(9 12579 set_robust_list(0x7f08f87b19a0, 24 9918 <... close resumed> ) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12579 <... set_robust_list resumed> ) = 0 12579 close(10) = 0 12579 dup2(4, 0) = 0 12579 close(4) = 0 12579 dup2(7, 1) = 1 12579 close(7) = 0 12579 dup2(9, 2) = 2 12579 close(9) = 0 12579 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "gpiochip0", "2", "2"], 0x7fffb2966d78 /* 17 vars */) = 0 12579 brk(NULL) = 0x55f37a28c000 12579 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12579 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12579 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffe85ac74f0) = -1 ENOENT (No such file or directory) 12579 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12579 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffe85ac74f0) = -1 ENOENT (No such file or directory) 12579 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12579 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffe85ac74f0) = -1 ENOENT (No such file or directory) 12579 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12579 stat("/libgpiod/src/lib/.libs/tls", 0x7ffe85ac74f0) = -1 ENOENT (No such file or directory) 12579 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12579 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffe85ac74f0) = -1 ENOENT (No such file or directory) 12579 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12579 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffe85ac74f0) = -1 ENOENT (No such file or directory) 12579 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12579 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffe85ac74f0) = -1 ENOENT (No such file or directory) 12579 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12579 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12579 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12579 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff92f729000 12579 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff92f71f000 12579 mmap(0x7ff92f722000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7ff92f722000 12579 mmap(0x7ff92f725000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7ff92f725000 12579 mmap(0x7ff92f727000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7ff92f727000 12579 close(3) = 0 12579 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12579 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12579 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffe85ac74d0) = -1 ENOENT (No such file or directory) 12579 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12579 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffe85ac74d0) = -1 ENOENT (No such file or directory) 12579 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12579 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffe85ac74d0) = -1 ENOENT (No such file or directory) 12579 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12579 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffe85ac74d0) = -1 ENOENT (No such file or directory) 12579 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12579 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffe85ac74d0) = -1 ENOENT (No such file or directory) 12579 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12579 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffe85ac74d0) = -1 ENOENT (No such file or directory) 12579 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12579 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffe85ac74d0) = -1 ENOENT (No such file or directory) 12579 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12579 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12579 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12579 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12579 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ff92f71a000 12579 close(3) = 0 12579 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12579 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12579 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12579 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff92f559000 12579 mprotect(0x7ff92f57b000, 1658880, PROT_NONE) = 0 12579 mmap(0x7ff92f57b000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7ff92f57b000 12579 mmap(0x7ff92f6c3000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7ff92f6c3000 12579 mmap(0x7ff92f710000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7ff92f710000 12579 mmap(0x7ff92f716000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff92f716000 12579 close(3) = 0 12579 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff92f556000 12579 arch_prctl(ARCH_SET_FS, 0x7ff92f556740) = 0 12579 mprotect(0x7ff92f710000, 16384, PROT_READ) = 0 12579 mprotect(0x7ff92f727000, 4096, PROT_READ) = 0 12579 mprotect(0x55f379103000, 4096, PROT_READ) = 0 12579 mprotect(0x7ff92f752000, 4096, PROT_READ) = 0 12579 munmap(0x7ff92f71a000, 17208) = 0 12579 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12579 signalfd4(-1, [INT TERM], 8, 0) = 3 12579 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12579 fstat(4, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12579 brk(NULL) = 0x55f37a28c000 12579 brk(0x55f37a2ad000) = 0x55f37a2ad000 12579 getdents64(4, /* 151 entries */, 32768) = 4496 12579 getdents64(4, /* 0 entries */, 32768) = 0 12579 close(4) = 0 12579 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12579 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12579 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12579 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12579 read(7, "254:0", 5) = 5 12579 close(7) = 0 12579 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe85ac7a30) = 0 12579 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 7 12579 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12579 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12579 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 12579 read(9, "254:1", 5) = 5 12579 close(9) = 0 12579 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe85ac7a30) = 0 12579 close(4) = 0 12579 close(7) = 0 12579 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12579 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12579 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12579 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12579 read(7, "254:0", 5) = 5 12579 close(7) = 0 12579 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe85ac7ab0) = 0 12579 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffe85ac7b00) = 0 12579 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffe85ac7b00) = 0 12579 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7ffe85ac7b30) = 0 12579 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffe85ac7ab0) = 0 12579 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7ffe85ac7b30) = -1 EBUSY (Device or resource busy) 12579 close(7) = 0 12579 close(4) = 0 12579 write(2, "/libgpiod/../install-libgpiod/bi"..., 43) = 43 12579 write(2, "error waiting for events", 24) = 24 12579 write(2, ": Device or resource busy\n", 26) = 26 12579 exit_group(1) = ? 12579 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0#1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 93 9918 wait4(12579, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 12579 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - no arguments':"..., 33) = 33 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12591 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12591 set_robust_list(0x7f08f87b19a0, 24) = 0 12591 close(10) = 0 12591 dup2(4, 0) = 0 12591 close(4) = 0 12591 dup2(7, 1) = 1 12591 close(7) = 0 12591 dup2(9, 2) = 2 12591 close(9) = 0 12591 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"...], 0x7fffb2966d78 /* 17 vars */) = 0 12591 brk(NULL) = 0x5583df083000 12591 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12591 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12591 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffd0ff317e0) = -1 ENOENT (No such file or directory) 12591 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12591 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd0ff317e0) = -1 ENOENT (No such file or directory) 12591 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12591 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd0ff317e0) = -1 ENOENT (No such file or directory) 12591 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12591 stat("/libgpiod/src/lib/.libs/tls", 0x7ffd0ff317e0) = -1 ENOENT (No such file or directory) 12591 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12591 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffd0ff317e0) = -1 ENOENT (No such file or directory) 12591 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12591 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd0ff317e0) = -1 ENOENT (No such file or directory) 12591 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12591 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd0ff317e0) = -1 ENOENT (No such file or directory) 12591 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12591 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12591 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12591 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0259316000 12591 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f025930c000 12591 mmap(0x7f025930f000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f025930f000 12591 mmap(0x7f0259312000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f0259312000 12591 mmap(0x7f0259314000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f0259314000 12591 close(3) = 0 12591 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12591 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12591 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffd0ff317c0) = -1 ENOENT (No such file or directory) 12591 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12591 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd0ff317c0) = -1 ENOENT (No such file or directory) 12591 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12591 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd0ff317c0) = -1 ENOENT (No such file or directory) 12591 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12591 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffd0ff317c0) = -1 ENOENT (No such file or directory) 12591 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12591 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffd0ff317c0) = -1 ENOENT (No such file or directory) 12591 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12591 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd0ff317c0) = -1 ENOENT (No such file or directory) 12591 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12591 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd0ff317c0) = -1 ENOENT (No such file or directory) 12591 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12591 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12591 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12591 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12591 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0259307000 12591 close(3) = 0 12591 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12591 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12591 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12591 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0259146000 12591 mprotect(0x7f0259168000, 1658880, PROT_NONE) = 0 12591 mmap(0x7f0259168000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f0259168000 12591 mmap(0x7f02592b0000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f02592b0000 12591 mmap(0x7f02592fd000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f02592fd000 12591 mmap(0x7f0259303000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0259303000 12591 close(3) = 0 12591 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0259143000 12591 arch_prctl(ARCH_SET_FS, 0x7f0259143740) = 0 12591 mprotect(0x7f02592fd000, 16384, PROT_READ) = 0 12591 mprotect(0x7f0259314000, 4096, PROT_READ) = 0 12591 mprotect(0x5583de929000, 4096, PROT_READ) = 0 12591 mprotect(0x7f025933f000, 4096, PROT_READ) = 0 12591 munmap(0x7f0259307000, 17208) = 0 12591 write(2, "/libgpiod/../install-libgpiod/bi"..., 43) = 43 12591 write(2, "gpiochip must be specified", 26) = 26 12591 write(2, "\n", 1) = 1 12591 exit_group(1) = ? 12591 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0/1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 70 9918 wait4(12591, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 12591 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965b00) = -1 ENOENT (No such file or directory) 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4,-1,4", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x9b\xc1\xa1\x13\x12\x59\x3c\xdd\x54\x1e\x9e\xa0\xfb\xca\xdf\x64", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x7a\x6f\x81\xb6\x6c\x4e\x83\x76\x30\xa7\xf7\x6f\xfb\x8c\x0e\xca", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xbf\x72\x5c\xb8\x5e\xb9\x64\x7b\x0f\x70\x97\x01\x3c\xc2\xbe\x8b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xa5\x55\xe8\xb7\x02\xa4\x95\x52\x80\x80\xe2\x42\xf3\x9a\xee\xb4", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - line not speci"..., 39) = 39 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12608 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12608 set_robust_list(0x7f08f87b19a0, 24) = 0 12608 close(10) = 0 12608 dup2(4, 0) = 0 12608 close(4) = 0 12608 dup2(7, 1) = 1 12608 close(7) = 0 12608 dup2(9, 2) = 2 12608 close(9) = 0 12608 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "gpiochip1"], 0x7fffb2966d78 /* 17 vars */) = 0 12608 brk(NULL) = 0x55706d28c000 12608 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12608 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12608 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7fff8462b020) = -1 ENOENT (No such file or directory) 12608 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12608 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fff8462b020) = -1 ENOENT (No such file or directory) 12608 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12608 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fff8462b020) = -1 ENOENT (No such file or directory) 12608 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12608 stat("/libgpiod/src/lib/.libs/tls", 0x7fff8462b020) = -1 ENOENT (No such file or directory) 12608 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12608 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7fff8462b020) = -1 ENOENT (No such file or directory) 12608 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12608 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fff8462b020) = -1 ENOENT (No such file or directory) 12608 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12608 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fff8462b020) = -1 ENOENT (No such file or directory) 12608 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12608 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12608 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12608 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f269f340000 12608 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f269f336000 12608 mmap(0x7f269f339000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f269f339000 12608 mmap(0x7f269f33c000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f269f33c000 12608 mmap(0x7f269f33e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f269f33e000 12608 close(3) = 0 12608 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12608 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12608 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7fff8462b000) = -1 ENOENT (No such file or directory) 12608 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12608 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fff8462b000) = -1 ENOENT (No such file or directory) 12608 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12608 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fff8462b000) = -1 ENOENT (No such file or directory) 12608 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12608 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7fff8462b000) = -1 ENOENT (No such file or directory) 12608 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12608 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7fff8462b000) = -1 ENOENT (No such file or directory) 12608 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12608 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fff8462b000) = -1 ENOENT (No such file or directory) 12608 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12608 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fff8462b000) = -1 ENOENT (No such file or directory) 12608 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12608 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12608 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12608 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12608 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f269f331000 12608 close(3) = 0 12608 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12608 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12608 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12608 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f269f170000 12608 mprotect(0x7f269f192000, 1658880, PROT_NONE) = 0 12608 mmap(0x7f269f192000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f269f192000 12608 mmap(0x7f269f2da000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f269f2da000 12608 mmap(0x7f269f327000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f269f327000 12608 mmap(0x7f269f32d000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f269f32d000 12608 close(3) = 0 12608 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f269f16d000 12608 arch_prctl(ARCH_SET_FS, 0x7f269f16d740) = 0 12608 mprotect(0x7f269f327000, 16384, PROT_READ) = 0 12608 mprotect(0x7f269f33e000, 4096, PROT_READ) = 0 12608 mprotect(0x55706b844000, 4096, PROT_READ) = 0 12608 mprotect(0x7f269f369000, 4096, PROT_READ) = 0 12608 munmap(0x7f269f331000, 17208) = 0 12608 write(2, "/libgpiod/../install-libgpiod/bi"..., 43) = 43 12608 write(2, "at least one GPIO line offset mu"..., 47) = 47 12608 write(2, "\n", 1) = 1 12608 exit_group(1) = ? 12608 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0@1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 91 9918 wait4(12608, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 12608 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x47\xb9\x04\x25\xb3\x83\x00\x4a\x1a\x37\x02\x3d\x89\x93\x3b\x31", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x27\xf1\x36\xf5\x8d\xa7\x92\x1c\x36\xf1\xe7\x21\x5d\x6a\xbf\x4e", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - line out of ra"..., 38) = 38 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12628 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12628 set_robust_list(0x7f08f87b19a0, 24) = 0 12628 close(10) = 0 12628 dup2(4, 0) = 0 12628 close(4) = 0 12628 dup2(7, 1) = 1 12628 close(7) = 0 12628 dup2(9, 2) = 2 12628 close(9) = 0 12628 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "gpiochip0", "4"], 0x7fffb2966d78 /* 17 vars */) = 0 12628 brk(NULL) = 0x55dffe1e6000 12628 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12628 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12628 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffc2e0b7f50) = -1 ENOENT (No such file or directory) 12628 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12628 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc2e0b7f50) = -1 ENOENT (No such file or directory) 12628 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12628 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc2e0b7f50) = -1 ENOENT (No such file or directory) 12628 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12628 stat("/libgpiod/src/lib/.libs/tls", 0x7ffc2e0b7f50) = -1 ENOENT (No such file or directory) 12628 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12628 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffc2e0b7f50) = -1 ENOENT (No such file or directory) 12628 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12628 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc2e0b7f50) = -1 ENOENT (No such file or directory) 12628 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12628 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc2e0b7f50) = -1 ENOENT (No such file or directory) 12628 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12628 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12628 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12628 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f695819b000 12628 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6958191000 12628 mmap(0x7f6958194000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f6958194000 12628 mmap(0x7f6958197000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f6958197000 12628 mmap(0x7f6958199000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f6958199000 12628 close(3) = 0 12628 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12628 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12628 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffc2e0b7f30) = -1 ENOENT (No such file or directory) 12628 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12628 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc2e0b7f30) = -1 ENOENT (No such file or directory) 12628 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12628 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc2e0b7f30) = -1 ENOENT (No such file or directory) 12628 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12628 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffc2e0b7f30) = -1 ENOENT (No such file or directory) 12628 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12628 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffc2e0b7f30) = -1 ENOENT (No such file or directory) 12628 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12628 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc2e0b7f30) = -1 ENOENT (No such file or directory) 12628 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12628 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc2e0b7f30) = -1 ENOENT (No such file or directory) 12628 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12628 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12628 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12628 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12628 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f695818c000 12628 close(3) = 0 12628 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12628 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12628 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12628 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6957fcb000 12628 mprotect(0x7f6957fed000, 1658880, PROT_NONE) = 0 12628 mmap(0x7f6957fed000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f6957fed000 12628 mmap(0x7f6958135000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f6958135000 12628 mmap(0x7f6958182000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f6958182000 12628 mmap(0x7f6958188000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6958188000 12628 close(3) = 0 12628 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6957fc8000 12628 arch_prctl(ARCH_SET_FS, 0x7f6957fc8740) = 0 12628 mprotect(0x7f6958182000, 16384, PROT_READ) = 0 12628 mprotect(0x7f6958199000, 4096, PROT_READ) = 0 12628 mprotect(0x55dffde20000, 4096, PROT_READ) = 0 12628 mprotect(0x7f69581c4000, 4096, PROT_READ) = 0 12628 munmap(0x7f695818c000, 17208) = 0 12628 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12628 signalfd4(-1, [INT TERM], 8, 0) = 3 12628 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12628 fstat(4, {st_mode=S_IFDIR|0755, st_size=3000, ...}) = 0 12628 brk(NULL) = 0x55dffe1e6000 12628 brk(0x55dffe207000) = 0x55dffe207000 12628 getdents64(4, /* 150 entries */, 32768) = 4464 12628 getdents64(4, /* 0 entries */, 32768) = 0 12628 close(4) = 0 12628 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12628 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12628 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12628 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12628 read(7, "254:0", 5) = 5 12628 close(7) = 0 12628 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc2e0b8490) = 0 12628 close(4) = 0 12628 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12628 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12628 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12628 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12628 read(7, "254:0", 5) = 5 12628 close(7) = 0 12628 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc2e0b8510) = 0 12628 close(4) = 0 12628 write(2, "/libgpiod/../install-libgpiod/bi"..., 43) = 43 12628 write(2, "error waiting for events", 24) = 24 12628 write(2, ": Invalid argument\n", 19) = 19 12628 exit_group(1) = ? 12628 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0T1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 86 9918 wait4(12628, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 12628 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xee\x1f\x50\xf0\x8b\xbd\x35\x00\x68\xeb\xe4\xf2\xed\x41\x03\x24", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x69\x40\xde\xda\x30\xed\xe7\x46\x88\xc4\x5e\x15\x71\x86\x35\x49", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xa3\xf2\xda\xad\x5e\x48\xaf\xbf\x1a\xdb\xc5\x11\x33\x9a\xd3\x12", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xdd\xc2\x6b\x2d\xbc\xfa\x58\x63\x1c\x5f\x2f\x13\x74\x1a\x6e\x2a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x98\xb3\xef\xbe\x86\xbe\x2c\x9d\xc9\x35\xdd\x53\xb0\x04\xd4\x6a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x8f\x50\x5a\xb0\xe9\x7a\x60\x34\x26\x6a\x29\x59\xa7\xe4\xa2\x5e", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - custom output "..., 59) = 59 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12653 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 12654 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12653 set_robust_list(0x7f08f87b19a0, 24) = 0 12653 close(10 12654 set_robust_list(0x7f08f87ad9e0, 24 12653 <... close resumed> ) = 0 12654 <... set_robust_list resumed> ) = 0 12654 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334034, tv_nsec=700884000}, FUTEX_BITSET_MATCH_ANY 12653 dup2(4, 0) = 0 12653 close(4) = 0 12653 dup2(7, 1) = 1 12653 close(7) = 0 12653 dup2(9, 2) = 2 12653 close(9) = 0 12653 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "--num-events=1", "--format=%e %o", "gpiochip0", "3"], 0x7fffb2966d78 /* 17 vars */) = 0 12653 brk(NULL) = 0x558833b74000 12653 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12653 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12653 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffe5d95f680) = -1 ENOENT (No such file or directory) 12653 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12653 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffe5d95f680) = -1 ENOENT (No such file or directory) 12653 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12653 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffe5d95f680) = -1 ENOENT (No such file or directory) 12653 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12653 stat("/libgpiod/src/lib/.libs/tls", 0x7ffe5d95f680) = -1 ENOENT (No such file or directory) 12653 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12653 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffe5d95f680) = -1 ENOENT (No such file or directory) 12653 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12653 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffe5d95f680) = -1 ENOENT (No such file or directory) 12653 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12653 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffe5d95f680) = -1 ENOENT (No such file or directory) 12653 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12653 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12653 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12653 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f78e1c42000 12653 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f78e1c38000 12653 mmap(0x7f78e1c3b000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f78e1c3b000 12653 mmap(0x7f78e1c3e000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f78e1c3e000 12653 mmap(0x7f78e1c40000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f78e1c40000 12653 close(3) = 0 12653 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12653 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12653 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffe5d95f660) = -1 ENOENT (No such file or directory) 12653 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12653 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffe5d95f660) = -1 ENOENT (No such file or directory) 12653 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12653 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffe5d95f660) = -1 ENOENT (No such file or directory) 12653 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12653 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffe5d95f660) = -1 ENOENT (No such file or directory) 12653 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12653 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffe5d95f660) = -1 ENOENT (No such file or directory) 12653 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12653 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffe5d95f660) = -1 ENOENT (No such file or directory) 12653 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12653 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffe5d95f660) = -1 ENOENT (No such file or directory) 12653 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12653 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12653 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12653 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12653 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f78e1c33000 12653 close(3) = 0 12653 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12654 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12653 read(3, 12654 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 4 12653 <... read resumed> "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12654 write(4, "1", 1) = 1 12654 close(4) = 0 12653 fstat(3, 12654 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12654 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334034, tv_nsec=808735000}, FUTEX_BITSET_MATCH_ANY 12653 <... fstat resumed> {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12653 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f78e1a72000 12653 mprotect(0x7f78e1a94000, 1658880, PROT_NONE) = 0 12653 mmap(0x7f78e1a94000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f78e1a94000 12653 mmap(0x7f78e1bdc000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f78e1bdc000 12653 mmap(0x7f78e1c29000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f78e1c29000 12653 mmap(0x7f78e1c2f000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f78e1c2f000 12653 close(3) = 0 12653 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f78e1a6f000 12653 arch_prctl(ARCH_SET_FS, 0x7f78e1a6f740) = 0 12653 mprotect(0x7f78e1c29000, 16384, PROT_READ) = 0 12653 mprotect(0x7f78e1c40000, 4096, PROT_READ) = 0 12653 mprotect(0x558832f84000, 4096, PROT_READ) = 0 12653 mprotect(0x7f78e1c6b000, 4096, PROT_READ) = 0 12653 munmap(0x7f78e1c33000, 17208) = 0 12653 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12653 signalfd4(-1, [INT TERM], 8, 0) = 3 12653 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12653 fstat(4, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12653 brk(NULL) = 0x558833b74000 12653 brk(0x558833b95000) = 0x558833b95000 12653 getdents64(4, /* 151 entries */, 32768) = 4496 12653 getdents64(4, /* 0 entries */, 32768) = 0 12653 close(4) = 0 12653 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12653 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12653 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12653 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12653 read(7, "254:0", 5) = 5 12653 close(7) = 0 12653 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe5d95fbc0) = 0 12653 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 7 12653 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12653 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12653 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 12653 read(9, "254:1", 5) = 5 12653 close(9) = 0 12653 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe5d95fbc0) = 0 12653 close(4) = 0 12653 close(7) = 0 12653 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12653 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12653 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12653 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12653 read(7, "254:0", 5) = 5 12653 close(7) = 0 12653 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe5d95fc40) = 0 12653 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffe5d95fc90) = 0 12653 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7ffe5d95fcc0) = 0 12653 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffe5d95fc40) = 0 12653 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000 12654 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12654 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 4 12654 write(4, "1", 1) = 1 12654 close(4) = 0 12654 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12654 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334034, tv_nsec=916532000}, FUTEX_BITSET_MATCH_ANY 12653 <... poll resumed> ) = 1 ([{fd=7, revents=POLLIN}]) 12653 read(7, "\366\363\272}\224\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 12653 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12653 close(7) = 0 12653 close(4) = 0 12653 write(1, "1 3\n", 4) = 4 12653 exit_group(0) = ? 12653 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0m1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "1 3\n", 65536) = 4 9918 read(8, "", 65536) = 0 9918 wait4(12653, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12653 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 12654, NULL 12654 <... futex resumed> ) = 0 12654 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12654 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 12654 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK 12654 +++ exited with 0 +++ 9918 <... delete_module resumed> ) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x3d\xf7\x1f\x19\xd8\x91\xb2\x77\x82\x0d\x13\x15\x4d\xdb\x43\x8e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xec\x52\x22\x88\x03\x3b\x46\xe5\xc1\xb0\x36\xef\x94\x95\x4a\xc9", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xb5\x13\x20\xed\x6f\x67\x64\xa8\x5e\xc6\x52\xea\x7d\x8f\x38\x47", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xc0\xa7\x25\x46\xb1\x23\xf8\xc3\xd9\xe7\xc0\x89\xcd\xd2\x81\x40", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x3f\xf6\xf3\xcc\x55\x72\xf3\x58\x94\xbb\xf7\x6f\xa8\xee\x5f\x73", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xc0\xa3\x2e\x21\xac\xc9\x3b\xd9\x1b\xb7\x4b\xa8\xf1\x48\x6e\x9c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xeb\xeb\xfb\x6c\x7f\xb2\xfa\xab\xd2\x3b\x14\xa8\x38\x64\x2d\x3f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xaa\x67\x34\x29\x20\xc6\xf3\x7b\xb2\xcc\x31\xba\x59\xc0\x99\xfb", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - custom output "..., 75) = 75 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12686 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 12687 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12686 set_robust_list(0x7f08f87b19a0, 24) = 0 12686 close(10) = 0 12686 dup2(4, 0) = 0 12687 set_robust_list(0x7f08f87ad9e0, 24) = 0 12686 close(4 12687 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334035, tv_nsec=981842000}, FUTEX_BITSET_MATCH_ANY 12686 <... close resumed> ) = 0 12686 dup2(7, 1) = 1 12686 close(7) = 0 12686 dup2(9, 2) = 2 12686 close(9) = 0 12686 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "--num-events=1", "--format=%e%o", "gpiochip0", "3"], 0x7fffb2966d78 /* 17 vars */) = 0 12686 brk(NULL) = 0x55801fedc000 12686 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12686 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12686 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffff78a8140) = -1 ENOENT (No such file or directory) 12686 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12686 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffff78a8140) = -1 ENOENT (No such file or directory) 12686 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12686 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffff78a8140) = -1 ENOENT (No such file or directory) 12686 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12686 stat("/libgpiod/src/lib/.libs/tls", 0x7ffff78a8140) = -1 ENOENT (No such file or directory) 12686 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12686 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffff78a8140) = -1 ENOENT (No such file or directory) 12686 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12686 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffff78a8140) = -1 ENOENT (No such file or directory) 12686 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12686 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffff78a8140) = -1 ENOENT (No such file or directory) 12686 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12686 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12686 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12686 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fec794b1000 12686 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fec794a7000 12686 mmap(0x7fec794aa000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fec794aa000 12686 mmap(0x7fec794ad000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fec794ad000 12686 mmap(0x7fec794af000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fec794af000 12686 close(3) = 0 12686 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12686 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12686 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffff78a8120) = -1 ENOENT (No such file or directory) 12686 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12686 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffff78a8120) = -1 ENOENT (No such file or directory) 12686 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12686 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffff78a8120) = -1 ENOENT (No such file or directory) 12686 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12686 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffff78a8120) = -1 ENOENT (No such file or directory) 12686 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12686 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffff78a8120) = -1 ENOENT (No such file or directory) 12686 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12686 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffff78a8120) = -1 ENOENT (No such file or directory) 12686 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12686 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffff78a8120) = -1 ENOENT (No such file or directory) 12686 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12686 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12686 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12686 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12686 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fec794a2000 12686 close(3) = 0 12686 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12686 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12686 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12686 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0 12687 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12687 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 4 12687 write(4, "1", 1) = 1 12687 close(4) = 0 12687 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12687 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334036, tv_nsec=87749000}, FUTEX_BITSET_MATCH_ANY 12686 <... mmap resumed> ) = 0x7fec792e1000 12686 mprotect(0x7fec79303000, 1658880, PROT_NONE) = 0 12686 mmap(0x7fec79303000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fec79303000 12686 mmap(0x7fec7944b000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7fec7944b000 12686 mmap(0x7fec79498000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7fec79498000 12686 mmap(0x7fec7949e000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fec7949e000 12686 close(3) = 0 12686 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fec792de000 12686 arch_prctl(ARCH_SET_FS, 0x7fec792de740) = 0 12686 mprotect(0x7fec79498000, 16384, PROT_READ) = 0 12686 mprotect(0x7fec794af000, 4096, PROT_READ) = 0 12686 mprotect(0x55801f9d0000, 4096, PROT_READ) = 0 12686 mprotect(0x7fec794da000, 4096, PROT_READ) = 0 12686 munmap(0x7fec794a2000, 17208) = 0 12686 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12686 signalfd4(-1, [INT TERM], 8, 0) = 3 12686 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12686 fstat(4, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12686 brk(NULL) = 0x55801fedc000 12686 brk(0x55801fefd000) = 0x55801fefd000 12686 getdents64(4, /* 151 entries */, 32768) = 4496 12686 getdents64(4, /* 0 entries */, 32768) = 0 12686 close(4) = 0 12686 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12686 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12686 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12686 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12686 read(7, "254:0", 5) = 5 12686 close(7) = 0 12686 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffff78a8680) = 0 12686 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 7 12686 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12686 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12686 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 12686 read(9, "254:1", 5) = 5 12686 close(9) = 0 12686 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffff78a8680) = 0 12686 close(4) = 0 12686 close(7) = 0 12686 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12686 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12686 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12686 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12686 read(7, "254:0", 5) = 5 12686 close(7) = 0 12686 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffff78a8700) = 0 12686 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffff78a8750) = 0 12686 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7ffff78a8780) = 0 12686 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffff78a8700) = 0 12686 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000 12687 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12687 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 4 12687 write(4, "1", 1) = 1 12687 close(4) = 0 12687 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12687 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334036, tv_nsec=227986000}, FUTEX_BITSET_MATCH_ANY 12686 <... poll resumed> ) = 1 ([{fd=7, revents=POLLIN}]) 12686 read(7, "I\246\0\314\224\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 12686 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12686 close(7) = 0 12686 close(4) = 0 12686 write(1, "13\n", 3) = 3 12686 exit_group(0) = ? 12686 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\2161\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "13\n", 65536) = 3 9918 read(8, "", 65536) = 0 9918 wait4(12686, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12686 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 12687, NULL 12687 <... futex resumed> ) = 0 12687 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12687 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 12687 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK 12687 +++ exited with 0 +++ 9918 <... delete_module resumed> ) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x1f\xdb\xa2\xaa\xa0\xf6\x71\x6b\x5b\x22\x13\xfd\x93\x24\x6b\x4b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xae\x7e\x76\xa7\x67\x03\x0d\xd1\x2f\x3e\x35\x58\xe3\x75\xa0\x6e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x6c\xe7\x8a\xc7\x37\x43\x03\x90\x36\xac\x63\x76\x37\x54\x4a\x0e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x17\xda\xa6\xff\xf4\xf6\x76\x11\x7a\x86\x35\xbc\x5a\x62\xb4\xa2", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xc6\xc1\x53\x33\xc2\xb1\x9b\xf9\xcb\x77\xdd\xd5\x6d\x9d\x21\xe3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x83\x41\x72\xd6\xf8\xf0\x1b\x62\xdd\x13\x88\xc8\x6e\x02\x3b\x1d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xa0\xde\x7b\xea\x16\x45\x04\x53\xf3\x00\xa2\x84\xca\xf7\xbe\x80", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x26\xfc\x5d\x3c\x87\xfa\xc7\xde\x24\xd6\x1c\x92\x24\x92\xa2\xe8", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - custom output "..., 52) = 52 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12719 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 12720 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12719 set_robust_list(0x7f08f87b19a0, 24) = 0 12719 close(10) = 0 12719 dup2(4, 0 12720 set_robust_list(0x7f08f87ad9e0, 24 12719 <... dup2 resumed> ) = 0 12720 <... set_robust_list resumed> ) = 0 12720 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334037, tv_nsec=260762000}, FUTEX_BITSET_MATCH_ANY 12719 close(4) = 0 12719 dup2(7, 1) = 1 12719 close(7) = 0 12719 dup2(9, 2) = 2 12719 close(9) = 0 12719 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "--num-events=1", "--format=%e %o %s.%n", "gpiochip0", "3"], 0x7fffb2966d78 /* 17 vars */) = 0 12719 brk(NULL) = 0x559186ce4000 12719 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12719 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12719 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffdf83a0560) = -1 ENOENT (No such file or directory) 12719 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12719 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffdf83a0560) = -1 ENOENT (No such file or directory) 12719 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12719 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffdf83a0560) = -1 ENOENT (No such file or directory) 12719 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12719 stat("/libgpiod/src/lib/.libs/tls", 0x7ffdf83a0560) = -1 ENOENT (No such file or directory) 12719 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12719 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffdf83a0560) = -1 ENOENT (No such file or directory) 12719 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12719 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffdf83a0560) = -1 ENOENT (No such file or directory) 12719 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12719 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffdf83a0560) = -1 ENOENT (No such file or directory) 12719 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12719 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12719 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12719 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fef5a3a7000 12719 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fef5a39d000 12719 mmap(0x7fef5a3a0000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fef5a3a0000 12719 mmap(0x7fef5a3a3000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fef5a3a3000 12719 mmap(0x7fef5a3a5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fef5a3a5000 12719 close(3) = 0 12719 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12719 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12719 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffdf83a0540) = -1 ENOENT (No such file or directory) 12719 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12719 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffdf83a0540) = -1 ENOENT (No such file or directory) 12719 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12719 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffdf83a0540) = -1 ENOENT (No such file or directory) 12719 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12719 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffdf83a0540) = -1 ENOENT (No such file or directory) 12719 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12719 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffdf83a0540) = -1 ENOENT (No such file or directory) 12719 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12719 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffdf83a0540) = -1 ENOENT (No such file or directory) 12719 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12719 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffdf83a0540) = -1 ENOENT (No such file or directory) 12719 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12719 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12719 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12719 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12719 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fef5a398000 12719 close(3) = 0 12719 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12719 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12719 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12719 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fef5a1d7000 12719 mprotect(0x7fef5a1f9000, 1658880, PROT_NONE 12720 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12720 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 4 12720 write(4, "1", 1) = 1 12720 close(4) = 0 12720 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12720 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334037, tv_nsec=366689000}, FUTEX_BITSET_MATCH_ANY 12719 <... mprotect resumed> ) = 0 12719 mmap(0x7fef5a1f9000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fef5a1f9000 12719 mmap(0x7fef5a341000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7fef5a341000 12719 mmap(0x7fef5a38e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7fef5a38e000 12719 mmap(0x7fef5a394000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fef5a394000 12719 close(3) = 0 12719 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fef5a1d4000 12719 arch_prctl(ARCH_SET_FS, 0x7fef5a1d4740) = 0 12719 mprotect(0x7fef5a38e000, 16384, PROT_READ) = 0 12719 mprotect(0x7fef5a3a5000, 4096, PROT_READ) = 0 12719 mprotect(0x5591850a9000, 4096, PROT_READ) = 0 12719 mprotect(0x7fef5a3d0000, 4096, PROT_READ) = 0 12719 munmap(0x7fef5a398000, 17208) = 0 12719 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12719 signalfd4(-1, [INT TERM], 8, 0) = 3 12719 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12719 fstat(4, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12719 brk(NULL) = 0x559186ce4000 12719 brk(0x559186d05000) = 0x559186d05000 12719 getdents64(4, /* 151 entries */, 32768) = 4496 12719 getdents64(4, /* 0 entries */, 32768) = 0 12719 close(4) = 0 12719 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12719 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12719 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12719 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12719 read(7, "254:0", 5) = 5 12719 close(7) = 0 12719 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffdf83a0aa0) = 0 12719 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 7 12719 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12719 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12719 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 12719 read(9, "254:1", 5) = 5 12719 close(9) = 0 12719 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffdf83a0aa0) = 0 12719 close(4) = 0 12719 close(7) = 0 12719 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12719 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12719 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12719 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12719 read(7, "254:0", 5) = 5 12719 close(7) = 0 12719 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffdf83a0b20) = 0 12719 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffdf83a0b70) = 0 12719 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7ffdf83a0ba0) = 0 12719 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffdf83a0b20) = 0 12719 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000 12720 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12720 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 4 12720 write(4, "1", 1) = 1 12720 close(4) = 0 12720 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12720 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334037, tv_nsec=473956000}, FUTEX_BITSET_MATCH_ANY 12719 <... poll resumed> ) = 1 ([{fd=7, revents=POLLIN}]) 12719 read(7, "03/\26\225\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 12719 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12719 close(7) = 0 12719 close(4) = 0 12719 write(1, "1 3 1552334037.369959216\n", 25) = 25 12719 exit_group(0) = ? 12719 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\2571\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "1 3 1552334037.369959216\n", 65536) = 25 9918 read(8, "", 65536) = 0 9918 wait4(12719, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12719 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 12720 <... futex resumed> ) = 0 12720 futex(0x564d1ba8a698, FUTEX_WAIT_PRIVATE, 2, NULL 9918 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1 12720 <... futex resumed> ) = -1 EAGAIN (Resource temporarily unavailable) 9918 <... futex resumed> ) = 0 12720 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 12720, NULL 12720 <... futex resumed> ) = 0 12720 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 12720 exit(0) = ? 9918 <... futex resumed> ) = 0 12720 +++ exited with 0 +++ 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x44\x43\x6b\xb5\x9d\x4b\xfc\x09\x8f\x3e\xa7\x5e\x32\x2e\x9f\x5a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xe8\x02\x84\x42\x07\xc4\x6e\xaf\x08\x86\xb5\xa8\xae\x46\x55\x93", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x07\x6e\x4c\x41\x62\x35\x4a\xa3\x6a\x9a\x70\x75\x1d\x99\x6a\xeb", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xe2\xf7\x14\x2c\x7b\x2e\xab\x30\x6b\xba\xf4\xcf\x8d\xfb\xe8\xe0", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xb4\xd1\x45\xe6\x05\x51\xaa\xb1\x17\xcf\x4a\x56\x32\x7f\x20\x6f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x9a\xf4\x77\x23\xa8\x86\xae\xb8\x75\x0f\x16\x43\xbf\xf8\xb6\x3c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x66\xc1\xbc\xfd\x79\x25\xf4\x16\x6a\xae\x9a\x49\x6c\x0e\x9e\x75", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x8f\xdb\x85\x12\xa7\x1f\x3c\x60\xe2\x2a\x15\x87\x11\xa8\x42\x96", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - custom output "..., 62) = 62 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12752 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 12753 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12752 set_robust_list(0x7f08f87b19a0, 24) = 0 12752 close(10) = 0 12752 dup2(4, 0 12753 set_robust_list(0x7f08f87ad9e0, 24 12752 <... dup2 resumed> ) = 0 12753 <... set_robust_list resumed> ) = 0 12753 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334038, tv_nsec=648653000}, FUTEX_BITSET_MATCH_ANY 12752 close(4) = 0 12752 dup2(7, 1) = 1 12752 close(7) = 0 12752 dup2(9, 2) = 2 12752 close(9) = 0 12752 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "--num-events=1", "--format=%%", "gpiochip0", "3"], 0x7fffb2966d78 /* 17 vars */) = 0 12752 brk(NULL) = 0x55f8e105a000 12752 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12752 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12752 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffd068b02a0) = -1 ENOENT (No such file or directory) 12752 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12752 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd068b02a0) = -1 ENOENT (No such file or directory) 12752 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12752 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd068b02a0) = -1 ENOENT (No such file or directory) 12752 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12752 stat("/libgpiod/src/lib/.libs/tls", 0x7ffd068b02a0) = -1 ENOENT (No such file or directory) 12752 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12752 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffd068b02a0) = -1 ENOENT (No such file or directory) 12752 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12752 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd068b02a0) = -1 ENOENT (No such file or directory) 12752 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12752 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd068b02a0) = -1 ENOENT (No such file or directory) 12752 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12752 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12752 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12752 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f04e8234000 12752 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f04e822a000 12752 mmap(0x7f04e822d000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f04e822d000 12752 mmap(0x7f04e8230000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f04e8230000 12752 mmap(0x7f04e8232000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f04e8232000 12752 close(3) = 0 12752 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12752 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12752 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffd068b0280) = -1 ENOENT (No such file or directory) 12752 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12752 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd068b0280) = -1 ENOENT (No such file or directory) 12752 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12752 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd068b0280) = -1 ENOENT (No such file or directory) 12752 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12752 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffd068b0280) = -1 ENOENT (No such file or directory) 12752 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12752 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffd068b0280) = -1 ENOENT (No such file or directory) 12752 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12752 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd068b0280) = -1 ENOENT (No such file or directory) 12752 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12752 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd068b0280) = -1 ENOENT (No such file or directory) 12752 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12752 stat("/libgpiod/../install-libgpiod/lib", 12753 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12753 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 4 12753 write(4, "1", 1) = 1 12753 close(4 12752 <... stat resumed> {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12753 <... close resumed> ) = 0 12753 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12753 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334038, tv_nsec=780228000}, FUTEX_BITSET_MATCH_ANY 12752 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12752 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12752 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f04e8225000 12752 close(3) = 0 12752 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12752 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12752 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12752 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f04e8064000 12752 mprotect(0x7f04e8086000, 1658880, PROT_NONE) = 0 12752 mmap(0x7f04e8086000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f04e8086000 12752 mmap(0x7f04e81ce000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f04e81ce000 12752 mmap(0x7f04e821b000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f04e821b000 12752 mmap(0x7f04e8221000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f04e8221000 12752 close(3) = 0 12752 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f04e8061000 12752 arch_prctl(ARCH_SET_FS, 0x7f04e8061740) = 0 12752 mprotect(0x7f04e821b000, 16384, PROT_READ) = 0 12752 mprotect(0x7f04e8232000, 4096, PROT_READ) = 0 12752 mprotect(0x55f8e023e000, 4096, PROT_READ) = 0 12752 mprotect(0x7f04e825d000, 4096, PROT_READ) = 0 12752 munmap(0x7f04e8225000, 17208) = 0 12752 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12752 signalfd4(-1, [INT TERM], 8, 0) = 3 12752 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12752 fstat(4, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12752 brk(NULL) = 0x55f8e105a000 12752 brk(0x55f8e107b000) = 0x55f8e107b000 12752 getdents64(4, /* 151 entries */, 32768) = 4496 12752 getdents64(4, /* 0 entries */, 32768) = 0 12752 close(4) = 0 12752 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12752 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12752 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12752 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12752 read(7, "254:0", 5) = 5 12752 close(7) = 0 12752 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd068b07e0) = 0 12752 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 7 12752 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12752 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12752 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 12752 read(9, "254:1", 5) = 5 12752 close(9) = 0 12752 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd068b07e0) = 0 12752 close(4) = 0 12752 close(7) = 0 12752 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12752 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12752 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12752 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12752 read(7, "254:0", 5) = 5 12752 close(7) = 0 12752 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd068b0860) = 0 12752 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffd068b08b0) = 0 12752 ioctl(4, GPIO_GET_LINEEVENT_IOCTL 12753 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12753 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 4 12753 write(4, "1", 1) = 1 12753 close(4) = 0 12753 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12753 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334038, tv_nsec=895400000}, FUTEX_BITSET_MATCH_ANY 12752 <... ioctl resumed> , 0x7ffd068b08e0) = 0 12752 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffd068b0860) = 0 12752 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000) = 1 ([{fd=7, revents=POLLIN}]) 12752 read(7, "\37\236\0k\225\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 12752 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12752 close(7) = 0 12752 close(4) = 0 12752 write(1, "%\n", 2) = 2 12752 exit_group(0) = ? 12752 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\3201\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "%\n", 65536) = 2 9918 read(8, "", 65536) = 0 9918 wait4(12752, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12752 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 12753, NULL 12753 <... futex resumed> ) = 0 12753 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12753 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 12753 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK 12753 +++ exited with 0 +++ 9918 <... delete_module resumed> ) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xbc\xf7\xca\x68\xf0\x8d\xde\xae\x0a\x6c\x55\xc0\x4f\x8b\x5a\xc7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x8b\x89\x50\xbe\xa2\xa8\xaa\x70\x5b\x6b\x45\xcf\xd6\xf9\xb2\x4d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xda\xef\xae\xbb\xd8\xe9\xdd\x2f\x8e\xe2\x4a\xb4\x90\x6f\x82\x3a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x48\x13\x22\x7e\x76\x36\xb7\xe7\x9f\xdd\x7e\x8b\x78\x4e\x01\x54", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - custom output "..., 77) = 77 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12781 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 clone( 12781 set_robust_list(0x7f08f87b19a0, 24 9918 <... clone resumed> child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 12782 12781 <... set_robust_list resumed> ) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12781 close(10) = 0 12781 dup2(4, 0 12782 set_robust_list(0x7f08f87ad9e0, 24 12781 <... dup2 resumed> ) = 0 12782 <... set_robust_list resumed> ) = 0 12781 close(4 12782 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334039, tv_nsec=570934000}, FUTEX_BITSET_MATCH_ANY 12781 <... close resumed> ) = 0 12781 dup2(7, 1) = 1 12781 close(7) = 0 12781 dup2(9, 2) = 2 12781 close(9) = 0 12781 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "--num-events=1", "--format=%%e", "gpiochip0", "3"], 0x7fffb2966d78 /* 17 vars */) = 0 12781 brk(NULL) = 0x55f6ee95c000 12781 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12781 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12781 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7fff1c8f1e60) = -1 ENOENT (No such file or directory) 12781 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12781 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fff1c8f1e60) = -1 ENOENT (No such file or directory) 12781 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12781 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fff1c8f1e60) = -1 ENOENT (No such file or directory) 12781 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12781 stat("/libgpiod/src/lib/.libs/tls", 0x7fff1c8f1e60) = -1 ENOENT (No such file or directory) 12781 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12781 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7fff1c8f1e60) = -1 ENOENT (No such file or directory) 12781 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12781 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fff1c8f1e60) = -1 ENOENT (No such file or directory) 12781 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12781 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fff1c8f1e60) = -1 ENOENT (No such file or directory) 12781 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12781 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12781 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12781 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f36995d6000 12781 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f36995cc000 12781 mmap(0x7f36995cf000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f36995cf000 12781 mmap(0x7f36995d2000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f36995d2000 12781 mmap(0x7f36995d4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f36995d4000 12781 close(3) = 0 12781 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12781 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12781 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7fff1c8f1e40) = -1 ENOENT (No such file or directory) 12781 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12781 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fff1c8f1e40) = -1 ENOENT (No such file or directory) 12781 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12781 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fff1c8f1e40) = -1 ENOENT (No such file or directory) 12781 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12781 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7fff1c8f1e40) = -1 ENOENT (No such file or directory) 12781 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12781 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7fff1c8f1e40) = -1 ENOENT (No such file or directory) 12781 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12781 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fff1c8f1e40) = -1 ENOENT (No such file or directory) 12781 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12781 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fff1c8f1e40) = -1 ENOENT (No such file or directory) 12781 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12781 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12781 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12781 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12781 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f36995c7000 12781 close(3) = 0 12781 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12781 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12781 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12781 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3699406000 12781 mprotect(0x7f3699428000, 1658880, PROT_NONE) = 0 12781 mmap(0x7f3699428000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f3699428000 12781 mmap(0x7f3699570000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f3699570000 12781 mmap(0x7f36995bd000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f36995bd000 12781 mmap(0x7f36995c3000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f36995c3000 12781 close(3) = 0 12781 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3699403000 12781 arch_prctl(ARCH_SET_FS, 0x7f3699403740) = 0 12781 mprotect(0x7f36995bd000, 16384, PROT_READ) = 0 12781 mprotect(0x7f36995d4000, 4096, PROT_READ) = 0 12781 mprotect(0x55f6ed31c000, 4096, PROT_READ) = 0 12781 mprotect(0x7f36995ff000, 4096, PROT_READ) = 0 12781 munmap(0x7f36995c7000, 17208) = 0 12781 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12781 signalfd4(-1, [INT TERM], 8, 0) = 3 12781 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12781 fstat(4, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12781 brk(NULL) = 0x55f6ee95c000 12781 brk(0x55f6ee97d000) = 0x55f6ee97d000 12781 getdents64(4, /* 151 entries */, 32768) = 4496 12781 getdents64(4, /* 0 entries */, 32768) = 0 12781 close(4) = 0 12781 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12781 lstat("/dev/gpiochip0", 12782 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12782 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 4 12782 write(4, "1", 1) = 1 12782 close(4) = 0 12782 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12782 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334039, tv_nsec=674966000}, FUTEX_BITSET_MATCH_ANY 12781 <... lstat resumed> {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12781 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12781 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12781 read(7, "254:0", 5) = 5 12781 close(7) = 0 12781 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fff1c8f23a0) = 0 12781 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 7 12781 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12781 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12781 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 12781 read(9, "254:1", 5) = 5 12781 close(9) = 0 12781 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7fff1c8f23a0) = 0 12781 close(4) = 0 12781 close(7) = 0 12781 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12781 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12781 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12781 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12781 read(7, "254:0", 5) = 5 12781 close(7) = 0 12781 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fff1c8f2420) = 0 12781 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff1c8f2470) = 0 12781 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7fff1c8f24a0) = 0 12781 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fff1c8f2420) = 0 12781 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000 12782 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12782 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 4 12782 write(4, "1", 1) = 1 12782 close(4) = 0 12782 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12782 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334039, tv_nsec=781499000}, FUTEX_BITSET_MATCH_ANY 12781 <... poll resumed> ) = 1 ([{fd=7, revents=POLLIN}]) 12781 read(7, "_\277\303\237\225\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 12781 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12781 close(7) = 0 12781 close(4) = 0 12781 write(1, "%e\n", 3) = 3 12781 exit_group(0) = ? 12781 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\3551\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "%e\n", 65536) = 3 9918 read(8, "", 65536) = 0 9918 wait4(12781, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12781 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 12782, NULL 12782 <... futex resumed> ) = 0 12782 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12782 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 12782 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK 12782 +++ exited with 0 +++ 9918 <... delete_module resumed> ) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xd2\x48\xeb\xac\x51\x13\x37\xe1\x65\xe7\x76\xa9\x0e\x6e\xf8\x8a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x1e\x0b\xc0\x4e\x6d\x25\x7b\xa2\xbb\xea\x36\x4d\x74\x4b\x4f\x1e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x6b\xc4\x4d\xfb\xac\xbd\x37\x99\xa0\x31\x96\xb1\x9f\x9d\xeb\x9c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xc7\x35\xbe\xcc\x92\xec\x19\x78\xc3\x80\x1b\xf1\x53\x4f\xaa\xf2", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xb7\x2e\x7d\x07\xfd\x31\xdb\xcb\xf9\x3e\x60\x97\x10\xaa\x19\x0a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x1b\xcc\xc4\x1e\xe4\x34\x4a\xf5\xc5\x38\x4d\xd5\x1a\xe4\x54\xf6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x0c\x33\x97\x6d\xc7\x79\x01\x50\x24\x17\x5c\x23\xc4\x92\xfb\x2e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xb1\x2a\x2a\x73\xda\x17\xd3\x30\xf4\xfa\x87\xfa\xb1\x5e\xef\x78", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - custom output "..., 62) = 62 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12814 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 12815 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12814 set_robust_list(0x7f08f87b19a0, 24) = 0 12814 close(10) = 0 12814 dup2(4, 0 12815 set_robust_list(0x7f08f87ad9e0, 24 12814 <... dup2 resumed> ) = 0 12815 <... set_robust_list resumed> ) = 0 12815 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334040, tv_nsec=748346000}, FUTEX_BITSET_MATCH_ANY 12814 close(4) = 0 12814 dup2(7, 1) = 1 12814 close(7) = 0 12814 dup2(9, 2) = 2 12814 close(9) = 0 12814 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "--num-events=1", "--format=%", "gpiochip0", "3"], 0x7fffb2966d78 /* 17 vars */) = 0 12814 brk(NULL) = 0x561cae91e000 12814 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12814 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12814 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffc23082070) = -1 ENOENT (No such file or directory) 12814 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12814 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc23082070) = -1 ENOENT (No such file or directory) 12814 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12814 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc23082070) = -1 ENOENT (No such file or directory) 12814 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12814 stat("/libgpiod/src/lib/.libs/tls", 0x7ffc23082070) = -1 ENOENT (No such file or directory) 12814 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12814 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffc23082070) = -1 ENOENT (No such file or directory) 12814 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12814 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc23082070) = -1 ENOENT (No such file or directory) 12814 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12814 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc23082070) = -1 ENOENT (No such file or directory) 12814 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12814 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12814 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12814 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f21c319f000 12814 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f21c3195000 12814 mmap(0x7f21c3198000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f21c3198000 12814 mmap(0x7f21c319b000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f21c319b000 12814 mmap(0x7f21c319d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f21c319d000 12814 close(3) = 0 12814 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12814 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12814 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffc23082050) = -1 ENOENT (No such file or directory) 12814 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12814 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc23082050) = -1 ENOENT (No such file or directory) 12814 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12814 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc23082050) = -1 ENOENT (No such file or directory) 12814 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12814 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffc23082050) = -1 ENOENT (No such file or directory) 12814 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12814 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffc23082050) = -1 ENOENT (No such file or directory) 12814 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12814 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc23082050) = -1 ENOENT (No such file or directory) 12814 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12814 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc23082050) = -1 ENOENT (No such file or directory) 12814 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12814 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12814 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12814 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12814 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f21c3190000 12814 close(3) = 0 12814 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12814 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12814 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12814 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f21c2fcf000 12814 mprotect(0x7f21c2ff1000, 1658880, PROT_NONE) = 0 12814 mmap(0x7f21c2ff1000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f21c2ff1000 12814 mmap(0x7f21c3139000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f21c3139000 12814 mmap(0x7f21c3186000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f21c3186000 12814 mmap(0x7f21c318c000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f21c318c000 12814 close(3) = 0 12815 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12815 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 4 12815 write(4, "1", 1) = 1 12815 close(4) = 0 12815 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12815 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334040, tv_nsec=855415000}, FUTEX_BITSET_MATCH_ANY 12814 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f21c2fcc000 12814 arch_prctl(ARCH_SET_FS, 0x7f21c2fcc740) = 0 12814 mprotect(0x7f21c3186000, 16384, PROT_READ) = 0 12814 mprotect(0x7f21c319d000, 4096, PROT_READ) = 0 12814 mprotect(0x561caccce000, 4096, PROT_READ) = 0 12814 mprotect(0x7f21c31c8000, 4096, PROT_READ) = 0 12814 munmap(0x7f21c3190000, 17208) = 0 12814 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12814 signalfd4(-1, [INT TERM], 8, 0) = 3 12814 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12814 fstat(4, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12814 brk(NULL) = 0x561cae91e000 12814 brk(0x561cae93f000) = 0x561cae93f000 12814 getdents64(4, /* 151 entries */, 32768) = 4496 12814 getdents64(4, /* 0 entries */, 32768) = 0 12814 close(4) = 0 12814 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12814 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12814 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12814 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12814 read(7, "254:0", 5) = 5 12814 close(7) = 0 12814 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc230825b0) = 0 12814 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 7 12814 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12814 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12814 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 12814 read(9, "254:1", 5) = 5 12814 close(9) = 0 12814 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc230825b0) = 0 12814 close(4) = 0 12814 close(7) = 0 12814 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12814 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12814 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12814 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12814 read(7, "254:0", 5) = 5 12814 close(7) = 0 12814 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc23082630) = 0 12814 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffc23082680) = 0 12814 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7ffc230826b0) = 0 12814 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffc23082630) = 0 12814 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000 12815 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12815 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 4 12815 write(4, "1", 1) = 1 12815 close(4) = 0 12815 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12815 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334040, tv_nsec=962808000}, FUTEX_BITSET_MATCH_ANY 12814 <... poll resumed> ) = 1 ([{fd=7, revents=POLLIN}]) 12814 read(7, "\377\201 \346\225\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 12814 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12814 close(7) = 0 12814 close(4) = 0 12814 write(1, "%\n", 2) = 2 12814 exit_group(0) = ? 12814 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\0162\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "%\n", 65536) = 2 9918 read(8, "", 65536) = 0 9918 wait4(12814, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12814 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 12815, NULL 12815 <... futex resumed> ) = 0 12815 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12815 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 12815 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK 12815 +++ exited with 0 +++ 9918 <... delete_module resumed> ) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xb4\x91\x53\x4f\x75\x69\x80\xfc\x11\x2e\x0a\x26\xb7\xa1\xc0\x8f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x3f\x05\x87\x31\x44\x95\xfd\xc9\x03\x06\xb8\x9e\x0e\x50\xca\x39", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xb6\x78\x70\xaf\x66\xec\x4b\x21\x59\x01\xea\x0c\x61\xc3\xf8\x59", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xb7\x4d\xca\x3e\x08\xe2\xac\x9a\x8b\x4e\xd9\x4a\x1e\x6a\x02\x77", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x80\xfc\xfd\xc1\x09\xa8\xb6\x77\x26\xa0\xb4\xaf\x85\x64\x87\x24", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xa0\x97\x61\x72\x95\xfa\x66\x69\xaf\x8f\xf6\xf4\x8c\x38\x82\x5f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x46\x55\x9d\xd6\xd0\x3d\x9a\x3e\xdf\x30\x4d\x9d\xc3\xdf\xbd\x69", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xee\x92\x4e\x07\x38\xb5\x66\x16\x5e\x76\xa8\x4f\x8e\x20\x0c\xcf", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - custom output "..., 87) = 87 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12847 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 12848 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12847 set_robust_list(0x7f08f87b19a0, 24) = 0 12847 close(10) = 0 12848 set_robust_list(0x7f08f87ad9e0, 24 12847 dup2(4, 0 12848 <... set_robust_list resumed> ) = 0 12848 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334042, tv_nsec=112440000}, FUTEX_BITSET_MATCH_ANY 12847 <... dup2 resumed> ) = 0 12847 close(4) = 0 12847 dup2(7, 1) = 1 12847 close(7) = 0 12847 dup2(9, 2) = 2 12847 close(9) = 0 12847 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "--num-events=1", "--format=foo % bar", "gpiochip0", "3"], 0x7fffb2966d78 /* 17 vars */) = 0 12847 brk(NULL) = 0x56330c638000 12847 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12847 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12847 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffc07b226b0) = -1 ENOENT (No such file or directory) 12847 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12847 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc07b226b0) = -1 ENOENT (No such file or directory) 12847 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12847 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc07b226b0) = -1 ENOENT (No such file or directory) 12847 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12847 stat("/libgpiod/src/lib/.libs/tls", 0x7ffc07b226b0) = -1 ENOENT (No such file or directory) 12847 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12847 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffc07b226b0) = -1 ENOENT (No such file or directory) 12847 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12847 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc07b226b0) = -1 ENOENT (No such file or directory) 12847 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12847 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc07b226b0) = -1 ENOENT (No such file or directory) 12847 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12847 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12847 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12847 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc26cc5d000 12847 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc26cc53000 12847 mmap(0x7fc26cc56000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fc26cc56000 12847 mmap(0x7fc26cc59000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fc26cc59000 12847 mmap(0x7fc26cc5b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fc26cc5b000 12847 close(3) = 0 12847 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12847 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12847 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffc07b22690) = -1 ENOENT (No such file or directory) 12847 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12847 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc07b22690) = -1 ENOENT (No such file or directory) 12847 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12847 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc07b22690) = -1 ENOENT (No such file or directory) 12847 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12847 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffc07b22690) = -1 ENOENT (No such file or directory) 12847 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12847 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffc07b22690) = -1 ENOENT (No such file or directory) 12847 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12847 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc07b22690) = -1 ENOENT (No such file or directory) 12847 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12847 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc07b22690) = -1 ENOENT (No such file or directory) 12847 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12847 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12847 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12847 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12847 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc26cc4e000 12847 close(3) = 0 12847 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12847 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12847 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12847 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc26ca8d000 12847 mprotect(0x7fc26caaf000, 1658880, PROT_NONE) = 0 12847 mmap(0x7fc26caaf000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fc26caaf000 12847 mmap(0x7fc26cbf7000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7fc26cbf7000 12848 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12848 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 4 12848 write(4, "1", 1) = 1 12848 close(4) = 0 12848 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12848 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334042, tv_nsec=218374000}, FUTEX_BITSET_MATCH_ANY 12847 mmap(0x7fc26cc44000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7fc26cc44000 12847 mmap(0x7fc26cc4a000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc26cc4a000 12847 close(3) = 0 12847 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc26ca8a000 12847 arch_prctl(ARCH_SET_FS, 0x7fc26ca8a740) = 0 12847 mprotect(0x7fc26cc44000, 16384, PROT_READ) = 0 12847 mprotect(0x7fc26cc5b000, 4096, PROT_READ) = 0 12847 mprotect(0x56330c567000, 4096, PROT_READ) = 0 12847 mprotect(0x7fc26cc86000, 4096, PROT_READ) = 0 12847 munmap(0x7fc26cc4e000, 17208) = 0 12847 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12847 signalfd4(-1, [INT TERM], 8, 0) = 3 12847 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12847 fstat(4, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12847 brk(NULL) = 0x56330c638000 12847 brk(0x56330c659000) = 0x56330c659000 12847 getdents64(4, /* 151 entries */, 32768) = 4496 12847 getdents64(4, /* 0 entries */, 32768) = 0 12847 close(4) = 0 12847 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12847 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12847 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12847 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12847 read(7, "254:0", 5) = 5 12847 close(7) = 0 12847 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc07b22bf0) = 0 12847 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 7 12847 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12847 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12847 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 12847 read(9, "254:1", 5) = 5 12847 close(9) = 0 12847 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc07b22bf0) = 0 12847 close(4) = 0 12847 close(7) = 0 12847 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12847 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12847 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12847 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12847 read(7, "254:0", 5) = 5 12847 close(7) = 0 12847 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc07b22c70) = 0 12847 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffc07b22cc0) = 0 12847 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7ffc07b22cf0) = 0 12847 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffc07b22c70) = 0 12847 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000 12848 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12848 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 4 12848 write(4, "1", 1) = 1 12848 close(4) = 0 12848 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12848 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334042, tv_nsec=326270000}, FUTEX_BITSET_MATCH_ANY 12847 <... poll resumed> ) = 1 ([{fd=7, revents=POLLIN}]) 12847 read(7, "\373\265_7\226\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 12847 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12847 close(7) = 0 12847 close(4) = 0 12847 write(1, "foo % bar\n", 10) = 10 12847 exit_group(0) = ? 12847 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0/2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "foo % bar\n", 65536) = 10 9918 read(8, "", 65536) = 0 9918 wait4(12847, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12847 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 12848, NULL 12848 <... futex resumed> ) = 0 12848 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12848 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 12848 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK 12848 +++ exited with 0 +++ 9918 <... delete_module resumed> ) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x9e\xa6\xe4\xc7\x89\x1a\x3e\xf2\xba\xd2\x8f\x85\x86\x26\x64\x9c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x5b\xe0\xb0\x14\x44\x31\xcc\xba\x8b\x64\x86\xbf\x6c\xd9\xda\xd5", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x4b\x8b\x9f\x2c\xe0\x47\xe9\xa1\x13\x9a\xc5\x8b\x91\x2d\x8e\x57", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xe5\xe4\x69\xd3\x3e\x21\xb4\x23\x0d\x1e\x7a\x84\x1e\xef\xfe\xd0", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xfa\x35\x6c\xfe\xc0\x32\x19\x54\x1b\x34\xe8\x4d\xa2\x50\x18\x47", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xfd\x61\x2a\xf7\x09\x54\xf5\x11\x9e\xb4\x53\x25\x8a\x34\x03\xf6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x8a\xd1\x07\x62\x93\x89\xf1\x57\x3b\x89\x1d\x5c\xd8\x22\xae\xce", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x46\xf9\xc4\x88\x9f\xbc\x99\x91\x9e\x14\xca\x50\xc9\x85\xdc\x81", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpiomon - custom output "..., 60) = 60 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpiomon", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12880 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 clone(child_stack=0x7f08f87acfb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f08f87ad9d0, tls=0x7f08f87ad700, child_tidptr=0x7f08f87ad9d0) = 12881 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12880 set_robust_list(0x7f08f87b19a0, 24) = 0 12880 close(10) = 0 12880 dup2(4, 0 12881 set_robust_list(0x7f08f87ad9e0, 24 12880 <... dup2 resumed> ) = 0 12881 <... set_robust_list resumed> ) = 0 12880 close(4 12881 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334043, tv_nsec=360555000}, FUTEX_BITSET_MATCH_ANY 12880 <... close resumed> ) = 0 12880 dup2(7, 1) = 1 12880 close(7) = 0 12880 dup2(9, 2) = 2 12880 close(9) = 0 12880 execve("/libgpiod/../install-libgpiod/bin/gpiomon", ["/libgpiod/../install-libgpiod/bi"..., "--num-events=1", "--format=%x", "gpiochip0", "3"], 0x7fffb2966d78 /* 17 vars */) = 0 12880 brk(NULL) = 0x55f5a5e4d000 12880 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12880 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12880 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffdffaa7c00) = -1 ENOENT (No such file or directory) 12880 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12880 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffdffaa7c00) = -1 ENOENT (No such file or directory) 12880 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12880 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffdffaa7c00) = -1 ENOENT (No such file or directory) 12880 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12880 stat("/libgpiod/src/lib/.libs/tls", 0x7ffdffaa7c00) = -1 ENOENT (No such file or directory) 12880 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12880 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffdffaa7c00) = -1 ENOENT (No such file or directory) 12880 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12880 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffdffaa7c00) = -1 ENOENT (No such file or directory) 12880 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12880 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffdffaa7c00) = -1 ENOENT (No such file or directory) 12880 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12880 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12880 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12880 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f07861ad000 12880 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f07861a3000 12880 mmap(0x7f07861a6000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f07861a6000 12880 mmap(0x7f07861a9000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f07861a9000 12880 mmap(0x7f07861ab000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f07861ab000 12880 close(3) = 0 12880 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12880 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12880 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffdffaa7be0) = -1 ENOENT (No such file or directory) 12880 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12880 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffdffaa7be0) = -1 ENOENT (No such file or directory) 12880 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12880 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffdffaa7be0) = -1 ENOENT (No such file or directory) 12880 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12880 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffdffaa7be0) = -1 ENOENT (No such file or directory) 12880 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12880 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffdffaa7be0) = -1 ENOENT (No such file or directory) 12880 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12880 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffdffaa7be0) = -1 ENOENT (No such file or directory) 12880 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12880 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffdffaa7be0) = -1 ENOENT (No such file or directory) 12880 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12880 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12880 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12880 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12880 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f078619e000 12880 close(3) = 0 12880 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12880 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12880 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12880 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0785fdd000 12880 mprotect(0x7f0785fff000, 1658880, PROT_NONE) = 0 12880 mmap(0x7f0785fff000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f0785fff000 12880 mmap(0x7f0786147000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f0786147000 12880 mmap(0x7f0786194000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f0786194000 12880 mmap(0x7f078619a000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f078619a000 12880 close(3) = 0 12880 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0785fda000 12880 arch_prctl(ARCH_SET_FS, 0x7f0785fda740) = 0 12880 mprotect(0x7f0786194000, 16384, PROT_READ) = 0 12880 mprotect(0x7f07861ab000, 4096, PROT_READ) = 0 12880 mprotect(0x55f5a59d7000, 4096, PROT_READ) = 0 12880 mprotect(0x7f07861d6000, 4096, PROT_READ) = 0 12880 munmap(0x7f078619e000, 17208) = 0 12880 rt_sigprocmask(SIG_BLOCK, [INT TERM], NULL, 8) = 0 12880 signalfd4(-1, [INT TERM], 8, 0) = 3 12880 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 12880 fstat(4, {st_mode=S_IFDIR|0755, st_size=3020, ...}) = 0 12880 brk(NULL) = 0x55f5a5e4d000 12880 brk(0x55f5a5e6e000) = 0x55f5a5e6e000 12881 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12881 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 4 12880 getdents64(4 12881 write(4, "1", 1) = 1 12880 <... getdents64 resumed> , /* 151 entries */, 32768) = 4496 12881 close(4) = 0 12881 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12881 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334043, tv_nsec=467558000}, FUTEX_BITSET_MATCH_ANY 12880 getdents64(4, /* 0 entries */, 32768) = 0 12880 close(4) = 0 12880 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12880 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12880 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12880 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12880 read(7, "254:0", 5) = 5 12880 close(7) = 0 12880 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffdffaa8140) = 0 12880 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 7 12880 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12880 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12880 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 9 12880 read(9, "254:1", 5) = 5 12880 close(9) = 0 12880 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffdffaa8140) = 0 12880 close(4) = 0 12880 close(7) = 0 12880 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 12880 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12880 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12880 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 7 12880 read(7, "254:0", 5) = 5 12880 close(7) = 0 12880 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffdffaa81c0) = 0 12880 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffdffaa8210) = 0 12880 ioctl(4, GPIO_GET_LINEEVENT_IOCTL, 0x7ffdffaa8240) = 0 12880 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7ffdffaa81c0) = 0 12880 poll([{fd=7, events=POLLIN|POLLPRI}, {fd=3, events=POLLIN|POLLPRI}], 2, 10000 12881 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 12881 openat(AT_FDCWD, "/sys/kernel/debug/gpio-mockup-event/gpio-mockup-A/3", O_RDWR) = 4 12881 write(4, "1", 1) = 1 12881 close(4) = 0 12881 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12881 futex(0x564d1ba8a6e8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1552334043, tv_nsec=575337000}, FUTEX_BITSET_MATCH_ANY 12880 <... poll resumed> ) = 1 ([{fd=7, revents=POLLIN}]) 12880 read(7, "\336\212\336\201\226\377\212\25\1\0\0\0\0\0\0\0", 16) = 16 12880 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 12880 close(7) = 0 12880 close(4) = 0 12880 write(1, "%x\n", 3) = 3 12880 exit_group(0) = ? 12880 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0P2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "%x\n", 65536) = 3 9918 read(8, "", 65536) = 0 9918 wait4(12880, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12880 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 futex(0x564d1ba8a6e8, FUTEX_WAKE_PRIVATE, 2147483647) = 1 9918 futex(0x7f08f87ad9d0, FUTEX_WAIT, 12881, NULL 12881 <... futex resumed> ) = 0 12881 futex(0x564d1ba8a698, FUTEX_WAKE_PRIVATE, 1) = 0 12881 madvise(0x7f08f7fad000, 8368128, MADV_DONTNEED) = 0 12881 exit(0) = ? 9918 <... futex resumed> ) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK 12881 +++ exited with 0 +++ 9918 <... delete_module resumed> ) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x22\x93\xe0\x67\xdc\x08\x28\x70\x42\x2e\x73\x61\xe1\x3b\x66\xb6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xcf\x85\x45\x73\x59\x76\xbb\xb6\x01\x8c\xed\x7e\xaa\xfc\x57\x86", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x49\xb6\xc8\xd3\xd7\xca\x57\x81\x10\x46\x0c\x80\x10\x7c\x1c\x8d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xf4\x37\x69\x35\xed\x88\xf7\x94\x3c\xee\x3c\xa6\x0c\xad\xb4\x3c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x7f\xf8\x47\x73\x41\x41\xf3\x0b\x44\x53\xa1\xe5\x88\x35\xb8\x64", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x27\x35\x6d\x56\xa2\x6a\xfd\xb2\x24\xb7\x1f\xfd\xbd\x8b\x23\xf1", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x64\xa7\xed\xdc\x57\xf9\xf7\x2c\xb3\x63\xd0\x69\x1a\x5f\xec\x38", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=1355, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9945, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x7d\x43\x49\x52\x6d\x53\xa1\x41\xc4\x79\xc0\x4c\x6d\x0d\x52\xf7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x6e\xa0\x7a\x9c\xe1\x27\xdc\xfd\x9c\x36\x81\x13\x86\x16\xf9\x83", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x49\x92\xe8\x13\x33\x0b\x26\x61\x9e\xcf\x6b\x40\x29\xcf\xea\x0d", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioset - set lines and "..., 39) = 39 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioset", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12920 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12920 set_robust_list(0x7f08f87b19a0, 24) = 0 12920 close(10) = 0 12920 dup2(4, 0) = 0 12920 close(4) = 0 12920 dup2(7, 1) = 1 12920 close(7) = 0 12920 dup2(9, 2) = 2 12920 close(9) = 0 12920 execve("/libgpiod/../install-libgpiod/bin/gpioset", ["/libgpiod/../install-libgpiod/bi"..., "gpiochip2", "0=0", "1=0", "2=1", "3=1", "4=1", "5=1", "6=0", "7=1"], 0x7fffb2966d78 /* 17 vars */) = 0 12920 brk(NULL) = 0x55e3c7902000 12920 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12920 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12920 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffd868e0a50) = -1 ENOENT (No such file or directory) 12920 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12920 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd868e0a50) = -1 ENOENT (No such file or directory) 12920 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12920 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd868e0a50) = -1 ENOENT (No such file or directory) 12920 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12920 stat("/libgpiod/src/lib/.libs/tls", 0x7ffd868e0a50) = -1 ENOENT (No such file or directory) 12920 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12920 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffd868e0a50) = -1 ENOENT (No such file or directory) 12920 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12920 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd868e0a50) = -1 ENOENT (No such file or directory) 12920 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12920 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd868e0a50) = -1 ENOENT (No such file or directory) 12920 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12920 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12920 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12920 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe6e4824000 12920 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fe6e481a000 12920 mmap(0x7fe6e481d000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fe6e481d000 12920 mmap(0x7fe6e4820000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fe6e4820000 12920 mmap(0x7fe6e4822000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fe6e4822000 12920 close(3) = 0 12920 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12920 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12920 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffd868e0a30) = -1 ENOENT (No such file or directory) 12920 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12920 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd868e0a30) = -1 ENOENT (No such file or directory) 12920 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12920 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd868e0a30) = -1 ENOENT (No such file or directory) 12920 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12920 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffd868e0a30) = -1 ENOENT (No such file or directory) 12920 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12920 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffd868e0a30) = -1 ENOENT (No such file or directory) 12920 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12920 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd868e0a30) = -1 ENOENT (No such file or directory) 12920 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12920 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd868e0a30) = -1 ENOENT (No such file or directory) 12920 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12920 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12920 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12920 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12920 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fe6e4815000 12920 close(3) = 0 12920 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12920 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12920 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12920 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fe6e4654000 12920 mprotect(0x7fe6e4676000, 1658880, PROT_NONE) = 0 12920 mmap(0x7fe6e4676000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fe6e4676000 12920 mmap(0x7fe6e47be000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7fe6e47be000 12920 mmap(0x7fe6e480b000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7fe6e480b000 12920 mmap(0x7fe6e4811000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fe6e4811000 12920 close(3) = 0 12920 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe6e4651000 12920 arch_prctl(ARCH_SET_FS, 0x7fe6e4651740) = 0 12920 mprotect(0x7fe6e480b000, 16384, PROT_READ) = 0 12920 mprotect(0x7fe6e4822000, 4096, PROT_READ) = 0 12920 mprotect(0x55e3c778c000, 4096, PROT_READ) = 0 12920 mprotect(0x7fe6e484d000, 4096, PROT_READ) = 0 12920 munmap(0x7fe6e4815000, 17208) = 0 12920 brk(NULL) = 0x55e3c7902000 12920 brk(0x55e3c7923000) = 0x55e3c7923000 12920 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 12920 fstat(3, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 12920 getdents64(3, /* 152 entries */, 32768) = 4528 12920 getdents64(3, /* 0 entries */, 32768) = 0 12920 close(3) = 0 12920 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 12920 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12920 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12920 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 12920 read(4, "254:0", 5) = 5 12920 close(4) = 0 12920 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd868e1380) = 0 12920 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 12920 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12920 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12920 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 12920 read(7, "254:1", 5) = 5 12920 close(7) = 0 12920 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd868e1380) = 0 12920 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 7 12920 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 12920 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 12920 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 9 12920 read(9, "254:2", 5) = 5 12920 close(9) = 0 12920 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd868e1380) = 0 12920 close(3) = 0 12920 close(4) = 0 12920 close(7) = 0 12920 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 3 12920 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 12920 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 12920 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 4 12920 read(4, "254:2", 5) = 5 12920 close(4) = 0 12920 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffd868e1400) = 0 12920 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd868e1450) = 0 12920 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd868e1450) = 0 12920 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd868e1450) = 0 12920 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd868e1450) = 0 12920 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd868e1450) = 0 12920 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd868e1450) = 0 12920 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd868e1450) = 0 12920 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd868e1450) = 0 12920 ioctl(3, GPIO_GET_LINEHANDLE_IOCTL, 0x7ffd868e12a0) = 0 12920 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd868e1220) = 0 12920 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd868e1220) = 0 12920 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd868e1220) = 0 12920 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd868e1220) = 0 12920 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd868e1220) = 0 12920 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd868e1220) = 0 12920 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd868e1220) = 0 12920 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffd868e1220) = 0 12920 close(4) = 0 12920 close(3) = 0 12920 exit_group(0) = ? 12920 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0x2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "", 65536) = 0 9918 wait4(12920, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12920 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 9918 getdents64(4, /* 152 entries */, 32768) = 4528 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 close(4) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 5 9918 read(5, "254:2", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966870) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966710) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966900) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x22\x37\x72\xe5\xbd\xb0\x0e\x51\xf3\xad\x91\xbb\xa2\x50\x25\x14", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x34\x65\x87\x74\x30\x3d\xe9\x70\x07\x52\xc0\xec\x07\x42\x6b\xb7", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xda\x65\xbf\x88\xd2\x09\xc7\x9f\xc5\x20\x55\xe0\x99\x3a\xaa\x1d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xc2\xba\x98\xf1\x52\x97\x39\xad\x6a\x12\xfa\x54\x85\x6c\x72\x85", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x98\xfd\x56\x88\x76\x00\x27\xec\x35\x9f\x93\x17\x17\x49\xde\x56", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x42\x8a\x86\x8e\x12\x52\x14\x66\x3c\xbd\xed\x85\x0f\x3c\x21\xae", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x3b\x7f\x37\x1f\xd4\xdb\xc9\x70\x59\xe7\x45\x26\x5e\x73\x48\x7d", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xc0\xcf\x66\xaf\x14\xe1\xf4\x02\x72\x65\x9f\xcb\x0b\x80\xe1\x67", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x07\x9f\x75\xf8\x0a\x31\xf8\x45\x29\xf7\xb9\x74\x83\x9d\x50\x4f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x99\x3d\xea\xc1\x46\xf3\x6a\x57\xbb\x32\xb5\x15\xe2\x20\x58\xbe", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x83\xc7\x1c\x2c\x01\xad\x93\x26\x7b\xf0\xcc\xe4\x2f\x08\x2c\xe1", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioset - set lines and "..., 52) = 52 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioset", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 12963 9918 close(4) = 0 9918 close(7) = 0 12963 set_robust_list(0x7f08f87b19a0, 24 9918 close(9 12963 <... set_robust_list resumed> ) = 0 9918 <... close resumed> ) = 0 12963 close(10 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 12963 <... close resumed> ) = 0 12963 dup2(4, 0) = 0 12963 close(4) = 0 12963 dup2(7, 1) = 1 12963 close(7) = 0 12963 dup2(9, 2) = 2 12963 close(9) = 0 12963 execve("/libgpiod/../install-libgpiod/bin/gpioset", ["/libgpiod/../install-libgpiod/bi"..., "--active-low", "gpiochip2", "0=0", "1=0", "2=1", "3=1", "4=1", "5=1", "6=0", "7=1"], 0x7fffb2966d78 /* 17 vars */) = 0 12963 brk(NULL) = 0x55c90eac8000 12963 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 12963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12963 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffe930a51c0) = -1 ENOENT (No such file or directory) 12963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12963 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffe930a51c0) = -1 ENOENT (No such file or directory) 12963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12963 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffe930a51c0) = -1 ENOENT (No such file or directory) 12963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12963 stat("/libgpiod/src/lib/.libs/tls", 0x7ffe930a51c0) = -1 ENOENT (No such file or directory) 12963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12963 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffe930a51c0) = -1 ENOENT (No such file or directory) 12963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12963 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffe930a51c0) = -1 ENOENT (No such file or directory) 12963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12963 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffe930a51c0) = -1 ENOENT (No such file or directory) 12963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 12963 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 12963 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 12963 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f659b006000 12963 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f659affc000 12963 mmap(0x7f659afff000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f659afff000 12963 mmap(0x7f659b002000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f659b002000 12963 mmap(0x7f659b004000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f659b004000 12963 close(3) = 0 12963 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12963 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12963 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffe930a51a0) = -1 ENOENT (No such file or directory) 12963 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12963 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffe930a51a0) = -1 ENOENT (No such file or directory) 12963 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12963 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffe930a51a0) = -1 ENOENT (No such file or directory) 12963 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12963 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffe930a51a0) = -1 ENOENT (No such file or directory) 12963 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12963 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffe930a51a0) = -1 ENOENT (No such file or directory) 12963 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12963 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffe930a51a0) = -1 ENOENT (No such file or directory) 12963 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12963 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffe930a51a0) = -1 ENOENT (No such file or directory) 12963 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 12963 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 12963 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 12963 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 12963 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f659aff7000 12963 close(3) = 0 12963 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 12963 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 12963 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 12963 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f659ae36000 12963 mprotect(0x7f659ae58000, 1658880, PROT_NONE) = 0 12963 mmap(0x7f659ae58000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f659ae58000 12963 mmap(0x7f659afa0000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f659afa0000 12963 mmap(0x7f659afed000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f659afed000 12963 mmap(0x7f659aff3000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f659aff3000 12963 close(3) = 0 12963 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f659ae33000 12963 arch_prctl(ARCH_SET_FS, 0x7f659ae33740) = 0 12963 mprotect(0x7f659afed000, 16384, PROT_READ) = 0 12963 mprotect(0x7f659b004000, 4096, PROT_READ) = 0 12963 mprotect(0x55c90e16c000, 4096, PROT_READ) = 0 12963 mprotect(0x7f659b02f000, 4096, PROT_READ) = 0 12963 munmap(0x7f659aff7000, 17208) = 0 12963 brk(NULL) = 0x55c90eac8000 12963 brk(0x55c90eae9000) = 0x55c90eae9000 12963 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 12963 fstat(3, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 12963 getdents64(3, /* 152 entries */, 32768) = 4528 12963 getdents64(3, /* 0 entries */, 32768) = 0 12963 close(3) = 0 12963 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 12963 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 12963 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 12963 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 12963 read(4, "254:0", 5) = 5 12963 close(4) = 0 12963 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe930a5af0) = 0 12963 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 12963 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 12963 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 12963 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 12963 read(7, "254:1", 5) = 5 12963 close(7) = 0 12963 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe930a5af0) = 0 12963 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 7 12963 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 12963 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 12963 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 9 12963 read(9, "254:2", 5) = 5 12963 close(9) = 0 12963 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe930a5af0) = 0 12963 close(3) = 0 12963 close(4) = 0 12963 close(7) = 0 12963 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 3 12963 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 12963 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 12963 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 4 12963 read(4, "254:2", 5) = 5 12963 close(4) = 0 12963 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe930a5b70) = 0 12963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe930a5bc0) = 0 12963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe930a5bc0) = 0 12963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe930a5bc0) = 0 12963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe930a5bc0) = 0 12963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe930a5bc0) = 0 12963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe930a5bc0) = 0 12963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe930a5bc0) = 0 12963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe930a5bc0) = 0 12963 ioctl(3, GPIO_GET_LINEHANDLE_IOCTL, 0x7ffe930a5a10) = 0 12963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe930a5990) = 0 12963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe930a5990) = 0 12963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe930a5990) = 0 12963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe930a5990) = 0 12963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe930a5990) = 0 12963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe930a5990) = 0 12963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe930a5990) = 0 12963 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe930a5990) = 0 12963 close(4) = 0 12963 close(3) = 0 12963 exit_group(0) = ? 12963 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\2432\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "", 65536) = 0 9918 wait4(12963, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12963 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 9918 getdents64(4, /* 152 entries */, 32768) = 4528 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 close(4) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 5 9918 read(5, "254:2", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966870) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966710) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966900) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xb1\x1c\x0d\xdd\xa9\x43\xcb\xae\xa5\xe6\x4b\xf1\x60\x3a\x8f\xca", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x83\x55\x61\x86\xb1\x28\xde\xa6\x9e\x31\xc0\x1a\x41\x80\xc7\x49", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x95\x17\x27\xc8\xf4\x4b\x73\xd8\xfd\xb0\x84\xa8\x24\xa2\x24\x92", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xc0\x3d\xe0\xe0\x8d\x0d\x1e\x51\x80\xa4\x57\x3f\xda\x91\x55\x12", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x18\x56\xbb\x38\xe6\x64\x76\x81\xb7\x21\x02\x38\x69\x0d\xb7\x41", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x2e\x6b\x1d\x22\x4f\x84\x4a\x85\xf9\xdc\x6a\x49\xc7\xe7\xeb\xa0", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xc8\x47\x1e\xc8\xd2\xe2\x9b\xcd\x15\x7d\x2e\xfb\x18\xca\x53\x8f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x02\xc2\xab\xdb\xcf\xaf\xaa\xf1\x90\x66\x2d\xc6\xf3\xe2\x2c\x02", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xc7\x59\x9d\xa8\x62\x98\x77\xe3\x2e\x3c\xd6\xad\xd3\x00\xc7\xdd", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x70\xc2\xef\xbf\x0b\x94\x83\xc3\xef\x3e\x47\xcb\xba\x7a\x90\x7c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x5d\xa7\x75\x96\x56\x01\xd0\x48\xbc\xa0\xb6\xed\x7c\x7d\xf2\x5c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x0d\xa6\x47\x86\x7d\xe0\xa4\xdc\x25\x97\x18\x92\x25\x49\x5a\x7c", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioset - set lines and "..., 64) = 64 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioset", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 13007 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 13007 set_robust_list(0x7f08f87b19a0, 24) = 0 13007 close(10) = 0 13007 dup2(4, 0) = 0 13007 close(4) = 0 13007 dup2(7, 1) = 1 13007 close(7) = 0 13007 dup2(9, 2) = 2 13007 close(9) = 0 13007 execve("/libgpiod/../install-libgpiod/bin/gpioset", ["/libgpiod/../install-libgpiod/bi"..., "--mode=exit", "gpiochip2", "0=0", "1=0", "2=1", "3=1", "4=1", "5=1", "6=0", "7=1"], 0x7fffb2966d78 /* 17 vars */) = 0 13007 brk(NULL) = 0x55c85d0cd000 13007 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 13007 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13007 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffdac613fa0) = -1 ENOENT (No such file or directory) 13007 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13007 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffdac613fa0) = -1 ENOENT (No such file or directory) 13007 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13007 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffdac613fa0) = -1 ENOENT (No such file or directory) 13007 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13007 stat("/libgpiod/src/lib/.libs/tls", 0x7ffdac613fa0) = -1 ENOENT (No such file or directory) 13007 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13007 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffdac613fa0) = -1 ENOENT (No such file or directory) 13007 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13007 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffdac613fa0) = -1 ENOENT (No such file or directory) 13007 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13007 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffdac613fa0) = -1 ENOENT (No such file or directory) 13007 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 13007 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 13007 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 13007 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f82941fc000 13007 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f82941f2000 13007 mmap(0x7f82941f5000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f82941f5000 13007 mmap(0x7f82941f8000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f82941f8000 13007 mmap(0x7f82941fa000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f82941fa000 13007 close(3) = 0 13007 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13007 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13007 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffdac613f80) = -1 ENOENT (No such file or directory) 13007 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13007 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffdac613f80) = -1 ENOENT (No such file or directory) 13007 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13007 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffdac613f80) = -1 ENOENT (No such file or directory) 13007 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13007 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffdac613f80) = -1 ENOENT (No such file or directory) 13007 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13007 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffdac613f80) = -1 ENOENT (No such file or directory) 13007 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13007 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffdac613f80) = -1 ENOENT (No such file or directory) 13007 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13007 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffdac613f80) = -1 ENOENT (No such file or directory) 13007 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13007 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 13007 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 13007 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 13007 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f82941ed000 13007 close(3) = 0 13007 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 13007 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 13007 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 13007 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f829402c000 13007 mprotect(0x7f829404e000, 1658880, PROT_NONE) = 0 13007 mmap(0x7f829404e000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f829404e000 13007 mmap(0x7f8294196000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f8294196000 13007 mmap(0x7f82941e3000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f82941e3000 13007 mmap(0x7f82941e9000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f82941e9000 13007 close(3) = 0 13007 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8294029000 13007 arch_prctl(ARCH_SET_FS, 0x7f8294029740) = 0 13007 mprotect(0x7f82941e3000, 16384, PROT_READ) = 0 13007 mprotect(0x7f82941fa000, 4096, PROT_READ) = 0 13007 mprotect(0x55c85b7f0000, 4096, PROT_READ) = 0 13007 mprotect(0x7f8294225000, 4096, PROT_READ) = 0 13007 munmap(0x7f82941ed000, 17208) = 0 13007 brk(NULL) = 0x55c85d0cd000 13007 brk(0x55c85d0ee000) = 0x55c85d0ee000 13007 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 13007 fstat(3, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 13007 getdents64(3, /* 152 entries */, 32768) = 4528 13007 getdents64(3, /* 0 entries */, 32768) = 0 13007 close(3) = 0 13007 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 13007 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 13007 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 13007 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 13007 read(4, "254:0", 5) = 5 13007 close(4) = 0 13007 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffdac6148d0) = 0 13007 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 13007 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 13007 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 13007 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 13007 read(7, "254:1", 5) = 5 13007 close(7) = 0 13007 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffdac6148d0) = 0 13007 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 7 13007 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 13007 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 13007 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 9 13007 read(9, "254:2", 5) = 5 13007 close(9) = 0 13007 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffdac6148d0) = 0 13007 close(3) = 0 13007 close(4) = 0 13007 close(7) = 0 13007 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 3 13007 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 13007 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 13007 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 4 13007 read(4, "254:2", 5) = 5 13007 close(4) = 0 13007 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffdac614950) = 0 13007 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffdac6149a0) = 0 13007 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffdac6149a0) = 0 13007 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffdac6149a0) = 0 13007 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffdac6149a0) = 0 13007 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffdac6149a0) = 0 13007 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffdac6149a0) = 0 13007 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffdac6149a0) = 0 13007 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffdac6149a0) = 0 13007 ioctl(3, GPIO_GET_LINEHANDLE_IOCTL, 0x7ffdac6147f0) = 0 13007 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffdac614770) = 0 13007 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffdac614770) = 0 13007 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffdac614770) = 0 13007 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffdac614770) = 0 13007 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffdac614770) = 0 13007 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffdac614770) = 0 13007 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffdac614770) = 0 13007 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffdac614770) = 0 13007 close(4) = 0 13007 close(3) = 0 13007 exit_group(0) = ? 13007 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\3172\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "", 65536) = 0 9918 wait4(13007, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 13007 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 9918 getdents64(4, /* 152 entries */, 32768) = 4528 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 close(4) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 5 9918 read(5, "254:2", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966870) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966710) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966900) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x70\x56\x4e\x83\xc9\x85\x55\x3b\x02\x7c\x36\x60\x49\x3a\x45\xac", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xac\xe5\xd3\xa5\x2f\x26\x1d\x63\x91\x45\xa1\xa4\x0e\x80\x0f\x13", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x1d\xa7\x7c\x12\xb8\x9e\xa9\x86\x37\x7e\x96\x38\xa2\x9a\xe1\x33", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x0d\x30\xd7\xbb\x13\xcc\x33\x3d\x2a\xa9\x37\xaf\x97\x1d\x16\x1a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xa3\xed\x14\x92\xf5\x15\xb0\x1c\xb7\x45\x18\x9f\xdb\x79\x0a\x45", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x45\x3b\xab\x8b\x31\xba\x60\xb4\x20\xf3\xd2\x92\xfc\x75\x90\x55", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x6f\xc4\xb0\xdd\x76\x23\x1d\xc7\x5d\x2a\x66\x67\x9a\x94\xb5\x5a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xbf\xe6\xb0\x6a\x49\x5c\x64\xf9\x9d\xb4\x0a\x1b\xd6\x9b\x31\x34", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x38\xb8\x6c\x45\xd7\x19\x9a\xa9\x5e\x38\xf4\x79\xf4\xe1\xad\xb8", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioset - set some lines"..., 54) = 54 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioset", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 13048 9918 close(4) = 0 9918 close(7) = 0 13048 set_robust_list(0x7f08f87b19a0, 24 9918 close(9 13048 <... set_robust_list resumed> ) = 0 9918 <... close resumed> ) = 0 9918 write(5, "\n", 1) = 1 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 13048 close(10) = 0 13048 dup2(4, 0) = 0 13048 close(4) = 0 13048 dup2(7, 1) = 1 13048 close(7) = 0 13048 dup2(9, 2) = 2 13048 close(9) = 0 13048 execve("/libgpiod/../install-libgpiod/bin/gpioset", ["/libgpiod/../install-libgpiod/bi"..., "--mode=wait", "gpiochip2", "1=0", "2=1", "5=1", "6=0", "7=1"], 0x7fffb2966d78 /* 17 vars */) = 0 13048 brk(NULL) = 0x5614bd65b000 13048 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 13048 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13048 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffc1180eb30) = -1 ENOENT (No such file or directory) 13048 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13048 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc1180eb30) = -1 ENOENT (No such file or directory) 13048 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13048 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffc1180eb30) = -1 ENOENT (No such file or directory) 13048 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13048 stat("/libgpiod/src/lib/.libs/tls", 0x7ffc1180eb30) = -1 ENOENT (No such file or directory) 13048 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13048 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffc1180eb30) = -1 ENOENT (No such file or directory) 13048 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13048 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc1180eb30) = -1 ENOENT (No such file or directory) 13048 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13048 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffc1180eb30) = -1 ENOENT (No such file or directory) 13048 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 13048 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 13048 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 13048 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6789928000 13048 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f678991e000 13048 mmap(0x7f6789921000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f6789921000 13048 mmap(0x7f6789924000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f6789924000 13048 mmap(0x7f6789926000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f6789926000 13048 close(3) = 0 13048 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13048 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13048 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffc1180eb10) = -1 ENOENT (No such file or directory) 13048 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13048 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc1180eb10) = -1 ENOENT (No such file or directory) 13048 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13048 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffc1180eb10) = -1 ENOENT (No such file or directory) 13048 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13048 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffc1180eb10) = -1 ENOENT (No such file or directory) 13048 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13048 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffc1180eb10) = -1 ENOENT (No such file or directory) 13048 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13048 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc1180eb10) = -1 ENOENT (No such file or directory) 13048 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13048 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffc1180eb10) = -1 ENOENT (No such file or directory) 13048 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13048 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 13048 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 13048 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 13048 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6789919000 13048 close(3) = 0 13048 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 13048 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 13048 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 13048 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6789758000 13048 mprotect(0x7f678977a000, 1658880, PROT_NONE) = 0 13048 mmap(0x7f678977a000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f678977a000 13048 mmap(0x7f67898c2000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f67898c2000 13048 mmap(0x7f678990f000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f678990f000 13048 mmap(0x7f6789915000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6789915000 13048 close(3) = 0 13048 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6789755000 13048 arch_prctl(ARCH_SET_FS, 0x7f6789755740) = 0 13048 mprotect(0x7f678990f000, 16384, PROT_READ) = 0 13048 mprotect(0x7f6789926000, 4096, PROT_READ) = 0 13048 mprotect(0x5614bc9d9000, 4096, PROT_READ) = 0 13048 mprotect(0x7f6789951000, 4096, PROT_READ) = 0 13048 munmap(0x7f6789919000, 17208) = 0 13048 brk(NULL) = 0x5614bd65b000 13048 brk(0x5614bd67c000) = 0x5614bd67c000 13048 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 13048 fstat(3, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 13048 getdents64(3, /* 152 entries */, 32768) = 4528 13048 getdents64(3, /* 0 entries */, 32768) = 0 13048 close(3) = 0 13048 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 13048 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 13048 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 13048 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 13048 read(4, "254:0", 5) = 5 13048 close(4) = 0 13048 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc1180f460) = 0 13048 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 13048 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 13048 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 13048 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 13048 read(7, "254:1", 5) = 5 13048 close(7) = 0 13048 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc1180f460) = 0 13048 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 7 13048 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 13048 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 13048 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 9 13048 read(9, "254:2", 5) = 5 13048 close(9) = 0 13048 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc1180f460) = 0 13048 close(3) = 0 13048 close(4) = 0 13048 close(7) = 0 13048 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 3 13048 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 13048 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 13048 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 4 13048 read(4, "254:2", 5) = 5 13048 close(4) = 0 13048 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffc1180f4e0) = 0 13048 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1180f530) = 0 13048 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1180f530) = 0 13048 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1180f530) = 0 13048 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1180f530) = 0 13048 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1180f530) = 0 13048 ioctl(3, GPIO_GET_LINEHANDLE_IOCTL, 0x7ffc1180f380) = 0 13048 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1180f300) = 0 13048 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1180f300) = 0 13048 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1180f300) = 0 13048 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1180f300) = 0 13048 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffc1180f300) = 0 13048 fstat(0, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 13048 read(0, "\n", 4096) = 1 13048 close(4) = 0 13048 close(3) = 0 13048 exit_group(0) = ? 13048 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\3702\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "", 65536) = 0 9918 wait4(13048, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 13048 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 9918 getdents64(4, /* 152 entries */, 32768) = 4528 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb29667f0) = 0 9918 close(4) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 5 9918 read(5, "254:2", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966870) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668c0) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966710) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb2966690) = 0 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966900) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x53\xfc\xb3\x01\xcf\x01\xf3\xa2\x89\xad\xa9\x04\x46\x9f\x60\x53", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x63\x76\xb4\x6b\x1c\xd0\x72\xe5\x40\xf0\x2c\xaa\xcb\x43\x75\x5f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x10\x06\xfc\x3f\x12\x6f\x95\x7c\xb8\x76\x49\x30\xd2\xad\x2a\x64", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xe0\x3f\xcc\xcf\xc4\x86\xe7\x26\x11\x3c\x16\xba\x91\x88\xd5\x22", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xa6\x2d\x41\x4f\x2d\x73\x8d\x20\x85\x5c\x64\x29\x88\xbe\xc8\xda", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x73\x83\xfc\x34\xa3\xef\xe7\x17\x30\x8c\x5f\xe0\xfd\x48\x97\x6a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x48\x46\xb5\x7e\x29\x1b\x2b\x57\x59\xac\xf9\x07\x96\xf6\xe9\x66", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xb1\xa9\x12\x48\x3e\x38\x57\x40\x46\x20\x11\x88\xdd\xae\x16\x0a", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x81\x68\x2e\x23\xa6\xe7\x1d\xe3\x8f\xca\xa6\x32\x93\x22\xae\xb6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x41\x0b\xf8\xf5\x08\x27\x06\xee\x99\xc6\x87\x53\xae\x1d\x02\x94", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x9f\x41\x20\x95\xde\x6e\xbc\x1f\x00\x5f\x29\x42\x36\xe2\x01\x1f", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioset - set some lines"..., 55) = 55 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioset", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 13091 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 nanosleep({tv_sec=0, tv_nsec=200000000}, 13091 set_robust_list(0x7f08f87b19a0, 24) = 0 13091 close(10) = 0 13091 dup2(4, 0) = 0 13091 close(4) = 0 13091 dup2(7, 1) = 1 13091 close(7) = 0 13091 dup2(9, 2) = 2 13091 close(9) = 0 13091 execve("/libgpiod/../install-libgpiod/bin/gpioset", ["/libgpiod/../install-libgpiod/bi"..., "--mode=signal", "gpiochip2", "1=0", "2=1", "5=0", "6=0", "7=1"], 0x7fffb2966d78 /* 17 vars */) = 0 13091 brk(NULL) = 0x559662f35000 13091 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 13091 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13091 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffe59c4b8c0) = -1 ENOENT (No such file or directory) 13091 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13091 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffe59c4b8c0) = -1 ENOENT (No such file or directory) 13091 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13091 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffe59c4b8c0) = -1 ENOENT (No such file or directory) 13091 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13091 stat("/libgpiod/src/lib/.libs/tls", 0x7ffe59c4b8c0) = -1 ENOENT (No such file or directory) 13091 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13091 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffe59c4b8c0) = -1 ENOENT (No such file or directory) 13091 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13091 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffe59c4b8c0) = -1 ENOENT (No such file or directory) 13091 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13091 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffe59c4b8c0) = -1 ENOENT (No such file or directory) 13091 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 13091 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 13091 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 13091 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0d73d3d000 13091 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0d73d33000 13091 mmap(0x7f0d73d36000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f0d73d36000 13091 mmap(0x7f0d73d39000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f0d73d39000 13091 mmap(0x7f0d73d3b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f0d73d3b000 13091 close(3) = 0 13091 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13091 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13091 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffe59c4b8a0) = -1 ENOENT (No such file or directory) 13091 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13091 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffe59c4b8a0) = -1 ENOENT (No such file or directory) 13091 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13091 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffe59c4b8a0) = -1 ENOENT (No such file or directory) 13091 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13091 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffe59c4b8a0) = -1 ENOENT (No such file or directory) 13091 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13091 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffe59c4b8a0) = -1 ENOENT (No such file or directory) 13091 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13091 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffe59c4b8a0) = -1 ENOENT (No such file or directory) 13091 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13091 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffe59c4b8a0) = -1 ENOENT (No such file or directory) 13091 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13091 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 13091 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 13091 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 13091 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0d73d2e000 13091 close(3) = 0 13091 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 13091 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 13091 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 13091 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0d73b6d000 13091 mprotect(0x7f0d73b8f000, 1658880, PROT_NONE) = 0 13091 mmap(0x7f0d73b8f000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f0d73b8f000 13091 mmap(0x7f0d73cd7000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f0d73cd7000 13091 mmap(0x7f0d73d24000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f0d73d24000 13091 mmap(0x7f0d73d2a000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0d73d2a000 13091 close(3) = 0 13091 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0d73b6a000 13091 arch_prctl(ARCH_SET_FS, 0x7f0d73b6a740) = 0 13091 mprotect(0x7f0d73d24000, 16384, PROT_READ) = 0 13091 mprotect(0x7f0d73d3b000, 4096, PROT_READ) = 0 13091 mprotect(0x5596627d4000, 4096, PROT_READ) = 0 13091 mprotect(0x7f0d73d66000, 4096, PROT_READ) = 0 13091 munmap(0x7f0d73d2e000, 17208) = 0 13091 brk(NULL) = 0x559662f35000 13091 brk(0x559662f56000) = 0x559662f56000 13091 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 13091 fstat(3, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 13091 getdents64(3, /* 152 entries */, 32768) = 4528 13091 getdents64(3, /* 0 entries */, 32768) = 0 13091 close(3) = 0 13091 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 13091 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 13091 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 13091 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 13091 read(4, "254:0", 5) = 5 13091 close(4) = 0 13091 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe59c4c1f0) = 0 13091 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 13091 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 13091 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 13091 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 13091 read(7, "254:1", 5) = 5 13091 close(7) = 0 13091 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe59c4c1f0) = 0 13091 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 7 13091 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 13091 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 13091 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 9 13091 read(9, "254:2", 5) = 5 13091 close(9) = 0 13091 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe59c4c1f0) = 0 13091 close(3) = 0 13091 close(4) = 0 13091 close(7) = 0 13091 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 3 13091 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 13091 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 13091 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 4 13091 read(4, "254:2", 5) = 5 13091 close(4) = 0 13091 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffe59c4c270) = 0 13091 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe59c4c2c0) = 0 13091 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe59c4c2c0) = 0 13091 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe59c4c2c0) = 0 13091 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe59c4c2c0) = 0 13091 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe59c4c2c0) = 0 13091 ioctl(3, GPIO_GET_LINEHANDLE_IOCTL, 0x7ffe59c4c110) = 0 9918 <... nanosleep resumed> NULL) = 0 9918 kill(13091, SIGTERM) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 13091 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffe59c4c090) = 0 13091 --- SIGTERM {si_signo=SIGTERM, si_code=SI_USER, si_pid=9918, si_uid=0} --- 13091 +++ killed by SIGTERM +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\2\0\0\0#3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "", 65536) = 0 9918 wait4(13091, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGTERM}], 0, NULL) = 13091 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[1m\33[31m", 9) = 9 9918 write(2, "FAILED:", 7) = 7 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "\33[31m", 5) = 5 9918 write(2, "\n\t\t'tools: gpioset - set some li"..., 119) = 119 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,8,-1,8,-1,"..., 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x54\x15\x7d\xf2\xd5\xf6\xd1\x08\x59\x4d\xbc\xfe\xb1\x15\x3c\x2f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x96\xa1\x12\x4c\xb3\x0f\xd9\x23\x8a\xb5\xe1\x57\x28\x1e\x8d\x2c", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x9e\xf6\x6a\xb7\x1d\xbc\xb4\x35\xab\x9d\x74\x8d\xf9\x50\x64\xdb", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x1e\x9b\x5a\xec\x38\xf3\xd9\x25\x73\xbe\xe9\xf0\xed\x8f\x13\x0f", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x76\x9c\x60\xff\x63\x04\x63\x62\x44\x38\x49\x68\xa5\x56\x7f\x59", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x3e\x7c\xe7\x2a\x19\x28\x3f\xa1\xf2\x60\x62\xa7\xd8\xb4\x1c\x4b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x43\x1d\xd1\xb2\xad\x13\x2f\x9f\xb9\xae\x56\x69\xd7\xd7\x31\x3b", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xfc\xae\x18\xd2\x79\x5f\x7f\xbf\x09\x37\x99\xf4\x05\xc4\xfc\x43", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x01\xe7\x4b\xc8\xb3\x48\xf0\xea\xea\xea\xcc\xa5\x42\x31\xdb\xa6", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-442450095, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=11664, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x51\x8d\x6b\x98\xc6\x7c\xbe\x0a\x80\x63\xad\x5d\x9e\x7d\xe0\x86", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xa7\x03\x71\x9b\xdd\xff\x18\x7f\xb9\x50\xc3\x8b\x65\xc0\xbc\x3e", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioset - set some lines"..., 63) = 63 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioset", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 13134 9918 close(4) = 0 9918 close(7) = 0 13134 set_robust_list(0x7f08f87b19a0, 24 9918 close(9) = 0 9918 nanosleep({tv_sec=0, tv_nsec=200000000}, 13134 <... set_robust_list resumed> ) = 0 13134 close(10) = 0 13134 dup2(4, 0) = 0 13134 close(4) = 0 13134 dup2(7, 1) = 1 13134 close(7) = 0 13134 dup2(9, 2) = 2 13134 close(9) = 0 13134 execve("/libgpiod/../install-libgpiod/bin/gpioset", ["/libgpiod/../install-libgpiod/bi"..., "--mode=time", "--usec=100000", "--sec=0", "gpiochip0", "1=1", "2=0", "5=1"], 0x7fffb2966d78 /* 17 vars */) = 0 13134 brk(NULL) = 0x561982c3b000 13134 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 13134 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13134 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffff684fc60) = -1 ENOENT (No such file or directory) 13134 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13134 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffff684fc60) = -1 ENOENT (No such file or directory) 13134 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13134 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffff684fc60) = -1 ENOENT (No such file or directory) 13134 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13134 stat("/libgpiod/src/lib/.libs/tls", 0x7ffff684fc60) = -1 ENOENT (No such file or directory) 13134 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13134 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffff684fc60) = -1 ENOENT (No such file or directory) 13134 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13134 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffff684fc60) = -1 ENOENT (No such file or directory) 13134 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13134 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffff684fc60) = -1 ENOENT (No such file or directory) 13134 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 13134 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 13134 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 13134 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3a132c2000 13134 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3a132b8000 13134 mmap(0x7f3a132bb000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f3a132bb000 13134 mmap(0x7f3a132be000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f3a132be000 13134 mmap(0x7f3a132c0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f3a132c0000 13134 close(3) = 0 13134 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13134 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13134 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffff684fc40) = -1 ENOENT (No such file or directory) 13134 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13134 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffff684fc40) = -1 ENOENT (No such file or directory) 13134 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13134 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffff684fc40) = -1 ENOENT (No such file or directory) 13134 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13134 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffff684fc40) = -1 ENOENT (No such file or directory) 13134 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13134 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffff684fc40) = -1 ENOENT (No such file or directory) 13134 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13134 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffff684fc40) = -1 ENOENT (No such file or directory) 13134 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13134 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffff684fc40) = -1 ENOENT (No such file or directory) 13134 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13134 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 13134 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 13134 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 13134 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3a132b3000 13134 close(3) = 0 13134 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 13134 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 13134 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 13134 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3a130f2000 13134 mprotect(0x7f3a13114000, 1658880, PROT_NONE) = 0 13134 mmap(0x7f3a13114000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f3a13114000 13134 mmap(0x7f3a1325c000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f3a1325c000 13134 mmap(0x7f3a132a9000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f3a132a9000 13134 mmap(0x7f3a132af000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3a132af000 13134 close(3) = 0 13134 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3a130ef000 13134 arch_prctl(ARCH_SET_FS, 0x7f3a130ef740) = 0 13134 mprotect(0x7f3a132a9000, 16384, PROT_READ) = 0 13134 mprotect(0x7f3a132c0000, 4096, PROT_READ) = 0 13134 mprotect(0x5619826d3000, 4096, PROT_READ) = 0 13134 mprotect(0x7f3a132eb000, 4096, PROT_READ) = 0 13134 munmap(0x7f3a132b3000, 17208) = 0 13134 brk(NULL) = 0x561982c3b000 13134 brk(0x561982c5c000) = 0x561982c5c000 13134 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 13134 fstat(3, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 13134 getdents64(3, /* 152 entries */, 32768) = 4528 13134 getdents64(3, /* 0 entries */, 32768) = 0 13134 close(3) = 0 13134 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 13134 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 13134 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 13134 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 13134 read(4, "254:0", 5) = 5 13134 close(4) = 0 13134 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffff6850590) = 0 13134 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 4 13134 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 13134 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 13134 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 7 13134 read(7, "254:1", 5) = 5 13134 close(7) = 0 13134 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7ffff6850590) = 0 13134 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 7 13134 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 13134 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 13134 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 9 13134 read(9, "254:2", 5) = 5 13134 close(9) = 0 13134 ioctl(7, GPIO_GET_CHIPINFO_IOCTL, 0x7ffff6850590) = 0 13134 close(3) = 0 13134 close(4) = 0 13134 close(7) = 0 13134 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 13134 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 13134 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 13134 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 13134 read(4, "254:0", 5) = 5 13134 close(4) = 0 13134 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7ffff6850610) = 0 13134 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffff6850660) = 0 13134 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffff6850660) = 0 13134 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffff6850660) = 0 13134 ioctl(3, GPIO_GET_LINEHANDLE_IOCTL, 0x7ffff68504b0) = 0 13134 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffff6850430) = 0 13134 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffff6850430) = 0 13134 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7ffff6850430) = 0 13134 select(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000} 9918 <... nanosleep resumed> NULL) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 13134 <... select resumed> ) = 0 (Timeout) 13134 close(4) = 0 13134 close(3) = 0 13134 exit_group(0) = ? 13134 +++ exited with 0 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0N3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "", 65536) = 0 9918 wait4(13134, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 13134 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 9918 fstat(4, {st_mode=S_IFDIR|0755, st_size=3040, ...}) = 0 9918 getdents64(4, /* 152 entries */, 32768) = 4528 9918 getdents64(4, /* 0 entries */, 32768) = 0 9918 close(4) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966810) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip1", O_RDWR|O_CLOEXEC) = 5 9918 lstat("/dev/gpiochip1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x1), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip1/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip1/dev", O_RDONLY) = 6 9918 read(6, "254:1", 5) = 5 9918 close(6) = 0 9918 ioctl(5, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966810) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip2", O_RDWR|O_CLOEXEC) = 6 9918 lstat("/dev/gpiochip2", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0x2), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip2/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip2/dev", O_RDONLY) = 7 9918 read(7, "254:2", 5) = 5 9918 close(7) = 0 9918 ioctl(6, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966810) = 0 9918 close(4) = 0 9918 close(5) = 0 9918 close(6) = 0 9918 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 4 9918 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 9918 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 9918 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 5 9918 read(5, "254:0", 5) = 5 9918 close(5) = 0 9918 ioctl(4, GPIO_GET_CHIPINFO_IOCTL, 0x7fffb2966890) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668e0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668e0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29668e0) = 0 9918 ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0x7fffb2966730) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666b0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666b0) = 0 9918 ioctl(4, GPIO_GET_LINEINFO_IOCTL, 0x7fffb29666b0) = 0 9918 ioctl(5, GPIOHANDLE_GET_LINE_VALUES_IOCTL, 0x7fffb2966920) = 0 9918 close(5) = 0 9918 close(4) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioset - no arguments':"..., 33) = 33 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioset", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 13149 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 13149 set_robust_list(0x7f08f87b19a0, 24) = 0 13149 close(10) = 0 13149 dup2(4, 0) = 0 13149 close(4) = 0 13149 dup2(7, 1) = 1 13149 close(7) = 0 13149 dup2(9, 2) = 2 13149 close(9) = 0 13149 execve("/libgpiod/../install-libgpiod/bin/gpioset", ["/libgpiod/../install-libgpiod/bi"...], 0x7fffb2966d78 /* 17 vars */) = 0 13149 brk(NULL) = 0x5650fdabc000 13149 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 13149 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13149 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7fffbdd24050) = -1 ENOENT (No such file or directory) 13149 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13149 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fffbdd24050) = -1 ENOENT (No such file or directory) 13149 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13149 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fffbdd24050) = -1 ENOENT (No such file or directory) 13149 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13149 stat("/libgpiod/src/lib/.libs/tls", 0x7fffbdd24050) = -1 ENOENT (No such file or directory) 13149 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13149 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7fffbdd24050) = -1 ENOENT (No such file or directory) 13149 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13149 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fffbdd24050) = -1 ENOENT (No such file or directory) 13149 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13149 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fffbdd24050) = -1 ENOENT (No such file or directory) 13149 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 13149 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 13149 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 13149 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3b241e5000 13149 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3b241db000 13149 mmap(0x7f3b241de000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f3b241de000 13149 mmap(0x7f3b241e1000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f3b241e1000 13149 mmap(0x7f3b241e3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f3b241e3000 13149 close(3) = 0 13149 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13149 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13149 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7fffbdd24030) = -1 ENOENT (No such file or directory) 13149 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13149 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fffbdd24030) = -1 ENOENT (No such file or directory) 13149 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13149 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fffbdd24030) = -1 ENOENT (No such file or directory) 13149 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13149 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7fffbdd24030) = -1 ENOENT (No such file or directory) 13149 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13149 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7fffbdd24030) = -1 ENOENT (No such file or directory) 13149 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13149 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fffbdd24030) = -1 ENOENT (No such file or directory) 13149 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13149 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fffbdd24030) = -1 ENOENT (No such file or directory) 13149 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13149 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 13149 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 13149 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 13149 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3b241d6000 13149 close(3) = 0 13149 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 13149 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 13149 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 13149 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3b24015000 13149 mprotect(0x7f3b24037000, 1658880, PROT_NONE) = 0 13149 mmap(0x7f3b24037000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f3b24037000 13149 mmap(0x7f3b2417f000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f3b2417f000 13149 mmap(0x7f3b241cc000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f3b241cc000 13149 mmap(0x7f3b241d2000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3b241d2000 13149 close(3) = 0 13149 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3b24012000 13149 arch_prctl(ARCH_SET_FS, 0x7f3b24012740) = 0 13149 mprotect(0x7f3b241cc000, 16384, PROT_READ) = 0 13149 mprotect(0x7f3b241e3000, 4096, PROT_READ) = 0 13149 mprotect(0x5650fd232000, 4096, PROT_READ) = 0 13149 mprotect(0x7f3b2420e000, 4096, PROT_READ) = 0 13149 munmap(0x7f3b241d6000, 17208) = 0 13149 write(2, "/libgpiod/../install-libgpiod/bi"..., 43) = 43 13149 write(2, "gpiochip must be specified", 26) = 26 13149 write(2, "\n", 1) = 1 13149 exit_group(1) = ? 13149 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0]3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 70 9918 wait4(13149, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 13149 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965b00) = -1 ENOENT (No such file or directory) 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4,-1,4", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xe9\xad\xf1\x64\x9d\x99\x7a\xea\x1d\x60\xe9\x2e\xb0\xba\x82\x50", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1140136680, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10094, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x9c\xeb\x55\x57\xdd\x12\xbf\x05\xbc\x5f\xf6\x86\x47\x1f\xfb\x86", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x77\x47\xaa\x9c\x30\xd8\xe3\x1c\x6d\xe2\xb0\x55\x95\x3c\x02\xcc", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x64\x31\x40\xc4\xc5\x9e\x7d\xe8\xb0\x2a\xcf\x72\xbf\x4e\x75\x0d", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioset - no lines speci"..., 39) = 39 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioset", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 13166 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 13166 set_robust_list(0x7f08f87b19a0, 24) = 0 13166 close(10) = 0 13166 dup2(4, 0) = 0 13166 close(4) = 0 13166 dup2(7, 1) = 1 13166 close(7) = 0 13166 dup2(9, 2) = 2 13166 close(9) = 0 13166 execve("/libgpiod/../install-libgpiod/bin/gpioset", ["/libgpiod/../install-libgpiod/bi"..., "gpiochip1"], 0x7fffb2966d78 /* 17 vars */) = 0 13166 brk(NULL) = 0x56080dfc1000 13166 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 13166 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13166 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffd4e7074b0) = -1 ENOENT (No such file or directory) 13166 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13166 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd4e7074b0) = -1 ENOENT (No such file or directory) 13166 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13166 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd4e7074b0) = -1 ENOENT (No such file or directory) 13166 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13166 stat("/libgpiod/src/lib/.libs/tls", 0x7ffd4e7074b0) = -1 ENOENT (No such file or directory) 13166 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13166 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffd4e7074b0) = -1 ENOENT (No such file or directory) 13166 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13166 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd4e7074b0) = -1 ENOENT (No such file or directory) 13166 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13166 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd4e7074b0) = -1 ENOENT (No such file or directory) 13166 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 13166 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 13166 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 13166 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3fe69d9000 13166 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3fe69cf000 13166 mmap(0x7f3fe69d2000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f3fe69d2000 13166 mmap(0x7f3fe69d5000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f3fe69d5000 13166 mmap(0x7f3fe69d7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f3fe69d7000 13166 close(3) = 0 13166 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13166 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13166 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffd4e707490) = -1 ENOENT (No such file or directory) 13166 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13166 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd4e707490) = -1 ENOENT (No such file or directory) 13166 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13166 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd4e707490) = -1 ENOENT (No such file or directory) 13166 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13166 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffd4e707490) = -1 ENOENT (No such file or directory) 13166 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13166 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffd4e707490) = -1 ENOENT (No such file or directory) 13166 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13166 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd4e707490) = -1 ENOENT (No such file or directory) 13166 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13166 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd4e707490) = -1 ENOENT (No such file or directory) 13166 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13166 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 13166 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 13166 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 13166 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3fe69ca000 13166 close(3) = 0 13166 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 13166 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 13166 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 13166 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3fe6809000 13166 mprotect(0x7f3fe682b000, 1658880, PROT_NONE) = 0 13166 mmap(0x7f3fe682b000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f3fe682b000 13166 mmap(0x7f3fe6973000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f3fe6973000 13166 mmap(0x7f3fe69c0000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f3fe69c0000 13166 mmap(0x7f3fe69c6000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3fe69c6000 13166 close(3) = 0 13166 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3fe6806000 13166 arch_prctl(ARCH_SET_FS, 0x7f3fe6806740) = 0 13166 mprotect(0x7f3fe69c0000, 16384, PROT_READ) = 0 13166 mprotect(0x7f3fe69d7000, 4096, PROT_READ) = 0 13166 mprotect(0x56080c94f000, 4096, PROT_READ) = 0 13166 mprotect(0x7f3fe6a02000, 4096, PROT_READ) = 0 13166 munmap(0x7f3fe69ca000, 17208) = 0 13166 write(2, "/libgpiod/../install-libgpiod/bi"..., 43) = 43 13166 write(2, "at least one GPIO line offset to"..., 64) = 64 13166 write(2, "\n", 1) = 1 13166 exit_group(1) = ? 13166 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0n3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 108 9918 wait4(13166, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 13166 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xa4\x68\x35\x72\x67\x30\x99\x65\x2b\xea\xfc\xa0\x45\x6d\x49\x12", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\xee\xe3\x11\x55\xa9\xa7\x2a\x6e\x67\x28\x66\x92\x76\x07\x5c\x98", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\xc1\x05\xd2\x6b\x27\xd6\xbe\x61\xe9\x6e\x0f\xca\x5c\x83\x71\x2e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x70\x6e\x3f\x77\x12\xfe\xf6\x02\x77\xfa\x7e\xda\xe9\x49\xea\xb3", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xf9\x6f\xd5\xde\x13\x96\x03\x59\x1a\x76\xe1\x2c\xa3\xbf\xb8\x55", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioset - too many lines"..., 45) = 45 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioset", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 13189 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 13189 set_robust_list(0x7f08f87b19a0, 24) = 0 13189 close(10) = 0 13189 dup2(4, 0) = 0 13189 close(4) = 0 13189 dup2(7, 1) = 1 13189 close(7) = 0 13189 dup2(9, 2) = 2 13189 close(9) = 0 13189 execve("/libgpiod/../install-libgpiod/bin/gpioset", ["/libgpiod/../install-libgpiod/bi"..., "gpiochip0", "0=1", "1=1", "2=1", "3=1", "4=1"], 0x7fffb2966d78 /* 17 vars */) = 0 13189 brk(NULL) = 0x561a4868a000 13189 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 13189 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13189 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7fff60f97d20) = -1 ENOENT (No such file or directory) 13189 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13189 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fff60f97d20) = -1 ENOENT (No such file or directory) 13189 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13189 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fff60f97d20) = -1 ENOENT (No such file or directory) 13189 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13189 stat("/libgpiod/src/lib/.libs/tls", 0x7fff60f97d20) = -1 ENOENT (No such file or directory) 13189 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13189 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7fff60f97d20) = -1 ENOENT (No such file or directory) 13189 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13189 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fff60f97d20) = -1 ENOENT (No such file or directory) 13189 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13189 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fff60f97d20) = -1 ENOENT (No such file or directory) 13189 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 13189 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 13189 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 13189 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff715fb8000 13189 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff715fae000 13189 mmap(0x7ff715fb1000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7ff715fb1000 13189 mmap(0x7ff715fb4000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7ff715fb4000 13189 mmap(0x7ff715fb6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7ff715fb6000 13189 close(3) = 0 13189 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13189 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13189 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7fff60f97d00) = -1 ENOENT (No such file or directory) 13189 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13189 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fff60f97d00) = -1 ENOENT (No such file or directory) 13189 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13189 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fff60f97d00) = -1 ENOENT (No such file or directory) 13189 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13189 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7fff60f97d00) = -1 ENOENT (No such file or directory) 13189 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13189 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7fff60f97d00) = -1 ENOENT (No such file or directory) 13189 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13189 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fff60f97d00) = -1 ENOENT (No such file or directory) 13189 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13189 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fff60f97d00) = -1 ENOENT (No such file or directory) 13189 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13189 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 13189 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 13189 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 13189 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ff715fa9000 13189 close(3) = 0 13189 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 13189 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 13189 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 13189 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff715de8000 13189 mprotect(0x7ff715e0a000, 1658880, PROT_NONE) = 0 13189 mmap(0x7ff715e0a000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7ff715e0a000 13189 mmap(0x7ff715f52000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7ff715f52000 13189 mmap(0x7ff715f9f000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7ff715f9f000 13189 mmap(0x7ff715fa5000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff715fa5000 13189 close(3) = 0 13189 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff715de5000 13189 arch_prctl(ARCH_SET_FS, 0x7ff715de5740) = 0 13189 mprotect(0x7ff715f9f000, 16384, PROT_READ) = 0 13189 mprotect(0x7ff715fb6000, 4096, PROT_READ) = 0 13189 mprotect(0x561a485ba000, 4096, PROT_READ) = 0 13189 mprotect(0x7ff715fe1000, 4096, PROT_READ) = 0 13189 munmap(0x7ff715fa9000, 17208) = 0 13189 brk(NULL) = 0x561a4868a000 13189 brk(0x561a486ab000) = 0x561a486ab000 13189 openat(AT_FDCWD, "/dev", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 13189 fstat(3, {st_mode=S_IFDIR|0755, st_size=3000, ...}) = 0 13189 getdents64(3, /* 150 entries */, 32768) = 4464 13189 getdents64(3, /* 0 entries */, 32768) = 0 13189 close(3) = 0 13189 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 13189 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 13189 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 13189 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 13189 read(4, "254:0", 5) = 5 13189 close(4) = 0 13189 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7fff60f98650) = 0 13189 close(3) = 0 13189 openat(AT_FDCWD, "/dev/gpiochip0", O_RDWR|O_CLOEXEC) = 3 13189 lstat("/dev/gpiochip0", {st_mode=S_IFCHR|0600, st_rdev=makedev(0xfe, 0), ...}) = 0 13189 access("/sys/bus/gpio/devices/gpiochip0/dev", R_OK) = 0 13189 openat(AT_FDCWD, "/sys/bus/gpio/devices/gpiochip0/dev", O_RDONLY) = 4 13189 read(4, "254:0", 5) = 5 13189 close(4) = 0 13189 ioctl(3, GPIO_GET_CHIPINFO_IOCTL, 0x7fff60f986d0) = 0 13189 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff60f98720) = 0 13189 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff60f98720) = 0 13189 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff60f98720) = 0 13189 ioctl(3, GPIO_GET_LINEINFO_IOCTL, 0x7fff60f98720) = 0 13189 close(3) = 0 13189 write(2, "/libgpiod/../install-libgpiod/bi"..., 43) = 43 13189 write(2, "error setting the GPIO line valu"..., 34) = 34 13189 write(2, ": Invalid argument\n", 19) = 19 13189 exit_group(1) = ? 13189 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\2053\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 96 9918 wait4(13189, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 13189 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x99\x71\x71\x41\xa0\xa0\x69\xef\x4b\xd3\x53\x9b\x67\xcf\xb1\x24", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x38\x88\x62\x54\x53\x8b\x54\x64\xf7\x66\x78\xab\x13\xb3\xe7\xa8", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioset - using --sec/--"..., 67) = 67 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioset", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 13205 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 13205 set_robust_list(0x7f08f87b19a0, 24) = 0 13205 close(10) = 0 13205 dup2(4, 0) = 0 13205 close(4) = 0 13205 dup2(7, 1) = 1 13205 close(7) = 0 13205 dup2(9, 2) = 2 13205 close(9) = 0 13205 execve("/libgpiod/../install-libgpiod/bin/gpioset", ["/libgpiod/../install-libgpiod/bi"..., "--mode=exit", "--sec=1", "gpiochip0", "0=1"], 0x7fffb2966d78 /* 17 vars */) = 0 13205 brk(NULL) = 0x55f601c2b000 13205 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 13205 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13205 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7fffa2d4bd80) = -1 ENOENT (No such file or directory) 13205 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13205 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fffa2d4bd80) = -1 ENOENT (No such file or directory) 13205 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13205 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fffa2d4bd80) = -1 ENOENT (No such file or directory) 13205 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13205 stat("/libgpiod/src/lib/.libs/tls", 0x7fffa2d4bd80) = -1 ENOENT (No such file or directory) 13205 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13205 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7fffa2d4bd80) = -1 ENOENT (No such file or directory) 13205 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13205 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fffa2d4bd80) = -1 ENOENT (No such file or directory) 13205 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13205 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fffa2d4bd80) = -1 ENOENT (No such file or directory) 13205 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 13205 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 13205 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 13205 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f933d3bd000 13205 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f933d3b3000 13205 mmap(0x7f933d3b6000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f933d3b6000 13205 mmap(0x7f933d3b9000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f933d3b9000 13205 mmap(0x7f933d3bb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f933d3bb000 13205 close(3) = 0 13205 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13205 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13205 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7fffa2d4bd60) = -1 ENOENT (No such file or directory) 13205 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13205 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fffa2d4bd60) = -1 ENOENT (No such file or directory) 13205 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13205 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fffa2d4bd60) = -1 ENOENT (No such file or directory) 13205 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13205 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7fffa2d4bd60) = -1 ENOENT (No such file or directory) 13205 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13205 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7fffa2d4bd60) = -1 ENOENT (No such file or directory) 13205 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13205 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fffa2d4bd60) = -1 ENOENT (No such file or directory) 13205 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13205 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fffa2d4bd60) = -1 ENOENT (No such file or directory) 13205 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13205 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 13205 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 13205 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 13205 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f933d3ae000 13205 close(3) = 0 13205 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 13205 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 13205 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 13205 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f933d1ed000 13205 mprotect(0x7f933d20f000, 1658880, PROT_NONE) = 0 13205 mmap(0x7f933d20f000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f933d20f000 13205 mmap(0x7f933d357000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f933d357000 13205 mmap(0x7f933d3a4000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f933d3a4000 13205 mmap(0x7f933d3aa000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f933d3aa000 13205 close(3) = 0 13205 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f933d1ea000 13205 arch_prctl(ARCH_SET_FS, 0x7f933d1ea740) = 0 13205 mprotect(0x7f933d3a4000, 16384, PROT_READ) = 0 13205 mprotect(0x7f933d3bb000, 4096, PROT_READ) = 0 13205 mprotect(0x55f601a6c000, 4096, PROT_READ) = 0 13205 mprotect(0x7f933d3e6000, 4096, PROT_READ) = 0 13205 munmap(0x7f933d3ae000, 17208) = 0 13205 write(2, "/libgpiod/../install-libgpiod/bi"..., 43) = 43 13205 write(2, "can't specify wait time in this "..., 36) = 36 13205 write(2, "\n", 1) = 1 13205 exit_group(1) = ? 13205 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\2253\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 80 9918 wait4(13205, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 13205 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioset", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 13206 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 13206 set_robust_list(0x7f08f87b19a0, 24) = 0 13206 close(10) = 0 13206 dup2(4, 0) = 0 13206 close(4) = 0 13206 dup2(7, 1) = 1 13206 close(7) = 0 13206 dup2(9, 2) = 2 13206 close(9) = 0 13206 execve("/libgpiod/../install-libgpiod/bin/gpioset", ["/libgpiod/../install-libgpiod/bi"..., "--mode=exit", "--usec=100", "gpiochip0", "0=1"], 0x7fffb2966d78 /* 17 vars */) = 0 13206 brk(NULL) = 0x55bb7fc00000 13206 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 13206 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13206 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7fffec028c80) = -1 ENOENT (No such file or directory) 13206 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13206 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fffec028c80) = -1 ENOENT (No such file or directory) 13206 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13206 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7fffec028c80) = -1 ENOENT (No such file or directory) 13206 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13206 stat("/libgpiod/src/lib/.libs/tls", 0x7fffec028c80) = -1 ENOENT (No such file or directory) 13206 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13206 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7fffec028c80) = -1 ENOENT (No such file or directory) 13206 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13206 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fffec028c80) = -1 ENOENT (No such file or directory) 13206 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13206 stat("/libgpiod/src/lib/.libs/x86_64", 0x7fffec028c80) = -1 ENOENT (No such file or directory) 13206 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 13206 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 13206 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 13206 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4dbaa90000 13206 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4dbaa86000 13206 mmap(0x7f4dbaa89000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f4dbaa89000 13206 mmap(0x7f4dbaa8c000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f4dbaa8c000 13206 mmap(0x7f4dbaa8e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f4dbaa8e000 13206 close(3) = 0 13206 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13206 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13206 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7fffec028c60) = -1 ENOENT (No such file or directory) 13206 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13206 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fffec028c60) = -1 ENOENT (No such file or directory) 13206 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13206 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7fffec028c60) = -1 ENOENT (No such file or directory) 13206 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13206 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7fffec028c60) = -1 ENOENT (No such file or directory) 13206 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13206 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7fffec028c60) = -1 ENOENT (No such file or directory) 13206 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13206 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fffec028c60) = -1 ENOENT (No such file or directory) 13206 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13206 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7fffec028c60) = -1 ENOENT (No such file or directory) 13206 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13206 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 13206 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 13206 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 13206 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4dbaa81000 13206 close(3) = 0 13206 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 13206 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 13206 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 13206 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4dba8c0000 13206 mprotect(0x7f4dba8e2000, 1658880, PROT_NONE) = 0 13206 mmap(0x7f4dba8e2000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f4dba8e2000 13206 mmap(0x7f4dbaa2a000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f4dbaa2a000 13206 mmap(0x7f4dbaa77000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f4dbaa77000 13206 mmap(0x7f4dbaa7d000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4dbaa7d000 13206 close(3) = 0 13206 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4dba8bd000 13206 arch_prctl(ARCH_SET_FS, 0x7f4dba8bd740) = 0 13206 mprotect(0x7f4dbaa77000, 16384, PROT_READ) = 0 13206 mprotect(0x7f4dbaa8e000, 4096, PROT_READ) = 0 13206 mprotect(0x55bb7f4fd000, 4096, PROT_READ) = 0 13206 mprotect(0x7f4dbaab9000, 4096, PROT_READ) = 0 13206 munmap(0x7f4dbaa81000, 17208) = 0 13206 write(2, "/libgpiod/../install-libgpiod/bi"..., 43) = 43 13206 write(2, "can't specify wait time in this "..., 36) = 36 13206 write(2, "\n", 1) = 1 13206 exit_group(1) = ? 13206 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\2263\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 80 9918 wait4(13206, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 13206 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x07\xe4\xc0\x0c\x21\x0b\x5f\xf9\x46\xa1\x62\x32\xc0\xe6\xcb\xb3", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioset - invalid offset"..., 51) = 51 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioset", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 13221 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 13221 set_robust_list(0x7f08f87b19a0, 24) = 0 13221 close(10) = 0 13221 dup2(4, 0) = 0 13221 close(4) = 0 13221 dup2(7, 1) = 1 13221 close(7) = 0 13221 dup2(9, 2) = 2 13221 close(9) = 0 13221 execve("/libgpiod/../install-libgpiod/bin/gpioset", ["/libgpiod/../install-libgpiod/bi"..., "gpiochip0", "0=c"], 0x7fffb2966d78 /* 17 vars */) = 0 13221 brk(NULL) = 0x55801c8fe000 13221 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 13221 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13221 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffcbb948500) = -1 ENOENT (No such file or directory) 13221 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13221 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffcbb948500) = -1 ENOENT (No such file or directory) 13221 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13221 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffcbb948500) = -1 ENOENT (No such file or directory) 13221 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13221 stat("/libgpiod/src/lib/.libs/tls", 0x7ffcbb948500) = -1 ENOENT (No such file or directory) 13221 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13221 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffcbb948500) = -1 ENOENT (No such file or directory) 13221 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13221 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffcbb948500) = -1 ENOENT (No such file or directory) 13221 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13221 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffcbb948500) = -1 ENOENT (No such file or directory) 13221 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 13221 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 13221 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 13221 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7febba2d3000 13221 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7febba2c9000 13221 mmap(0x7febba2cc000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7febba2cc000 13221 mmap(0x7febba2cf000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7febba2cf000 13221 mmap(0x7febba2d1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7febba2d1000 13221 close(3) = 0 13221 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13221 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13221 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffcbb9484e0) = -1 ENOENT (No such file or directory) 13221 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13221 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffcbb9484e0) = -1 ENOENT (No such file or directory) 13221 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13221 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffcbb9484e0) = -1 ENOENT (No such file or directory) 13221 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13221 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffcbb9484e0) = -1 ENOENT (No such file or directory) 13221 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13221 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffcbb9484e0) = -1 ENOENT (No such file or directory) 13221 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13221 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffcbb9484e0) = -1 ENOENT (No such file or directory) 13221 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13221 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffcbb9484e0) = -1 ENOENT (No such file or directory) 13221 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13221 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 13221 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 13221 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 13221 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7febba2c4000 13221 close(3) = 0 13221 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 13221 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 13221 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 13221 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7febba103000 13221 mprotect(0x7febba125000, 1658880, PROT_NONE) = 0 13221 mmap(0x7febba125000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7febba125000 13221 mmap(0x7febba26d000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7febba26d000 13221 mmap(0x7febba2ba000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7febba2ba000 13221 mmap(0x7febba2c0000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7febba2c0000 13221 close(3) = 0 13221 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7febba100000 13221 arch_prctl(ARCH_SET_FS, 0x7febba100740) = 0 13221 mprotect(0x7febba2ba000, 16384, PROT_READ) = 0 13221 mprotect(0x7febba2d1000, 4096, PROT_READ) = 0 13221 mprotect(0x55801c832000, 4096, PROT_READ) = 0 13221 mprotect(0x7febba2fc000, 4096, PROT_READ) = 0 13221 munmap(0x7febba2c4000, 17208) = 0 13221 brk(NULL) = 0x55801c8fe000 13221 brk(0x55801c91f000) = 0x55801c91f000 13221 write(2, "/libgpiod/../install-libgpiod/bi"..., 43) = 43 13221 write(2, "invalid offset<->value mapping: "..., 35) = 35 13221 write(2, "\n", 1) = 1 13221 exit_group(1) = ? 13221 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\2453\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 79 9918 wait4(13221, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 13221 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\xa1\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 201 9918 getrandom("\x75\xc8\xe8\xc2\x5e\x06\xc4\x1d\xb3\x36\x86\xe2\xed\x10\x1d\xb0", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7f\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x72"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 167 9918 getrandom("\x19\xf1\xe4\x7a\xf9\xe9\x64\xac\x4f\xcd\x82\x57\xea\xda\xb2\x81", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x57\x75\x94\x66\xc3\x85\x46\x4b\xcb\xce\x61\x59\x2e\xdc\x5e\xb1", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xfc\x11\x0b\x25\x37\xdf\x59\x4c\xd7\xbc\xd8\x99\xdd\x38\x5f\xc8", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioset - value differen"..., 48) = 48 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioset", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 13239 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 13239 set_robust_list(0x7f08f87b19a0, 24) = 0 13239 close(10) = 0 13239 dup2(4, 0) = 0 13239 close(4) = 0 13239 dup2(7, 1) = 1 13239 close(7) = 0 13239 dup2(9, 2) = 2 13239 close(9) = 0 13239 execve("/libgpiod/../install-libgpiod/bin/gpioset", ["/libgpiod/../install-libgpiod/bi"..., "gpiochip0", "0=3"], 0x7fffb2966d78 /* 17 vars */) = 0 13239 brk(NULL) = 0x5584a980f000 13239 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 13239 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13239 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffd7f5d9590) = -1 ENOENT (No such file or directory) 13239 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13239 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd7f5d9590) = -1 ENOENT (No such file or directory) 13239 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13239 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd7f5d9590) = -1 ENOENT (No such file or directory) 13239 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13239 stat("/libgpiod/src/lib/.libs/tls", 0x7ffd7f5d9590) = -1 ENOENT (No such file or directory) 13239 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13239 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffd7f5d9590) = -1 ENOENT (No such file or directory) 13239 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13239 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd7f5d9590) = -1 ENOENT (No such file or directory) 13239 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13239 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd7f5d9590) = -1 ENOENT (No such file or directory) 13239 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 13239 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 13239 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 13239 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8ba931a000 13239 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8ba9310000 13239 mmap(0x7f8ba9313000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f8ba9313000 13239 mmap(0x7f8ba9316000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f8ba9316000 13239 mmap(0x7f8ba9318000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f8ba9318000 13239 close(3) = 0 13239 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13239 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13239 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffd7f5d9570) = -1 ENOENT (No such file or directory) 13239 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13239 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd7f5d9570) = -1 ENOENT (No such file or directory) 13239 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13239 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd7f5d9570) = -1 ENOENT (No such file or directory) 13239 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13239 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffd7f5d9570) = -1 ENOENT (No such file or directory) 13239 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13239 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffd7f5d9570) = -1 ENOENT (No such file or directory) 13239 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13239 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd7f5d9570) = -1 ENOENT (No such file or directory) 13239 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13239 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd7f5d9570) = -1 ENOENT (No such file or directory) 13239 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13239 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 13239 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 13239 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 13239 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8ba930b000 13239 close(3) = 0 13239 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 13239 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 13239 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 13239 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8ba914a000 13239 mprotect(0x7f8ba916c000, 1658880, PROT_NONE) = 0 13239 mmap(0x7f8ba916c000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f8ba916c000 13239 mmap(0x7f8ba92b4000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f8ba92b4000 13239 mmap(0x7f8ba9301000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f8ba9301000 13239 mmap(0x7f8ba9307000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f8ba9307000 13239 close(3) = 0 13239 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8ba9147000 13239 arch_prctl(ARCH_SET_FS, 0x7f8ba9147740) = 0 13239 mprotect(0x7f8ba9301000, 16384, PROT_READ) = 0 13239 mprotect(0x7f8ba9318000, 4096, PROT_READ) = 0 13239 mprotect(0x5584a8fa9000, 4096, PROT_READ) = 0 13239 mprotect(0x7f8ba9343000, 4096, PROT_READ) = 0 13239 munmap(0x7f8ba930b000, 17208) = 0 13239 brk(NULL) = 0x5584a980f000 13239 brk(0x5584a9830000) = 0x5584a9830000 13239 write(2, "/libgpiod/../install-libgpiod/bi"..., 43) = 43 13239 write(2, "value must be 0 or 1: 0=3", 25) = 25 13239 write(2, "\n", 1) = 1 13239 exit_group(1) = ? 13239 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\2673\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 69 9918 wait4(13239, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 13239 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\x0c\xf0\xdd\x9e\xe0\x71\xe3\x52\x41\x1c\x2b\xbf\x1f\xfa\x11\x5e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\x8a\xf6\x97\x57\xfd\xa3\x23\x67\xa7\x82\xb6\x14\x47\x3f\x7e\xc2", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioset - invalid offset"..., 35) = 35 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioset", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 13255 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 13255 set_robust_list(0x7f08f87b19a0, 24) = 0 13255 close(10) = 0 13255 dup2(4, 0) = 0 13255 close(4) = 0 13255 dup2(7, 1) = 1 13255 close(7) = 0 13255 dup2(9, 2) = 2 13255 close(9) = 0 13255 execve("/libgpiod/../install-libgpiod/bin/gpioset", ["/libgpiod/../install-libgpiod/bi"..., "gpiochip0", "4000000000=1"], 0x7fffb2966d78 /* 17 vars */) = 0 13255 brk(NULL) = 0x55bff0dde000 13255 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 13255 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13255 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffd2544ec40) = -1 ENOENT (No such file or directory) 13255 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13255 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd2544ec40) = -1 ENOENT (No such file or directory) 13255 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13255 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffd2544ec40) = -1 ENOENT (No such file or directory) 13255 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13255 stat("/libgpiod/src/lib/.libs/tls", 0x7ffd2544ec40) = -1 ENOENT (No such file or directory) 13255 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13255 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffd2544ec40) = -1 ENOENT (No such file or directory) 13255 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13255 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd2544ec40) = -1 ENOENT (No such file or directory) 13255 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13255 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffd2544ec40) = -1 ENOENT (No such file or directory) 13255 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 13255 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 13255 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 13255 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f733b45b000 13255 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f733b451000 13255 mmap(0x7f733b454000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f733b454000 13255 mmap(0x7f733b457000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f733b457000 13255 mmap(0x7f733b459000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f733b459000 13255 close(3) = 0 13255 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13255 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13255 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffd2544ec20) = -1 ENOENT (No such file or directory) 13255 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13255 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd2544ec20) = -1 ENOENT (No such file or directory) 13255 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13255 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffd2544ec20) = -1 ENOENT (No such file or directory) 13255 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13255 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffd2544ec20) = -1 ENOENT (No such file or directory) 13255 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13255 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffd2544ec20) = -1 ENOENT (No such file or directory) 13255 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13255 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd2544ec20) = -1 ENOENT (No such file or directory) 13255 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13255 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffd2544ec20) = -1 ENOENT (No such file or directory) 13255 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13255 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 13255 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 13255 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 13255 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f733b44c000 13255 close(3) = 0 13255 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 13255 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 13255 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 13255 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f733b28b000 13255 mprotect(0x7f733b2ad000, 1658880, PROT_NONE) = 0 13255 mmap(0x7f733b2ad000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f733b2ad000 13255 mmap(0x7f733b3f5000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f733b3f5000 13255 mmap(0x7f733b442000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f733b442000 13255 mmap(0x7f733b448000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f733b448000 13255 close(3) = 0 13255 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f733b288000 13255 arch_prctl(ARCH_SET_FS, 0x7f733b288740) = 0 13255 mprotect(0x7f733b442000, 16384, PROT_READ) = 0 13255 mprotect(0x7f733b459000, 4096, PROT_READ) = 0 13255 mprotect(0x55bff006a000, 4096, PROT_READ) = 0 13255 mprotect(0x7f733b484000, 4096, PROT_READ) = 0 13255 munmap(0x7f733b44c000, 17208) = 0 13255 brk(NULL) = 0x55bff0dde000 13255 brk(0x55bff0dff000) = 0x55bff0dff000 13255 write(2, "/libgpiod/../install-libgpiod/bi"..., 43) = 43 13255 write(2, "invalid offset: 4000000000=1", 28) = 28 13255 write(2, "\n", 1) = 1 13255 exit_group(1) = ? 13255 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\3073\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 72 9918 wait4(13255, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 13255 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 access("/run/udev/control", F_OK) = 0 9918 socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT) = 4 9918 setsockopt(4, SOL_SOCKET, SO_ATTACH_FILTER, {len=8, filter=0x7fffb2965ba0}, 16) = 0 9918 setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 9918 bind(4, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 9918 getsockname(4, {sa_family=AF_NETLINK, nl_pid=9918, nl_groups=0x000002}, [12]) = 0 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965a40) = -1 ENOENT (No such file or directory) 9918 finit_module(3, "gpio_mockup_ranges=-1,4", 0) = 0 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1868272160, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x7c\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=10160, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 164 9918 getrandom("\xb7\xc3\x1c\x89\xfe\x31\xfc\x35\xde\xcf\xb6\xed\xc7\x87\x61\x7e", 16, GRND_NONBLOCK) = 16 9918 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}]) 9918 recvmsg(4, {msg_name={sa_family=AF_NETLINK, nl_pid=-1902642465, nl_groups=0x000002}, msg_namelen=128->12, msg_iov=[{iov_base={{len=1969383788, type=0x6564 /* NLMSG_??? */, flags=NLM_F_MULTI|NLM_F_ACK|NLM_F_DUMP_INTR|NLM_F_DUMP_FILTERED|0x40, seq=4274712062, pid=40}, "\x28\x00\x00\x00\x9e\x00\x00\x00\x49\x30\xac\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x41\x43\x54\x49\x4f\x4e\x3d\x61"...}, iov_len=8192}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=9954, uid=0, gid=0}}], msg_controllen=32, msg_flags=0}, 0) = 198 9918 getrandom("\xb4\xb2\x3b\x64\x5d\x28\xca\x81\x5e\xe7\x00\x01\x2b\x41\x22\x1a", 16, GRND_NONBLOCK) = 16 9918 close(4) = 0 9918 write(2, "\33[33m", 5) = 5 9918 write(2, "[TEST] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "'tools: gpioset - daemonize in w"..., 44) = 44 9918 pipe([4, 5]) = 0 9918 pipe([6, 7]) = 0 9918 pipe([8, 9]) = 0 9918 access("/libgpiod/../install-libgpiod/bin/gpioset", R_OK|X_OK) = 0 9918 rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0 9918 signalfd4(-1, [CHLD], 8, 0) = 10 9918 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f08f87b1990) = 13271 9918 close(4) = 0 9918 close(7) = 0 9918 close(9) = 0 9918 poll([{fd=10, events=POLLIN|POLLPRI}], 1, 5000 13271 set_robust_list(0x7f08f87b19a0, 24) = 0 13271 close(10) = 0 13271 dup2(4, 0) = 0 13271 close(4) = 0 13271 dup2(7, 1) = 1 13271 close(7) = 0 13271 dup2(9, 2) = 2 13271 close(9) = 0 13271 execve("/libgpiod/../install-libgpiod/bin/gpioset", ["/libgpiod/../install-libgpiod/bi"..., "--background", "gpiochip0", "0=1"], 0x7fffb2966d78 /* 17 vars */) = 0 13271 brk(NULL) = 0x55af05338000 13271 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 13271 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13271 stat("/libgpiod/src/lib/.libs/tls/x86_64/x86_64", 0x7ffe3f5d3670) = -1 ENOENT (No such file or directory) 13271 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13271 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffe3f5d3670) = -1 ENOENT (No such file or directory) 13271 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13271 stat("/libgpiod/src/lib/.libs/tls/x86_64", 0x7ffe3f5d3670) = -1 ENOENT (No such file or directory) 13271 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/tls/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13271 stat("/libgpiod/src/lib/.libs/tls", 0x7ffe3f5d3670) = -1 ENOENT (No such file or directory) 13271 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13271 stat("/libgpiod/src/lib/.libs/x86_64/x86_64", 0x7ffe3f5d3670) = -1 ENOENT (No such file or directory) 13271 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13271 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffe3f5d3670) = -1 ENOENT (No such file or directory) 13271 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/x86_64/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13271 stat("/libgpiod/src/lib/.libs/x86_64", 0x7ffe3f5d3670) = -1 ENOENT (No such file or directory) 13271 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libgpiod.so.2", O_RDONLY|O_CLOEXEC) = 3 13271 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832 13271 fstat(3, {st_mode=S_IFREG|0755, st_size=126728, ...}) = 0 13271 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f85f4dcb000 13271 mmap(NULL, 37400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f85f4dc1000 13271 mmap(0x7f85f4dc4000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f85f4dc4000 13271 mmap(0x7f85f4dc7000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f85f4dc7000 13271 mmap(0x7f85f4dc9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f85f4dc9000 13271 close(3) = 0 13271 openat(AT_FDCWD, "/libgpiod/src/lib/.libs/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13271 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13271 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64/x86_64", 0x7ffe3f5d3650) = -1 ENOENT (No such file or directory) 13271 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13271 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffe3f5d3650) = -1 ENOENT (No such file or directory) 13271 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13271 stat("/libgpiod/../install-libgpiod/lib/tls/x86_64", 0x7ffe3f5d3650) = -1 ENOENT (No such file or directory) 13271 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13271 stat("/libgpiod/../install-libgpiod/lib/tls", 0x7ffe3f5d3650) = -1 ENOENT (No such file or directory) 13271 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13271 stat("/libgpiod/../install-libgpiod/lib/x86_64/x86_64", 0x7ffe3f5d3650) = -1 ENOENT (No such file or directory) 13271 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13271 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffe3f5d3650) = -1 ENOENT (No such file or directory) 13271 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13271 stat("/libgpiod/../install-libgpiod/lib/x86_64", 0x7ffe3f5d3650) = -1 ENOENT (No such file or directory) 13271 openat(AT_FDCWD, "/libgpiod/../install-libgpiod/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 13271 stat("/libgpiod/../install-libgpiod/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 13271 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 13271 fstat(3, {st_mode=S_IFREG|0644, st_size=17208, ...}) = 0 13271 mmap(NULL, 17208, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f85f4dbc000 13271 close(3) = 0 13271 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 13271 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 13271 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 13271 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f85f4bfb000 13271 mprotect(0x7f85f4c1d000, 1658880, PROT_NONE) = 0 13271 mmap(0x7f85f4c1d000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f85f4c1d000 13271 mmap(0x7f85f4d65000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f85f4d65000 13271 mmap(0x7f85f4db2000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f85f4db2000 13271 mmap(0x7f85f4db8000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f85f4db8000 13271 close(3) = 0 13271 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f85f4bf8000 13271 arch_prctl(ARCH_SET_FS, 0x7f85f4bf8740) = 0 13271 mprotect(0x7f85f4db2000, 16384, PROT_READ) = 0 13271 mprotect(0x7f85f4dc9000, 4096, PROT_READ) = 0 13271 mprotect(0x55af04492000, 4096, PROT_READ) = 0 13271 mprotect(0x7f85f4df4000, 4096, PROT_READ) = 0 13271 munmap(0x7f85f4dbc000, 17208) = 0 13271 write(2, "/libgpiod/../install-libgpiod/bi"..., 43) = 43 13271 write(2, "can't daemonize in this mode", 28) = 28 13271 write(2, "\n", 1) = 1 13271 exit_group(1) = ? 13271 +++ exited with 1 +++ 9918 <... poll resumed> ) = 1 ([{fd=10, revents=POLLIN}]) 9918 read(10, "\21\0\0\0\0\0\0\0\1\0\0\0\3273\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128 9918 close(10) = 0 9918 rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0 9918 read(6, "", 65536) = 0 9918 read(8, "/libgpiod/../install-libgpiod/bi"..., 65536) = 72 9918 wait4(13271, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 13271 9918 close(5) = 0 9918 close(6) = 0 9918 close(8) = 0 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "PASS\n", 5) = 5 9918 write(2, "\33[0m", 4) = 4 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = 4 9918 read(4, "live\n", 31) = 5 9918 read(4, "", 26) = 0 9918 close(4) = 0 9918 delete_module("gpio_mockup", O_NONBLOCK) = 0 9918 write(2, "\33[31m", 5) = 5 9918 write(2, "[ERROR] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "5 out of 117 tests failed", 25) = 25 9918 write(2, "\n", 1) = 1 9918 getpid() = 9918 9918 write(2, "\33[32m", 5) = 5 9918 write(2, "[INFO] ", 8) = 8 9918 write(2, "\33[0m", 4) = 4 9918 write(2, "cleaning up", 11) = 11 9918 write(2, "\n", 1) = 1 9918 openat(AT_FDCWD, "/sys/module/gpio_mockup/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 9918 stat("/sys/module/gpio_mockup", 0x7fffb2965b10) = -1 ENOENT (No such file or directory) 9918 munmap(0x7f08f8d8a000, 15944) = 0 9918 close(3) = 0 9918 exit_group(1) = ? 9918 +++ exited with 1 +++