Segfault using `extract` with v3 package
I'm trying to use apk extrac
with the attached package but I'm seeing a segfault. It works fine with other packages and I'm currently unable to tell why this package causes the segfault.
GDB output
(gdb) run --destination /home/user/src/openwrt/openwrt/build_dir/target-x86_64_musl/root-x86 --root /home/user/src/openwrt/openwrt/build_dir/target-x86_64_musl/root-x86 --keys-dir /home/user/src/openwrt/openwrt --no-cache --no-network --force extract --no-chown /home/user/src/openwrt/openwrt/bin/targets/x86/64/packages/dropbear-2020.81-2.apk
Starting program: /home/user/src/openwrt/openwrt/staging_dir/hostpkg/bin/apk --destination /home/user/src/openwrt/openwrt/build_dir/target-x86_64_musl/root-x86 --root /home/user/src/openwrt/openwrt/build_dir/target-x86_64_musl/root-x86 --keys-dir /home/user/src/openwrt/openwrt --no-cache --no-network --force extract --no-chown /home/user/src/openwrt/openwrt/bin/targets/x86/64/packages/dropbear-2020.81-2.apk
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Extracting /home/user/src/openwrt/openwrt/bin/targets/x86/64/packages/dropbear-2020.81-2.apk...
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7dc46c7 in apk_istream_verify (dis=dis@entry=0x7fffffffc830, is=is@entry=0x0, size=0, d=d@entry=0x7fffffffc8d8) at ../src/io.c:352
352 .is.ptr = is->ptr,
(gdb) bt
#0 0x00007ffff7dc46c7 in apk_istream_verify (dis=dis@entry=0x7fffffffc830, is=is@entry=0x0, size=0, d=d@entry=0x7fffffffc8d8) at ../src/io.c:352
#1 0x00007ffff7dc16b1 in apk_extract_v3_file (ectx=ectx@entry=0x55555556f430, is=is@entry=0x0, sz=0) at ../src/extract_v3.c:84
#2 0x00007ffff7dc18d1 in apk_extract_v3_next_file (ectx=ectx@entry=0x55555556f430) at ../src/extract_v3.c:143
#3 0x00007ffff7dc19e6 in apk_extract_v3_data_block (db=0x7fffffffcc38, b=<optimized out>, is=0x7fffffffcb80) at ../src/extract_v3.c:160
#4 0x00007ffff7db3bb3 in __adb_m_stream (cb=0x7ffff7dc19a0 <apk_extract_v3_data_block>, t=0x55555556df88 <ctx+168>, expected_schema=4294953764, is=0x7ffff7944010, db=0x7fffffffcc38) at ../src/adb.c:246
#5 adb_m_process (db=db@entry=0x7fffffffcc38, is=0x7ffff7944010, expected_schema=4294953764, expected_schema@entry=0, t=t@entry=0x55555556df88 <ctx+168>, cb=cb@entry=0x7ffff7dc19a0 <apk_extract_v3_data_block>)
at ../src/adb.c:282
#6 0x00007ffff7dc1b6b in apk_extract_v3 (ectx=0x55555556f430, is=0x5555555969d0) at ../src/extract_v3.c:221
#7 0x000055555555f1d6 in extract_main (pctx=0x55555556f420, ac=0x55555556dee0 <ctx>, args=0x5555555965a0) at ../src/app_extract.c:100
#8 0x000055555555afd6 in main (argc=1, argv=0x7fffffffdf28) at ../src/apk.c:519
Strace:
❯ strace /home/user/src/openwrt/openwrt/staging_dir/hostpkg/bin/apk --destination /home/user/src/openwrt/openwrt/build_dir/target-x86_64_musl/root-x86 --root /home/user/src/openwrt/openwrt/build_dir/target-x86_64_musl/root-x86 --keys-dir /home/user/src/openwrt/openwrt --no-cache --no-network --force extract --no-chown /home/user/src/openwrt/openwrt/bin/targets/x86/64/packages/dropbear-2020.81-2.apk
execve("/home/user/src/openwrt/openwrt/staging_dir/hostpkg/bin/apk", ["/home/user/src/openwrt/openwrt/s"..., "--destination", "/home/user/src/openwrt/openwrt/b"..., "--root", "/home/user/src/openwrt/openwrt/b"..., "--keys-dir", "/home/user/src/openwrt/openwrt", "--no-cache", "--no-network", "--force", "extract", "--no-chown", "/home/user/src/openwrt/openwrt/b"...], 0x7fff19948870 /* 54 vars */) = 0
brk(NULL) = 0x55f017628000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/tls/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/tls/haswell/x86_64", 0x7fff14fc48d0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/tls/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/tls/haswell", 0x7fff14fc48d0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/tls/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/tls/x86_64", 0x7fff14fc48d0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/tls", 0x7fff14fc48d0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/haswell/x86_64", 0x7fff14fc48d0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/haswell", 0x7fff14fc48d0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/x86_64", 0x7fff14fc48d0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=105639, ...}) = 0
mmap(NULL, 105639, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3444ac7000
close(3) = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 |\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=149520, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3444ac5000
mmap(NULL, 136304, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3444aa3000
mmap(0x7f3444aaa000, 65536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f3444aaa000
mmap(0x7f3444aba000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f3444aba000
mmap(0x7f3444abf000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7f3444abf000
mmap(0x7f3444ac1000, 13424, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3444ac1000
close(3) = 0
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/libapk.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\23\t\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=3874112, ...}) = 0
mmap(NULL, 2544136, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3444835000
mmap(0x7f34448bb000, 1282048, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x86000) = 0x7f34448bb000
mmap(0x7f34449f4000, 507904, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bf000) = 0x7f34449f4000
mmap(0x7f3444a70000, 188416, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23a000) = 0x7f3444a70000
mmap(0x7f3444a9e000, 16904, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3444a9e000
close(3) = 0
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0203\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=113088, ...}) = 0
mmap(NULL, 115088, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3444818000
mprotect(0x7f344481b000, 98304, PROT_NONE) = 0
mmap(0x7f344481b000, 69632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f344481b000
mmap(0x7f344482c000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7f344482c000
mmap(0x7f3444833000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7f3444833000
close(3) = 0
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@n\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1839792, ...}) = 0
mmap(NULL, 1852680, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3444653000
mprotect(0x7f3444678000, 1662976, PROT_NONE) = 0
mmap(0x7f3444678000, 1355776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f3444678000
mmap(0x7f34447c3000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x170000) = 0x7f34447c3000
mmap(0x7f344480e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ba000) = 0x7f344480e000
mmap(0x7f3444814000, 13576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3444814000
close(3) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3444651000
arch_prctl(ARCH_SET_FS, 0x7f3444651b80) = 0
mprotect(0x7f344480e000, 12288, PROT_READ) = 0
mprotect(0x7f3444833000, 4096, PROT_READ) = 0
mprotect(0x7f3444abf000, 4096, PROT_READ) = 0
mprotect(0x7f3444a70000, 135168, PROT_READ) = 0
mprotect(0x55f015c9f000, 4096, PROT_READ) = 0
mprotect(0x7f3444b0b000, 4096, PROT_READ) = 0
munmap(0x7f3444ac7000, 105639) = 0
set_tid_address(0x7f3444651e50) = 1069249
set_robust_list(0x7f3444651e60, 24) = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f3444aaa690, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f3444ab7140}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f3444aaa730, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f3444ab7140}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL) = 0x55f017628000
brk(0x55f017649000) = 0x55f017649000
umask(000) = 022
rt_sigaction(SIGWINCH, {sa_handler=0x55f015c8f630, sa_mask=[WINCH], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f344468ed60}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f344468ed60}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
access("/etc/apk/interactive", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 163840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3444629000
mmap(NULL, 163840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3444601000
mmap(NULL, 1601536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f344447a000
brk(0x55f017670000) = 0x55f017670000
rt_sigaction(SIGINT, {sa_handler=0x55f015c8f610, sa_mask=[INT], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f344468ed60}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/build_dir/target-x86_64_musl/root-x86", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/build_dir/target-x86_64_musl/root-x86", O_RDONLY) = 4
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x5), ...}) = 0
write(1, "Extracting /home/user/src/openwr"..., 96Extracting /home/user/src/openwrt/openwrt/bin/targets/x86/64/packages/dropbear-2020.81-2.apk...
) = 96
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/bin/targets/x86/64/packages/dropbear-2020.81-2.apk", O_RDONLY|O_CLOEXEC) = 5
read(5, "ADBd\354\275\tx\24\305\3667\334\223d \t\301\tB$*\350\200\1\22eIP\224@\6"..., 131072) = 108035
openat(3, "/home/user/src/openwrt/openwrt", O_RDONLY|O_CLOEXEC) = 6
fstat(6, {st_mode=S_IFDIR|0755, st_size=229376, ...}) = 0
fcntl(6, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fcntl(6, F_SETFD, FD_CLOEXEC) = 0
brk(0x55f017698000) = 0x55f017698000
lseek(6, 0, SEEK_SET) = 0
getdents64(6, 0x55f01766fa40 /* 42 entries */, 32768) = 1336
openat(6, "rules.mk", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
futex(0x7f3444aa09e8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f3444aa09f0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f3444aa09ec, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f3444a9e708, FUTEX_WAKE_PRIVATE, 2147483647) = 0
fstat(7, {st_mode=S_IFREG|0644, st_size=14826, ...}) = 0
read(7, "# SPDX-License-Identifier: GPL-2"..., 4096) = 4096
read(7, "CV)$(DIR_SUFFIX)\nelse\n ifeq ($("..., 4096) = 4096
read(7, " endif\n TARGET_PATH:=$(TOOL"..., 4096) = 4096
read(7, "ar,$(1))=$$(call $(1))\nendef\n\n# "..., 4096) = 2538
read(7, "", 4096) = 0
lseek(7, 0, SEEK_SET) = 0
read(7, "# SPDX-License-Identifier: GPL-2"..., 4096) = 4096
read(7, "CV)$(DIR_SUFFIX)\nelse\n ifeq ($("..., 4096) = 4096
read(7, " endif\n TARGET_PATH:=$(TOOL"..., 4096) = 4096
read(7, "ar,$(1))=$$(call $(1))\nendef\n\n# "..., 4096) = 2538
read(7, "", 4096) = 0
close(7) = 0
openat(6, "public-key.pem", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=178, ...}) = 0
read(7, "-----BEGIN PUBLIC KEY-----\nMFkwE"..., 4096) = 178
close(7) = 0
openat(6, "tools", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, "key-build", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=176, ...}) = 0
read(7, "untrusted comment: Local build k"..., 4096) = 176
read(7, "", 4096) = 0
lseek(7, 0, SEEK_SET) = 0
read(7, "untrusted comment: Local build k"..., 4096) = 176
read(7, "", 4096) = 0
close(7) = 0
openat(6, "Config.in", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=675, ...}) = 0
read(7, "# SPDX-License-Identifier: GPL-2"..., 4096) = 675
read(7, "", 4096) = 0
lseek(7, 0, SEEK_SET) = 0
read(7, "# SPDX-License-Identifier: GPL-2"..., 4096) = 675
read(7, "", 4096) = 0
close(7) = 0
openat(6, "toolchain", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, "tmp", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, ".ccache", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, ".git", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, "dl", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, ".config.old", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=131115, ...}) = 0
read(7, "#\n# Automatically generated file"..., 4096) = 4096
read(7, "IZE=\"\"\nCONFIG_GRUB_IMAGES=y\nCONF"..., 4096) = 4096
read(7, "ES=y\nCONFIG_KERNEL_POSIX_MQUEUE="..., 4096) = 4096
read(7, "y\n# CONFIG_TARGET_PREINIT_DISABL"..., 4096) = 4096
read(7, "INITIONS is not set\n# CONFIG_BUS"..., 4096) = 4096
read(7, "RE_TAR_AUTODETECT is not set\nCON"..., 4096) = 4096
read(7, "is not set\n# CONFIG_BUSYBOX_DEFA"..., 4096) = 4096
read(7, "FAULT_WHICH=y\n# CONFIG_BUSYBOX_D"..., 4096) = 4096
read(7, "DELAY=0\n# CONFIG_BUSYBOX_DEFAULT"..., 4096) = 4096
read(7, "_BUSYBOX_DEFAULT_FATATTR is not "..., 4096) = 4096
read(7, "FAULT_SETSID is not set\nCONFIG_B"..., 4096) = 4096
read(7, "# CONFIG_BUSYBOX_DEFAULT_FBSPLAS"..., 4096) = 4096
read(7, "not set\n# CONFIG_BUSYBOX_DEFAULT"..., 4096) = 4096
read(7, "_DEFAULT_PING=y\nCONFIG_BUSYBOX_D"..., 4096) = 4096
read(7, "MPSTAT is not set\n# CONFIG_BUSYB"..., 4096) = 4096
read(7, " set\n# CONFIG_BUSYBOX_DEFAULT_HU"..., 4096) = 4096
read(7, "ot set\nCONFIG_PACKAGE_openwrt-ke"..., 4096) = 4096
read(7, "ONFIG_PACKAGE_brcmfmac-firmware-"..., 4096) = 4096
read(7, "e is not set\n# CONFIG_PACKAGE_rt"..., 4096) = 4096
read(7, "-exportfs is not set\n# CONFIG_PA"..., 4096) = 4096
read(7, "IG_PACKAGE_kmod-iio-fxas21002c-s"..., 4096) = 4096
read(7, "# CONFIG_PACKAGE_kmod-ipt-extra "..., 4096) = 4096
read(7, "# CONFIG_PACKAGE_kmod-skge is no"..., 4096) = 4096
read(7, "pio-pca953x is not set\n# CONFIG_"..., 4096) = 4096
read(7, "_kmod-usb-printer is not set\n# C"..., 4096) = 4096
read(7, "\n# CONFIG_PACKAGE_kmod-ipw2100 i"..., 4096) = 4096
read(7, "cessing is not set\n# CONFIG_PACK"..., 4096) = 4096
read(7, "l is not set\n# CONFIG_PACKAGE_li"..., 4096) = 4096
read(7, " 3. Applications\n\n#\n# 4. Themes\n"..., 4096) = 4096
read(7, "\n#\n# CONFIG_PACKAGE_thc-ipv6-add"..., 4096) = 4096
read(7, "not set\n# CONFIG_PACKAGE_wpad-ba"..., 4096) = 4096
read(7, "_wall is not set\n# end of Termin"..., 4096) = 4096
read(7, " not set\n# end of Font-Utils\n# e"..., 4096) = 43
read(7, "", 4096) = 0
lseek(7, 0, SEEK_SET) = 0
read(7, "#\n# Automatically generated file"..., 4096) = 4096
read(7, "IZE=\"\"\nCONFIG_GRUB_IMAGES=y\nCONF"..., 4096) = 4096
read(7, "ES=y\nCONFIG_KERNEL_POSIX_MQUEUE="..., 4096) = 4096
read(7, "y\n# CONFIG_TARGET_PREINIT_DISABL"..., 4096) = 4096
read(7, "INITIONS is not set\n# CONFIG_BUS"..., 4096) = 4096
read(7, "RE_TAR_AUTODETECT is not set\nCON"..., 4096) = 4096
read(7, "is not set\n# CONFIG_BUSYBOX_DEFA"..., 4096) = 4096
read(7, "FAULT_WHICH=y\n# CONFIG_BUSYBOX_D"..., 4096) = 4096
read(7, "DELAY=0\n# CONFIG_BUSYBOX_DEFAULT"..., 4096) = 4096
read(7, "_BUSYBOX_DEFAULT_FATATTR is not "..., 4096) = 4096
read(7, "FAULT_SETSID is not set\nCONFIG_B"..., 4096) = 4096
read(7, "# CONFIG_BUSYBOX_DEFAULT_FBSPLAS"..., 4096) = 4096
read(7, "not set\n# CONFIG_BUSYBOX_DEFAULT"..., 4096) = 4096
read(7, "_DEFAULT_PING=y\nCONFIG_BUSYBOX_D"..., 4096) = 4096
read(7, "MPSTAT is not set\n# CONFIG_BUSYB"..., 4096) = 4096
read(7, " set\n# CONFIG_BUSYBOX_DEFAULT_HU"..., 4096) = 4096
read(7, "ot set\nCONFIG_PACKAGE_openwrt-ke"..., 4096) = 4096
read(7, "ONFIG_PACKAGE_brcmfmac-firmware-"..., 4096) = 4096
read(7, "e is not set\n# CONFIG_PACKAGE_rt"..., 4096) = 4096
read(7, "-exportfs is not set\n# CONFIG_PA"..., 4096) = 4096
read(7, "IG_PACKAGE_kmod-iio-fxas21002c-s"..., 4096) = 4096
read(7, "# CONFIG_PACKAGE_kmod-ipt-extra "..., 4096) = 4096
read(7, "# CONFIG_PACKAGE_kmod-skge is no"..., 4096) = 4096
read(7, "pio-pca953x is not set\n# CONFIG_"..., 4096) = 4096
read(7, "_kmod-usb-printer is not set\n# C"..., 4096) = 4096
read(7, "\n# CONFIG_PACKAGE_kmod-ipw2100 i"..., 4096) = 4096
read(7, "cessing is not set\n# CONFIG_PACK"..., 4096) = 4096
read(7, "l is not set\n# CONFIG_PACKAGE_li"..., 4096) = 4096
read(7, " 3. Applications\n\n#\n# 4. Themes\n"..., 4096) = 4096
read(7, "\n#\n# CONFIG_PACKAGE_thc-ipv6-add"..., 4096) = 4096
read(7, "not set\n# CONFIG_PACKAGE_wpad-ba"..., 4096) = 4096
read(7, "_wall is not set\n# end of Termin"..., 4096) = 4096
read(7, " not set\n# end of Font-Utils\n# e"..., 4096) = 43
read(7, "", 4096) = 0
close(7) = 0
openat(6, "target", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, "key-build.ucert", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=356, ...}) = 0
read(7, "\0\0\1d\0\0\0\233untrusted comment: signe"..., 4096) = 356
lseek(7, 0, SEEK_SET) = 0
read(7, "\0\0\1d\0\0\0\233untrusted comment: signe"..., 4096) = 356
close(7) = 0
openat(6, "staging_dir", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, ".gitattributes", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
read(7, "* -text\n", 4096) = 8
read(7, "", 4096) = 0
lseek(7, 0, SEEK_SET) = 0
read(7, "* -text\n", 4096) = 8
read(7, "", 4096) = 0
close(7) = 0
openat(6, "scripts", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f017689a50, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, "private-key.pem", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=227, ...}) = 0
read(7, "-----BEGIN EC PRIVATE KEY-----\nM"..., 4096) = 227
read(7, "", 4096) = 0
lseek(7, 0, SEEK_SET) = 0
read(7, "-----BEGIN EC PRIVATE KEY-----\nM"..., 4096) = 227
close(7) = 0
openat(6, "key-build.pub", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=92, ...}) = 0
read(7, "untrusted comment: Local build k"..., 4096) = 92
read(7, "", 4096) = 0
lseek(7, 0, SEEK_SET) = 0
read(7, "untrusted comment: Local build k"..., 4096) = 92
read(7, "", 4096) = 0
close(7) = 0
openat(6, ".github", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, "README.md", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=3604, ...}) = 0
read(7, "![OpenWrt logo](include/logo.png"..., 4096) = 3604
read(7, "", 4096) = 0
lseek(7, 0, SEEK_SET) = 0
read(7, "![OpenWrt logo](include/logo.png"..., 4096) = 3604
read(7, "", 4096) = 0
close(7) = 0
openat(6, "bin", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, "Makefile", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=3831, ...}) = 0
read(7, "# SPDX-License-Identifier: GPL-2"..., 4096) = 3831
read(7, "", 4096) = 0
lseek(7, 0, SEEK_SET) = 0
read(7, "# SPDX-License-Identifier: GPL-2"..., 4096) = 3831
read(7, "", 4096) = 0
close(7) = 0
openat(6, "usr", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, "config", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, "feeds", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, ".config", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=135893, ...}) = 0
read(7, "#\n# Automatically generated file"..., 4096) = 4096
read(7, "IZE=\"\"\nCONFIG_GRUB_IMAGES=y\nCONF"..., 4096) = 4096
read(7, "ES=y\nCONFIG_KERNEL_POSIX_MQUEUE="..., 4096) = 4096
read(7, "y\n# CONFIG_TARGET_PREINIT_DISABL"..., 4096) = 4096
read(7, "INITIONS is not set\n# CONFIG_BUS"..., 4096) = 4096
read(7, "RE_TAR_AUTODETECT is not set\nCON"..., 4096) = 4096
read(7, "is not set\n# CONFIG_BUSYBOX_DEFA"..., 4096) = 4096
read(7, "FAULT_WHICH=y\n# CONFIG_BUSYBOX_D"..., 4096) = 4096
read(7, "DELAY=0\n# CONFIG_BUSYBOX_DEFAULT"..., 4096) = 4096
read(7, "_BUSYBOX_DEFAULT_FATATTR is not "..., 4096) = 4096
read(7, "FAULT_SETSID is not set\nCONFIG_B"..., 4096) = 4096
read(7, "# CONFIG_BUSYBOX_DEFAULT_FBSPLAS"..., 4096) = 4096
read(7, "not set\n# CONFIG_BUSYBOX_DEFAULT"..., 4096) = 4096
read(7, "_DEFAULT_PING=y\nCONFIG_BUSYBOX_D"..., 4096) = 4096
read(7, "MPSTAT is not set\n# CONFIG_BUSYB"..., 4096) = 4096
read(7, " set\n# CONFIG_BUSYBOX_DEFAULT_HU"..., 4096) = 4096
read(7, "ot set\nCONFIG_PACKAGE_openwrt-ke"..., 4096) = 4096
read(7, " CONFIG_PACKAGE_brcmfmac-firmwar"..., 4096) = 4096
read(7, "\n# CONFIG_PACKAGE_rtl8723au-firm"..., 4096) = 4096
read(7, "cramfs is not set\n# CONFIG_PACKA"..., 4096) = 4096
read(7, "od-iio-core is not set\n# CONFIG_"..., 4096) = 4096
read(7, "t\n# CONFIG_PACKAGE_kmod-ipt-conn"..., 4096) = 4096
read(7, " is not set\n# CONFIG_PACKAGE_kmo"..., 4096) = 4096
read(7, " not set\n# CONFIG_PACKAGE_kmod-g"..., 4096) = 4096
read(7, "sb-net-sr9700 is not set\n# CONFI"..., 4096) = 4096
read(7, "FIG_PACKAGE_kmod-hermes-pci is n"..., 4096) = 4096
read(7, "CKAGE_python3-logging is not set"..., 4096) = 4096
read(7, "_libiw is not set\nCONFIG_PACKAGE"..., 4096) = 4096
read(7, "\n#\n# 4. Themes\n#\nCONFIG_PACKAGE_"..., 4096) = 4096
read(7, "t set\n# CONFIG_PACKAGE_luci-i18n"..., 4096) = 4096
read(7, "_PACKAGE_basicstation-linuxpico "..., 4096) = 4096
read(7, "pd-common is not set\n# CONFIG_PA"..., 4096) = 4096
read(7, " is not set\n# CONFIG_PACKAGE_f2f"..., 4096) = 4096
read(7, "t\nCONFIG_STRACE_NONE=y\n# CONFIG_"..., 4096) = 725
read(7, "", 4096) = 0
lseek(7, 0, SEEK_SET) = 0
read(7, "#\n# Automatically generated file"..., 4096) = 4096
read(7, "IZE=\"\"\nCONFIG_GRUB_IMAGES=y\nCONF"..., 4096) = 4096
read(7, "ES=y\nCONFIG_KERNEL_POSIX_MQUEUE="..., 4096) = 4096
read(7, "y\n# CONFIG_TARGET_PREINIT_DISABL"..., 4096) = 4096
read(7, "INITIONS is not set\n# CONFIG_BUS"..., 4096) = 4096
read(7, "RE_TAR_AUTODETECT is not set\nCON"..., 4096) = 4096
read(7, "is not set\n# CONFIG_BUSYBOX_DEFA"..., 4096) = 4096
read(7, "FAULT_WHICH=y\n# CONFIG_BUSYBOX_D"..., 4096) = 4096
read(7, "DELAY=0\n# CONFIG_BUSYBOX_DEFAULT"..., 4096) = 4096
read(7, "_BUSYBOX_DEFAULT_FATATTR is not "..., 4096) = 4096
read(7, "FAULT_SETSID is not set\nCONFIG_B"..., 4096) = 4096
read(7, "# CONFIG_BUSYBOX_DEFAULT_FBSPLAS"..., 4096) = 4096
read(7, "not set\n# CONFIG_BUSYBOX_DEFAULT"..., 4096) = 4096
read(7, "_DEFAULT_PING=y\nCONFIG_BUSYBOX_D"..., 4096) = 4096
read(7, "MPSTAT is not set\n# CONFIG_BUSYB"..., 4096) = 4096
read(7, " set\n# CONFIG_BUSYBOX_DEFAULT_HU"..., 4096) = 4096
read(7, "ot set\nCONFIG_PACKAGE_openwrt-ke"..., 4096) = 4096
read(7, " CONFIG_PACKAGE_brcmfmac-firmwar"..., 4096) = 4096
read(7, "\n# CONFIG_PACKAGE_rtl8723au-firm"..., 4096) = 4096
read(7, "cramfs is not set\n# CONFIG_PACKA"..., 4096) = 4096
read(7, "od-iio-core is not set\n# CONFIG_"..., 4096) = 4096
read(7, "t\n# CONFIG_PACKAGE_kmod-ipt-conn"..., 4096) = 4096
read(7, " is not set\n# CONFIG_PACKAGE_kmo"..., 4096) = 4096
read(7, " not set\n# CONFIG_PACKAGE_kmod-g"..., 4096) = 4096
read(7, "sb-net-sr9700 is not set\n# CONFI"..., 4096) = 4096
read(7, "FIG_PACKAGE_kmod-hermes-pci is n"..., 4096) = 4096
read(7, "CKAGE_python3-logging is not set"..., 4096) = 4096
read(7, "_libiw is not set\nCONFIG_PACKAGE"..., 4096) = 4096
read(7, "\n#\n# 4. Themes\n#\nCONFIG_PACKAGE_"..., 4096) = 4096
read(7, "t set\n# CONFIG_PACKAGE_luci-i18n"..., 4096) = 4096
read(7, "_PACKAGE_basicstation-linuxpico "..., 4096) = 4096
read(7, "pd-common is not set\n# CONFIG_PA"..., 4096) = 4096
read(7, " is not set\n# CONFIG_PACKAGE_f2f"..., 4096) = 4096
read(7, "t\nCONFIG_STRACE_NONE=y\n# CONFIG_"..., 4096) = 725
read(7, "", 4096) = 0
close(7) = 0
openat(6, "apk", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, "BSDmakefile", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=106, ...}) = 0
read(7, "# SPDX-License-Identifier: GPL-2"..., 4096) = 106
read(7, "", 4096) = 0
lseek(7, 0, SEEK_SET) = 0
read(7, "# SPDX-License-Identifier: GPL-2"..., 4096) = 106
read(7, "", 4096) = 0
close(7) = 0
openat(6, "crypto-works", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=7484, ...}) = 0
read(7, "make -C /home/user/src/openwrt/o"..., 4096) = 4096
read(7, "ev-linux-1.12/Module.symvers.tmp"..., 4096) = 3388
read(7, "", 4096) = 0
lseek(7, 0, SEEK_SET) = 0
read(7, "make -C /home/user/src/openwrt/o"..., 4096) = 4096
read(7, "ev-linux-1.12/Module.symvers.tmp"..., 4096) = 3388
read(7, "", 4096) = 0
close(7) = 0
openat(6, ".gitignore", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=283, ...}) = 0
read(7, "*.o\napk/\n.DS_Store\n.*.swp\n/env\n/"..., 4096) = 283
read(7, "", 4096) = 0
lseek(7, 0, SEEK_SET) = 0
read(7, "*.o\napk/\n.DS_Store\n.*.swp\n/env\n/"..., 4096) = 283
read(7, "", 4096) = 0
close(7) = 0
openat(6, "etc", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, "feeds.conf", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=433, ...}) = 0
read(7, "src-git-full routing https://git"..., 4096) = 433
read(7, "", 4096) = 0
lseek(7, 0, SEEK_SET) = 0
read(7, "src-git-full routing https://git"..., 4096) = 433
read(7, "", 4096) = 0
close(7) = 0
openat(6, "key-build.ucert.revoke", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=260, ...}) = 0
read(7, "\0\0\1\4\0\0\0\233untrusted comment: signe"..., 4096) = 260
lseek(7, 0, SEEK_SET) = 0
read(7, "\0\0\1\4\0\0\0\233untrusted comment: signe"..., 4096) = 260
close(7) = 0
openat(6, "include", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, "feeds.conf.default", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=442, ...}) = 0
read(7, "src-git packages https://git.ope"..., 4096) = 442
read(7, "", 4096) = 0
lseek(7, 0, SEEK_SET) = 0
read(7, "src-git packages https://git.ope"..., 4096) = 442
read(7, "", 4096) = 0
close(7) = 0
openat(6, "package", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, "test.db", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=12184, ...}) = 0
read(7, "ADB.indx0/\0\0\0\0\0\0 /\0\340\rbnx2-firmwa"..., 4096) = 4096
lseek(7, 0, SEEK_SET) = 0
read(7, "ADB.indx0/\0\0\0\0\0\0 /\0\340\rbnx2-firmwa"..., 4096) = 4096
close(7) = 0
openat(6, "COPYING", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFREG|0644, st_size=284, ...}) = 0
read(7, "OpenWrt is provided under:\n\n\tSPD"..., 4096) = 284
read(7, "", 4096) = 0
lseek(7, 0, SEEK_SET) = 0
read(7, "OpenWrt is provided under:\n\n\tSPD"..., 4096) = 284
read(7, "", 4096) = 0
close(7) = 0
openat(6, "build_dir", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
openat(6, "LICENSES", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
lseek(7, 0, SEEK_SET) = 0
read(7, 0x55f01768b2c0, 4096) = -1 EISDIR (Is a directory)
close(7) = 0
getdents64(6, 0x55f01766fa40 /* 0 entries */, 32768) = 0
close(6) = 0
mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3444459000
openat(3, "etc/passwd", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(3, "etc/group", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
mkdirat(4, "etc", 0755) = -1 EEXIST (File exists)
utimensat(4, "etc", [{tv_sec=0, tv_nsec=0}, {tv_sec=0, tv_nsec=0}], 0) = 0
mkdirat(4, "etc///init.d", 0755) = -1 EEXIST (File exists)
utimensat(4, "etc///init.d", [{tv_sec=0, tv_nsec=0}, {tv_sec=0, tv_nsec=0}], 0) = 0
unlinkat(4, "etc///init.d/dropbear", 0) = 0
openat(4, "etc///init.d/dropbear", O_RDWR|O_CREAT|O_EXCL|O_TRUNC|O_CLOEXEC, 0755) = 6
write(6, "#!/bin/sh /etc/rc.common\n# Copyr"..., 5935) = 5935
close(6) = 0
utimensat(4, "etc///init.d/dropbear", [{tv_sec=1636598796, tv_nsec=0} /* 2021-11-10T16:46:36-1000 */, {tv_sec=1636598796, tv_nsec=0} /* 2021-11-10T16:46:36-1000 */], 0) = 0
mkdirat(4, "etc//config", 0755) = -1 EEXIST (File exists)
utimensat(4, "etc//config", [{tv_sec=0, tv_nsec=0}, {tv_sec=0, tv_nsec=0}], 0) = 0
unlinkat(4, "etc//config/dropbear", 0) = 0
openat(4, "etc//config/dropbear", O_RDWR|O_CREAT|O_EXCL|O_TRUNC|O_CLOEXEC, 0600) = 6
write(6, "config dropbear\n\toption Password"..., 134) = 134
close(6) = 0
utimensat(4, "etc//config/dropbear", [{tv_sec=1636598796, tv_nsec=0} /* 2021-11-10T16:46:36-1000 */, {tv_sec=1636598796, tv_nsec=0} /* 2021-11-10T16:46:36-1000 */], 0) = 0
mkdirat(4, "etc/dropbear", 0755) = -1 EEXIST (File exists)
utimensat(4, "etc/dropbear", [{tv_sec=0, tv_nsec=0}, {tv_sec=0, tv_nsec=0}], 0) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
+++ killed by SIGSEGV +++
Segmentation fault