mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 00:14:44 +01:00
Similar name adjustments for signal.cc:signal_map
Because this is used in parsing profiles, we keep backwards compatibility by including both names and mapping them to the same underlying signal number. Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
This commit is contained in:
parent
7a85f6282f
commit
5bcf05dd3d
1 changed files with 4 additions and 2 deletions
|
@ -55,7 +55,8 @@ static struct signal_map { const char *name; int num; } signal_map[] = {
|
|||
{"chld", 17},
|
||||
{"cont", 18},
|
||||
{"stop", 19},
|
||||
{"stp", 20},
|
||||
{"stp", 20}, // parser's previous name for SIGTSTP
|
||||
{"tstp", 20},
|
||||
{"ttin", 21},
|
||||
{"ttou", 22},
|
||||
{"urg", 23},
|
||||
|
@ -64,7 +65,8 @@ static struct signal_map { const char *name; int num; } signal_map[] = {
|
|||
{"vtalrm", 26},
|
||||
{"prof", 27},
|
||||
{"winch", 28},
|
||||
{"io", 29},
|
||||
{"io", 29}, // SIGIO == SIGPOLL
|
||||
{"poll", 29},
|
||||
{"pwr", 30},
|
||||
{"sys", 31},
|
||||
{"emt", 32},
|
||||
|
|
Loading…
Add table
Reference in a new issue