procps/procps-ng-3.3.8-ignore-scan_unevictable_pages.patch
Dominique Leuenberger 30d135841f Accepting request 966137 from Base:System
- Drop patch procps-ng-4.0.0-aix_sortformats.dif as replaced by
  upstream patch 0002-ps-restore-aix-behavior-while-keeping-an-original-fi.patch
- Add upstream patches
  * 0001-top-update-one-function-prologue-after-rcfile-change.patch
  * 0003-ps-restore-thread-display-when-using-a-pidlist-optio.patch

- Drop not needed patch procps-ng-3.3.9-watch.patch as the API
  has changed here 

- Add patch procps-ng-4.0.0-floats.dif to avoid float errors on
  32bit architectures

- Add patch procps-ng-4.0.0-aix_sortformats.dif to restore AIX sort
  format support as well

- Update to procps-ng-4.0.0
  + Warning: new shared library interface with libproc-2
  * Rename pwait to pidwait
  * free: Add committed line option                        merge #25
  * free: Fix -h --si combined options                     issue #133, #223
  * free: Fix first column justification                   issue #229, #204, #206, Debian #1001689
  * free: Better spacing for Chinese language              issue #213
  * library: renamed to libproc-2 and reset to 0:0:0
  * library: add support for accessing smaps_rollup        issue #112, #201
  * library: add support for accessing autogroups
  * library: add support for LIBPROC_HIDE_KERNEL env var   merge #147
  * library: add support for cpu utilization to pids i/f
  * pkill: Check for lt- variants of program name          issue #192
  * pgrep: Add newline after regex error message           merge #91
  * pgrep: Fix selection where uid/gid > 2^31              merge !146

OBS-URL: https://build.opensuse.org/request/show/966137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=126
2022-04-05 17:55:16 +00:00

24 lines
575 B
Diff

From: Takashi Iwai <tiwai@suse.de>
Subject: Ignore scan_unevictable_pages entry in sysctl, too
References: bnc#868888
scan_unevictable_pages sysctl is deprecated in the recent kernel.
Ignore it for avoiding the kernel warning message.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
sysctl.c | 1 +
1 file changed, 1 insertion(+)
--- a/sysctl.c
+++ b/sysctl.c
@@ -58,6 +58,7 @@ static const char DEFAULT_PRELOAD[] = "/
static const char *DEPRECATED[] = {
"base_reachable_time",
"retrans_time",
+ "scan_unevictable_pages",
""
};
static bool IgnoreDeprecated;