2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 18:17:09 +00:00

Name adjustments to signal.cc::sig_names

Because sig_names is only used to dump parsed signals for debugging purposes,
renaming SIGTSTP "stp" to "tstp" is not a breaking change.

Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
This commit is contained in:
Ryan Lee 2024-11-18 15:21:27 -08:00
parent e27b0ad2b6
commit 7a85f6282f

View File

@ -96,7 +96,7 @@ static const char *const sig_names[MAXMAPPED_SIG + 1] = {
"chld", "chld",
"cont", "cont",
"stop", "stop",
"stp", "tstp",
"ttin", "ttin",
"ttou", "ttou",
"urg", "urg",
@ -105,7 +105,7 @@ static const char *const sig_names[MAXMAPPED_SIG + 1] = {
"vtalrm", "vtalrm",
"prof", "prof",
"winch", "winch",
"io", "io", // SIGIO == SIGPOLL
"pwr", "pwr",
"sys", "sys",
"emt", "emt",