SHA256
1
0
forked from pool/audit

Accepting request 62286 from security

Accepted submit request 62286 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/62286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/audit?expand=0&rev=43
This commit is contained in:
Marcus Rückert 2011-02-21 13:53:42 +00:00 committed by Git OBS Bridge
commit 68242b9c50
2 changed files with 6 additions and 1 deletions

View File

@ -21,7 +21,7 @@ Index: src/auditd.c
+ /* Newer kernels (noticed in 2.6.36) */
+ oomfd = open("/proc/self/oom_score_adj", O_NOFOLLOW | O_WRONLY);
+ if (oomfd >= 0) {
+ (void)write(oomfd, "0", 1);
+ (void)write(oomfd, "-1000", sizeof("-1000"));
+ close(oomfd);
+ return;
+ }

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 21 10:33:40 UTC 2011 - aj@suse.de
- Fix value of oom_score_adj.
-------------------------------------------------------------------
Tue Dec 7 21:17:24 UTC 2010 - coolo@novell.com