~ubuntu-branches/ubuntu/quantal/sudo/quantal

« back to all changes in this revision

Viewing changes to mksiglist.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2011-11-20 12:07:45 UTC
  • mfrom: (1.3.17 sid)
  • Revision ID: package-import@ubuntu.com-20111120120745-o3qpklobmygytndc
Tags: 1.8.3p1-1ubuntu1
* Merge from debian/testing, remaining changes:
  - debian/patches/keep_home_by_default.patch:
    + Set HOME in initial_keepenv_table. (rebased for 1.8.3p1)
  - debian/patches/enable_badpass.patch: turn on "mail_badpass" by default:
    + attempting sudo without knowing a login password is as bad as not
      being listed in the sudoers file, especially if getting the password
      wrong means doing the access-check-email-notification never happens
      (rebased for 1.8.3p1)
  - debian/rules:
    + compile with --without-lecture --with-tty-tickets (Ubuntu specific)
    + install man/man8/sudo_root.8 (Ubuntu specific)
    + install apport hooks
    + The ubuntu-sudo-as-admin-successful.patch was taken upstream by
      Debian however it requires a --enable-admin-flag configure flag to
      actually enable it.
  - debian/sudoers: 
    + grant admin group sudo access
  - debian/sudo-ldap.dirs, debian/sudo.dirs: 
    + add usr/share/apport/package-hooks
  - debian/sudo.preinst:
    + avoid conffile prompt by checking for known default /etc/sudoers
      and if found installing the correct default /etc/sudoers file

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* public domain */
2
 
 
3
 
#ifdef SIGHUP
4
 
    if (my_sys_siglist[SIGHUP] == NULL)
5
 
        my_sys_siglist[SIGHUP] = "Hangup";
6
 
#endif
7
 
#ifdef SIGINT
8
 
    if (my_sys_siglist[SIGINT] == NULL)
9
 
        my_sys_siglist[SIGINT] = "Interrupt";
10
 
#endif
11
 
#ifdef SIGQUIT
12
 
    if (my_sys_siglist[SIGQUIT] == NULL)
13
 
        my_sys_siglist[SIGQUIT] = "Quit";
14
 
#endif
15
 
#ifdef SIGILL
16
 
    if (my_sys_siglist[SIGILL] == NULL)
17
 
        my_sys_siglist[SIGILL] = "Illegal instruction";
18
 
#endif
19
 
#ifdef SIGTRAP
20
 
    if (my_sys_siglist[SIGTRAP] == NULL)
21
 
        my_sys_siglist[SIGTRAP] = "Trace trap";
22
 
#endif
23
 
#ifdef SIGABRT
24
 
    if (my_sys_siglist[SIGABRT] == NULL)
25
 
        my_sys_siglist[SIGABRT] = "Abort";
26
 
#endif
27
 
#ifdef SIGIOT
28
 
    if (my_sys_siglist[SIGIOT] == NULL)
29
 
        my_sys_siglist[SIGIOT] = "IOT instruction";
30
 
#endif
31
 
#ifdef SIGEMT
32
 
    if (my_sys_siglist[SIGEMT] == NULL)
33
 
        my_sys_siglist[SIGEMT] = "EMT trap";
34
 
#endif
35
 
#ifdef SIGFPE
36
 
    if (my_sys_siglist[SIGFPE] == NULL)
37
 
        my_sys_siglist[SIGFPE] = "Floating point exception";
38
 
#endif
39
 
#ifdef SIGKILL
40
 
    if (my_sys_siglist[SIGKILL] == NULL)
41
 
        my_sys_siglist[SIGKILL] = "Killed";
42
 
#endif
43
 
#ifdef SIGUNUSED
44
 
    if (my_sys_siglist[SIGUNUSED] == NULL)
45
 
        my_sys_siglist[SIGUNUSED] = "Unused";
46
 
#endif
47
 
#ifdef SIGBUS
48
 
    if (my_sys_siglist[SIGBUS] == NULL)
49
 
        my_sys_siglist[SIGBUS] = "Bus error";
50
 
#endif
51
 
#ifdef SIGSEGV
52
 
    if (my_sys_siglist[SIGSEGV] == NULL)
53
 
        my_sys_siglist[SIGSEGV] = "Memory fault";
54
 
#endif
55
 
#ifdef SIGSYS
56
 
    if (my_sys_siglist[SIGSYS] == NULL)
57
 
        my_sys_siglist[SIGSYS] = "Bad system call";
58
 
#endif
59
 
#ifdef SIGPIPE
60
 
    if (my_sys_siglist[SIGPIPE] == NULL)
61
 
        my_sys_siglist[SIGPIPE] = "Broken pipe";
62
 
#endif
63
 
#ifdef SIGALRM
64
 
    if (my_sys_siglist[SIGALRM] == NULL)
65
 
        my_sys_siglist[SIGALRM] = "Alarm clock";
66
 
#endif
67
 
#ifdef SIGTERM
68
 
    if (my_sys_siglist[SIGTERM] == NULL)
69
 
        my_sys_siglist[SIGTERM] = "Terminated";
70
 
#endif
71
 
#ifdef SIGSTKFLT
72
 
    if (my_sys_siglist[SIGSTKFLT] == NULL)
73
 
        my_sys_siglist[SIGSTKFLT] = "Stack fault";
74
 
#endif
75
 
#ifdef SIGIO
76
 
    if (my_sys_siglist[SIGIO] == NULL)
77
 
        my_sys_siglist[SIGIO] = "I/O possible";
78
 
#endif
79
 
#ifdef SIGXCPU
80
 
    if (my_sys_siglist[SIGXCPU] == NULL)
81
 
        my_sys_siglist[SIGXCPU] = "CPU time limit exceeded";
82
 
#endif
83
 
#ifdef SIGXFSZ
84
 
    if (my_sys_siglist[SIGXFSZ] == NULL)
85
 
        my_sys_siglist[SIGXFSZ] = "File size limit exceeded";
86
 
#endif
87
 
#ifdef SIGVTALRM
88
 
    if (my_sys_siglist[SIGVTALRM] == NULL)
89
 
        my_sys_siglist[SIGVTALRM] = "Virtual timer expired";
90
 
#endif
91
 
#ifdef SIGPROF
92
 
    if (my_sys_siglist[SIGPROF] == NULL)
93
 
        my_sys_siglist[SIGPROF] = "Profiling timer expired";
94
 
#endif
95
 
#ifdef SIGWINCH
96
 
    if (my_sys_siglist[SIGWINCH] == NULL)
97
 
        my_sys_siglist[SIGWINCH] = "Window size change";
98
 
#endif
99
 
#ifdef SIGLOST
100
 
    if (my_sys_siglist[SIGLOST] == NULL)
101
 
        my_sys_siglist[SIGLOST] = "File lock lost";
102
 
#endif
103
 
#ifdef SIGUSR1
104
 
    if (my_sys_siglist[SIGUSR1] == NULL)
105
 
        my_sys_siglist[SIGUSR1] = "User defined signal 1";
106
 
#endif
107
 
#ifdef SIGUSR2
108
 
    if (my_sys_siglist[SIGUSR2] == NULL)
109
 
        my_sys_siglist[SIGUSR2] = "User defined signal 2";
110
 
#endif
111
 
#ifdef SIGPWR
112
 
    if (my_sys_siglist[SIGPWR] == NULL)
113
 
        my_sys_siglist[SIGPWR] = "Power-fail/Restart";
114
 
#endif
115
 
#ifdef SIGPOLL
116
 
    if (my_sys_siglist[SIGPOLL] == NULL)
117
 
        my_sys_siglist[SIGPOLL] = "Pollable event occurred";
118
 
#endif
119
 
#ifdef SIGSTOP
120
 
    if (my_sys_siglist[SIGSTOP] == NULL)
121
 
        my_sys_siglist[SIGSTOP] = "Stopped (signal)";
122
 
#endif
123
 
#ifdef SIGTSTP
124
 
    if (my_sys_siglist[SIGTSTP] == NULL)
125
 
        my_sys_siglist[SIGTSTP] = "Stopped";
126
 
#endif
127
 
#ifdef SIGCONT
128
 
    if (my_sys_siglist[SIGCONT] == NULL)
129
 
        my_sys_siglist[SIGCONT] = "Continued";
130
 
#endif
131
 
#ifdef SIGCHLD
132
 
    if (my_sys_siglist[SIGCHLD] == NULL)
133
 
        my_sys_siglist[SIGCHLD] = "Child exited";
134
 
#endif
135
 
#ifdef SIGCLD
136
 
    if (my_sys_siglist[SIGCLD] == NULL)
137
 
        my_sys_siglist[SIGCLD] = "Child exited";
138
 
#endif
139
 
#ifdef SIGTTIN
140
 
    if (my_sys_siglist[SIGTTIN] == NULL)
141
 
        my_sys_siglist[SIGTTIN] = "Stopped (tty input)";
142
 
#endif
143
 
#ifdef SIGTTOU
144
 
    if (my_sys_siglist[SIGTTOU] == NULL)
145
 
        my_sys_siglist[SIGTTOU] = "Stopped (tty output)";
146
 
#endif
147
 
#ifdef SIGINFO
148
 
    if (my_sys_siglist[SIGINFO] == NULL)
149
 
        my_sys_siglist[SIGINFO] = "Information request";
150
 
#endif
151
 
#ifdef SIGURG
152
 
    if (my_sys_siglist[SIGURG] == NULL)
153
 
        my_sys_siglist[SIGURG] = "Urgent I/O condition";
154
 
#endif
155
 
#ifdef SIGWAITING
156
 
    if (my_sys_siglist[SIGWAITING] == NULL)
157
 
        my_sys_siglist[SIGWAITING] = "No runnable LWPs";
158
 
#endif
159
 
#ifdef SIGLWP
160
 
    if (my_sys_siglist[SIGLWP] == NULL)
161
 
        my_sys_siglist[SIGLWP] = "Inter-LWP signal";
162
 
#endif
163
 
#ifdef SIGFREEZE
164
 
    if (my_sys_siglist[SIGFREEZE] == NULL)
165
 
        my_sys_siglist[SIGFREEZE] = "Checkpoint freeze";
166
 
#endif
167
 
#ifdef SIGTHAW
168
 
    if (my_sys_siglist[SIGTHAW] == NULL)
169
 
        my_sys_siglist[SIGTHAW] = "Checkpoint thaw";
170
 
#endif
171
 
#ifdef SIGCANCEL
172
 
    if (my_sys_siglist[SIGCANCEL] == NULL)
173
 
        my_sys_siglist[SIGCANCEL] = "Thread cancellation";
174
 
#endif