Skip to content

Instantly share code, notes, and snippets.

View minux's full-sized avatar
💭
I will be extremely slow to respond.

Minux Ma minux

💭
I will be extremely slow to respond.
View GitHub Profile
@minux
minux / all.log
Created June 5, 2012 12:43
GOARM=5 ./all.bash rev 4f82ce08466d
# Building C bootstrap tool.
cmd/dist
# Building compilers and Go bootstrap tool for host, linux/arm.
lib9
libbio
libmach
misc/pprof
cmd/addr2line
cmd/cov
@minux
minux / gist:2860253
Created June 2, 2012 22:28
getuid bug
uid.go
package main
import "syscall"
func main() { println(syscall.Getuid()) }
result of calling strace -f ./uid
execve("./uid", ["./uid"], [/* 19 vars */]) = 0
rt_sigaction(SIGILL, {0x1d2cc, [RT_1], 0}, {SIG_DFL, [], 0}, 8) = 0