# strace -r nvram get wan0_enable
0.000000 execve("/bin/nvram", ["nvram", "get", "wan0_enable"], 0x7ff58279a8 /* 18 vars */ <unfinished ...>
0.000618 [ Process PID=1356 runs in 32 bit mode. ]
strace: WARNING: Proper structure decoding for this personality is not supported, please consider building strace with mpers support enabled.
0.000041 <... execve resumed>) = 0
0.000064 brk(NULL) = 0x76d000
0.000056 uname({sysname="Linux", nodename="router", ...}) = 0
0.000093 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7649000
0.000059 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
0.000128 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
0.000068 fstat64(3, 0xffae1600) = 0
0.000050 mmap2(NULL, 10528, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf7646000
0.000041 close(3) = 0
0.000051 open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
0.000048 read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0xm\1\0004\0\0\0"..., 512) = 512
0.000051 fstat64(3, 0xffae1640) = 0
0.000041 mmap2(NULL, 1299824, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf74dd000
0.000047 mprotect(0xf7605000, 65536, PROT_NONE) = 0
0.000055 mmap2(0xf7615000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x128000) = 0xf7615000
0.000062 mmap2(0xf7618000, 9584, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf7618000
0.000060 close(3) = 0
0.000055 open("/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
0.000049 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\254\317\0\0004\0\0\0"..., 512) = 512
0.000048 fstat64(3, 0xffae1628) = 0
0.000038 mmap2(NULL, 182372, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf74b0000
0.000044 mprotect(0xf74cd000, 61440, PROT_NONE) = 0
0.000047 mmap2(0xf74dc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c000) = 0xf74dc000
0.000060 close(3) = 0
0.000049 open("/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
0.000047 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0(\t\0\0004\0\0\0"..., 512) = 512
0.000047 fstat64(3, 0xffae1610) = 0
0.000038 mmap2(NULL, 73912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf749d000
0.000044 mprotect(0xf749f000, 61440, PROT_NONE) = 0
0.000047 mmap2(0xf74ae000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xf74ae000
0.000069 close(3) = 0
0.000043 open("/lib/libnvram.so", O_RDONLY|O_CLOEXEC) = 3
0.000047 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\08\t\0\0004\0\0\0"..., 512) = 512
0.000047 fstat64(3, 0xffae15f8) = 0
0.000037 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7645000
0.000046 mmap2(NULL, 69528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf748c000
0.000045 mprotect(0xf748d000, 61440, PROT_NONE) = 0
0.000046 mmap2(0xf749c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0xf749c000
0.000056 close(3) = 0
0.000042 open("/usr/lib/libshared.so", O_RDONLY|O_CLOEXEC) = 3
0.000049 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\214X\1\0004\0\0\0"..., 512) = 512
0.000046 fstat64(3, 0xffae15e0) = 0
0.000038 mmap2(NULL, 646528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf73ee000
0.000044 mprotect(0xf745b000, 65536, PROT_NONE) = 0
0.000045 mmap2(0xf746b000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6d000) = 0xf746b000
0.000060 mmap2(0xf7476000, 89472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf7476000
0.000061 close(3) = 0
0.000051 open("/lib/libwlcsm.so", O_RDONLY|O_CLOEXEC) = 3
0.000049 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\200\34\0\0004\0\0\0"..., 512) = 512
0.000047 fstat64(3, 0xffae15c8) = 0
0.000038 mmap2(NULL, 90092, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf73d8000
0.000045 mprotect(0xf73dd000, 61440, PROT_NONE) = 0
0.000047 mmap2(0xf73ec000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0xf73ec000
0.000068 close(3) = 0
0.000053 open("/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
0.000049 read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\\I\0\0004\0\0\0"..., 512) = 512
0.000048 fstat64(3, 0xffae1400) = 0
0.000038 mmap2(NULL, 164436, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf73af000
0.000044 mprotect(0xf73c4000, 65536, PROT_NONE) = 0
0.000054 mmap2(0xf73d4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0xf73d4000
0.000061 mmap2(0xf73d6000, 4692, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf73d6000
0.000056 close(3) = 0
0.000075 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7644000
0.000052 set_tls(0xf7644780) = 0
0.000194 mprotect(0xf7615000, 8192, PROT_READ) = 0
0.000087 mprotect(0xf73d4000, 4096, PROT_READ) = 0
0.000377 mprotect(0xf74ae000, 4096, PROT_READ) = 0
0.000091 mprotect(0xf764a000, 4096, PROT_READ) = 0
0.000050 munmap(0xf7646000, 10528) = 0
0.000052 set_tid_address(0xf7644328) = 1356
0.000035 set_robust_list(0xf7644330, 12) = 0
0.000049 rt_sigaction(SIGRTMIN, {sa_handler=0xf73b3278, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0xf7509b10}, NULL, 8) = 0
0.000063 rt_sigaction(SIGRT_1, {sa_handler=0xf73b335c, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0xf7509b10}, NULL, 8) = 0
0.000063 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
0.000057 ugetrlimit(RLIMIT_STACK, {rlim_cur=2048*1024, rlim_max=RLIM_INFINITY}) = 0
0.000180 mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf738e000
0.000086 stat64("/jffs", 0xffae1950) = 0
0.000057 stat64("/jffs/nvram_war", 0xffae1950) = 0
0.000093 socket(AF_NETLINK, SOCK_RAW, 0x1f /* NETLINK_??? */) = 3
0.000076 bind(3, {sa_family=AF_NETLINK, nl_pid=1356, nl_groups=00000000}, 12) = 0
0.000065 brk(NULL) = 0x76d000
0.000035 brk(0x78e000) = 0x78e000
0.000050 open("/proc/sys/kernel/pid_max", O_RDONLY) = 4
0.000070 fstat64(4, 0xffae1858) = 0
0.000037 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7648000
0.000042 read(4, "32768\n", 1024) = 6
0.000085 close(4) = 0
0.000040 munmap(0xf7648000, 4096) = 0
0.000047 socket(AF_NETLINK, SOCK_RAW, 0x1f /* NETLINK_??? */) = 4
0.000044 bind(4, {sa_family=AF_NETLINK, nl_pid=34126, nl_groups=00000000}, 12) = 0
0.000052 sendmsg(3, {msg_name=0xcffae19e0, msg_namelen=-5367336, msg_iov=NULL, msg_iovlen=0, msg_control=0xf73ecd74ffae2e04, msg_controllen=4148091588, msg_flags=MSG_DONTROUTE|MSG_CTRUNC|MSG_TRUNC|MSG_WAITALL|MSG_SYN|MSG_CONFIRM|MSG_RST|MSG_SENDPAGE_NOTLAST|MSG_BATCH|MSG_NO_SHARED_FRAGS|MSG_ZEROCOPY|MSG_FASTOPEN|MSG_CMSG_CLOEXEC|MSG_CMSG_COMPAT|0x1ba00000}, 0) = 36
0.000138 recvmsg(3, {msg_name=0xcffae19e0, msg_namelen=-5367336, msg_iov=NULL, msg_iovlen=0, msg_control=0xffae2e0400000000, msg_controllen=17815917715420794228, msg_flags=0}, 0) = 48
0.000272 fstat64(1, 0xffae1980) = 0
0.000040 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7648000
0.000047 write(1, "1\n", 21
) = 2
0.000046 munmap(0xf738e000, 135168) = 0
0.000073 exit_group(0) = ?
0.000224 +++ exited with 0 +++