Skip to content

Instantly share code, notes, and snippets.

20645 /usr/bin/mksh
20645 /usr/bin/mksh
extrace: out of order message on cpu 2
extrace: out of order message on cpu 3
extrace: out of order message on cpu 0
extrace: out of order message on cpu 1
extrace: out of order message on cpu 3
extrace: out of order message on cpu 2
extrace: out of order message on cpu 1
extrace: out of order message on cpu 0
strace: Process 20298 attached
recvfrom(3, 0x7eb28314, 1024, 0, 0x7eb28308, [12]) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL} ---
sigreturn({mask=[]}) = 3
recvfrom(3,
tmp@pi$ cat >test.sh
echo hi
tmp@pi$ chmod +x te
term.p9 test.sh
tmp@pi$ chmod +x test.sh
tmp@pi$ cat >test.c
#include <unistd.h>
int
main(){
return execve("test.sh",0,0);
pkg=pkg-sysdig; ./xbps-src -t -N -H /hostdir -m ../chroot pkg ${pkg#pkg-}
=> Reconfiguring bootstrap packages...
ca-certificates: configuring ...
ca-certificates: configured successfully.
=> ERROR: sysdig: this package cannot be built for x86_64-musl.
make: *** [/tmp/GmHdyCLw:18: pkg-sysdig] Error 2
pkg=pkg-gnome-multi-writer; ./xbps-src -t -N -H /hostdir -m ../chroot pkg ${pkg#pkg-}
=> ERROR: gnome-multi-writer-3.26.0_1: cannot be built, it's currently broken; see the build log:
=> ERROR: gnome-multi-writer-3.26.0_1: yes
make: *** [/tmp/GmHdyCLw:18: pkg-gnome-multi-writer] Error 2
@Duncaen
Duncaen / homeduncaninstall.log
Created April 13, 2017 21:43
/home/duncan/install.log
This file has been truncated, but you can view the full file.
5925 execve("/usr/bin/flatpak", ["flatpak", "install", "-v", "--from", "https://git.gnome.org/browse/gno"...], [/* 7 vars */]) = 0
5925 brk(NULL) = 0x564d6861a000
5925 access("/etc/ld.so.preload", R_OK) = 0
5925 open("/etc/ld.so.preload", O_RDONLY|O_CLOEXEC) = 3
5925 fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
5925 close(3) = 0
5925 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
5925 fstat(3, {st_mode=S_IFREG|0644, st_size=94930, ...}) = 0
5925 mmap(NULL, 94930, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ffb4b44c000
5925 close(3) = 0

Keybase proof

I hereby claim:

  • I am duncaen on github.
  • I am duncaen (https://keybase.io/duncaen) on keybase.
  • I have a public key ASCHw9mFYtp7u02BenExntsr6pjhP-dEFIZxS8dsM0ANcwo

To claim this, I am signing this object:

@Duncaen
Duncaen / sync.c
Created November 21, 2016 21:01
sync.c
#define _POSIX_C_SOURCE 200809L
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <xbps.h>
#include <unistd.h>
#include <errno.h>
#include <assert.h>
#include <ctype.h>
#include <sys/time.h>
32K ./usr.bin/lndir/o.lndir
156K ./usr.bin/grep/o.grep
44K ./usr.bin/printf/o.printf
24K ./usr.bin/printenv/o.printenv
28K ./usr.bin/nohup/o.nohup
28K ./usr.bin/readlink/o.readlink
32K ./usr.bin/what/o.what
36K ./usr.bin/tr/o.tr
40K ./usr.bin/which/o.which
28K ./usr.bin/uname/o.uname
@Duncaen
Duncaen / stdin
Created October 29, 2016 17:40
stdin
140K ./usr.bin/sed/o.sed
44.0K ./usr.bin/cmp/o.cmp
56.0K ./usr.bin/cut/o.cut
208K ./usr.bin/grep/o.grep
44.0K ./usr.bin/nice/o.nice
64.0K ./usr.bin/cal/o.cal
44.0K ./usr.bin/paste/o.paste
120K ./usr.bin/nl/o.nl
44.0K ./usr.bin/head/o.head
36.0K ./usr.bin/logname/o.logname
@Duncaen
Duncaen / stdin
Created October 28, 2016 15:23
stdin
208K ./usr.bin/grep/o.grep
64.0K ./usr.bin/du/o.du
40.0K ./usr.bin/uname/o.uname
48.0K ./bin/cat/o.cat
104K ./bin/ls/o.ls
72.0K ./bin/df/o.df
72.0K ./bin/date/o.date
32.0K ./bin/domainname/o.domainname
32.0K ./bin/echo/o.echo
72.0K ./bin/cp/o.cp