summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: release++ (v2.28)v2.28Karel Zak2016-04-122-1/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: update v2.28-ReleaseNotesKarel Zak2016-04-121-0/+27
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: update AUTHORS fileKarel Zak2016-04-121-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* po: merge changesKarel Zak2016-04-1227-3874/+2717
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* po: update uk.po (from translationproject.org)Yuri Chornoivan2016-04-121-3793/+193
|
* po: update sv.po (from translationproject.org)Sebastian Rasmussen2016-04-121-6319/+5130
|
* po: update pt_BR.po (from translationproject.org)Rafael Fontenelle2016-04-121-410/+325
|
* po: update pl.po (from translationproject.org)Jakub Bogusz2016-04-121-383/+195
|
* po: update nl.po (from translationproject.org)Benno Schulenberg2016-04-121-1140/+614
|
* po: update ja.po (from translationproject.org)Takeshi Hamasaki2016-04-121-97/+501
|
* po: update es.po (from translationproject.org)Antonio Ceballos Roa2016-04-121-304/+210
|
* po: update de.po (from translationproject.org)Philipp Thomas2016-04-121-396/+200
|
* po: update cs.po (from translationproject.org)Petr Písař2016-04-121-310/+229
|
* build-sys: fix cap-ng configure flag handlingMike Frysinger2016-04-121-2/+5
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* build-sys: add --disable-logger and --disable-lsloginsRuediger Meier2016-04-061-3/+10
| | | | | | | | Now we are able to disable all programs which have systemd/journald support. This feature is needed by openSUSE packagers who are building util-linux in 2 stages to avoid build cycles. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: remove deprecated md5sum based fdisk/bsd testRuediger Meier2016-04-063-275/+3
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: fix fdisk/bsd for hppaRuediger Meier2016-04-061-1/+2
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: add fdisk/bsd hexdump for alphaRuediger Meier2016-04-061-0/+217
| | | | | | | Taken from Debian build logs: https://buildd.debian.org/status/fetch.php?pkg=util-linux&arch=alpha&ver=2.28~rc2-1&stamp=1459443555 Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* rename: add example to the man pageKaligule2016-04-061-0/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/strutils: use int for fgetc()Karel Zak2016-04-041-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* getopt: make sure setprogname provided by non-Linux systemKarel Zak2016-04-042-1/+2
| | | | | | | based on suggestion from Ruediger Meier. Reported-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* bash-completion: update chrt completionSami Kerola2016-04-041-13/+27
| | | | | | | | | | | | Add couple missing options, and make the completion overall work better. That said completion is still incomplete, pardon the pun. After user has specified policy then giving a hint what priority needs to be specified is theoretically possible, but such hint is not given. There does not seem to be easy way to know when user wants stops specifying options and move to defining priority in: chrt [options] [prio] [command|pid]. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* chrt: make --sched-* short options to require an argumentSami Kerola2016-04-041-1/+1
| | | | | | | These options are expecting an argument, and the long options struct already required them. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* libmount: Fix possible NULL dereference in get_btrfs_fs_root()Karel Zak2016-03-312-3/+10
| | | | | | | | | | | The function mnt_table_get_fs_root() should be robust enough to accept NULL as mountinfo -- the right behaviour is to default to '/'. The set_fs_root() (tab_update.c) has to understand when mountinfo is necessary (for bind mounts and btrfs). Reported-by: Stanislav Brabec <sbrabec@suse.cz> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add DM error target for blkidKarel Zak2016-03-302-0/+49
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: revert mmap usageKarel Zak2016-03-302-89/+2
| | | | | | | | | | | | | The implementation has not been ready for I/O errors and it seems that there is no elegant way how to resolve this issue. Linux returns SIGBUS on mmap errors and play with signals (or longjumps) in shared library is really bad idea. It also seems that mmaped devices have some unexpected side-effects with page-cache where for example dd returns old data for already modified device etc. Signed-off-by: Karel Zak <kzak@redhat.com>
* libfdisk: fix ref.counting in fdisk_apply_script() [clang analyze]Karel Zak2016-03-301-4/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: result of operation is garbage or undefined [clang analyze]Karel Zak2016-03-291-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: remove dead assignment [clang analyze]Karel Zak2016-03-291-1/+0
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* ipcs: make static analyzer happy [clang analyze]Karel Zak2016-03-291-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* agetty: remove atoi() from argv[] parsing [clang analyze]Karel Zak2016-03-291-7/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* vipw: make tmp_file usage more robust [clang analyze]Karel Zak2016-03-291-2/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: happy new year...Karel Zak2016-03-291-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++ (v2.28-rc2)v2.28-rc2Karel Zak2016-03-292-1/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: update v2.28-ReleaseNotesKarel Zak2016-03-291-1/+96
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: update AUTHORS fileKarel Zak2016-03-291-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* po: merge changesKarel Zak2016-03-2927-20139/+21628
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* po: update ja.po (from translationproject.org)Takeshi Hamasaki2016-03-291-2953/+2776
|
* Merge branch 'tests-setarch' of https://github.com/rudimeier/util-linuxKarel Zak2016-03-246-11/+91
|\ | | | | | | | | | | | | * '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
| * tests: improve setarch tests, regarding --uname-2.6 issuesRuediger Meier2016-03-244-9/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <ruediger.meier@ga-group.nl>
| * setarch: add "exec" message to --verboseRuediger Meier2016-03-222-2/+6
| | | | | | | | | | | | Also we don't need fflush() in non-verbose case. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
| * build-sys: ignore vim .swp filesRuediger Meier2016-03-221-0/+1
| | | | | | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* | lsipc: don't free shm data if no shm id is foundRomain Naour2016-03-231-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 <romain.naour@gmail.com>
* | libblkid: Update for newer bcache superblocksKent Overstreet2016-03-235-136/+0
| | | | | | | | | | | | | | | | 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 <kent.overstreet@gmail.com>
* | partx: fix --nr usageKarel Zak2016-03-224-17/+48
| | | | | | | | | | Reported-by: Serge van den Boom <serge+util-linux@vdboom.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* | sulogin: Always make echo work after performing getpasswd even if root ↵Werner Fink2016-03-221-2/+1
| | | | | | | | | | | | | | | | | | | | 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 <werner@suse.de>
* | lscpu: revert unnecessary path_exist()Karel Zak2016-03-221-1/+1
| | | | | | | | | | | | | | The features file is there from 2.6.31 when Xen has been added to kernel. Sorry. Signed-off-by: Karel Zak <kzak@redhat.com>
* | docs: update TODO fileKarel Zak2016-03-221-0/+6
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | lscpu: correct the Virtualization type on Xen DomU PV guestDongli Zhang2016-03-221-2/+30
|/ | | | | | | | | | | | | | | | | | | | | | | 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 <dongli.zhang@oracle.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: add note about CLONE_NEWCGROUP supportKarel Zak2016-03-211-0/+3
| | | | | | | | | 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 <kzak@redhat.com>