olmari@w541:~/sorsat/openwrt$ grep 2792031 stuga-ap.log [pid 2518107] execve("/home/olmari/sorsat/openwrt/staging_dir/host/bin/mkhash", ["/home/olmari/sorsat/openwrt/stag"..., "md5"], 0x5632792031d0 /* 88 vars */ [pid 2518105] execve("/home/olmari/sorsat/openwrt/staging_dir/host/bin/find", ["find", "/home/olmari/sorsat/openwrt/pack"..., "-type", "f", "-and", "-not", "-path", "*/.svn*", "-and", "-not", "-path", ".*", "-and", "-not", "-path", "*:*", "-and", "-not", "-path", "*\\!*", "-and", "-not", "-path", "* *", "-and", "-not", "-path", "*\\#*", "-and", "-not", "-path", "*/.*_check", ...], 0x5632792031d0 /* 88 vars */ [pid 2518106] execve("/usr/bin/sort", ["sort"], 0x5632792031d0 /* 88 vars */ [pid 2792030] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDstrace: Process 2792031 attached , child_tidptr=0x7f7dd98c1a10) = 2792031 [pid 2792031] getpid( [pid 2792031] <... getpid resumed>) = 2792031 [pid 2792031] rt_sigprocmask(SIG_SETMASK, [], [pid 2792031] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 2792031] rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f7dd98ffd60}, [pid 2792031] <... rt_sigaction resumed>{sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f7dd98ffd60}, 8) = 0 [pid 2792031] rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f7dd98ffd60}, [pid 2792031] <... rt_sigaction resumed>{sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f7dd98ffd60}, 8) = 0 [pid 2792031] rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f7dd98ffd60}, [pid 2792031] <... rt_sigaction resumed>{sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f7dd98ffd60}, 8) = 0 [pid 2792031] rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f7dd98ffd60}, [pid 2792031] <... rt_sigaction resumed>{sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f7dd98ffd60}, 8) = 0 [pid 2792031] rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f7dd98ffd60}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f7dd98ffd60}, 8) = 0 [pid 2792031] rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f7dd98ffd60}, {sa_handler=0x55db9faf19c0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f7dd98ffd60}, 8) = 0 [pid 2792031] rt_sigaction(SIGINT, {sa_handler=0x55db9fb10cd0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f7dd98ffd60}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f7dd98ffd60}, 8) = 0 [pid 2792031] rt_sigaction(SIGCHLD, {sa_handler=0x55db9faf19c0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f7dd98ffd60}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f7dd98ffd60}, 8) = 0 [pid 2792031] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 [pid 2792031] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 2792031] ioctl(2, TIOCGPGRP, 0x7ffea26cd654) = -1 ENOTTY (Inappropriate ioctl for device) [pid 2792031] stat("/home", {st_mode=S_IFDIR|0755, st_size=3, ...}) = 0 [pid 2792031] stat("/home/olmari", {st_mode=S_IFDIR|0755, st_size=53, ...}) = 0 [pid 2792031] stat("/home/olmari/sorsat", {st_mode=S_IFDIR|0755, st_size=8, ...}) = 0 [pid 2792031] stat("/home/olmari/sorsat/openwrt", {st_mode=S_IFDIR|0755, st_size=37, ...}) = 0 [pid 2792031] stat("/home/olmari/sorsat/openwrt/bin", {st_mode=S_IFDIR|0755, st_size=4, ...}) = 0 [pid 2792031] stat("/home/olmari/sorsat/openwrt/bin/targets", {st_mode=S_IFDIR|0755, st_size=4, ...}) = 0 [pid 2792031] stat("/home/olmari/sorsat/openwrt/bin/targets/mpc85xx", {st_mode=S_IFDIR|0755, st_size=3, ...}) = 0 [pid 2792031] stat("/home/olmari/sorsat/openwrt/bin/targets/mpc85xx/p1010", {st_mode=S_IFDIR|0755, st_size=11, ...}) = 0 [pid 2792031] chdir("/home/olmari/sorsat/openwrt/bin/targets/mpc85xx/p1010") = 0 [pid 2792031] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 [pid 2792031] pipe([3, 4]) = 0 [pid 2792031] rt_sigprocmask(SIG_BLOCK, NULL, [CHLD], 8) = 0 [pid 2792031] rt_sigprocmask(SIG_BLOCK, [INT TERM CHLD], [CHLD], 8) = 0 [pid 2792031] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDstrace: Process 2792032 attached [pid 2792031] rt_sigprocmask(SIG_SETMASK, [CHLD], [pid 2792031] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 2792031] close(4 [pid 2792031] <... close resumed>) = 0 [pid 2792031] close(4 [pid 2792031] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 2792031] pipe( [pid 2792031] <... pipe resumed>[4, 5]) = 0 [pid 2792031] rt_sigprocmask(SIG_BLOCK, NULL, [CHLD], 8) = 0 [pid 2792031] rt_sigprocmask(SIG_BLOCK, [INT TERM CHLD], [pid 2792031] <... rt_sigprocmask resumed>[CHLD], 8) = 0 [pid 2792031] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 2792031] <... clone resumed>, child_tidptr=0x7f7dd98c1a10) = 2792033 [pid 2792031] rt_sigprocmask(SIG_SETMASK, [CHLD], [pid 2792031] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 2792031] close(3 [pid 2792031] <... close resumed>) = 0 [pid 2792031] close(5 [pid 2792031] <... close resumed>) = 0 [pid 2792031] close(3 [pid 2792031] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 2792031] close(5 [pid 2792031] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 2792031] pipe( [pid 2792031] <... pipe resumed>[3, 5]) = 0 [pid 2792031] rt_sigprocmask(SIG_BLOCK, NULL, [pid 2792031] <... rt_sigprocmask resumed>[CHLD], 8) = 0 [pid 2792031] rt_sigprocmask(SIG_BLOCK, [INT TERM CHLD], [pid 2792031] <... rt_sigprocmask resumed>[CHLD], 8) = 0 [pid 2792031] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 2792031] <... clone resumed>, child_tidptr=0x7f7dd98c1a10) = 2792034 [pid 2792031] rt_sigprocmask(SIG_SETMASK, [CHLD], [pid 2792031] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 2792031] close(4 [pid 2792031] <... close resumed>) = 0 [pid 2792031] close(5 [pid 2792031] <... close resumed>) = 0 [pid 2792031] close(4 [pid 2792031] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 2792031] close(5 [pid 2792031] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 2792031] rt_sigprocmask(SIG_BLOCK, NULL, [pid 2792031] <... rt_sigprocmask resumed>[CHLD], 8) = 0 [pid 2792031] rt_sigprocmask(SIG_BLOCK, [INT TERM CHLD], [pid 2792031] <... rt_sigprocmask resumed>[CHLD], 8) = 0 [pid 2792031] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 2792031] <... clone resumed>, child_tidptr=0x7f7dd98c1a10) = 2792035 [pid 2792031] rt_sigprocmask(SIG_SETMASK, [CHLD], [pid 2792031] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 2792031] close(3 [pid 2792031] <... close resumed>) = 0 [pid 2792031] rt_sigprocmask(SIG_BLOCK, [CHLD], [pid 2792031] <... rt_sigprocmask resumed>[CHLD], 8) = 0 [pid 2792031] rt_sigprocmask(SIG_SETMASK, [CHLD], [pid 2792031] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 2792031] rt_sigprocmask(SIG_BLOCK, [CHLD], [pid 2792031] <... rt_sigprocmask resumed>[CHLD], 8) = 0 [pid 2792031] rt_sigaction(SIGINT, {sa_handler=0x55db9faeed30, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f7dd98ffd60}, [pid 2792031] <... rt_sigaction resumed>{sa_handler=0x55db9fb10cd0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f7dd98ffd60}, 8) = 0 [pid 2792031] wait4(-1, [pid 2792031] <... wait4 resumed>[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 2792032 [pid 2792031] wait4(-1, [pid 2792031] <... wait4 resumed>[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 2792033 [pid 2792031] wait4(-1, [pid 2792031] <... wait4 resumed>[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 2792034 [pid 2792031] wait4(-1, [pid 2792031] <... wait4 resumed>[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 2792035 [pid 2792031] rt_sigaction(SIGINT, {sa_handler=0x55db9fb10cd0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f7dd98ffd60}, {sa_handler=0x55db9faeed30, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f7dd98ffd60}, 8) = 0 [pid 2792031] rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 [pid 2792031] close(3) = -1 EBADF (Bad file descriptor) [pid 2792031] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 2792031] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2792032, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- [pid 2792031] wait4(-1, 0x7ffea26ccb90, WNOHANG, NULL) = -1 ECHILD (No child processes) [pid 2792031] rt_sigreturn({mask=[]}) = 0 [pid 2792031] exit_group(0) = ? [pid 2792031] +++ exited with 0 +++ [pid 2792030] <... wait4 resumed>[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 2792031 [pid 2792030] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2792031, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---