Accepting request 62244 from home:a_jaeger:branches:openSUSE:Factory

looks good

OBS-URL: https://build.opensuse.org/request/show/62244
OBS-URL: https://build.opensuse.org/package/show/security/audit?expand=0&rev=25
This commit is contained in:
Marcus Meissner 2011-02-21 13:30:00 +00:00 committed by Git OBS Bridge
parent db50017012
commit 7ce8ae0c1a
4 changed files with 8 additions and 3 deletions

View File

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

View File

@ -26,7 +26,7 @@ Summary: Python Bindings for libaudit
License: GPLv2+ License: GPLv2+
Group: System/Monitoring Group: System/Monitoring
Version: 2.0.5 Version: 2.0.5
Release: 1 Release: 2
Url: http://people.redhat.com/sgrubb/audit/ Url: http://people.redhat.com/sgrubb/audit/
Source0: audit-%{version}.tar.bz2 Source0: audit-%{version}.tar.bz2
Patch1: audit-plugins-path.patch Patch1: audit-plugins-path.patch

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 Tue Dec 7 21:17:24 UTC 2010 - coolo@novell.com

View File

@ -23,7 +23,7 @@ BuildRequires: gcc-c++ tcpd-devel
BuildRequires: kernel-headers >= 2.6.29 BuildRequires: kernel-headers >= 2.6.29
Summary: User Space Tools for 2.6 Kernel Auditing Summary: User Space Tools for 2.6 Kernel Auditing
Version: 2.0.5 Version: 2.0.5
Release: 1 Release: 2
License: GPLv2+ License: GPLv2+
Group: System/Monitoring Group: System/Monitoring
Url: http://people.redhat.com/sgrubb/audit/ Url: http://people.redhat.com/sgrubb/audit/