Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pagein for openSUSE:Factory checked in at 2022-04-21 15:42:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pagein (Old) and /work/SRC/openSUSE:Factory/.pagein.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pagein" Thu Apr 21 15:42:39 2022 rev:5 rq:971309 version:0.01.08 Changes: -------- --- /work/SRC/openSUSE:Factory/pagein/pagein.changes 2021-05-20 19:25:54.661733156 +0200 +++ /work/SRC/openSUSE:Factory/.pagein.new.1538/pagein.changes 2022-04-21 15:48:55.812333639 +0200 @@ -1,0 +2,7 @@ +Wed Apr 20 18:19:53 UTC 2022 - Ferdinand Thiessen <[email protected]> + +- Update to 0.01.08 + * Fix potential array overflow on array prot, make it 1 byte larger +- Fixed URL and SourceURL (previous were orphaned) + +------------------------------------------------------------------- Old: ---- pagein-0.01.06.tar.gz New: ---- pagein-0.01.08.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pagein.spec ++++++ --- /var/tmp/diff_new_pack.cqsfxH/_old 2022-04-21 15:48:56.260334118 +0200 +++ /var/tmp/diff_new_pack.cqsfxH/_new 2022-04-21 15:48:56.280334139 +0200 @@ -1,7 +1,7 @@ # # spec file for package pagein # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2018, Martin Hauke <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -18,13 +18,13 @@ Name: pagein -Version: 0.01.06 +Version: 0.01.08 Release: 0 Summary: A tool to force swapped out pages back into memory License: GPL-2.0-only Group: System/Monitoring -URL: https://kernel.ubuntu.com/~cking/pagein/ -Source: https://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz +URL: https://github.com/ColinIanKing/pagein +Source: %{url}/archive/refs/tags/V%{version}.tar.gz#/%{name}-%{version}.tar.gz %description Pagein is a tool that forces pages that are in swap to be paged in back ++++++ pagein-0.01.06.tar.gz -> pagein-0.01.08.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagein-0.01.06/Makefile new/pagein-0.01.08/Makefile --- old/pagein-0.01.06/Makefile 2021-04-28 21:55:18.000000000 +0200 +++ new/pagein-0.01.08/Makefile 2022-04-20 13:05:16.000000000 +0200 @@ -1,5 +1,6 @@ # # Copyright (C) 2016-2021 Canonical, Ltd. +# Copyright (C) 2021-2022 Colin Ian King # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -16,7 +17,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -VERSION=0.01.06 +VERSION=0.01.08 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 # @@ -45,7 +46,7 @@ rm -rf pagein-$(VERSION) mkdir pagein-$(VERSION) cp -rp Makefile pagein.c pagein.1 COPYING snap .travis.yml \ - bash-completion pagein-$(VERSION) + bash-completion README.md pagein-$(VERSION) tar -zcf pagein-$(VERSION).tar.gz pagein-$(VERSION) rm -rf pagein-$(VERSION) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagein-0.01.06/README.md new/pagein-0.01.08/README.md --- old/pagein-0.01.06/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/pagein-0.01.08/README.md 2022-04-20 13:05:16.000000000 +0200 @@ -0,0 +1,25 @@ +# Pagein + +Pagein is a tool that forces pages that are in swap to be paged in back to memory. The main usecase for pagein is to exercise the VM and swap subsystems for testing purposes. + +pagein command line options: + +* -a try to page in all processes. +* -h help +* -p page in process with process ID pid +* -v verbose mode + +## Example: + +``` +sudo pagein -a +Processes scanned: 271 +Kernel threads: 130 (skipped) +Processes touched: 140 +Pages touched: 1834340 +Free memory decrease: 2233252K (558313 pages) +Swap memory decrease: -27012K (-6753 pages) +Page faults major: 2850 +Page faults minor: 468453 +Swaps: 0 +``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagein-0.01.06/debian/changelog new/pagein-0.01.08/debian/changelog --- old/pagein-0.01.06/debian/changelog 1970-01-01 01:00:00.000000000 +0100 +++ new/pagein-0.01.08/debian/changelog 2022-04-20 13:05:16.000000000 +0200 @@ -0,0 +1,153 @@ +pagein (0.01.08-1) unstable; urgency=medium + + * Debian: update changelog + * Makefile: update copyright, bump version + * Fix potential array overflow on array prot, make it 1 byte larger + + -- Colin Ian King <[email protected]> Wed, 20 Apr 2022 12:01:03 +0100 + +pagein (0.01.07-1) unstable; urgency=medium + + * Makefile: bump version + * pagein.c: update copyright + * Makefile: update copyright + * Makefile: add README.md to dist rule + * manual: update date, author email and copyright + * debian/watch: update watch path for tarball, move to version 4 + * debian/copyright: Update copyright and git URL + * debian/control: update author email address and project URL + * Add README.md + * snapcraft: update to core20 + + -- Colin Ian King <[email protected]> Mon, 15 Nov 2021 19:51:23 +0000 + +pagein (0.01.06-1) unstable; urgency=medium + + * Makefile: bump version + * Ensure memfree_* and pagefree_* are initialized + * update copyright to 2021 + * snapcraft.yaml: fix versioning magic + * snapcraft.yaml: update snapcraft versioning magic + + -- Colin King <[email protected]> Wed, 28 Apr 2021 20:54:15 +0100 + +pagein (0.01.05-1) unstable; urgency=medium + + * Makefile: bump version + * Debian/control: update compat to 13, remove compat file, + add Rules-Requires-Root rule + + -- Colin King <[email protected]> Sat, 4 Jul 2020 15:39:22 +0100 + +pagein (0.01.04-1) unstable; urgency=medium + + * Makefile: update version + * Add bash command completion script + * Update copyright to 2020 + * snapcraft: add github URL for project + * Makefile: rename snapcraft to snap in dist rule + * Rename snapcraft to snap + + -- Colin King <[email protected]> Wed, 26 Feb 2020 14:07:11 +0000 + +pagein (0.01.03-1) unstable; urgency=medium + + * Makefile: bump version + * Debian: update compat to level 12 + * snapcraft: use automatic versioning + + -- Colin King <[email protected]> Mon, 12 Aug 2019 16:47:25 +0100 + +pagein (0.01.02-1) unstable; urgency=medium + + * Makefile: remove -g flag, bump version + * Makefile: add .travis.yml to dist rule + * Update copyright year + * Add travis yaml file + + -- Colin King <[email protected]> Wed, 10 Jul 2019 10:41:23 +0100 + +pagein (0.01.01-1) unstable; urgency=medium + + * Makefile: bump version + * Remove kthreads stat, add in total mappings stat + * Add unreadable skipped pages stats + * Expand pid field to 6 digits + * Manual: change example to Xorg as a process to page in + * Remove defunct command options -d, -t, -w + * debian/copyright: use secure URI + * debian/control: remove empty line and set debhelper version to >=11 + * debian/compat: update to 11 + + -- Colin King <[email protected]> Sun, 17 Jun 2018 12:07:00 +0100 + +pagein (0.01.00-1) unstable; urgency=medium + + * Makefile: bump version + * Remove whitespace in text + * Put altstack on main's stack, it is small enough + * Make ptrace halt window smaller + * Rework, just use ptrace memory peeking to force pages in + * Add in some more constifications + * Minor code style changes, make some small helper funcs inline too + * Update copyright year + + -- Colin King <[email protected]> Sun, 14 Jan 2018 16:21:12 +0000 + +pagein (0.00.06-1) unstable; urgency=medium + + * Makefile: bump version + * Make function align_address static + * debian/control: update Standards-Version to 4.1.2 + * Rename array path to tmppath to avoid name shadowing + + -- Colin King <[email protected]> Thu, 4 Jan 2018 23:59:23 +0000 + +pagein (0.00.05-1) unstable; urgency=medium + + * Makefile: bump version again + * Debian/control: update standards to 4.0.0 + * Remove exit after a goto, fixes structurally dead code warning + * Make variable sz static so longjmp cannot clobber it + * Make file mmapping private + * Add SEGV handler and fix length calculation + * Seek and read correct page, reference on the non-mmapp'd addresses + * Optimize pages touched count + * Simplify the zero length check + * Fix another segv issue, touch the mapped area + + -- Colin King <[email protected]> Wed, 21 Jun 2017 08:26:18 +0100 + +pagein (0.00.04-1) unstable; urgency=medium + + * Makefile: bump version + * Fix segfault on i386 targets (Closes: #865341) + * snapcraft: add default app and grade keys + + -- Colin King <[email protected]> Tue, 20 Jun 2017 19:10:23 +0100 + +pagein (0.00.03-1) unstable; urgency=medium + + * Initial Debian release (Closes: #856462) + * Makefile: bump version + * Add more explanation to why access failures can occur + * ptrace should be performed before the open of /proc/$pid/mem + * Debian/control: fix typo on pagein name + + -- Colin King <[email protected]> Sat, 4 Mar 2017 20:52:33 +0000 + +pagein (0.00.02-1) unstable; urgency=medium + + * Makefile: bump version + * Minor reworking of page in mapping, clean up readability + * Fixup some build warnings on 32 bit arches + * Makefile: update dist rules to incorporate snapcraft files + * Add COPYING file + + -- Colin King <[email protected]> Wed, 1 Mar 2017 10:08:03 +0000 + +pagein (0.00.01-1) unstable; urgency=medium + + * Initial release + + -- Colin King <[email protected]> Fri, 13 Jan 2017 14:33:00 +0000 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagein-0.01.06/debian/control new/pagein-0.01.08/debian/control --- old/pagein-0.01.06/debian/control 1970-01-01 01:00:00.000000000 +0100 +++ new/pagein-0.01.08/debian/control 2022-04-20 13:05:16.000000000 +0200 @@ -0,0 +1,17 @@ +Source: pagein +Rules-Requires-Root: no +Section: admin +Priority: optional +Maintainer: Colin Ian King <[email protected]> +Standards-Version: 4.5.1 +Build-Depends: debhelper (>= 13), + debhelper-compat (=13) +Homepage: https://github.com/ColinIanKing/pagein + +Package: pagein +Architecture: linux-any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: tool to force swapped out pages to be resident in memory + pagein will attempt to swap in pages that are currently swapped out + to make the pages resident in memory. It is mainly useful for testing + the VM subsystem. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagein-0.01.06/debian/copyright new/pagein-0.01.08/debian/copyright --- old/pagein-0.01.06/debian/copyright 1970-01-01 01:00:00.000000000 +0100 +++ new/pagein-0.01.08/debian/copyright 2022-04-20 13:05:16.000000000 +0200 @@ -0,0 +1,11 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pagein +Upstream-Contact: Colin Ian King <[email protected]> +Source: https://github.com/ColinIanKing/pagein + +Files: * +Copyright: 2015-2021, Canonical, Ltd. + 2021, Colin Ian King +License: GPL-2+ + On Debian systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagein-0.01.06/debian/rules new/pagein-0.01.08/debian/rules --- old/pagein-0.01.06/debian/rules 1970-01-01 01:00:00.000000000 +0100 +++ new/pagein-0.01.08/debian/rules 2022-04-20 13:05:16.000000000 +0200 @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +override_dh_auto_build: + $(shell dpkg-buildflags --export=sh); dh_auto_build + +%: + dh $@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagein-0.01.06/debian/source/format new/pagein-0.01.08/debian/source/format --- old/pagein-0.01.06/debian/source/format 1970-01-01 01:00:00.000000000 +0100 +++ new/pagein-0.01.08/debian/source/format 2022-04-20 13:05:16.000000000 +0200 @@ -0,0 +1 @@ +3.0 (quilt) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagein-0.01.06/debian/watch new/pagein-0.01.08/debian/watch --- old/pagein-0.01.06/debian/watch 1970-01-01 01:00:00.000000000 +0100 +++ new/pagein-0.01.08/debian/watch 2022-04-20 13:05:16.000000000 +0200 @@ -0,0 +1,5 @@ +version=4 +opts="filenamemangle=s%(?:.*?)?V?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \ + https://github.com/ColinIanKing/pagein/tags \ + (?:.*?/)?V?(\d[\d.]*)\.tar\.gz debian uupdate + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagein-0.01.06/pagein.1 new/pagein-0.01.08/pagein.1 --- old/pagein-0.01.06/pagein.1 2021-04-28 21:55:18.000000000 +0200 +++ new/pagein-0.01.08/pagein.1 2022-04-20 13:05:16.000000000 +0200 @@ -2,7 +2,7 @@ .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) -.TH PAGEIN 1 "16 June, 2017" +.TH PAGEIN 1 "15 November 2021" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: @@ -65,12 +65,12 @@ .SH SEE ALSO .BR free (1) .SH AUTHOR -pagein was written by Colin King <[email protected]> +pagein was written by Colin Ian King <[email protected]> .PP -This manual page was written by Colin King <[email protected]>, +This manual page was written by Colin Ian King for the Ubuntu project (but may be used by others). .SH COPYRIGHT -Copyright \(co 2016-2021 Canonical Ltd. +Copyright \(co 2016-2021 Canonical Ltd, Copyright \(co 2021 Colin Ian King. .br This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagein-0.01.06/pagein.c new/pagein-0.01.08/pagein.c --- old/pagein-0.01.06/pagein.c 2021-04-28 21:55:18.000000000 +0200 +++ new/pagein-0.01.08/pagein.c 2022-04-20 13:05:16.000000000 +0200 @@ -1,5 +1,6 @@ /* * Copyright (C) 2016-2021 Canonical, Ltd. + * Copyright (C) 2021 Colin Ian King * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -197,7 +198,7 @@ uint64_t begin, end, len; uintptr_t off; char tmppath[1024]; - char prot[5]; + char prot[6]; if (sscanf(buffer, "%" SCNx64 "-%" SCNx64 " %5s %*x %*x:%*x %*d %1023s", &begin, &end, prot, tmppath) != 4) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagein-0.01.06/snap/snapcraft.yaml new/pagein-0.01.08/snap/snapcraft.yaml --- old/pagein-0.01.06/snap/snapcraft.yaml 2021-04-28 21:55:18.000000000 +0200 +++ new/pagein-0.01.08/snap/snapcraft.yaml 2022-04-20 13:05:16.000000000 +0200 @@ -5,9 +5,17 @@ type: app grade: stable assumes: [snapd2.45] -base: core18 +base: core20 adopt-info: pagein +architectures: + - build-on: s390x + - build-on: ppc64el + - build-on: arm64 + - build-on: armhf + - build-on: amd64 + - build-on: i386 + parts: pagein: plugin: make
