~vorlon/ubuntu/raring/upstart/lp.1199778

« back to all changes in this revision

Viewing changes to TODO

  • Committer: Scott James Remnant
  • Date: 2006-08-27 17:27:19 UTC
  • Revision ID: scott@netsplit.com-20060827172719-38a2c79d602bdce9
* init/main.c (main): Check that we're both uid and process #1

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 * Make sure processes don't respawn out of control.
15
15
 
16
16
 
17
 
 * sysvinit calls openlog every single time and blocks signals
18
 
 
19
17
 * SIGCONT, SIGTSTP
20
18
   - loops until SIGCONT is received
21
19
 
22
 
 * SIGSEGV
23
 
   - forks and dumps core in / with a full mask, takes segv out of the mask,
24
 
     sleeps and exits; parent sleeps and carries on (could just waitpid)
25
 
 
26
 
 * SIGINT:
27
 
   - ctrl-alt-delete
28
 
   - done by init_reboot(BMAGIC_SOFT) which is a wrap around the reboot
29
 
     syscall
30
 
 
31
 
 * SIGWINCH:
32
 
   - keyboard reques
33
 
   - done by ioctl(KDSIGACCEPT, SIGWINCH) on /dev/console (or tty master?)
34
 
 
35
20
 * re-exec: fork, exec in parent, child sends the state; we'll just want the
36
21
   job states as the child will have parsed the configuration
37
22
 
38
 
 * writes to utmp and wtmp on boot (but that's not writable for us)
39
 
 
40
 
 * get rid of the TERM signal handler
41
 
 
42
23
 * shutdown, halt, reboot, poweroff, telinit
43
24
 
44
 
 * fail if uid is not zero
45
 
 
46
 
 * exec telinit if pid is not one
47
 
 
48
25
 * sulogin
49
26
 
50
27
 * list jobs