Changes between v2.28-rc1 and v2.28-rc2 -------------------------------------------- commit fb637d6d091a499c558affabb41d5c818ee50c03 Author: Karel Zak Date: Tue Mar 29 10:47:40 2016 +0200 build-sys: release++ (v2.28-rc2) Signed-off-by: Karel Zak NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit a78bd24d03422ccf6bfe81d7285216be331ceef6 Author: Karel Zak Date: Tue Mar 29 10:44:50 2016 +0200 docs: update v2.28-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.28-ReleaseNotes | 97 ++++++++++++++++++++++++++++++- 1 file changed, 96 insertions(+), 1 deletion(-) commit 5b6b6e8c88fb413d50a0f402c9efa9b488a4f1f1 Author: Karel Zak Date: Tue Mar 29 10:42:14 2016 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 5 +++++ 1 file changed, 5 insertions(+) commit 784c8a40fa3792a3998c39c4d8a9bf70ab33ec79 Author: Karel Zak Date: Tue Mar 29 10:38:01 2016 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 1377 ++++++------ po/cs.po | 1380 ++++++------ po/da.po | 1378 ++++++------ po/de.po | 1370 ++++++------ po/es.po | 1370 ++++++------ po/et.po | 1379 ++++++------ po/eu.po | 1369 ++++++------ po/fi.po | 1375 ++++++------ po/fr.po | 1373 ++++++------ po/gl.po | 1363 ++++++------ po/hr.po | 1369 ++++++------ po/hu.po | 1373 ++++++------ po/id.po | 1377 ++++++------ po/it.po | 1376 ++++++------ po/ja.po | 6131 +++++++++++++++++++++++++++-------------------------- po/nl.po | 1377 ++++++------ po/pl.po | 1370 ++++++------ po/pt_BR.po | 1377 ++++++------ po/ru.po | 1369 ++++++------ po/sl.po | 1377 ++++++------ po/sv.po | 1376 ++++++------ po/tr.po | 1377 ++++++------ po/uk.po | 1373 ++++++------ po/util-linux.pot | 1345 ++++++------ po/vi.po | 1376 ++++++------ po/zh_CN.po | 1373 ++++++------ po/zh_TW.po | 1373 ++++++------ 27 files changed, 21656 insertions(+), 20167 deletions(-) commit 4bf2e02ceb4bdf9b183a1451979a44ea6540a023 Author: Takeshi Hamasaki Date: Tue Mar 29 10:34:55 2016 +0200 po: update ja.po (from translationproject.org) po/ja.po | 5771 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 2797 insertions(+), 2974 deletions(-) commit 64eca31f71290a17c21eb0760d2d1cd2acb25d3f Merge: 90a9b99 33bed90 Author: Karel Zak Date: Thu Mar 24 09:54:54 2016 +0100 Merge branch 'tests-setarch' of https://github.com/rudimeier/util-linux * 'tests-setarch' of https://github.com/rudimeier/util-linux: tests: improve setarch tests, regarding --uname-2.6 issues setarch: add "exec" message to --verbose build-sys: ignore vim .swp files commit 33bed90a7fd5567d15e6319fef9e2f3c69673f76 Author: Ruediger Meier Date: Tue Mar 22 10:06:22 2016 +0100 tests: improve setarch tests, regarding --uname-2.6 issues Add some more tests: * error handling "unknown arch" and "unknown command" * "noop" test with host arch and no other options * all options except --uname-2.6 * --uname-2.6 whithout any other options but handle fatal glibc error "kernel too old" (with debug output) * add a "real" --uname-2.6 test which validates uname(1) output Note the "kernel too old" cases are systems where glibc was configured to support only kernels > 3.0. On some archs (e.g. x86) --uname-2.6 still works with such glibc because 2.6.39 had all needed features on board (e.g. vdso). See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806911 Some people reported segfaults (after execvp) but I can only reproduce it on arm* and aarch64 qemu-user-space builds. We don't need to fix our tests for such broken systems where also many other tests fail currently. Signed-off-by: Ruediger Meier tests/expected/misc/setarch | 13 ----- tests/expected/misc/setarch-options | 23 +++++++++ tests/expected/misc/setarch-uname26 | 6 +++ tests/expected/misc/setarch-uname26-version | 1 + tests/ts/misc/setarch | 74 +++++++++++++++++++++++++---- 5 files changed, 96 insertions(+), 21 deletions(-) commit 90a9b9910cb7800f1bd4981b19f34d220393ff2c Author: Romain Naour Date: Tue Mar 22 22:19:54 2016 +0100 lsipc: don't free shm data if no shm id is found There is a segfault in do_shm_global() when ipc_shm_get_info() return 0 and ipc_shm_free_info() is called. When no shm id is found, the memory allocated in shmds by ipc_shm_get_info() is already free when ipc_shm_free_info() is called. Move ipc_shm_free_info(shmds) inside the if statement where at least one shm id is found. Signed-off-by: Romain Naour sys-utils/lsipc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 7ce27dc517093a7b52408e2d6a9b6d1a063eb3b1 Author: Kent Overstreet Date: Mon Mar 14 18:44:36 2016 -0800 libblkid: Update for newer bcache superblocks Later version of bcache add different checksum types, and allow for superblocks greater than 4k - skipping the checksum check (as in most other probes) is the easiest solution. Signed-off-by: Kent Overstreet include/Makemodule.am | 1 - include/crc64.h | 9 ---- lib/Makemodule.am | 1 - lib/crc64.c | 109 -------------------------------------- libblkid/src/superblocks/bcache.c | 16 ------ 5 files changed, 136 deletions(-) commit 2d47fa3921b86f16b07065a83e381708fa852d4a Author: Karel Zak Date: Tue Mar 22 15:49:00 2016 +0100 partx: fix --nr usage Reported-by: Serge van den Boom Signed-off-by: Karel Zak Documentation/releases/v2.28-ReleaseNotes | 2 +- disk-utils/partx.8 | 2 +- disk-utils/partx.c | 59 +++++++++++++++++++++++-------- lib/strutils.c | 2 +- 4 files changed, 48 insertions(+), 17 deletions(-) commit 9508e2972b1fdfca81e95ad7c2310991695009b5 Author: Ruediger Meier Date: Tue Mar 22 12:14:45 2016 +0100 setarch: add "exec" message to --verbose Also we don't need fflush() in non-verbose case. Signed-off-by: Ruediger Meier sys-utils/setarch.c | 7 +++++-- tests/expected/misc/setarch | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) commit 8eefcbb8f53c03bc595bcc66767858f4d5c68cbe Author: Ruediger Meier Date: Tue Mar 22 14:11:25 2016 +0100 build-sys: ignore vim .swp files Signed-off-by: Ruediger Meier .gitignore | 1 + 1 file changed, 1 insertion(+) commit 6988998b66b4b95c494d60599f8e3de2ffbaeece Author: Werner Fink Date: Tue Mar 22 10:38:59 2016 +0100 sulogin: Always make echo work after performing getpasswd even if root account is locked If the root account is locked and no password was provided then the terminal line is not set back to do echo of the input. This correct a small overlook in commit 7ff1162e67164cb4ece19dd809c26272461aa254 Signed-off-by: Werner Fink login-utils/sulogin.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit b4d1fbda1efdc6444f79c5e15e4ec6c74bbb5601 Author: Karel Zak Date: Tue Mar 22 10:31:16 2016 +0100 lscpu: revert unnecessary path_exist() The features file is there from 2.6.31 when Xen has been added to kernel. Sorry. Signed-off-by: Karel Zak sys-utils/lscpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3421709a583ca6de583fad1f8e3418020f96870a Author: Karel Zak Date: Tue Mar 22 10:26:35 2016 +0100 docs: update TODO file Signed-off-by: Karel Zak Documentation/TODO | 6 ++++++ 1 file changed, 6 insertions(+) commit 0ebbe9f1048e1c7ef7d74034bd3b092fd0ef4d3e Author: Dongli Zhang Date: Tue Mar 22 13:38:14 2016 +0800 lscpu: correct the Virtualization type on Xen DomU PV guest Nowadays, most Intel CPUs have "cpuid faulting" available which could trap the execution of "cpuid" instruction when CPL>0 with GP fault. Thus, "cpuid" instruction could trap to Xen hypervisor on the paravirtualized PV guest on most servers today, except on old CPUs prior to 2011. On CPU after 2011, Xen will put "XenVMMXenVMM" on both HVM and PV guests, which could have lscpu command erroneously classify the guest as type "full". The current lscpu command, which is based on "cpuid" instruction, still assumes that it will not cause the trap to Xen hypervisor on Xen PV guest and uses /proc/xen to identify whether it's running on PV DomU or not. To identify this kind of information under the help of /sys/hypervisor/properties/features would be more accurate for the CPU nowadays. The bit 5 (XENFEAT_mmu_pt_update_preserve_ad) of the features will be set only when it's running on Xen PV domain. The combo of bit 3 and 8 (XENFEAT_supervisor_mode_kernel and XENFEAT_hvm_callback_vector) will be set simultaneously only when it's running on Xen PVH domain. [kzak@redhat.com: - add path_exist()] Signed-off-by: Dongli Zhang Signed-off-by: Karel Zak sys-utils/lscpu.c | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) commit 9e24b917f26ce8d5879e46e71e2cf63d3546ce46 Author: Karel Zak Date: Mon Mar 21 21:13:25 2016 +0100 docs: add note about CLONE_NEWCGROUP support The patch has been planned for weeks and now the kernel part is already in Linus' tree. It's a new feature, but it's probably better to merge the userspace stuff now (v2.28 rc1) than wait next 6 months for the next util-linux release. Signed-off-by: Karel Zak Documentation/releases/v2.28-ReleaseNotes | 3 +++ 1 file changed, 3 insertions(+) commit ca8c69a9f2671d3dbf589736e5a62611d760cb77 Merge: fcae406 f9e7b66 Author: Karel Zak Date: Mon Mar 21 21:08:05 2016 +0100 Merge branch '2016-03-02/cgns' of https://github.com/hallyn/util-linux * '2016-03-02/cgns' of https://github.com/hallyn/util-linux: Implement support for cgroup namespaces commit fcae406394af6e1a5b298638fe017053c22ef9e8 Author: Ruediger Meier Date: Mon Mar 21 14:04:45 2016 +0100 ipcs: consolidate output header printing Print a warning (instead of header) if --limits fails, like we did it in past (2.20.1) and like we are still doing for --summary. Note in past we were printing the same message like for --summary "kernel not configured for ...", but actually this message is not really correct. This patch simply consolidates the current behavior. Probably we should refactor it regarding warnings (stderr) and exit codes. Signed-off-by: Ruediger Meier sys-utils/ipcs.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) commit 4321c0f73221af20b32a172cf9f97af99f973387 Author: Ruediger Meier Date: Mon Mar 21 14:04:44 2016 +0100 tests: skip ipcs test which require /proc Signed-off-by: Ruediger Meier tests/ts/ipcs/functions.sh | 2 ++ 1 file changed, 2 insertions(+) commit 36f1200851755b15d6c70ed9e4de6db9c9392d2e Author: Ruediger Meier Date: Mon Mar 21 14:04:43 2016 +0100 sulogin: ignore missing WEXITED, add warning This happens on Debian kFreeBSD and probably on Hurd too since cde7699c. One should review this issue to fix it properly. CC: Werner Fink Signed-off-by: Ruediger Meier login-utils/sulogin.c | 5 +++++ 1 file changed, 5 insertions(+) commit a5b3be92c6d5fb5335c6de57bf1ba16e9699a1de Author: Ruediger Meier Date: Mon Mar 21 14:04:42 2016 +0100 build-sys: pylibmount, mount context is Linux only Signed-off-by: Ruediger Meier libmount/python/Makemodule.am | 6 ++++-- libmount/python/pylibmount.c | 2 ++ libmount/python/pylibmount.h | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) commit 2eb6a7486ea0f8ce2f14492f1cbfe5c1140cbd02 Author: Ruediger Meier Date: Mon Mar 21 14:04:41 2016 +0100 build-sys: some libmount test progs are Linux only Signed-off-by: Ruediger Meier libmount/src/Makemodule.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 73f4f3d925d3dfb0c2f2b3246bceb5f6bfb5fa20 Author: Ruediger Meier Date: Fri Mar 18 12:49:18 2016 +0100 ipcs: --shmems, upward/backward compatibility Re-add backward compatibility which got lost in 058e8154. Initializing unknown struct members to 0xdead is similar to the fallback. For upward compatibility ignore columns > 16 but not the whole line (in case the kernel would add more columns in future). Reported-by: Benno Schulenberg Signed-off-by: Ruediger Meier sys-utils/ipcutils.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 97fab80eaf210fb23e106a2cd4ec6dd998cd520d Author: Ruediger Meier Date: Fri Mar 18 12:49:17 2016 +0100 ipcs: make sure to parse whole lines for shm_data We want to parse 16 columns _per_row_ without mixing them up. The existing code is unsafe for more or less columns and could even run into endless loops. This patch assures that we parse row-wise and really skip lines with columns != 16. Probably somehow we could have also done this with fscanf() only. Using fgets() additionally makes the code more easy to read and to improve later. Signed-off-by: Ruediger Meier sys-utils/ipcutils.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 6c44094af621c011135e758b0d5e175dfe344e90 Author: Karel Zak Date: Fri Mar 18 14:28:29 2016 +0100 swapon: rewrite control struct usage The old version has been pretty broken... the most important is to keep swap options specified on command line as read-only template. For example if we call "swapon --all" then we cannot modify the global options for each fstab swap entry. The another story has been control struct modification due to device reinitialization etc. This patch splits all to: * struct swapon_control; top-level struct with command line options * struct swap_device; this is device specific and never globally maintained by swapon_control. * struct swap_prop; used as global read-only template swap options and per device swap options (when parse fstab). Addresses: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818252 Signed-off-by: Karel Zak sys-utils/swapon.8 | 2 +- sys-utils/swapon.c | 300 ++++++++++++++++++++++++++++++++--------------------- 2 files changed, 184 insertions(+), 118 deletions(-) commit 54a0d5861ffc97dc5523764cab920adcf4e0c366 Author: Karel Zak Date: Fri Mar 18 14:24:44 2016 +0100 tests: check for TS_HELPER_SYSINFO in swap tests Signed-off-by: Karel Zak tests/ts/swapon/fixpgsz | 1 + tests/ts/swapon/fixsig | 1 + 2 files changed, 2 insertions(+) commit 00dbc49826a3d5b25159c0db819676bf4933b12e Author: Karel Zak Date: Fri Mar 18 12:05:51 2016 +0100 docs: add to TODO file Signed-off-by: Karel Zak Documentation/TODO | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 5ae7ae8adbfba3c12f4d2e529251d582e9877ed2 Author: Karel Zak Date: Thu Mar 17 14:34:29 2016 +0100 tools: add missing checkcompletion.sh Signed-off-by: Karel Zak tools/checkcompletion.sh | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) commit bf4cca706a998a5e7e1d48423da4b62ecf54f216 Author: Karel Zak Date: Thu Mar 17 14:32:07 2016 +0100 tests: ignore setarch on sparc Signed-off-by: Karel Zak tests/ts/misc/setarch | 8 ++++++++ 1 file changed, 8 insertions(+) commit 64a3c227e27572263c2844327372bd8b8ece0067 Author: Karel Zak Date: Thu Mar 17 14:05:27 2016 +0100 tools: add checkcompletion.sh The command "make checkcompletion" prints missing completion scripts. Signed-off-by: Karel Zak Makefile.am | 3 +++ 1 file changed, 3 insertions(+) commit dcc3b1fc2ed53b8b8e7636638ce905187089e9d5 Author: Karel Zak Date: Thu Mar 17 12:19:31 2016 +0100 umount: add man page note that --force is not perfect Signed-off-by: Karel Zak sys-utils/umount.8 | 4 ++++ 1 file changed, 4 insertions(+) commit 073487aa74d8bf191b88b4383d0ff68d793f505a Author: Ruediger Meier Date: Thu Mar 17 11:04:05 2016 +0100 build-sys: no need to un-ignore tracked files Signed-off-by: Ruediger Meier .gitignore | 10 ---------- 1 file changed, 10 deletions(-) commit d77202afe0a05c793f565d5cc70221632d007d84 Author: Ruediger Meier Date: Thu Mar 17 11:04:06 2016 +0100 build-sys: install missing bash completions We haven't installed these files since three years. Hopefully they will work. Signed-off-by: Ruediger Meier bash-completion/Makemodule.am | 5 +++++ 1 file changed, 5 insertions(+) commit 49b7f95e43288f104adcc86a888d45ed36217307 Author: Benno Schulenberg Date: Thu Mar 17 10:54:31 2016 +0100 docs: miscellaneous tiny tweaks of man pages Signed-off-by: Benno Schulenberg disk-utils/fdisk.8 | 8 ++++---- misc-utils/cal.1 | 4 ++-- sys-utils/fallocate.1 | 4 ++-- sys-utils/mount.8 | 12 +++++------- text-utils/tailf.1 | 10 +++++----- 5 files changed, 18 insertions(+), 20 deletions(-) commit 718b6f0cda1085467f5c51efa8518e8e16dbc8f5 Author: Benno Schulenberg Date: Thu Mar 17 10:39:14 2016 +0100 fdisk: fix the grammar of an option description Signed-off-by: Benno Schulenberg disk-utils/fdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit afaf31035d917f55d50ec3e10b6003755dd62c70 Author: Benno Schulenberg Date: Thu Mar 17 10:39:13 2016 +0100 unshare: describe the setgroups restriction more explicitly Signed-off-by: Benno Schulenberg sys-utils/unshare.1 | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) commit c8a550a178fe972e51dd14bbbc60a05639499baa Author: Benno Schulenberg Date: Thu Mar 17 10:39:12 2016 +0100 script: tweak spacing and wording, and restore filling in the man page Signed-off-by: Benno Schulenberg term-utils/script.1 | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit e71040ce582f61c1d57a61773a7624dd287671d3 Author: Benno Schulenberg Date: Thu Mar 17 10:39:11 2016 +0100 lscpu: improve spacing and spelling in the man page Signed-off-by: Benno Schulenberg sys-utils/lscpu.1 | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 8722fc38b1d9f52cb31b41bc16a54adbc27f3ea8 Author: Benno Schulenberg Date: Thu Mar 17 10:39:10 2016 +0100 chrt: remove duplicate words and tweak some phrasings in the man page Signed-off-by: Benno Schulenberg schedutils/chrt.1 | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) commit e5fc6d6fb57c1fb22b6dcff584639ade37ad8b9b Author: Ruediger Meier Date: Wed Mar 16 13:18:19 2016 +0100 lscpu: fix memleak because of ambiguous tags Now the first one of certain ambiguous tags wins. Alternatively to this patch we could have called free() before xstrdup(). Signed-off-by: Ruediger Meier sys-utils/lscpu.c | 3 ++- tests/expected/lscpu/lscpu-x86_64-64cpu | 2 +- tests/expected/lscpu/lscpu-x86_64-dell_e4310 | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) commit c95e3889725389e9d7e24d29c2a71b015959575f Author: Ruediger Meier Date: Wed Mar 16 13:18:18 2016 +0100 lscpu: use cpu and revision tag if available Avoid ifdef which does not work with --sysroot. Our existing test dumps produce even better output now for ppc and sparc. The logic moved to the printing section. CC: Vasant Hegde Signed-off-by: Ruediger Meier sys-utils/lscpu.c | 17 ++++++++--------- tests/expected/lscpu/lscpu-ppc-qemu | 3 ++- tests/expected/lscpu/lscpu-ppc64-POWER7 | 3 ++- tests/expected/lscpu/lscpu-ppc64-POWER7-64cpu | 3 ++- tests/expected/lscpu/lscpu-sparc64 | 1 + 5 files changed, 15 insertions(+), 12 deletions(-) commit 86c4817e0ea02656ddb62fe27757a9fd4f13b2d3 Author: Ruediger Meier Date: Wed Mar 16 13:18:17 2016 +0100 Revert "lscpu: keep lscpu usable on snapshots" This reverts commit 641350fe822e7f1ac10873dad9a364bdeaba8083. Signed-off-by: Ruediger Meier sys-utils/lscpu.c | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) commit 8a2d738aa1d71be7b187878851028c192b626ab4 Author: Karel Zak Date: Wed Mar 16 13:42:08 2016 +0100 tests: add new fdisk bsd test New BDS test based on hexdump, this commit provides: bsd_0_64.BE - generated on ppc64 bsd_0_64.LE - generated on ppc64le bsd_1_0.LE - generated on x86_64 bsd_1_0.BE - generated on s390 the last missing is Alpha where all is different :-) Signed-off-by: Karel Zak tests/expected/fdisk/bsd_0_64.BE | 213 +++++++++++++++++++++++++++++++++++++++ tests/expected/fdisk/bsd_0_64.LE | 213 +++++++++++++++++++++++++++++++++++++++ tests/expected/fdisk/bsd_1_0.BE | 213 +++++++++++++++++++++++++++++++++++++++ tests/expected/fdisk/bsd_1_0.LE | 213 +++++++++++++++++++++++++++++++++++++++ tests/ts/fdisk/bsd | 140 +++++++++++++++++++++++++ 5 files changed, 992 insertions(+) commit 4c48db0b8c0edd6fc9b010f9accc3c20f24c4277 Author: Karel Zak Date: Wed Mar 16 13:01:10 2016 +0100 tests: mark old bsd fdisk test as deprecated It seems better to use hexdump rather than md5sum, but it means that we have to gather hexdumps of the all possible BSD variants. For this purpose will be introduced a new bsd fdisk test and to verify the new hexdumps we can use this old test as both tests are exactly the same. Signed-off-by: Karel Zak tests/expected/fdisk/bsd | 123 ----------------------------- tests/expected/fdisk/bsd-deprecated | 123 +++++++++++++++++++++++++++++ tests/ts/fdisk/bsd | 149 ------------------------------------ tests/ts/fdisk/bsd-deprecated | 149 ++++++++++++++++++++++++++++++++++++ 4 files changed, 272 insertions(+), 272 deletions(-) commit 0825fe1621c36ae39c25453d83982a43006403e3 Author: Benno Schulenberg Date: Wed Mar 16 09:55:55 2016 +0100 dmesg: improve grammar and consistency of usage text Signed-off-by: Benno Schulenberg sys-utils/dmesg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 9e708d01f3ca86e4e5c502e428290a7d05e32989 Author: Benno Schulenberg Date: Wed Mar 16 09:55:54 2016 +0100 uuidd: correct the wording of an error message Signed-off-by: Benno Schulenberg misc-utils/uuidd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b779c1aecb90a1bd097ec3c287eb3febd0959005 Author: Benno Schulenberg Date: Wed Mar 16 09:55:53 2016 +0100 mount, umount, swapon, fsck, lsblk, findmnt: harmonize six error messages Signed-off-by: Benno Schulenberg disk-utils/fsck.c | 2 +- misc-utils/findmnt.c | 2 +- misc-utils/lsblk.c | 3 +-- sys-utils/mount.c | 3 +-- sys-utils/swapon-common.c | 3 +-- sys-utils/umount.c | 3 +-- 6 files changed, 6 insertions(+), 10 deletions(-) commit 426cdc0ac0f210b7e59f339f065d2dfe0935a223 Author: Benno Schulenberg Date: Wed Mar 16 09:55:52 2016 +0100 logger: correct the grammar of an error message Signed-off-by: Benno Schulenberg misc-utils/logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 614ddddfc170ae5f5bb74d74b8b4b4c4f226c42f Author: Benno Schulenberg Date: Wed Mar 16 09:55:51 2016 +0100 libfdisk: (gpt) reword two error messages with a sense of direction Signed-off-by: Benno Schulenberg libfdisk/src/gpt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e906ab3c6afa4e04862ec8666478d69d4eb6c769 Author: Benno Schulenberg Date: Wed Mar 16 09:55:50 2016 +0100 libfdisk: (bsd) fix spelling in warning message Signed-off-by: Benno Schulenberg libfdisk/src/bsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cb19f5479b899139c8f2c0e98549bbeb9960b7cf Author: Benno Schulenberg Date: Wed Mar 16 09:55:49 2016 +0100 fdisk, cfdisk, sfdisk: improve the grammar of three messages Signed-off-by: Benno Schulenberg disk-utils/cfdisk.c | 2 +- disk-utils/fdisk.c | 4 ++-- disk-utils/sfdisk.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit 1a60a5ecb01825aebcb6d4e2fab3d2b42b8816dd Author: Benno Schulenberg Date: Wed Mar 16 09:55:48 2016 +0100 sfdisk: improve the wording of seven error messages Signed-off-by: Benno Schulenberg disk-utils/sfdisk.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 72e948094bc5257b3f38b21d2ef8e575dedebcc2 Author: Ruediger Meier Date: Wed Mar 16 01:40:44 2016 +0100 tests: fix fdisk/bsd for alpha There are special __alpha__ ifdefs in libfdisk/src/bsd.c Regarding 565964a9 and a80886e9. BTW it was a bad idea to use md5sum. In case of failure it would be much easier to debug hexdump diffs. Now it's nearly impossible to collect all these exotic hexdumps. CC: Andreas Henriksson Signed-off-by: Ruediger Meier tests/ts/fdisk/bsd | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 641350fe822e7f1ac10873dad9a364bdeaba8083 Author: Karel Zak Date: Tue Mar 15 14:23:59 2016 +0100 lscpu: keep lscpu usable on snapshots This patch reverts 3ac03fe4d20558b55635a048d7f2fb0f5e85ee2a for snapshots (--sysroot). Yeah, poor-man solution. It would be really nice to have runtime detection to support model overwriting also on snapshots. Signed-off-by: Karel Zak sys-utils/lscpu.c | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) commit 4cd4b6879516d5b18c554c9c9b3488fbc82a7a7e Author: Sami Kerola Date: Mon Mar 14 21:38:30 2016 +0000 vipw: print only one new line when asking about shadow file Commit 11b86e1733 changed printf() to puts() in favour of more simple function, but forgot that puts() adds a new line to end of string. That new line is neither needed, or expected, so use fputs() that is both a simple printing function and comes without new line side effect. Signed-off-by: Sami Kerola login-utils/vipw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 40f00b4f8e50c201647e0adb1d44bf01efbed09f Author: Karel Zak Date: Tue Mar 15 14:02:19 2016 +0100 libmount: improve conversion from root= to the devname Currently the code supports /dev/name or PARTUUID= only. We also need to support 'maj:min' and 'hexhex' notations. Reported-by: George Spelvin Signed-off-by: Karel Zak include/strutils.h | 1 + lib/strutils.c | 9 ++++ libmount/src/mountP.h | 1 + libmount/src/tab_parse.c | 15 +++---- libmount/src/utils.c | 115 +++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 132 insertions(+), 9 deletions(-) commit 12f5cbe15940bfb94d31a1b898084aa5f0e5fa10 Author: Karel Zak Date: Tue Mar 15 11:38:01 2016 +0100 swapon: remove unnecessary assert Addresses: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818252 Signed-off-by: Karel Zak sys-utils/swapon.c | 3 --- 1 file changed, 3 deletions(-) commit 83a77afb31e16e0c46462dc39e5103c4241bbc36 Author: Karel Zak Date: Mon Mar 14 17:01:25 2016 +0100 travis: let's ignore apt-get return code Signed-off-by: Karel Zak .travis-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7830e50df7a200a075235987b5999e1ce7aa9467 Author: Karel Zak Date: Mon Mar 14 16:58:21 2016 +0100 docs: add note about libsmartcols Python binding Signed-off-by: Karel Zak Documentation/releases/v2.28-ReleaseNotes | 3 +++ 1 file changed, 3 insertions(+) commit 3ac03fe4d20558b55635a048d7f2fb0f5e85ee2a Author: Vasant Hegde Date: Mon Mar 14 20:18:07 2016 +0530 lscpu: Fix model and model name on Power Systems On Power System, lspcu presently displays system model number instead of processor model name. 'model' tag in cpuinfo contains system model name, not processor model. Instead it uses 'cpu' tag for processor model name. Also it uses 'revision' tag for processor model. Fix lspcu so that it displays processor model number. Also display processor model name. cpuinfo output on Power System: ... ... processor : 127 cpu : POWER8E (raw), altivec supported clock : 4322.000000MHz revision : 2.1 (pvr 004b 0201) timebase : 512000000 platform : PowerNV model : 8286-42A machine : PowerNV 8286-42A firmware : OPAL Output without this patch: Architecture: ppc64le Byte Order: Little Endian CPU(s): 128 On-line CPU(s) list: 0-127 Thread(s) per core: 8 Core(s) per socket: 4 Socket(s): 4 NUMA node(s): 4 Model: 8286-42A ... ... Output with this patch: Architecture: ppc64le Byte Order: Little Endian CPU(s): 128 On-line CPU(s) list: 0-127 Thread(s) per core: 8 Core(s) per socket: 4 Socket(s): 4 NUMA node(s): 4 Model: 2.1 (pvr 004b 0201) Model name: POWER8E (raw), altivec supported ... ... Signed-off-by: Vasant Hegde sys-utils/lscpu.c | 5 +++++ 1 file changed, 5 insertions(+) commit 79d8593fd76e6b3d2fb10c89c47dde55b5138487 Author: Karel Zak Date: Mon Mar 14 16:15:04 2016 +0100 unshare: tiny change Signed-off-by: Karel Zak sys-utils/unshare.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0ed6e43925268379701542327a5a4718de5c0feb Author: Karel Zak Date: Mon Mar 14 16:13:23 2016 +0100 unshare: fix incomplete sentence in man page Signed-off-by: Karel Zak sys-utils/unshare.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit de0f3763c766ef8378d7322308f897fa57039798 Author: Benno Schulenberg Date: Mon Mar 14 11:05:59 2016 +0100 unshare: improve wording and formatting in the man page Signed-off-by: Benno Schulenberg sys-utils/unshare.1 | 117 ++++++++++++++++++++++++++-------------------------- 1 file changed, 59 insertions(+), 58 deletions(-) commit 295a7aa32394eb1870b81087f2815206f538f7ec Author: Benno Schulenberg Date: Mon Mar 14 10:10:13 2016 +0100 docs: improve grammar and wording in the 2.28 release notes Signed-off-by: Benno Schulenberg Documentation/releases/v2.28-ReleaseNotes | 36 +++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) commit 99b3fb9ebabf92f7ede57a6a056053e7a07dfb84 Author: Benno Schulenberg Date: Mon Mar 14 10:10:12 2016 +0100 unshare: replace a special character in the man page with a space Reported-by: Andreas Henriksson Signed-off-by: Benno Schulenberg sys-utils/unshare.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 47f9b35ef4a6ba0a429b6945b245cc4d87bfac01 Author: Benno Schulenberg Date: Mon Mar 14 10:10:11 2016 +0100 fallocate: improve synopsis and spelling in man page Signed-off-by: Benno Schulenberg sys-utils/fallocate.1 | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 0167ca8215442112466d1e4ffa550507e455dc6a Author: Benno Schulenberg Date: Mon Mar 14 10:10:10 2016 +0100 fallocate: restore man-page content that was deleted in commit 5b033bfd Reported-by: Andreas Henriksson Signed-off-by: Benno Schulenberg sys-utils/fallocate.1 | 120 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) commit 11b86e17332be81c04674eea6d8b20922d0bfe54 Author: Karel Zak Date: Mon Mar 14 16:02:06 2016 +0100 vipw: use puts() when formatting unnecessary Signed-off-by: Karel Zak login-utils/vipw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 785539baa3296893d29460c6449f0cc28a452980 Merge: 0bb5d3a 668d6d2 Author: Karel Zak Date: Mon Mar 14 15:59:10 2016 +0100 Merge branch 'travis-osx' of https://github.com/rudimeier/util-linux * 'travis-osx' of https://github.com/rudimeier/util-linux: travis: add OSX build travis: switch to Ubuntu 14.04 Trusty build-sys: improve uuidd and script build conditions build-sys: use AC_PROG_MKDIR_P and remove a few gnuisms build-sys: add missing "not found" strings build-sys: fix again UL_SCANF_TYPE_MODIFIER tests: don't use system's mount commands tests: improve skipping of old btrfs-tools tests: remove invalid argument in libmount/debug tests: skip old socat silently misc: fix icc/clang compiler warnings misc: fix printf i386 compiler warnings commit 0bb5d3a043c0aba2f0b755349c971a928632f813 Author: Karel Zak Date: Mon Mar 14 13:24:54 2016 +0100 tests: make libmount/lock optional Signed-off-by: Karel Zak tests/ts/libmount/lock | 2 ++ 1 file changed, 2 insertions(+) commit 3d0cf042b037f4b945bc2465504fe2e693dda6ec Author: Karel Zak Date: Mon Mar 14 13:21:27 2016 +0100 sulogin: fix sigset_t initialization Reported-by: Samuel Thibault Signed-off-by: Karel Zak login-utils/sulogin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3ff951f8f382641c2960516d85c291ed9aaef23f Author: Sami Kerola Date: Sun Mar 13 10:31:49 2016 +0000 docs: update AUTHORS file Former email address has not reached me since summer 2015. Signed-off-by: Sami Kerola AUTHORS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 074676470e4d5a3042fbc2917fcb40bfe440947a Author: Sami Kerola Date: Sun Mar 13 10:31:48 2016 +0000 bash-completion: lsns: add missing completion file Signed-off-by: Sami Kerola bash-completion/Makemodule.am | 3 +++ bash-completion/lsns | 56 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) commit 372221e52b4cd9fcb01149a16750a5da08f62833 Author: Sami Kerola Date: Sun Mar 13 10:31:47 2016 +0000 bash-completion: lslogins: add missing completion file Signed-off-by: Sami Kerola bash-completion/Makemodule.am | 3 ++ bash-completion/lslogins | 76 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) commit 061e41250f78078bffa55a3774a962d6212e0cae Author: Sami Kerola Date: Sun Mar 13 10:31:46 2016 +0000 bash-completion: ipcmk: add missing completion file Signed-off-by: Sami Kerola bash-completion/Makemodule.am | 3 +++ bash-completion/ipcmk | 27 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) commit 5f57e1420c425da514eb4f4c32c8185442d029c3 Author: Sami Kerola Date: Sun Mar 13 10:31:45 2016 +0000 bash-completion: fsck.cramfs, isosize: find files an argument Earlier completion suggested only options for the command, this changes options to be proposed when first character of an argument is dash. Signed-off-by: Sami Kerola bash-completion/fsck.cramfs | 11 +++++++++-- bash-completion/isosize | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) commit aeb9298d3e7088877bda7a7cf3634c4b52a3b128 Author: Sami Kerola Date: Sun Mar 13 10:31:44 2016 +0000 setsid: fix argument count bug The below demonstrates what happen before this change. $ setsid --wait setsid: child 3252 did not exit normally: Success Signed-off-by: Sami Kerola sys-utils/setsid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5a2ed453099e3c690e781c54ceebdf00947a4389 Author: Sami Kerola Date: Sun Mar 13 10:31:43 2016 +0000 isosize: stop unmeaningful printing errno message Earlier printout had strange looking 'Success'. $ isosize --sectors /dev/urandom isosize: /dev/urandom: might not be an ISO filesystem isosize: 733error: le=-1971599244 be=1633181607: Success ... Signed-off-by: Sami Kerola disk-utils/isosize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4e5411f623216c7ca700d5d63b5c2ec62ccc22ba Author: Sami Kerola Date: Sun Mar 13 10:31:40 2016 +0000 logger: fix memory leak [ASAN and valgrind] Signed-off-by: Sami Kerola misc-utils/logger.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 1d01d13edaa0ee52ac5a6da5a0822377b43483da Author: Richard Yao Date: Fri Mar 11 17:03:27 2016 -0500 swapon: fix discard=pages docs The documentation for discard=pages is ambiguous in that it could be interpreted to mean either that the pages are discarded immediately after being freed or that the pages are discarded immediately before being reused by a write. Both implementations would satisfy the statement "discard freed swap pages before they are avaliable for reuse", but the kernel does the former. Doing a discard operation (which is non-queued on SATA drives before SATA 3.1) before a write operation to the same sector is pointless unless using, pre-SATA 3.1 drives, where discard is detrimental because ATA TRIM is a non-queued command. Anyone who wants discard operations on swap and interprets the man page as describing the incorrect behavior would opt for discard=once over discard, when discard provides the behavior of both discard=once and discard=pages, which is what they likely want. Lets make a small change to the documentation to clarify the behavior. Signed-off-by: Richard Yao sys-utils/swapon.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 668d6d2ef9e58b1676fe3c1b9bbcf04536e879de Author: Ruediger Meier Date: Sat Mar 12 23:45:00 2016 +0100 travis: add OSX build Of course OSX is not an important target but since it's available on travis we can (mis)use it to generally improve non-Linux and non-GNU compatibility. People are using musl, busybox or whatever and util-linux should work for them. Having OSX build running regularly will help us to freeze the lately improved BSD compatibility and to check code which is usually ifdef'ed. We are using the most recent OSX 10.11.x / Xcode 7.3 though the older travis OSX images are working too currently. If it turns out that this OSX build is too annoying when we are about to add support for latest Linux features then we could add: allow_failures: - os: osx to let it fail silently. Note I've tried hard to keep .travis-functions.sh readable for the Linux case. I've removed --with-python because it's default anyway, --enable-gtk-doc is still tested in discheck. OSX root check would also work (almost, using another --prefix) but would only run one more test yet (minix). OSX distcheck would have some issues with conditionally built man pages and does not work with default distcheck confopts. No need to fix that because distcheck is more for maintainer machines. BTW to increase travis build speed again we could remove some targets from the matrix without losing tested scenarios: - nonroot for Linux seems to be waste of time - clang/Linux could be root check only For now we keep it as is. Signed-off-by: Ruediger Meier .travis-functions.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++++---- .travis.yml | 4 ++++ 2 files changed, 58 insertions(+), 4 deletions(-) commit fc412fe4cee960909527efa5f2975b673c617a30 Author: Ruediger Meier Date: Sat Mar 12 23:44:50 2016 +0100 travis: switch to Ubuntu 14.04 Trusty Now we have a reasonable recent build system with systemd, etc. We still keep old Ubuntu 12.04 Precise to check backward compatibility but remove the hack to install socat. Note the new env variable PRECISE="yes" is only there to see it on travis website. Signed-off-by: Ruediger Meier .travis-functions.sh | 11 ++++++----- .travis.yml | 10 ++++++++++ 2 files changed, 16 insertions(+), 5 deletions(-) commit 651b25cd7fcb3493f0ed55fbb4ce0807dd64e215 Author: Ruediger Meier Date: Sun Mar 13 21:14:08 2016 +0100 build-sys: improve uuidd and script build conditions Signed-off-by: Ruediger Meier configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 18336d16d9fca0b217407b6c7132b588928f8f66 Author: Ruediger Meier Date: Sun Mar 13 20:47:26 2016 +0100 build-sys: use AC_PROG_MKDIR_P and remove a few gnuisms Signed-off-by: Ruediger Meier Makefile.am | 2 +- configure.ac | 1 + libblkid/src/Makemodule.am | 2 +- libfdisk/src/Makemodule.am | 2 +- libmount/src/Makemodule.am | 2 +- libsmartcols/src/Makemodule.am | 2 +- libuuid/src/Makemodule.am | 2 +- sys-utils/Makemodule.am | 2 +- 8 files changed, 8 insertions(+), 7 deletions(-) commit 9dd55a048e1725c60c406cd73600bca84c4f1cf5 Author: Ruediger Meier Date: Sun Mar 13 05:46:07 2016 +0100 build-sys: add missing "not found" strings Otherwise configure output looks like this: configure: WARNING: not found; not building cfdisk Signed-off-by: Ruediger Meier configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 544d4069216539b730a952ba47d6471b96cdd72b Author: Ruediger Meier Date: Sun Mar 13 03:19:26 2016 +0100 build-sys: fix again UL_SCANF_TYPE_MODIFIER This reverts commit c8494d88: "build-sys: fix UL_SCANF_TYPE_MODIFIER for icc" plus fix the check prog, because it found "%as" to be valid on systems where "%a" is used for float conversion. icc warns about "%ms" but it works anyways. Our AC_RUN_IFELSE prog should do it right now regardless of compiler warnings. Note "%ms" is POSIX.1-2008 standard but still not available on many systems. Maybe it's time to remove "%as" fallback for old glibc which is even less portable. Signed-off-by: Ruediger Meier configure.ac | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 0693589b7a095821869c9d2a03289e2e0654758b Author: Ruediger Meier Date: Sun Mar 13 06:07:16 2016 +0100 tests: don't use system's mount commands Signed-off-by: Ruediger Meier tests/ts/eject/umount | 11 ++++++----- tests/ts/libmount/context | 2 +- tests/ts/libmount/context-py | 2 +- tests/ts/libmount/context-utab | 6 ++++-- tests/ts/libmount/context-utab-py | 6 ++++-- 5 files changed, 16 insertions(+), 11 deletions(-) commit 131e54379454f4b39cbb77ee9d306a56c0873ad5 Author: Ruediger Meier Date: Sat Mar 12 12:23:32 2016 +0100 tests: improve skipping of old btrfs-tools Older Linux distributions came with differently incomplete btrfs-tools 0.19+git versions (2009-2013). Old mkfs.btrfs needs minimum device size 256M. Note the most simple way to skip btrfs-tools < 3.14 would be btrfs property --help 2>&1 || ts_skip "btrfs too old" but I want to include 3.12 because of Ubuntu Trusty on travis. This patch partly reverts/rewrites the following commits: 7e604f3c - tests: don't skip case "output undefined" 076153f8 - tests: don't compare btrfs mount options 370d31f7 - tests: skip btrfs tests if version too old Signed-off-by: Ruediger Meier tests/expected/libmount/context-utab | 1 - tests/expected/libmount/context-utab-py | 1 - tests/ts/libmount/context-utab | 67 ++++++++++++++++---------------- tests/ts/libmount/context-utab-py | 68 ++++++++++++++++----------------- tests/ts/mount/fstab-btrfs | 8 ++-- 5 files changed, 73 insertions(+), 72 deletions(-) commit 616b534f4ffed190577e14f9c5231481fa1fdf69 Author: Ruediger Meier Date: Thu Mar 10 11:29:09 2016 +0100 tests: remove invalid argument in libmount/debug This was usually no problem because of unsafe strtoul(3) usage in test prog libmount/src/init.c. But musl's strtoul sets errno if no digit was found in the argument. Signed-off-by: Ruediger Meier tests/ts/libmount/debug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e4866229911a93c61c2d554ea67e010d01dd64e1 Author: Ruediger Meier Date: Wed Mar 9 18:15:25 2016 +0100 tests: skip old socat silently I've seen enough logs with verbose socat output for now. Let's make it quiet. Signed-off-by: Ruediger Meier tests/functions.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit 58c87bd045dfa5f924f25cd59577b36baf7817ff Author: Ruediger Meier Date: Sat Mar 12 23:55:48 2016 +0100 misc: fix icc/clang compiler warnings clang warning: libmount/src/tab.c:1833:6: warning: variable 'rc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if (!mpc) ^~~~ icc printf warnings: libmount/src/monitor.c(348): warning #2279: printf/scanf format not a string literal and no format arguments DBG(MONITOR, ul_debugobj(mn, status == 1 ? " success" : " nothing")); ^ login-utils/vipw.c(348): warning #2279: printf/scanf format not a string literal and no format arguments : _("You are using shadow passwords on this system.\n")); ^ icc enum warnings: disk-utils/fdisk-menu.c(150): warning #188: enumerated type mixed with another type .exclude = FDISK_DISKLABEL_GPT | FDISK_DISKLABEL_BSD, ^ libsmartcols/src/table_print.c(750): warning #188: enumerated type mixed with another type &width, align, ^ Signed-off-by: Ruediger Meier disk-utils/fdisk-menu.c | 4 ++-- libmount/src/monitor.c | 2 +- libmount/src/tab.c | 5 ++--- libsmartcols/src/table_print.c | 3 ++- login-utils/vipw.c | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) commit e1a15f8f686df21281ee8e20349f4d8579a8a9e0 Author: Ruediger Meier Date: Wed Mar 9 17:56:58 2016 +0100 misc: fix printf i386 compiler warnings Still a few printf warnings found on i386 Linux: libfdisk/src/alignment.c: In function 'fdisk_align_lba': libfdisk/src/alignment.c:115:3: warning: format '%ju' expects argument of type 'uintmax_t', but argument 6 has type 'long unsigned int' [-Wformat] sys-utils/lsns.c: In function ‘add_namespace’: sys-utils/lsns.c:346:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘ino_t’ [-Wformat] sys-utils/lsns.c: In function ‘add_process_to_namespace’: sys-utils/lsns.c:362:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘ino_t’ [-Wformat] sys-utils/lsns.c: In function ‘add_scols_line’: sys-utils/lsns.c:440:4: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘ino_t’ [-Wformat] Signed-off-by: Ruediger Meier libfdisk/src/alignment.c | 2 +- sys-utils/lsns.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) commit f9e7b66dbded19d798b883be68b0613749d7b8bb Author: Serge Hallyn Date: Wed Mar 2 17:53:42 2016 -0800 Implement support for cgroup namespaces Currently these are supported in #for-next. Signed-off-by: Serge Hallyn include/namespace.h | 3 +++ sys-utils/nsenter.1 | 14 ++++++++++++++ sys-utils/nsenter.c | 23 ++++++++++++++++------- sys-utils/unshare.1 | 9 +++++++++ sys-utils/unshare.c | 34 +++++++++++++++++++++------------- 5 files changed, 63 insertions(+), 20 deletions(-)