2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-03 15:55:46 +00:00

Patch from zbyniu to allow parser to build on glibc (<2.4)

This commit is contained in:
John Johansen
2008-06-09 21:17:41 +00:00
parent f670eaf464
commit 58b8a58e86
2 changed files with 8 additions and 1 deletions

View File

@@ -91,8 +91,12 @@ static struct keyword_table rlimit_table[] = {
{"locks", RLIMIT_LOCKS},
{"sigpending", RLIMIT_SIGPENDING},
{"msgqueue", RLIMIT_MSGQUEUE},
#ifdef RLIMIT_NICE
{"nice", RLIMIT_NICE},
#endif
#ifdef RLIMIT_RTPRIO
{"rtprio", RLIMIT_RTPRIO},
#endif
/* terminate */
{NULL, 0}
};