source: MondoRescue/branches/stable/mindi-busybox/shell/README.job@ 1770

Last change on this file since 1770 was 1770, checked in by Bruno Cornec, 16 years ago
  • Better output for mindi-busybox revision
  • Remove dummy file created on NFS - report from Arnaud Tiger <arnaud.tiger_at_hp.com>
  • strace useful for debug
  • fix new versions for pb (2.0.0 for mindi and 1.7.2 for mindi-busybox)
  • fix build process for mindi-busybox + options used in that version (dd for label-partitions-as-necessary)
  • fix typo in label-partitions-as-necessary which doesn't seem to work
  • Update to busybox 1.7.2
  • perl is now required at restore time to support uuid swap partitions (and will be used for many other thigs

in the future for sure)

  • next mindi version will be 2.0.0 due to all the changes made in it (udev may break working distros)
  • small optimization in mindi on keyboard handling (one single find instead of multiple)
  • better interaction for USB device when launching mindi manually
  • attempt to automatically guess block disk size for ramdisk
  • fix typos in bkphw
  • Fix the remaining problem with UUID support for swap partitions
  • Updates mondoarchive man page for USB support
  • Adds preliminary Hardware support to mindi (Proliant SSSTK)
  • Tries to add udev support also for rhel4
  • Fix UUID support which was still broken.
  • Be conservative in test for the start-nfs script
  • Update config file for mindi-busybox for 1.7.2 migration
  • Try to run around a busybox bug (1.2.2 pb on inexistant links)
  • Add build content for mindi-busybox in pb
  • Remove distributions content for mindi-busybox
  • Fix a warning on inexistant raidtab
  • Solve problem on tmpfs in restore init (Problem of inexistant symlink and busybox)
  • Create MONDO_CACHE and use it everywhere + creation at start
  • Really never try to eject a USB device
  • Fix a issue with &> usage (replaced with 1> and 2>)
  • Adds magic file to depllist in order to have file working + ldd which helps for debugging issues
  • tty modes correct to avoid sh error messages
  • Use ext3 normally and not ext2 instead
  • USB device should be corrected after reading (take 1st part)
  • Adds a mount_USB_here function derived from mount_CDROM_here
  • usb detection place before /dev detection in device name at restore time
  • Fix when restoring from USB: media is asked in interactive mode
  • Adds USB support for mondorestore
  • mount_cdrom => mount_media
  • elilo.efi is now searched throughout /boot/efi and not in a fixed place as there is no standard
  • untar-and-softlink => untar (+ interface change)
  • suppress useless softlinks creation/removal in boot process
  • avoids udevd messages on groups
  • Increase # of disks to 99 as in mindi at restore time (should be a conf file parameter)
  • skip existing big file creation
  • seems to work correctly for USB mindi boot
  • Adds group and tty link to udev conf
  • Always load usb-torage (even 2.6) to initiate USB bus discovery
  • Better printing of messages
  • Attempt to fix a bug in supporting OpenSusE 10.3 kernel for initramfs (mindi may now use multiple regex for kernel initrd detection)
  • Links were not correctly done as non relative for modules in mindi
  • exclusion of modules denied now works
  • Also create modules in their ordinary place, so that classical modprobe works + copy modules.dep
  • Fix bugs for DENY_MODS handling
  • Add device /dev/console for udev
  • ide-generic should now really be excluded
  • Fix a bug in major number for tty
  • If udev then adds modprobe/insmod to rootfs
  • tty0 is also cretaed with udev
  • ide-generic put rather in DENY_MODS
  • udevd remove from deplist s handled in mindi directly
  • better default for mindi when using --usb
  • Handles dynamically linked busybox (in case we want to use it soon ;-)
  • Adds fixed devices to create for udev
  • ide-generic should not be part of the initrd when using libata v2
  • support a dynamically linked udev (case on Ubuntu 7.10 and Mandriva 2008.0 so should be quite generic) This will give incitation to move to dyn. linked binaries in the initrd which will help for other tasks (ia6 4)
  • Improvement in udev support (do not use cl options not available in busybox)
  • Udev in mindi
    • auto creation of the right links at boot time with udev-links.conf(from Mandriva 2008.0)
    • rework startup of udev as current makes kernel crash (from Mandriva 2008.0)
    • add support for 64 bits udev
  • Try to render MyInsmod silent at boot time
  • Adds udev support (mandatory for newest distributions to avoid remapping of devices in a different way as on the original system)
  • We also need vaft format support for USB boot
  • Adds libusual support (Ubuntu 7.10 needs it for USB)
  • Improve Ubuntu/Debian keyboard detection and support
  • pbinit adapted to new pb (0.8.10). Filtering of docs done in it
  • Suppress some mondo warnings and errors on USB again
  • Tries to fix lack of files in deb mindi package
  • Verify should now work for USB devices
  • More log/mesages improvement for USB support
  • - Supress g_erase_tmpdir_and_scratchdir
  • Improve some log messages for USB support
  • Try to improve install in mindi to avoid issues with isolinux.cfg not installed vene if in the pkg :-(
  • Improve mindi-busybox build
  • In conformity with pb 0.8.9
  • Add support for Ubuntu 7.10 in build process
  • Add USB Key button to Menu UI (CD streamer removed)
  • Attempt to fix error messages on tmp/scratch files at the end by removing those dir at the latest possible.
  • Fix a bug linked to the size of the -E param which could be used (Arnaud Tiger/René Ribaud).
  • Integrate ~/.pbrc content into mondorescue.pb (required project-builder >= 0.8.7)
  • Put mondorescue in conformity with new pb filtering rules
  • Add USB support at restore time (no test done yet). New start-usb script PB varibale added where useful
  • Unmounting USB device before removal of temporary scratchdir
  • Stil refining USB copy back to mondo (one command was not executed)
  • No need to have the image subdor in the csratchdir when USB.
  • umount the USB partition before attempting to use it
  • Remove useless copy from mindi to mondo at end of USB handling

(risky merge, we are raising the limits of 2 diverging branches. The status of stable is not completely sure as such. Will need lots of tests, but it's not yet done :-()
(merge -r1692:1769 $SVN_M/branches/2.2.5)

File size: 16.2 KB
RevLine 
[1765]1strace of "sleep 1 | sleep 2" being run from interactive bash 3.0
2
3
4Synopsis:
5open /dev/tty [, if fails, open ttyname(0)]; close /* helps re-establish ctty */
6get current signal mask
7TCGETS on fd# 0
8TCGETS on fd# 2 /* NB: if returns ENOTTY (2>/dev/null), sh seems to disable job control,
9 does not show prompt, but still executes cmds from fd# 0 */
10install default handlers for CHLD QUIT TERM
11install common handler for HUP INT ILL TRAP ABRT FPE BUS SEGV SYS PIPE ALRM TERM XCPU XFSZ VTALRM USR1 USR2
12ignore QUIT
13install handler for INT
14ignore TERM
15install handler for INT
16ignore TSTP TTOU TTIN
17install handler for WINCH
18get pid, ppid
19block all signals
20unblock all signals
21get our pprocess group
22 minidoc:
23 Each process group is a member of a session and each process is a member
24 of the session of which its process group is a member.
25 Process groups are used for distribution of signals, and by terminals
26 to arbitrate requests for their input: processes that have the same
27 process group as the terminal are foreground and may read, while others
28 will block with a signal if they attempt to read. These calls are thus used
29 by programs (shells) to create process groups in implementing job control.
30 The TIOCGPGRP and TIOCSPGRP calls described in termios(3) are used to get/set
31 the process group of the control terminal.
32 If a session has a controlling terminal, CLOCAL is not set and a hangup occurs,
33 then the session leader is sent a SIGHUP. If the session leader exits,
34 the SIGHUP signal will be sent to each process in the foreground process
35 group of the controlling terminal.
36 If the exit of the process causes a process group to become orphaned,
37 and if any member of the newly-orphaned process group is stopped, then a SIGHUP
38 signal followed by a SIGCONT signal will be sent to each process
39 in the newly-orphaned process group.
40...
41dup stderr to fd# 255
42move ourself to our own process group
43block CHLD TSTP TTIN TTOU
44set tty's (255, stderr's) foreground process group to our group
45allow all signals
46mark 255 CLOEXEC
47set CHLD handler
48get signal mask
49get fd#0 flags
50get signal mask
51set INT handler
52block CHLD TSTP TTIN TTOU
53set fd #255 foreground process group to our group
54allow all signals
55set INT handler
56block all signals
57allow all signals
58block INT
59allow all signals
60lotsa sigactions: set INT,ALRM,WINCH handlers, ignore TERM,QUIT,TSTP,TTOU,TTIN
61block all signals
62allow all signals
63block all signals
64allow all signals
65block all signals
66allow all signals
67read "sleep 1 | sleep 2\n"
68block INT
69TCSETSW on fd# 0
70allow all signals
71lotsa sigactions: set INT,ALRM,WINCH handlers, ignore TERM,QUIT,TSTP,TTOU,TTIN
72block CHLD
73pipe([4, 5]) /* oops seems I lost another pipe() in editing... */
74fork child #1
75put child in it's own process group
76block only CHLD
77close(5)
78block only INT CHLD
79fork child #2
80put child in the same process group as first one
81block only CHLD
82close(4)
83block only CHLD
84block only CHLD TSTP TTIN TTOU
85set fd# 255 foreground process group to first child's one
86block only CHLD
87block only CHLD
88block only CHLD
89/* note: because shell is not in foreground now, e.g. Ctrl-C will send INT to children only! */
90wait4 for children to die or stop - first child exits
91wait4 for children to die or stop - second child exits
92block CHLD TSTP TTIN TTOU
93set fd# 255 foreground process group to our own one
94block only CHLD
95block only CHLD
96block nothing
97--- SIGCHLD (Child exited) @ 0 (0) ---
98 wait for it - no child (already waited for)
99 sigreturn()
100read signal mask
101lotsa sigactions...
102read next command
103
104
105execve("/bin/sh", ["sh"], [/* 34 vars */]) = 0
106rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
107ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
108ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
109rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
110rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
111rt_sigaction(SIGTERM, {SIG_DFL}, {SIG_DFL}, 8) = 0
112rt_sigaction(SIGHUP, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
113rt_sigaction(SIGINT, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
114rt_sigaction(SIGILL, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
115rt_sigaction(SIGTRAP, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
116rt_sigaction(SIGABRT, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
117rt_sigaction(SIGFPE, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
118rt_sigaction(SIGBUS, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
119rt_sigaction(SIGSEGV, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
120rt_sigaction(SIGSYS, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
121rt_sigaction(SIGPIPE, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
122rt_sigaction(SIGALRM, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
123rt_sigaction(SIGTERM, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
124rt_sigaction(SIGXCPU, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
125rt_sigaction(SIGXFSZ, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
126rt_sigaction(SIGVTALRM, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
127rt_sigaction(SIGUSR1, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
128rt_sigaction(SIGUSR2, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
129rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
130rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
131rt_sigaction(SIGINT, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
132rt_sigaction(SIGTERM, {SIG_IGN}, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
133rt_sigaction(SIGINT, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
134rt_sigaction(SIGTSTP, {SIG_IGN}, {SIG_DFL}, 8) = 0
135rt_sigaction(SIGTTOU, {SIG_IGN}, {SIG_DFL}, 8) = 0
136rt_sigaction(SIGTTIN, {SIG_IGN}, {SIG_DFL}, 8) = 0
137rt_sigaction(SIGWINCH, {0x807dc33, [], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
138getpid() = 19473
139getppid() = 19472
140rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0
141rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
142getpgrp() = 1865
143dup(2) = 4
144fcntl64(255, F_GETFD) = -1 EBADF (Bad file descriptor)
145dup2(4, 255) = 255
146close(4) = 0
147ioctl(255, TIOCGPGRP, [1865]) = 0
148getpid() = 19473
149setpgid(0, 19473) = 0
150rt_sigprocmask(SIG_BLOCK, [CHLD TSTP TTIN TTOU], [], 8) = 0
151ioctl(255, TIOCSPGRP, [19473]) = 0
152rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
153fcntl64(255, F_SETFD, FD_CLOEXEC) = 0
154rt_sigaction(SIGCHLD, {0x807c922, [], SA_RESTORER, 0x6ff7a4f8}, {SIG_DFL}, 8) = 0
155rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
156fcntl64(0, F_GETFL) = 0x2 (flags O_RDWR)
157...
158rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
159rt_sigaction(SIGINT, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
160rt_sigprocmask(SIG_BLOCK, [CHLD TSTP TTIN TTOU], [], 8) = 0
161ioctl(255, TIOCSPGRP, [19473]) = 0
162rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
163rt_sigaction(SIGINT, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
164rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0
165rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
166rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
167rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
168rt_sigaction(SIGINT, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
169rt_sigaction(SIGTERM, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, {SIG_IGN}, 8) = 0
170rt_sigaction(SIGTERM, {SIG_IGN}, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
171rt_sigaction(SIGQUIT, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, {SIG_IGN}, 8) = 0
172rt_sigaction(SIGQUIT, {SIG_IGN}, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
173rt_sigaction(SIGALRM, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
174rt_sigaction(SIGTSTP, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, {SIG_IGN}, 8) = 0
175rt_sigaction(SIGTSTP, {SIG_IGN}, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
176rt_sigaction(SIGTTOU, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, {SIG_IGN}, 8) = 0
177rt_sigaction(SIGTTOU, {SIG_IGN}, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
178rt_sigaction(SIGTTIN, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, {SIG_IGN}, 8) = 0
179rt_sigaction(SIGTTIN, {SIG_IGN}, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
180rt_sigaction(SIGWINCH, {0x80ca5cd, [], SA_RESTORER|SA_RESTART, 0x6ff7a4f8}, {0x807dc33, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
181rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0
182rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
183rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0
184rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
185rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0
186rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
187write(2, "sh-3.00# ", 9) = 9
188rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
189read(0, "s", 1) = 1
190write(2, "s", 1) = 1
191rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
192read(0, "l", 1) = 1
193write(2, "l", 1) = 1
194rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
195... rest of "sleep 1 | sleep 2" entered...
196rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
197read(0, "2", 1) = 1
198write(2, "2", 1) = 1
199rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
200read(0, "\r", 1) = 1
201write(2, "\n", 1) = 1
202rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
203ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
204rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
205rt_sigaction(SIGINT, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
206rt_sigaction(SIGTERM, {SIG_IGN}, {SIG_IGN}, 8) = 0
207rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_IGN}, 8) = 0
208rt_sigaction(SIGALRM, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
209rt_sigaction(SIGTSTP, {SIG_IGN}, {SIG_IGN}, 8) = 0
210rt_sigaction(SIGTTOU, {SIG_IGN}, {SIG_IGN}, 8) = 0
211rt_sigaction(SIGTTIN, {SIG_IGN}, {SIG_IGN}, 8) = 0
212rt_sigaction(SIGWINCH, {0x807dc33, [], SA_RESTORER, 0x6ff7a4f8}, {0x80ca5cd, [], SA_RESTORER|SA_RESTART, 0x6ff7a4f8}, 8) = 0
213rt_sigaction(SIGINT, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
214rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
215pipe([4, 5]) = 0
216rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0
217fork() = 19755
218setpgid(19755, 19755) = 0
219rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
220close(5) = 0
221rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0
222fork() = 19756
223setpgid(19756, 19755) = 0
224rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
225close(4) = 0
226rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
227rt_sigprocmask(SIG_BLOCK, [CHLD TSTP TTIN TTOU], [CHLD], 8) = 0
228ioctl(255, TIOCSPGRP, [19755]) = 0
229rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
230rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
231rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
232wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WUNTRACED, NULL) = 19755
233wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WUNTRACED, NULL) = 19756
234rt_sigprocmask(SIG_BLOCK, [CHLD TSTP TTIN TTOU], [CHLD], 8) = 0
235ioctl(255, TIOCSPGRP, [19473]) = 0
236rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
237rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
238rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
239--- SIGCHLD (Child exited) @ 0 (0) ---
240wait4(-1, 0x77fc9c54, WNOHANG|WUNTRACED, NULL) = -1 ECHILD (No child processes)
241sigreturn() = ? (mask now [])
242rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
243rt_sigaction(SIGINT, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
244rt_sigprocmask(SIG_BLOCK, [CHLD TSTP TTIN TTOU], [], 8) = 0
245ioctl(255, TIOCSPGRP, [19473]) = 0
246rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
247rt_sigaction(SIGINT, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
248rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
249rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
250rt_sigaction(SIGINT, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
251rt_sigaction(SIGTERM, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, {SIG_IGN}, 8) = 0
252rt_sigaction(SIGTERM, {SIG_IGN}, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
253rt_sigaction(SIGQUIT, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, {SIG_IGN}, 8) = 0
254rt_sigaction(SIGQUIT, {SIG_IGN}, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
255rt_sigaction(SIGALRM, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, {0x808f752, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
256rt_sigaction(SIGTSTP, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, {SIG_IGN}, 8) = 0
257rt_sigaction(SIGTSTP, {SIG_IGN}, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
258rt_sigaction(SIGTTOU, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, {SIG_IGN}, 8) = 0
259rt_sigaction(SIGTTOU, {SIG_IGN}, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
260rt_sigaction(SIGTTIN, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, {SIG_IGN}, 8) = 0
261rt_sigaction(SIGTTIN, {SIG_IGN}, {0x80ca530, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
262rt_sigaction(SIGWINCH, {0x80ca5cd, [], SA_RESTORER|SA_RESTART, 0x6ff7a4f8}, {0x807dc33, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
263write(2, "sh-3.00# ", 9) = 9
264
265
266getpid() = 19755
267rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
268rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_IGN}, 8) = 0
269rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_IGN}, 8) = 0
270rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_IGN}, 8) = 0
271setpgid(19755, 19755) = 0
272rt_sigprocmask(SIG_BLOCK, [CHLD TSTP TTIN TTOU], [], 8) = 0
273ioctl(255, TIOCSPGRP, [19755]) = 0
274rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
275close(4) = 0
276dup2(5, 1) = 1
277close(5) = 0
278rt_sigaction(SIGINT, {SIG_DFL}, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
279rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0
280rt_sigaction(SIGTERM, {SIG_DFL}, {SIG_IGN}, 8) = 0
281rt_sigaction(SIGCHLD, {SIG_DFL}, {0x807c922, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
282execve("/bin/sleep", ["sleep", "1"], [/* 34 vars */]) = 0
283...
284_exit(0) = ?
285
286
287getpid() = 19756
288rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
289rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_IGN}, 8) = 0
290rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_IGN}, 8) = 0
291rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_IGN}, 8) = 0
292setpgid(19756, 19755) = 0
293rt_sigprocmask(SIG_BLOCK, [CHLD TSTP TTIN TTOU], [], 8) = 0
294ioctl(255, TIOCSPGRP, [19755]) = 0
295rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
296dup2(4, 0) = 0
297close(4) = 0
298rt_sigaction(SIGINT, {SIG_DFL}, {0x808f7d7, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
299rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0
300rt_sigaction(SIGTERM, {SIG_DFL}, {SIG_IGN}, 8) = 0
301rt_sigaction(SIGCHLD, {SIG_DFL}, {0x807c922, [], SA_RESTORER, 0x6ff7a4f8}, 8) = 0
302execve("/bin/sleep", ["sleep", "2"], [/* 34 vars */]) = 0
303...
304_exit(0) = ?
Note: See TracBrowser for help on using the repository browser.