Changes between v2.13 and v2.13.1-rc1 ------------------------------------- commit 048745d7bcd48e6fbf144f20d16157ba563ce5ed Author: Karel Zak Date: Tue Nov 13 10:46:57 2007 +0100 build-sys: release++ Increment release number to v2.13.1 Signed-off-by: Karel Zak commit 2d32461f8154f011b7eb315c24d463c1cac67168 Author: Karel Zak Date: Tue Nov 13 10:38:14 2007 +0100 docs: add v2.13.1 ReleaseNotes Signed-off-by: Karel Zak commit 12024d531ab8c50e287f429d54c6c9e78f14ed93 Author: Karel Zak Date: Mon Nov 12 22:39:33 2007 +0100 docs: update AUTHORS file Signed-off-by: Karel Zak commit d3853847763af20d68d7e8d8188d58bb58937df7 Author: Karel Zak Date: Mon Nov 12 12:19:37 2007 +0100 po: update po files Signed-off-by: Karel Zak commit 3a825158254c6a00d6cb7671a74b93a88a45791f Author: Lauri Nurmi Date: Mon Nov 12 12:05:17 2007 +0100 po: update fi.po (from translationproject.org) commit 7560f6d34f84d72c41ebc770a04ab44431767da2 Author: Gabor Kelemen Date: Mon Nov 12 11:48:10 2007 +0100 po: update hu.po (from translationproject.org) commit 72f4a8685716a2ba75c436b46853d9bce8790634 Author: Karel Zak Date: Thu Oct 25 12:10:31 2007 +0200 losetup: fix errno usage Signed-off-by: Karel Zak commit 47b1b8a5626ec4e5271fd638431239ee0f314b0b Author: Pascal Terjan Date: Sat Nov 3 11:55:52 2007 +0100 docs: fix ChangeLog URL Signed-off-by: Pascal Terjan commit 0c75045a19987ba183cc6af87e0ff569ac6f7ab8 Author: Karel Zak Date: Mon Oct 22 10:47:46 2007 +0200 docs: add info about .bugfix releases and branches Signed-off-by: Karel Zak commit fb2da4155d099aad2c9da2eecd138a7668975667 Author: KaiGai Kohei Date: Mon Oct 22 10:30:19 2007 +0200 mkswap: possible to crash with SELinux relabeling support When fgetfilecon() is failed with -ENODATA, this process does not exit. However, "oldcontext" is not initialized in this case, so context_new() will be called with uninitialized "oldcontext" at the next. Finally, it makes a segmentation fault, because context_new() have to refer an incorrect memory region. The attached patch fixes this matter using matchpathcon(). If we cannot obtain actual file context due to -ENODATA, a context which is returned by matchpathcon() is applied as oldcontext. Then, the type of the context is relabeled to "swapfile_t" explicitly. Signed-off-by: KaiGai Kohei Signed-off-by: Karel Zak commit 30c3cb74c927e2106e6792946298d1ee5a7de523 Author: Karel Zak Date: Mon Oct 15 13:41:18 2007 +0200 setarch: generate groff links in a better way Signed-off-by: Karel Zak commit e6caf0f4de3125cdf4ca78b8308a12238309c583 Author: Karel Zak Date: Mon Oct 15 12:05:59 2007 +0200 po: update po files Signed-off-by: Karel Zak commit 4cc8cc02cb3b11cfba57ac69863e1458b5bbbf4d Author: Karel Zak Date: Thu Oct 11 14:31:41 2007 +0200 po: fix typo in de.po de.po:9010: internationalized messages should not contain the `\r' escape sequence Signed-off-by: Karel Zak commit 68d8900bc0fa8ec0f46fd8c2e990d50dbfe51790 Author: Benno Schulenberg Date: Thu Oct 11 11:59:48 2007 +0200 po: update nl.po (from translationproject.org) commit a4dae6c39422ec0dbbf9357d4bdcfb131c248b13 Author: Michael Piefel Date: Fri Oct 5 12:43:51 2007 +0200 po: update de.po (from translationproject.org) commit 1b1ff2d6edd2db321926f7243004937cb26f9f15 Author: Karel Zak Date: Fri Oct 5 12:22:13 2007 +0200 script: dies on SIGWINCH The "doinput" process doesn't make a difference between SIGWINCH and SIGCHILD. This process also sends unnecessary SIGWINCH to child (the signal is ignored by child). Fixed. Signed-off-by: Karel Zak commit 07f323d0402a9385941a183261e4d9ebe689c960 Author: Karel Zak Date: Thu Sep 20 14:33:31 2007 +0200 ionice: add a note about permissions to ionice.1 Signed-off-by: Karel Zak commit ed46e62efb1ea15ffbedac70afa28c293e5ccd8f Author: Yu Zhiguo Date: Thu Sep 6 14:28:49 2007 +0800 chsh: should use pam_end function to terminate the PAM transaction chsh will use PAM transaction if macros 'REQUIRE_PASSWORD' and 'HAVE_SECURITY_PAM_MISC_H' are defined, but there is no pam_end function be used when the PAM transaction be terminated. This patch also cleanup PAM code in chsh(1). Signed-off-by: Yu Zhiguo Co-Author: Karel Zak Signed-off-by: Karel Zak commit 7054c9edd6f2b4b589f0d5a5d2e1b500614a5f0a Author: Karel Zak Date: Thu Oct 4 00:22:36 2007 +0200 chfn: add pam_end() call and cleanup PAM code Signed-off-by: Karel Zak commit f82326e6499893b3b52ef540a605033c6f1341bf Author: Karel Zak Date: Fri Oct 12 00:33:01 2007 +0200 tests: fix blkid cache usage Signed-off-by: Karel Zak commit 53ca67faf2aa1d742119c3510ef5064e0761ed90 Author: Karel Zak Date: Thu Oct 11 16:18:29 2007 +0200 mount: -L|-U segfault when label or uuid doesn't exist # mount -L foo Segmentation fault mount(8) calls strcmp() with NULL argument. Signed-off-by: Karel Zak commit 66a3320b78cb7155c95451292f73501fea739a18 Author: Rajeev V. Pillai Date: Wed Oct 3 22:39:27 2007 +0200 pg: fix segfault on search Run pg(1) and type '/' which is supposed to forward search for the previously remembered search string. pg(1) will segfault after printing "No remembered search string:". Signed-off-by: Rajeev V. Pillai Signed-off-by: Karel Zak commit c425877ac050d59c92577b20c5a2dee0412e67e9 Author: Daniel Nylander Date: Sun Sep 23 21:30:30 2007 +0200 po: update sv.po (from translationproject.org) commit 9c455113ddcad30afcd4b8f59e5f4e2d8606037d Author: Ludwig Nussel Date: Thu Sep 20 14:57:20 2007 +0200 mount: doesn't drop privileges properly when calling helpers {,u}mount calls setuid() and setgid() in the wrong order and doesn't checking the return value of set{u,g}id(() when running helpers like mount.nfs. Signed-off-by: Ludwig Nussel Signed-off-by: Karel Zak commit af03fcfeccdec0aa537dd4373a773cdf0d6d7892 Author: Matthias Koenig Date: Thu Sep 20 11:11:18 2007 +0200 hwclock: fix --rtc option The --rtc option does not set the name of the device correctly. It still uses /dev/rtc even if the --rtc option is given. Testcase: $ mv /dev/rtc /dev/foo $ hwclock --show --debug --rtc=/dev/foo hwclock from util-linux-2.13-rc2 Using /dev interface to clock. Last drift adjustment done at 1190198135 seconds after 1969 Last calibration done at 1190198135 seconds after 1969 Hardware clock is on local time Assuming hardware clock is kept in local time. Waiting for clock tick... hwclock: open() of /dev/rtc failed, errno=2: No such file or directory. ...got clock tick Co-Author: Karel Zak Signed-off-by: Matthias Koenig Signed-off-by: Karel Zak commit 5588d9a2e6cd79f2beba5e7669f874a5b9671bbb Author: LaMont Jones Date: Fri Sep 21 22:38:32 2007 -0600 setarch: fix compiler warning NULL is not 0L. It's (void*)0. Passing that as a parameter to a function that takes an unsigned long results in a warning about the lack of a cast. Signed-off-by: LaMont Jones commit c9256e4c2f01cc1d25cf3bcbb87ea6af037928a6 Author: Karel Zak Date: Fri Sep 21 00:34:30 2007 +0200 login: login segfaults on EOF (rh#298461) Stupid bug in audit code: $ login login: ^D login: ^D Segmentation fault Signed-off-by: Karel Zak commit 519c6ef6954f773ee91129ae8d6382c45f628ada Author: Mike Frysinger Date: Thu Sep 6 20:30:16 2007 -0400 build-sys: nls/locale handling in util-linux-ng general On Monday 03 September 2007, Karel Zak wrote: > http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/590/focus=592 > > I agree that we need a better support for compilation without > locales, but from my point of view NLS != all locales stuff. The NLS > support is subset only. thinking about the input from everyone, i'd propose the attached ... Only pull in locale.h as needed and move it to the common nls.h. Signed-off-by: Mike Frysinger commit be8687bb091ecb9998b6ba01db55ba99d6d281ca Author: Li Zefan Date: Mon Sep 10 17:25:10 2007 +0800 blockdev: add missing description about option --report in manpage The manpage does not mention the option --report. Signed-off-by: Li Zefan commit a6c153f62cbc03ebd667761ab163af0315aba9bf Author: Li Zefan Date: Tue Sep 4 15:33:36 2007 +0800 rename: add description about option -V to manpage Signed-off-by: Li Zefan commit bfcb3d7658a9e991156ad756c368b7104239fc68 Author: Li Zefan Date: Tue Sep 4 15:20:25 2007 +0800 rename: remove useless variable The number of files successfully renamed is calculated and stored in variable ct, > but actually the variable is not used afterwards. Signed-off-by: Li Zefan commit bd86059cbe5607ac61d339b8b6360c01d4722b1b Author: Norbert Buchmuller Date: Sun Sep 2 14:08:53 2007 -0600 mount: chain of symlinks to fstab causes use of pointer after free Looking at the source in 'mount/realpath.c' we find that when dealing with the second or later symlink in the chain, a memory block was free()d before copying its contents to a newly allocated block. commit 3c3479b5541cd61d817d3cddf33fa5e1e6491b95 Author: Li Zefan Date: Mon Sep 3 14:25:40 2007 +0800 cal: add description about option -V to manpage cal support option -V to display version information, but the manpage doesn't mention it. Signed-off-by: Li Zefan commit 919861129d62ca90f3281649fa4a01d408a1814c Author: LaMont Jones Date: Tue Aug 28 15:56:41 2007 -0600 build-sys: remove files that are no longer delivered from git Neither mount/h/swap.h nor mount/mount.smbfs is delivered as part of util-linux-ng tar archives. As such, they should not be in git either. Signed-off-by: LaMont Jones commit 8dee51ff278cf506169366f69e46b653cbdb4af3 Author: Arkadiusz Miskiewicz Date: Tue Aug 28 09:16:57 2007 +0200 setarch: adding groff symlinks to setarch manual page Signed-off-by: Arkadiusz Miskiewicz commit 71bae2369b2186e530dcbb2291257436c35d8615 Author: LaMont Jones Date: Thu Aug 9 13:37:22 2007 -0600 mount: improve error message when helper program not present "missing codepage" is a bit confusing to many people, so include "helper program" in the error message when we fail to mount something. Signed-off-by: LaMont Jones commit 52496239f6aed7ce42e7907b034faa661a6ed88f Author: Karel Zak Date: Sun Sep 2 15:02:55 2007 +0200 fdisk: fix typo Reported-by: Daniel Nylander Signed-off-by: Karel Zak commit 08490b96860163492c3474f788d369d353fbe40f Author: A. Costa Date: Wed Aug 29 07:07:10 2007 -0600 flock: typo in man page Signed-off-by: LaMont Jones commit 2cb18e7e512b784520f8fd0bf48f86cb76f91dab Author: Karel Zak Date: Sun Sep 2 13:00:23 2007 +0200 build-sys: fix localedir (unsupported by autoconf < 2.60) The autoconf < 2.60 doesn't support the @localedir@ directory variable. The util-linux-ng-2.13 minimally requires autoconf-2.59. Signed-off-by: Karel Zak commit aa6a8607026fb3966ea3557539912da9d30ee801 Author: Karel Zak Date: Sun Sep 2 11:43:53 2007 +0200 docs: fix stable branche name in README.devel Signed-off-by: Karel Zak AUTHORS | 15 +- NEWS | 13 +- README | 3 +- README.devel | 12 +- config/include-Makefile.am | 1 + configure.ac | 3 +- disk-utils/blockdev.8 | 8 + disk-utils/mkfs.cramfs.c | 2 +- disk-utils/mkswap.c | 15 +- docs/v2.13.1-ReleaseNotes | 76 + fdisk/fdisk.c | 2 +- hwclock/rtc.c | 33 +- include/nls.h | 8 +- login-utils/chfn.c | 55 +- login-utils/chsh.c | 57 +- login-utils/login.c | 4 +- misc-utils/cal.1 | 2 + misc-utils/cal.c | 1 - misc-utils/look.c | 1 - misc-utils/rename.1 | 7 + misc-utils/rename.c | 5 +- misc-utils/script.c | 14 +- misc-utils/write.c | 1 - mount/h/swap.h | 5 - mount/lomount.c | 19 +- mount/mount.c | 22 +- mount/mount.smbfs | 68 - mount/realpath.c | 9 +- mount/umount.c | 8 +- po/ca.po | 532 ++-- po/cs.po | 534 ++-- po/da.po | 532 ++-- po/de.po | 572 ++-- po/es.po | 532 ++-- po/et.po | 529 ++-- po/fi.po | 1294 +++--- po/fr.po | 532 ++-- po/hu.po |10193 ++++++++++++++++++++++++++++++++++++++++++++ po/id.po | 532 ++-- po/it.po | 532 ++-- po/ja.po | 528 ++-- po/nl.po | 550 ++-- po/pt_BR.po | 528 ++-- po/ru.po | 532 ++-- po/sl.po | 532 ++-- po/sv.po | 553 ++-- po/tr.po | 532 ++-- po/uk.po | 532 ++-- po/util-linux-ng.pot | 522 ++-- po/vi.po | 534 ++-- schedutils/ionice.1 | 6 +- sys-utils/Makefile.am | 16 + sys-utils/flock.1 | 2 +- sys-utils/setarch.c | 2 +- tests/functions.sh | 30 +- tests/ts-cramfs-mkfs | 2 + text-utils/colrm.c | 2 +- text-utils/more.c | 1 - text-utils/pg.c | 4 +- 59 files changed, 16571 insertions(+), 5620 deletions(-)