I'm back on openwrt r18617 (kernel 2.6.30.9 and yes, I know, old, but if it 
ain't broke...) but I have noticed on all previous kernels too, that strace 
doesn't follow child processes, even with "-f" specified.

i.e.:

fcntl(5, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(5, {sa_family=AF_FILE, path="/dev/log"...}, 16) = 0
time([0])                               = 1286540362
open("/etc/TZ", O_RDONLY)               = 6
read(6, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 68) = 23
read(6, ""..., 45)                      = 0
close(6)                                = 0
getpid()                                = 1232
write(5, 
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 53) = 
53
rt_sigaction(SIGPIPE, {SIG_DFL, ~[HUP INT QUIT EMT FPE SYS PIPE URG STOP CONT 
TTOU PROF XFSZ RT_0 RT_1 RT_2 RT_3 RT_4 RT_5 RT_6 RT_7 RT_8 RT_9 RT_10 RT_11 
RT_12 RT_13 RT_14 RT_15 RT_16 RT_17 RT_18 RT_19 RT_20 RT_21 RT_22 RT_23 RT_24 
RT_25 RT_26 RT_27 RT_28 RT_29 RT_30 RT_31 RT_32 RT_33 RT_34 RT_35 RT_39 RT_40 
RT_44 RT_45 RT_53 RT_55 RT_57 RT_59 RT_61 RT_63 RT_64 RT_65 RT_66 RT_67 RT_68 
RT_69 RT_70 RT_71 RT_72 RT_73 RT_74 RT_75 RT_76 RT_77 RT_78 RT_79 RT_80 RT_81 
RT_82 RT_83 RT_84 RT_85 RT_86 RT_87 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94], 
0}, NULL, 16) = 0
stat("/etc/lsm/script", {st_mode=0, st_size=2145856280, ...}) = 0
fork(Process 1267 attached
)                                  = 1267
[pid  1232] wait4(-1, Process 1232 suspended

and that's it.  Nothing from process 1267.

Is this known and/or fixed in more recent releases?

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to