import procps-ng-3.3.15-3.el8
This commit is contained in:
parent
6bf7f7d4fb
commit
dd5788138b
28
SOURCES/procps-ng-3.3.15-pgrep-uid-conversion-overflow.patch
Normal file
28
SOURCES/procps-ng-3.3.15-pgrep-uid-conversion-overflow.patch
Normal file
@ -0,0 +1,28 @@
|
||||
commit c833a6241893c7e566a5eed762661942e4cd90d3
|
||||
Author: Todd Lewis <utoddl@gmail.com>
|
||||
Date: Mon Oct 29 18:33:48 2018 +0000
|
||||
|
||||
Fix user and group name to number conversion for uid/gid above 2^31.
|
||||
|
||||
diff --git a/pgrep.c b/pgrep.c
|
||||
index bde7448..8b82a54 100644
|
||||
--- a/pgrep.c
|
||||
+++ b/pgrep.c
|
||||
@@ -280,7 +280,7 @@ static int conv_uid (const char *restrict name, struct el *restrict e)
|
||||
xwarnx(_("invalid user name: %s"), name);
|
||||
return 0;
|
||||
}
|
||||
- e->num = pwd->pw_uid;
|
||||
+ e->num = (int) pwd->pw_uid;
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -297,7 +297,7 @@ static int conv_gid (const char *restrict name, struct el *restrict e)
|
||||
xwarnx(_("invalid group name: %s"), name);
|
||||
return 0;
|
||||
}
|
||||
- e->num = grp->gr_gid;
|
||||
+ e->num = (int) grp->gr_gid;
|
||||
return 1;
|
||||
}
|
||||
|
41
SOURCES/procps-ng-3.3.15-vmstat-watch-manpage.patch
Normal file
41
SOURCES/procps-ng-3.3.15-vmstat-watch-manpage.patch
Normal file
@ -0,0 +1,41 @@
|
||||
commit 354b5a56bf2ea831427ab8268ec7101bd3870f8e
|
||||
Author: Jan Rybar <jrybar@redhat.com>
|
||||
Date: Thu Apr 30 17:06:18 2020 +0200
|
||||
|
||||
vmstat and watch manpage slight fixes
|
||||
|
||||
vmstat - align wording with proc manpage to clarify ambiguities (rhbz#1796043)
|
||||
watch - manpage presumes ntp tools are present by default (which they're not on rpm and deb distros, rhbz#1583669)
|
||||
|
||||
diff --git a/vmstat.8 b/vmstat.8
|
||||
index e408bca..dcc1b1e 100644
|
||||
--- a/vmstat.8
|
||||
+++ b/vmstat.8
|
||||
@@ -93,7 +93,7 @@ Display help and exit.
|
||||
.B "Procs"
|
||||
.nf
|
||||
r: The number of runnable processes (running or waiting for run time).
|
||||
-b: The number of processes in uninterruptible sleep.
|
||||
+b: The number of processes blocked waiting for I/O to complete.
|
||||
.fi
|
||||
.PP
|
||||
.SS
|
||||
diff --git a/watch.1 b/watch.1
|
||||
index 256c36b..e06e04e 100644
|
||||
--- a/watch.1
|
||||
+++ b/watch.1
|
||||
@@ -34,7 +34,7 @@ every
|
||||
.I interval
|
||||
seconds. Try it with
|
||||
.B ntptime
|
||||
-and notice how the fractional seconds stays (nearly) the same, as opposed to
|
||||
+(if present) and notice how the fractional seconds stays (nearly) the same, as opposed to
|
||||
normal mode where they continuously increase.
|
||||
.TP
|
||||
\fB\-t\fR, \fB\-\-no\-title\fR
|
||||
@@ -190,4 +190,4 @@ watch uname \-r
|
||||
.I \-p
|
||||
isn't guaranteed to work across reboots, especially in the face of
|
||||
.B ntpdate
|
||||
-or other bootup time-changing mechanisms)
|
||||
+(if present) or other bootup time-changing mechanisms)
|
@ -4,7 +4,7 @@
|
||||
Summary: System and process monitoring utilities
|
||||
Name: procps-ng
|
||||
Version: 3.3.15
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPL+ and GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+
|
||||
Group: Applications/System
|
||||
URL: https://sourceforge.net/projects/procps-ng/
|
||||
@ -17,6 +17,8 @@ Source1: README.md
|
||||
Source2: README.top
|
||||
|
||||
Patch1: procps-ng-3.3.15-pidof-show-worker-threads.patch
|
||||
Patch2: procps-ng-3.3.15-pgrep-uid-conversion-overflow.patch
|
||||
Patch3: procps-ng-3.3.15-vmstat-watch-manpage.patch
|
||||
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: libtool
|
||||
@ -159,6 +161,14 @@ ln -s %{_bindir}/pidof %{buildroot}%{_sbindir}/pidof
|
||||
%files i18n -f %{name}.lang
|
||||
|
||||
%changelog
|
||||
* Wed Jul 08 2020 Jan Rybar <jrybar@redhat.com> - 3.3.15-3
|
||||
- pgrep: uid/gid conversion overflow
|
||||
- vmstat: align manpage with procfs wording
|
||||
- watch: manpage presumes NTP on system
|
||||
- Resolves: rhbz#1827731
|
||||
- Resolves: rhbz#1829920
|
||||
- Resolves: rhbz#1583669
|
||||
|
||||
* Tue Apr 14 2020 Jan Rybar <jrybar@redhat.com> - 3.3.15-2
|
||||
- pidof: show kernel workers
|
||||
- gating activated
|
||||
|
Loading…
Reference in New Issue
Block a user