Skip to content

Instantly share code, notes, and snippets.

@travankor
travankor / strace2.log
Created August 21, 2018 21:45
glibc built with xbps-src
execve("/usr/bin/ly", ["ly"], 0x7ffe5424ea20 /* 18 vars */) = 0
brk(NULL) = 0x55c5b8318000
access("/etc/ld.so.preload", R_OK) = 0
openat(AT_FDCWD, "/etc/ld.so.preload", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
close(3) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=112886, ...}) = 0
mmap(NULL, 112886, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd5391f6000
close(3) = 0
@travankor
travankor / strace.log
Created August 21, 2018 21:43
glibc built with make
execve("build/ly", ["build/ly"], 0x7ffce75f5980 /* 18 vars */) = 0
brk(NULL) = 0x55c472e83000
access("/etc/ld.so.preload", R_OK) = 0
openat(AT_FDCWD, "/etc/ld.so.preload", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
close(3) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=112886, ...}) = 0
mmap(NULL, 112886, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f10e9019000
close(3) = 0
execve("/usr/bin/ly", ["ly"], 0x7ffcfa8679a0 /* 17 vars */) = 0
arch_prctl(ARCH_SET_FS, 0x7fbb172e4b48) = 0
set_tid_address(0x7fbb172e4b80) = 4069
open("/etc/ld-musl-x86_64.path", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libformw.so.6", O_RDONLY|O_CLOEXEC) = 3
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fstat(3, {st_mode=S_IFREG|0755, st_size=72760, ...}) = 0
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0207\0\0\0\0\0\0"..., 960) = 960
mmap(NULL, 2170880, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x7fbb16e27000
mmap(0x7fbb17037000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x10000) = 0x7fbb17037000
>>> No arch specified. using 'x86_64'.
>>> Preparing '/home/travankor/Downloads/better-initramfs-0.9.2/bootstrap/build_dir' ...
>>> Build dir exist, cleaning ...
>>> Unpacking 'aboriginal-1.2.0-x86_64_with_ftw+nftw.tar.bz2' ...
>>> Building busybox (1 of 16) ...
>>> Extracting 'busybox-1.21.1.tar.bz2' ...
>>> Applying busybox_config.patch ...
/bin/sh: line 1: /dev/null: Permission denied
/bin/sh: line 1: /dev/null: Permission denied
/bin/sh: line 1: /dev/null: Permission denied