forked from pool/util-linux
This commit is contained in:
parent
61b6e6fd5f
commit
422442a4c0
@ -1,127 +0,0 @@
|
||||
On Wed, Jun 25, 2008 at 12:59:32PM +0200, Matthias Koenig wrote:
|
||||
> The new loop auto-destruct feature detaches automatically loop devices
|
||||
> when no longer used. This means they are detached with the umount()
|
||||
> call. But when we call umount with -d, del_loop is called and fails
|
||||
> because the ioctl() returns ENXIO.
|
||||
|
||||
ah, good catch. Thanks!
|
||||
|
||||
> We probably should ignore this error here.
|
||||
|
||||
I think we could be smarter. We can try to detect autoclear
|
||||
loop devices. See the patch below.
|
||||
|
||||
[I'm going to create a stable/v2.14 branch.]
|
||||
|
||||
Karel
|
||||
|
||||
|
||||
>From e84feaecfdf44a33ef9eccc5a56c8a6999466140 Mon Sep 17 00:00:00 2001
|
||||
From: Karel Zak <kzak@redhat.com>
|
||||
Date: Wed, 2 Jul 2008 14:26:51 +0200
|
||||
Subject: [PATCH] umount: improve "-d" option for autoclear loops
|
||||
|
||||
The new loop auto-destruct feature detaches automatically loop devices
|
||||
when no longer used. This means they are detached with the umount()
|
||||
call. But when we call umount with -d, del_loop() is called and fails
|
||||
because the ioctl() returns ENXIO. We have to check for autoclear
|
||||
loop devices rather than blindly call del_loop().
|
||||
|
||||
Reported-by: Matthias Koenig <mkoenig@suse.de>
|
||||
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||
---
|
||||
mount/lomount.c | 23 +++++++++++++++++++++++
|
||||
mount/lomount.h | 1 +
|
||||
mount/umount.c | 12 ++++++++++--
|
||||
3 files changed, 34 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/mount/lomount.c b/mount/lomount.c
|
||||
index c3ac68a..7937052 100644
|
||||
--- a/mount/lomount.c
|
||||
+++ b/mount/lomount.c
|
||||
@@ -102,6 +102,29 @@ is_loop_used(int fd)
|
||||
return ioctl (fd, LOOP_GET_STATUS, &li) == 0;
|
||||
}
|
||||
|
||||
+int
|
||||
+is_loop_autoclear(const char *device)
|
||||
+{
|
||||
+ struct loop_info lo;
|
||||
+ struct loop_info64 lo64;
|
||||
+ int fd, rc = 0;
|
||||
+
|
||||
+ if ((fd = open(device, O_RDONLY)) < 0)
|
||||
+ return 0;
|
||||
+
|
||||
+ if (ioctl(fd, LOOP_GET_STATUS64, &lo64) == 0) {
|
||||
+ if (lo64.lo_flags & LO_FLAGS_AUTOCLEAR)
|
||||
+ rc = 1;
|
||||
+
|
||||
+ } else if (ioctl(fd, LOOP_GET_STATUS, &lo) == 0) {
|
||||
+ if (lo.lo_flags & LO_FLAGS_AUTOCLEAR)
|
||||
+ rc = 1;
|
||||
+ }
|
||||
+
|
||||
+ close(fd);
|
||||
+ return rc;
|
||||
+}
|
||||
+
|
||||
static char *
|
||||
looplist_mk_devname(struct looplist *ll, int num)
|
||||
{
|
||||
diff --git a/mount/lomount.h b/mount/lomount.h
|
||||
index f332a70..59108d4 100644
|
||||
--- a/mount/lomount.h
|
||||
+++ b/mount/lomount.h
|
||||
@@ -2,6 +2,7 @@ extern int set_loop(const char *, const char *, unsigned long long, unsigned lon
|
||||
const char *, int, int *);
|
||||
extern int del_loop(const char *);
|
||||
extern int is_loop_device(const char *);
|
||||
+extern int is_loop_autoclear(const char *device);
|
||||
extern char * find_unused_loop_device(void);
|
||||
|
||||
extern int loopfile_used_with(char *devname, const char *filename, unsigned long long offset);
|
||||
diff --git a/mount/umount.c b/mount/umount.c
|
||||
index 65c8622..b2bbdae 100644
|
||||
--- a/mount/umount.c
|
||||
+++ b/mount/umount.c
|
||||
@@ -190,6 +190,7 @@ umount_one (const char *spec, const char *node, const char *type,
|
||||
int res;
|
||||
int status;
|
||||
const char *loopdev;
|
||||
+ int myloop = 0;
|
||||
|
||||
/* Special case for root. As of 0.99pl10 we can (almost) unmount root;
|
||||
the kernel will remount it readonly so that we can carry on running
|
||||
@@ -201,7 +202,7 @@ umount_one (const char *spec, const char *node, const char *type,
|
||||
|| streq (node, "rootfs"));
|
||||
if (isroot)
|
||||
nomtab++;
|
||||
-
|
||||
+
|
||||
/*
|
||||
* Call umount.TYPE for types that require a separate umount program.
|
||||
* All such special things must occur isolated in the types string.
|
||||
@@ -209,6 +210,13 @@ umount_one (const char *spec, const char *node, const char *type,
|
||||
if (check_special_umountprog(spec, node, type, &status))
|
||||
return status;
|
||||
|
||||
+ /*
|
||||
+ * Ignore the option "-d" for non-loop devices and loop devices with
|
||||
+ * LO_FLAGS_AUTOCLEAR flag.
|
||||
+ */
|
||||
+ if (delloop && is_loop_device(spec) && !is_loop_autoclear(spec))
|
||||
+ myloop = 1;
|
||||
+
|
||||
umnt_err = umnt_err2 = 0;
|
||||
if (lazy) {
|
||||
res = umount2 (node, MNT_DETACH);
|
||||
@@ -310,7 +318,7 @@ umount_one (const char *spec, const char *node, const char *type,
|
||||
}
|
||||
|
||||
/* Also free loop devices when -d flag is given */
|
||||
- if (delloop && is_loop_device(spec))
|
||||
+ if (myloop)
|
||||
loopdev = spec;
|
||||
}
|
||||
gotloop:
|
@ -40,32 +40,32 @@ Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de>
|
||||
create mode 100644 mount/sha512.c
|
||||
create mode 100644 mount/sha512.h
|
||||
|
||||
Index: util-linux-ng-2.14/mount/Makefile.am
|
||||
Index: util-linux-ng-2.14.1-rc2/mount/Makefile.am
|
||||
===================================================================
|
||||
--- util-linux-ng-2.14.orig/mount/Makefile.am 2008-05-29 01:01:02.000000000 +0200
|
||||
+++ util-linux-ng-2.14/mount/Makefile.am 2008-06-25 11:33:15.000000000 +0200
|
||||
@@ -13,6 +13,7 @@ headers_common = fstab.h mount_mntent.h
|
||||
--- util-linux-ng-2.14.1-rc2.orig/mount/Makefile.am 2008-08-22 11:11:26.000000000 +0200
|
||||
+++ util-linux-ng-2.14.1-rc2/mount/Makefile.am 2008-09-09 17:07:40.000000000 +0200
|
||||
@@ -17,6 +17,7 @@ headers_common = fstab.h mount_mntent.h
|
||||
getusername.h loop.h sundries.h
|
||||
|
||||
mount_common = fstab.c mount_mntent.c getusername.c lomount.c \
|
||||
+ rmd160.c sha512.c \
|
||||
$(utils_common) $(headers_common) ../lib/env.c ../lib/linux_version.c \
|
||||
../lib/blkdev.c
|
||||
../lib/blkdev.c $(fallback)
|
||||
|
||||
@@ -27,7 +28,8 @@ umount_LDFLAGS = $(SUID_LDFLAGS) $(AM_LD
|
||||
@@ -32,7 +33,8 @@ umount_LDFLAGS = $(SUID_LDFLAGS) $(AM_LD
|
||||
swapon_SOURCES = swapon.c swap_constants.h $(utils_common)
|
||||
|
||||
losetup_SOURCES = lomount.c sundries.c xmalloc.c realpath.c \
|
||||
- loop.h lomount.h xmalloc.h sundries.h realpath.h
|
||||
+ loop.h lomount.h xmalloc.h sundries.h realpath.h \
|
||||
+ rmd160.c sha512.c
|
||||
- loop.h lomount.h xmalloc.h sundries.h realpath.h $(fallback)
|
||||
+ loop.h lomount.h xmalloc.h sundries.h realpath.h $(fallback) \
|
||||
+ rmd160.c sha512.c
|
||||
losetup_CPPFLAGS = -DMAIN $(AM_CPPFLAGS)
|
||||
|
||||
mount_LDADD = $(LDADD_common)
|
||||
Index: util-linux-ng-2.14/mount/lomount.c
|
||||
|
||||
Index: util-linux-ng-2.14.1-rc2/mount/lomount.c
|
||||
===================================================================
|
||||
--- util-linux-ng-2.14.orig/mount/lomount.c 2008-05-29 01:01:02.000000000 +0200
|
||||
+++ util-linux-ng-2.14/mount/lomount.c 2008-06-25 11:33:15.000000000 +0200
|
||||
--- util-linux-ng-2.14.1-rc2.orig/mount/lomount.c 2008-08-22 11:11:26.000000000 +0200
|
||||
+++ util-linux-ng-2.14.1-rc2/mount/lomount.c 2008-09-09 17:06:21.000000000 +0200
|
||||
@@ -24,6 +24,12 @@
|
||||
#include "sundries.h"
|
||||
#include "xmalloc.h"
|
||||
@ -77,9 +77,9 @@ Index: util-linux-ng-2.14/mount/lomount.c
|
||||
+#define MIN(a,b) ((a<b)?(a):(b))
|
||||
+#endif
|
||||
|
||||
#define SIZE(a) (sizeof(a)/sizeof(a[0]))
|
||||
|
||||
@@ -334,12 +340,22 @@ show_loop_fd(int fd, char *device) {
|
||||
#ifndef HAVE_VERSIONSORT
|
||||
# include "strverscmp.h"
|
||||
@@ -360,12 +366,22 @@ show_loop_fd(int fd, char *device) {
|
||||
|
||||
if (loopinfo64.lo_encrypt_type ||
|
||||
loopinfo64.lo_crypt_name[0]) {
|
||||
@ -105,7 +105,7 @@ Index: util-linux-ng-2.14/mount/lomount.c
|
||||
}
|
||||
printf("\n");
|
||||
return 0;
|
||||
@@ -593,7 +609,7 @@ xgetpass(int pfd, const char *prompt) {
|
||||
@@ -619,7 +635,7 @@ xgetpass(int pfd, const char *prompt) {
|
||||
}
|
||||
|
||||
if (pass == NULL)
|
||||
@ -114,7 +114,7 @@ Index: util-linux-ng-2.14/mount/lomount.c
|
||||
|
||||
pass[i] = 0;
|
||||
return pass;
|
||||
@@ -607,12 +623,31 @@ digits_only(const char *s) {
|
||||
@@ -633,12 +649,31 @@ digits_only(const char *s) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -148,7 +148,7 @@ Index: util-linux-ng-2.14/mount/lomount.c
|
||||
char *filename;
|
||||
|
||||
if (verbose) {
|
||||
@@ -646,13 +681,37 @@ set_loop(const char *device, const char
|
||||
@@ -672,13 +707,37 @@ set_loop(const char *device, const char
|
||||
filename = (char *) file;
|
||||
xstrncpy((char *)loopinfo64.lo_file_name, filename, LO_NAME_SIZE);
|
||||
|
||||
@ -188,7 +188,7 @@ Index: util-linux-ng-2.14/mount/lomount.c
|
||||
}
|
||||
}
|
||||
|
||||
@@ -673,20 +732,70 @@ set_loop(const char *device, const char
|
||||
@@ -699,20 +758,70 @@ set_loop(const char *device, const char
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -271,7 +271,7 @@ Index: util-linux-ng-2.14/mount/lomount.c
|
||||
}
|
||||
|
||||
if (ioctl(fd, LOOP_SET_FD, ffd) < 0) {
|
||||
@@ -837,7 +946,13 @@ usage(void) {
|
||||
@@ -863,7 +972,13 @@ usage(void) {
|
||||
|
||||
fprintf(stderr, _("\nOptions:\n"
|
||||
" -e | --encryption <type> enable data encryption with specified <name/num>\n"
|
||||
@ -285,7 +285,7 @@ Index: util-linux-ng-2.14/mount/lomount.c
|
||||
" -o | --offset <num> start at offset <num> into file\n"
|
||||
" --sizelimit <num> loop limited to only <num> bytes of the file\n"
|
||||
" -p | --pass-fd <num> read passphrase from file descriptor <num>\n"
|
||||
@@ -850,11 +965,14 @@ usage(void) {
|
||||
@@ -876,11 +991,14 @@ usage(void) {
|
||||
int
|
||||
main(int argc, char **argv) {
|
||||
char *p, *offset, *sizelimit, *encryption, *passfd, *device, *file, *assoc;
|
||||
@ -300,7 +300,7 @@ Index: util-linux-ng-2.14/mount/lomount.c
|
||||
unsigned long long off, slimit;
|
||||
struct option longopts[] = {
|
||||
{ "all", 0, 0, 'a' },
|
||||
@@ -862,6 +980,8 @@ main(int argc, char **argv) {
|
||||
@@ -888,6 +1006,8 @@ main(int argc, char **argv) {
|
||||
{ "encryption", 1, 0, 'e' },
|
||||
{ "find", 0, 0, 'f' },
|
||||
{ "help", 0, 0, 'h' },
|
||||
@ -309,7 +309,7 @@ Index: util-linux-ng-2.14/mount/lomount.c
|
||||
{ "associated", 1, 0, 'j' },
|
||||
{ "offset", 1, 0, 'o' },
|
||||
{ "sizelimit", 1, 0, 128 },
|
||||
@@ -880,12 +1000,13 @@ main(int argc, char **argv) {
|
||||
@@ -906,12 +1026,13 @@ main(int argc, char **argv) {
|
||||
off = 0;
|
||||
slimit = 0;
|
||||
assoc = offset = sizelimit = encryption = passfd = NULL;
|
||||
@ -324,7 +324,7 @@ Index: util-linux-ng-2.14/mount/lomount.c
|
||||
longopts, NULL)) != -1) {
|
||||
switch (c) {
|
||||
case 'a':
|
||||
@@ -907,6 +1028,12 @@ main(int argc, char **argv) {
|
||||
@@ -933,6 +1054,12 @@ main(int argc, char **argv) {
|
||||
case 'j':
|
||||
assoc = optarg;
|
||||
break;
|
||||
@ -337,7 +337,7 @@ Index: util-linux-ng-2.14/mount/lomount.c
|
||||
case 'o':
|
||||
offset = optarg;
|
||||
break;
|
||||
@@ -985,8 +1112,11 @@ main(int argc, char **argv) {
|
||||
@@ -1011,8 +1138,11 @@ main(int argc, char **argv) {
|
||||
else {
|
||||
if (passfd && sscanf(passfd, "%d", &pfd) != 1)
|
||||
usage();
|
||||
@ -350,10 +350,10 @@ Index: util-linux-ng-2.14/mount/lomount.c
|
||||
if (res == 2 && find) {
|
||||
if (verbose)
|
||||
printf("stolen loop=%s...trying again\n",
|
||||
Index: util-linux-ng-2.14/mount/losetup.8
|
||||
Index: util-linux-ng-2.14.1-rc2/mount/losetup.8
|
||||
===================================================================
|
||||
--- util-linux-ng-2.14.orig/mount/losetup.8 2008-05-29 01:01:02.000000000 +0200
|
||||
+++ util-linux-ng-2.14/mount/losetup.8 2008-06-25 11:33:15.000000000 +0200
|
||||
--- util-linux-ng-2.14.1-rc2.orig/mount/losetup.8 2008-05-29 01:01:02.000000000 +0200
|
||||
+++ util-linux-ng-2.14.1-rc2/mount/losetup.8 2008-09-09 17:06:21.000000000 +0200
|
||||
@@ -80,9 +80,18 @@ find the first unused loop device. If a
|
||||
argument is present, use this device. Otherwise, print its name
|
||||
.IP "\fB\-h, \-\-help\fP"
|
||||
@ -382,10 +382,10 @@ Index: util-linux-ng-2.14/mount/losetup.8
|
||||
|
||||
Cryptoloop is deprecated in favor of dm-crypt. For more details see
|
||||
.B cryptsetup(8).
|
||||
Index: util-linux-ng-2.14/mount/mount.8
|
||||
Index: util-linux-ng-2.14.1-rc2/mount/mount.8
|
||||
===================================================================
|
||||
--- util-linux-ng-2.14.orig/mount/mount.8 2008-06-09 11:28:17.000000000 +0200
|
||||
+++ util-linux-ng-2.14/mount/mount.8 2008-06-25 11:33:15.000000000 +0200
|
||||
--- util-linux-ng-2.14.1-rc2.orig/mount/mount.8 2008-08-22 11:11:26.000000000 +0200
|
||||
+++ util-linux-ng-2.14.1-rc2/mount/mount.8 2008-09-09 17:06:21.000000000 +0200
|
||||
@@ -618,6 +618,15 @@ This option implies the options
|
||||
.B nofail
|
||||
Do not report errors for this device if it does not exist.
|
||||
@ -402,7 +402,7 @@ Index: util-linux-ng-2.14/mount/mount.8
|
||||
.B mand
|
||||
Allow mandatory locks on this filesystem. See
|
||||
.BR fcntl (2).
|
||||
@@ -2034,6 +2043,10 @@ that are really options to
|
||||
@@ -2049,6 +2058,10 @@ that are really options to
|
||||
.BR \%losetup (8).
|
||||
(These options can be used in addition to those specific
|
||||
to the filesystem type.)
|
||||
@ -413,10 +413,10 @@ Index: util-linux-ng-2.14/mount/mount.8
|
||||
|
||||
If no explicit loop device is mentioned
|
||||
(but just an option `\fB\-o loop\fP' is given), then
|
||||
Index: util-linux-ng-2.14/mount/mount.c
|
||||
Index: util-linux-ng-2.14.1-rc2/mount/mount.c
|
||||
===================================================================
|
||||
--- util-linux-ng-2.14.orig/mount/mount.c 2008-05-29 01:01:02.000000000 +0200
|
||||
+++ util-linux-ng-2.14/mount/mount.c 2008-06-25 11:33:15.000000000 +0200
|
||||
--- util-linux-ng-2.14.1-rc2.orig/mount/mount.c 2008-09-09 16:50:12.000000000 +0200
|
||||
+++ util-linux-ng-2.14.1-rc2/mount/mount.c 2008-09-09 17:06:21.000000000 +0200
|
||||
@@ -87,6 +87,9 @@ static int suid = 0;
|
||||
/* Contains the fd to read the passphrase from, if any. */
|
||||
static int pfd = -1;
|
||||
@ -463,7 +463,7 @@ Index: util-linux-ng-2.14/mount/mount.c
|
||||
if (res == 2) {
|
||||
/* loop dev has been grabbed by some other process,
|
||||
try again, if not given explicitly */
|
||||
@@ -1650,6 +1657,7 @@ static struct option longopts[] = {
|
||||
@@ -1661,6 +1668,7 @@ static struct option longopts[] = {
|
||||
{ "options", 1, 0, 'o' },
|
||||
{ "test-opts", 1, 0, 'O' },
|
||||
{ "pass-fd", 1, 0, 'p' },
|
||||
@ -471,7 +471,7 @@ Index: util-linux-ng-2.14/mount/mount.c
|
||||
{ "types", 1, 0, 't' },
|
||||
{ "bind", 0, 0, 128 },
|
||||
{ "move", 0, 0, 133 },
|
||||
@@ -1811,6 +1819,7 @@ main(int argc, char *argv[]) {
|
||||
@@ -1822,6 +1830,7 @@ main(int argc, char *argv[]) {
|
||||
char *options = NULL, *test_opts = NULL, *node;
|
||||
const char *spec = NULL;
|
||||
char *label = NULL;
|
||||
@ -479,7 +479,7 @@ Index: util-linux-ng-2.14/mount/mount.c
|
||||
char *uuid = NULL;
|
||||
char *types = NULL;
|
||||
char *p;
|
||||
@@ -1841,7 +1850,7 @@ main(int argc, char *argv[]) {
|
||||
@@ -1852,7 +1861,7 @@ main(int argc, char *argv[]) {
|
||||
initproctitle(argc, argv);
|
||||
#endif
|
||||
|
||||
@ -488,7 +488,7 @@ Index: util-linux-ng-2.14/mount/mount.c
|
||||
longopts, NULL)) != -1) {
|
||||
switch (c) {
|
||||
case 'a': /* mount everything in fstab */
|
||||
@@ -1859,6 +1868,9 @@ main(int argc, char *argv[]) {
|
||||
@@ -1870,6 +1879,9 @@ main(int argc, char *argv[]) {
|
||||
case 'i':
|
||||
external_allowed = 0;
|
||||
break;
|
||||
@ -498,7 +498,7 @@ Index: util-linux-ng-2.14/mount/mount.c
|
||||
case 'l':
|
||||
list_with_volumelabel = 1;
|
||||
break;
|
||||
@@ -1989,6 +2001,9 @@ main(int argc, char *argv[]) {
|
||||
@@ -2000,6 +2012,9 @@ main(int argc, char *argv[]) {
|
||||
|
||||
atexit(unlock_mtab);
|
||||
|
||||
@ -508,10 +508,10 @@ Index: util-linux-ng-2.14/mount/mount.c
|
||||
switch (argc+specseen) {
|
||||
case 0:
|
||||
/* mount -a */
|
||||
Index: util-linux-ng-2.14/mount/rmd160.c
|
||||
Index: util-linux-ng-2.14.1-rc2/mount/rmd160.c
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ util-linux-ng-2.14/mount/rmd160.c 2008-06-25 11:33:15.000000000 +0200
|
||||
+++ util-linux-ng-2.14.1-rc2/mount/rmd160.c 2008-09-09 17:06:21.000000000 +0200
|
||||
@@ -0,0 +1,532 @@
|
||||
+/* rmd160.c - RIPE-MD160
|
||||
+ * Copyright (C) 1998 Free Software Foundation, Inc.
|
||||
@ -1045,10 +1045,10 @@ Index: util-linux-ng-2.14/mount/rmd160.c
|
||||
+ rmd160_final( &hd );
|
||||
+ memcpy( outbuf, hd.buf, 20 );
|
||||
+}
|
||||
Index: util-linux-ng-2.14/mount/rmd160.h
|
||||
Index: util-linux-ng-2.14.1-rc2/mount/rmd160.h
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ util-linux-ng-2.14/mount/rmd160.h 2008-06-25 11:33:15.000000000 +0200
|
||||
+++ util-linux-ng-2.14.1-rc2/mount/rmd160.h 2008-09-09 17:06:21.000000000 +0200
|
||||
@@ -0,0 +1,11 @@
|
||||
+#ifndef RMD160_H
|
||||
+#define RMD160_H
|
||||
@ -1061,10 +1061,10 @@ Index: util-linux-ng-2.14/mount/rmd160.h
|
||||
+#endif /*RMD160_H*/
|
||||
+
|
||||
+
|
||||
Index: util-linux-ng-2.14/mount/sha512.c
|
||||
Index: util-linux-ng-2.14.1-rc2/mount/sha512.c
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ util-linux-ng-2.14/mount/sha512.c 2008-06-25 11:33:15.000000000 +0200
|
||||
+++ util-linux-ng-2.14.1-rc2/mount/sha512.c 2008-09-09 17:06:21.000000000 +0200
|
||||
@@ -0,0 +1,432 @@
|
||||
+/*
|
||||
+ * sha512.c
|
||||
@ -1498,10 +1498,10 @@ Index: util-linux-ng-2.14/mount/sha512.c
|
||||
+ memset(&ctx, 0, sizeof(ctx));
|
||||
+}
|
||||
+#endif
|
||||
Index: util-linux-ng-2.14/mount/sha512.h
|
||||
Index: util-linux-ng-2.14.1-rc2/mount/sha512.h
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ util-linux-ng-2.14/mount/sha512.h 2008-06-25 11:33:15.000000000 +0200
|
||||
+++ util-linux-ng-2.14.1-rc2/mount/sha512.h 2008-09-09 17:06:21.000000000 +0200
|
||||
@@ -0,0 +1,45 @@
|
||||
+/*
|
||||
+ * sha512.h
|
||||
@ -1548,10 +1548,10 @@ Index: util-linux-ng-2.14/mount/sha512.h
|
||||
+/* no sha384_write(), use sha512_write() */
|
||||
+/* no sha384_final(), use sha512_final(), result in ctx->sha_out[0...47] */
|
||||
+extern void sha384_hash_buffer(const unsigned char *, size_t, unsigned char *, size_t);
|
||||
Index: util-linux-ng-2.14/mount/lomount.h
|
||||
Index: util-linux-ng-2.14.1-rc2/mount/lomount.h
|
||||
===================================================================
|
||||
--- util-linux-ng-2.14.orig/mount/lomount.h 2008-05-29 01:01:02.000000000 +0200
|
||||
+++ util-linux-ng-2.14/mount/lomount.h 2008-06-25 11:33:15.000000000 +0200
|
||||
--- util-linux-ng-2.14.1-rc2.orig/mount/lomount.h 2008-07-02 15:08:50.000000000 +0200
|
||||
+++ util-linux-ng-2.14.1-rc2/mount/lomount.h 2008-09-09 17:06:21.000000000 +0200
|
||||
@@ -1,5 +1,6 @@
|
||||
-extern int set_loop(const char *, const char *, unsigned long long, unsigned long long,
|
||||
- const char *, int, int *);
|
||||
@ -1560,4 +1560,4 @@ Index: util-linux-ng-2.14/mount/lomount.h
|
||||
+ int pfd, int *options, int keysz);
|
||||
extern int del_loop(const char *);
|
||||
extern int is_loop_device(const char *);
|
||||
extern char * find_unused_loop_device(void);
|
||||
extern int is_loop_autoclear(const char *device);
|
||||
|
3
util-linux-ng-2.14.1.tar.bz2
Normal file
3
util-linux-ng-2.14.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bf289c5399ab78674d9662ff2906a63ab540e88bf8bb1d3c7326dc8b1bef802c
|
||||
size 2929618
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7736d8d7d3b39654e350416585b3e00af9f55670cce8b3dddd2c2494cbaae81c
|
||||
size 2868987
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 10 15:58:52 CEST 2008 - mkoenig@suse.de
|
||||
|
||||
- update to version 2.14.1
|
||||
* fdisk: don't check for GPT when asked for disk size only
|
||||
* losetup: remove unnecessary minor number check
|
||||
* rtcwake: prefer RTC_WKALM_SET over RTC_ALM_SET
|
||||
* scriptreplay: new implementation is out-of-sync
|
||||
* selinux: is_selinux_enabled() returns 0, 1 and -1
|
||||
* umount: improve "-d" option for autoclear loops
|
||||
- remove patch
|
||||
util-linux-2.14-loop_autoclear.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 20 15:20:06 CEST 2008 - mkoenig@suse.de
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package util-linux (Version 2.14)
|
||||
# spec file for package util-linux (Version 2.14.1)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -29,8 +29,8 @@ PreReq: %install_info_prereq permissions
|
||||
License: BSD 3-Clause; GPL v2 or later
|
||||
Group: System/Base
|
||||
AutoReqProv: on
|
||||
Version: 2.14
|
||||
Release: 21
|
||||
Version: 2.14.1
|
||||
Release: 1
|
||||
Requires: %name-lang = %{version}
|
||||
Summary: A collection of basic system utilities
|
||||
Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/%name-ng-%version.tar.bz2
|
||||
@ -40,8 +40,8 @@ Source3: nologin.8
|
||||
Source4: raw.init
|
||||
Source5: etc.raw
|
||||
Source6: etc_filesystems
|
||||
Source7: v2.14-ChangeLog
|
||||
Source8: v2.14-ReleaseNotes
|
||||
Source7: v2.14.1-ChangeLog
|
||||
Source8: v2.14.1-ReleaseNotes
|
||||
%define time_ver 1.7
|
||||
%define which_ver 2.19
|
||||
%define adjtimex_ver 1.20
|
||||
@ -70,7 +70,6 @@ Patch3: util-linux-2.12r-fdisk_remove_bogus_warnings.patch
|
||||
Patch4: util-linux-2.13-hwclock_rtc_wait_busy_tempfix.patch
|
||||
#
|
||||
Patch5: util-linux-2.13.1-fdisk_cfdisk_yesno.patch
|
||||
Patch6: util-linux-2.14-loop_autoclear.patch
|
||||
Patch7: util-linux-2.14-mount_retry_on_nomedium.patch
|
||||
# crypto patch
|
||||
Patch20: util-linux-mount_losetup_crypto.patch
|
||||
@ -114,7 +113,6 @@ Authors:
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch20 -p1
|
||||
cp %{SOURCE7} %{SOURCE8} .
|
||||
@ -354,8 +352,8 @@ fi
|
||||
%files
|
||||
# Common files for all archs
|
||||
%defattr(-,root,root)
|
||||
%doc v2.14-ChangeLog
|
||||
%doc v2.14-ReleaseNotes
|
||||
%doc v2.14.1-ReleaseNotes
|
||||
%doc v2.14.1-ChangeLog
|
||||
%doc login-utils/README.getty
|
||||
%doc login-utils/README.modems-with-agetty
|
||||
%doc login-utils/README.poeigl
|
||||
@ -581,6 +579,16 @@ fi
|
||||
#%endif
|
||||
|
||||
%changelog
|
||||
* Wed Sep 10 2008 mkoenig@suse.de
|
||||
- update to version 2.14.1
|
||||
* fdisk: don't check for GPT when asked for disk size only
|
||||
* losetup: remove unnecessary minor number check
|
||||
* rtcwake: prefer RTC_WKALM_SET over RTC_ALM_SET
|
||||
* scriptreplay: new implementation is out-of-sync
|
||||
* selinux: is_selinux_enabled() returns 0, 1 and -1
|
||||
* umount: improve "-d" option for autoclear loops
|
||||
- remove patch
|
||||
util-linux-2.14-loop_autoclear.patch
|
||||
* Wed Aug 20 2008 mkoenig@suse.de
|
||||
- enable SELinux support [fate#303662]
|
||||
* Mon Aug 18 2008 mrueckert@suse.de
|
||||
|
105
v2.14-ChangeLog
105
v2.14-ChangeLog
@ -1,105 +0,0 @@
|
||||
Changes between v2.14-rc3 and v2.14
|
||||
-----------------------------------
|
||||
|
||||
commit fba4e21fa000748112d39c8e9fc266f1cbe9a08f
|
||||
Author: Karel Zak <kzak@redhat.com>
|
||||
Date: Mon Jun 9 13:58:54 2008 +0200
|
||||
|
||||
build-sys: release++ (v2.14)
|
||||
|
||||
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||
|
||||
NEWS | 4 ++++
|
||||
configure.ac | 2 +-
|
||||
docs/v2.14-ReleaseNotes | 2 +-
|
||||
3 files changed, 6 insertions(+), 2 deletions(-)
|
||||
|
||||
commit 1d66f79c80e6c655dbd1633f9e7d4efd1562bc20
|
||||
Author: Karel Zak <kzak@redhat.com>
|
||||
Date: Mon Jun 9 12:53:27 2008 +0200
|
||||
|
||||
docs: update v2.14 ReleaseNotes
|
||||
|
||||
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||
|
||||
docs/v2.14-ReleaseNotes | 5 ++++-
|
||||
1 files changed, 4 insertions(+), 1 deletions(-)
|
||||
|
||||
commit d5b64541978b45af5eaa60050d2b1a5f3a5da243
|
||||
Author: Karel Zak <kzak@redhat.com>
|
||||
Date: Mon Jun 9 12:20:40 2008 +0200
|
||||
|
||||
docs: update AUTHORS file
|
||||
|
||||
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||
|
||||
AUTHORS | 5 ++++-
|
||||
1 files changed, 4 insertions(+), 1 deletions(-)
|
||||
|
||||
commit 754ba29e2b9d6569cf502a3c6cd0a59c6513e25a
|
||||
Author: Karel Zak <kzak@redhat.com>
|
||||
Date: Mon Jun 9 12:18:26 2008 +0200
|
||||
|
||||
po: merge changes
|
||||
|
||||
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||
|
||||
po/hu.po | 852 +++++++++++++++++++++++++++++++++++++++++++-------------------
|
||||
1 files changed, 597 insertions(+), 255 deletions(-)
|
||||
|
||||
commit 568ea3a7f1516f86769230ccdb2682479be326e9
|
||||
Author: Gabor Kelemen <kelemeng@gnome.hu>
|
||||
Date: Mon Jun 9 12:02:00 2008 +0200
|
||||
|
||||
po: update hu.po (from translationproject.org)
|
||||
|
||||
po/hu.po | 1542 +++++++++++++++++++++++---------------------------------------
|
||||
1 files changed, 559 insertions(+), 983 deletions(-)
|
||||
|
||||
commit 0eab17b95d813c93c8e7b5e7f5943f0940420f00
|
||||
Author: Volker Schatz <oss@volkerschatz.com>
|
||||
Date: Tue Jun 3 23:52:04 2008 +0200
|
||||
|
||||
ddate: 11th, 12th and 13th of month
|
||||
|
||||
the Discordian date utility ddate gives the 11th, 12th and 13th of the month as
|
||||
the "11st", "12nd" and "13rd". Unless this is a religious thing, please apply
|
||||
the patch below.
|
||||
|
||||
Signed-off-by: Volker Schatz <oss@volkerschatz.com>
|
||||
|
||||
misc-utils/ddate.c | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
commit 47bf8ef7f1d084befe2efcdd37a5f7c7c9d9da70
|
||||
Author: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
|
||||
Date: Mon Jun 9 11:35:59 2008 +0200
|
||||
|
||||
rtcwake: fix the default mode to "standby"
|
||||
|
||||
Writing "suspend" to /sys/power/state does nothing.
|
||||
Even "man rtcwake" says that default should be "standby" :)
|
||||
|
||||
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
|
||||
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||
|
||||
sys-utils/rtcwake.c | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
commit eaf58a8697926711efec9e494e810d3f6bfd3938
|
||||
Author: Christophe Blaess <Christophe@Blaess.fr>
|
||||
Date: Mon Jun 9 11:32:19 2008 +0200
|
||||
|
||||
mount: fix a small typo in mount.8
|
||||
|
||||
While working on french translation of the Linux Man Pages, I've found a
|
||||
small typo in mount.8.
|
||||
|
||||
Only one wrong letter : the option "osyncis_o_sync" for XFS filesystem
|
||||
is erroneously replaced by "osyncis_d_sync" (the previous option).
|
||||
|
||||
Signed-off-by: Christophe Blaess <Christophe@Blaess.fr>
|
||||
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||
|
||||
mount/mount.8 | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
@ -1,418 +0,0 @@
|
||||
|
||||
Util-linux-ng 2.14 Release Notes (09-Jun-2008)
|
||||
==============================================
|
||||
|
||||
Release highlights
|
||||
------------------
|
||||
|
||||
mount(8) supports new "nofail" mount option.
|
||||
|
||||
mount(8) supports auto-destruction of loop devices.
|
||||
|
||||
losetup(8) supports new command line option "-j" to show status of all
|
||||
loop devices associated with given file.
|
||||
|
||||
losetup(8) supports unlimited number of loop devices.
|
||||
|
||||
losetup(8) supports new command line option "--sizelimit" to set data end.
|
||||
|
||||
ldattach(8) command has been added to util-linux-ng. The ldattach
|
||||
daemon opens the specified device file and attaches the line discipline
|
||||
to it for processing of the sent and/or received data.
|
||||
|
||||
setterm(8) supports new command line option "-blank [force|poke]" for
|
||||
TIOCL_{BLANKED,BLANK}SCREEN.
|
||||
|
||||
tailf(8) has been reimplemented to use inotify.
|
||||
|
||||
tailf(8) supports new command line option "-n" to specifying output lines.
|
||||
|
||||
mkswap(8) supports new command line option "-U" to set UUID explicitly.
|
||||
|
||||
fdisk(8) has been fixed to calculate partition size in 2^N.
|
||||
|
||||
cal(8) supports highlighting an arbitrary date.
|
||||
|
||||
agetty(8) makes username-in-uppercase feature optional (off by default).
|
||||
Users who use uppercase-only terminals need to use the option "-U" now.
|
||||
|
||||
losetup(8), mount(8), umount(8), fdisk(8) and sfdisk(8) support static
|
||||
linking when compiled with --enable-static-programs.
|
||||
|
||||
hwclock(8) supports new command line option "adjfile" to override
|
||||
the default /etc/adjtime.
|
||||
|
||||
scriptreplay(1) command has been re-written from Perl to C.
|
||||
|
||||
|
||||
Deprecated
|
||||
----------
|
||||
|
||||
The losetup(8) '-s' option (introduced by util-linux-ng-2.13) is deprecated
|
||||
now. This short form of the option '--show' could be in collision with
|
||||
Loop-AES losetup implementation where the same option is used for the loop
|
||||
sizelimit.
|
||||
|
||||
|
||||
Fixed security issues
|
||||
---------------------
|
||||
|
||||
CVE-2008-1926 - audit log injection via login
|
||||
|
||||
The problem was originally reported for OpenSSH few months
|
||||
ago (CVE-2007-3102). The login(1) is affected by the same
|
||||
bug when built with the option "--with-audit".
|
||||
|
||||
|
||||
Stable maintenance releases between v2.13 and v2.14
|
||||
---------------------------------------------------
|
||||
|
||||
util-linux-ng 2.13.1.1 [22-Apr-2008]
|
||||
|
||||
* ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.13/v2.13.1.1-ReleaseNotes
|
||||
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.13/v2.13.1.1-ChangeLog
|
||||
|
||||
util-linux-ng 2.13.1 [16-Jan-2008]
|
||||
|
||||
* ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.13/v2.13.1-ReleaseNotes
|
||||
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.13/v2.13.1-ChangeLog
|
||||
|
||||
|
||||
ChangeLog between v2.13 and v2.14
|
||||
---------------------------------
|
||||
|
||||
For more details see ChangeLog files at:
|
||||
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.14/
|
||||
|
||||
agetty:
|
||||
- cleanup MAXHOSTNAMELEN [Karel Zak]
|
||||
- make username-in-uppercase feature optional (off by default.) [Hamish Coleman]
|
||||
- non-linux support (use pathnames.h) [Karel Zak]
|
||||
- replace termio with termios interface [Samuel Thibault]
|
||||
- ungettextize several debugging messages. [Benno Schulenberg]
|
||||
blockdev:
|
||||
- add --getsz to blockdev.8 [Karel Zak]
|
||||
- add missing description about option --report in manpage [Li Zefan]
|
||||
- fix opened file leaving unclosed [lizf]
|
||||
- use lib/blkdev.c, fix --report [Karel Zak]
|
||||
build-sys:
|
||||
- add --enable-static-programs [Stepan Kasal, Karel Zak]
|
||||
- add AC_CANONICAL_HOST [Miklos Szeredi]
|
||||
- add VARSUFFIX to UTIL_CHECK_LIB [Karel Zak]
|
||||
- add err.h check [Karel Zak]
|
||||
- add support ionice for Super-H architecture [Karel Zak]
|
||||
- add v2.14 to NEWS [Karel Zak]
|
||||
- autogen.sh reports versions of autotools now [Karel Zak]
|
||||
- build arch(1) during distcheck [Stepan Kasal]
|
||||
- cleanup "x$foo" usage [Karel Zak]
|
||||
- cleanup disk-utils/Makefile.am (use $utils_common) [Karel Zak]
|
||||
- cleanup usage of linux/major.h [Samuel Thibault]
|
||||
- disable syscall fallbacks for non-linux systems [Karel Zak]
|
||||
- do not add -luuid to BLKID_LIBS [Stepan Kasal]
|
||||
- fix missing deps for swapon [Matthias Koenig]
|
||||
- ignore a bunch of generated files, mostly binaries [James Youngman]
|
||||
- nls/locale handling in util-linux-ng general [Mike Frysinger]
|
||||
- non-linux support [Samuel Thibault]
|
||||
- release++ [Karel Zak]
|
||||
- remove errs.h [Karel Zak]
|
||||
- remove files that are no longer delivered from git [LaMont Jones]
|
||||
- remove hardcoded _GNU_SOURCE [Karel Zak]
|
||||
- remove unnecessary check-local target from login-utils/ [Karel Zak]
|
||||
- set AC_PREREQ to 2.60, increment version to 2.14 [Karel Zak]
|
||||
- simplify code around RDEV_LINKS and SETARCH_LINKS [Stepan Kasal]
|
||||
- unify method for checking system calls and fallback handling [Mike Frysinger, Stepan Kasal]
|
||||
- update .gitignore files [Karel Zak]
|
||||
- use dist_man_MANS instead of man_MANS [Stepan Kasal]
|
||||
- use ncursesw (wide version) when possibe [Karel Zak, Mike Frysinger]
|
||||
- use pkg-config to find the libs for static build [Stepan Kasal]
|
||||
- use portable $(VAR =) instead of gmake-specific $(addsuffix) [Stepan Kasal]
|
||||
cal:
|
||||
- add description about option -V to manpage [Li Zefan]
|
||||
- add support for highlighting an arbitrary date [Pádraig Brady]
|
||||
- avoid -Wformat warnings [Jim Meyering]
|
||||
- fix weekday alignment for certain locales [Pádraig Brady]
|
||||
- replace errs.h with libc err.h [Karel Zak]
|
||||
- use HAVE_LIB{NCURSES,NCURSESW} instead HAVE_NCURSES [Karel Zak]
|
||||
cfdisk:
|
||||
- define portable {DEFAULT,ALTERNATE}_DEVICE [Samuel Thibault]
|
||||
- display cylinders beyond 1024 [Peter Breitenlohner]
|
||||
- slightly increase the size of menu buttons [Benno Schulenberg]
|
||||
- translate partition-type names when they are printed. [Benno Schulenberg]
|
||||
chfn:
|
||||
- add pam_end() call and cleanup PAM code [Karel Zak]
|
||||
- fix compiler warnings in selinux stuff [Karel Zak]
|
||||
chfn, chsh, login:
|
||||
- collapsing three similar messages into a single one [Benno Schulenberg]
|
||||
chsh:
|
||||
- should use pam_end function to terminate the PAM transaction [Yu Zhiguo, Karel Zak]
|
||||
column:
|
||||
- replace errs.h with libc err.h [Karel Zak]
|
||||
ddate:
|
||||
- 11th, 12th and 13th of month [Volker Schatz]
|
||||
docs:
|
||||
- add a note about minix v3 to TODO file [Karel Zak]
|
||||
- add info about .bugfix releases and branches [Karel Zak]
|
||||
- add note about incorrect tag 2.13.1 [Karel Zak]
|
||||
- add note about losetup --sizelimit to ReleaseNotes [Karel Zak]
|
||||
- add note about static linking [Karel Zak]
|
||||
- add v2.14 ReleaseNotes [Karel Zak]
|
||||
- cleanup DEPRECATED file [Karel Zak]
|
||||
- cleanup README.devel, add note about coding style and Signed-off-by [Karel Zak]
|
||||
- fix ChangeLog URL [Pascal Terjan]
|
||||
- fix stable branche name in README.devel [Karel Zak]
|
||||
- mark vipw(1) is deprecated in favor of vipw from shadow-utils [Karel Zak]
|
||||
- refresh TODO list [Karel Zak]
|
||||
- remove date from ReleasNotes [Karel Zak]
|
||||
- tweak a few messages for clarity [Benno Schulenberg]
|
||||
- update AUTHORS file [Karel Zak]
|
||||
- update TODO file [Karel Zak]
|
||||
- update v2.14 ReleaseNotes [Karel Zak]
|
||||
- we already rewrote the scriptreplay script; remove that TODO entry [James Youngman]
|
||||
elvtune:
|
||||
- use get_linux_version() [Karel Zak]
|
||||
fdformat:
|
||||
- install to /usr/sbin instead to /usr/bin [Karel Zak]
|
||||
fdisk:
|
||||
- better fallback for get_random_id() [H. Peter Anvin]
|
||||
- calculate +size{K,M,G} in 2^N [Karel Zak]
|
||||
- cleanup BLK* ioctls usage [Karel Zak]
|
||||
- doesn't recognize the VMware ESX partitions [Karel Zak]
|
||||
- doing useless ioctl when editing an image [Pascal Terjan]
|
||||
- fix building for AVR32 and CRIS [Imre Kaloz]
|
||||
- fix typo [Karel Zak]
|
||||
- message tweak [Karel Zak]
|
||||
- non-linux support (MAXPATHLEN) [Karel Zak]
|
||||
- non-linux support (use standard uintxy_t instead __uxy) [Samuel Thibault]
|
||||
- use more readable "GPT" name rather than "EFI GPT" [Robert Millan]
|
||||
- use swab macros from bitops.h [Karel Zak]
|
||||
flock:
|
||||
- typo in man page [A. Costa]
|
||||
fsck.cramfs:
|
||||
- clean up gcc warnings [Randy Dunlap]
|
||||
fsck.minix:
|
||||
- correct the error message given when we can't open the device [James Youngman]
|
||||
- reset the terminal state if we are killed by a fatal signal [James Youngman]
|
||||
getopt:
|
||||
- fix path to examples in getopt.1 [Karel Zak]
|
||||
- install example scripts as SCRIPTS, not DATA [Peter Breitenlohner]
|
||||
hwclock:
|
||||
- add --adjfile=path option [Karel Zak]
|
||||
- check for ENODEV [David Woodhouse]
|
||||
- do not create a zero adjfile [Alain Guibert]
|
||||
- fix --rtc option [Matthias Koenig, Karel Zak]
|
||||
include:
|
||||
- <stdint.h> provides everything [Samuel Thibault]
|
||||
- add bitops.h with swab{16,32,64} macros [Karel Zak]
|
||||
- add mount paths to pathnames.h [Karel Zak]
|
||||
- cleanup pathnames.h [Karel Zak]
|
||||
ionice:
|
||||
- add a note about permissions to ionice.1 [Karel Zak]
|
||||
- update man page to reflect IDLE class change in 2.6.25 [Karel Zak]
|
||||
ipcs:
|
||||
- add information about POSIX compatibility to ipcs.1 [Karel Zak]
|
||||
kill:
|
||||
- man page is missing a description of "kill -0" [Karel Zak]
|
||||
ldattach:
|
||||
- add NLS support [Karel Zak]
|
||||
- new command [Tilman Schmidt]
|
||||
- use glibc termios [Karel Zak]
|
||||
lib:
|
||||
- add blkdev.{c,h} [Stefan Krah, Karel Zak]
|
||||
- add linux_version.{c,h} [Stefan Krah]
|
||||
login:
|
||||
- audit log injection attack via login [Steve Grubb]
|
||||
- fix a small memory leak and remove unnecessary zeroing [Karel Zak]
|
||||
- login segfaults on EOF (rh#298461) [Karel Zak]
|
||||
- replace termio with termios interface [Samuel Thibault]
|
||||
- rewrite is_local() to remove limits on line length [James Youngman]
|
||||
login-utils:
|
||||
- cleanup strlen() and fgets() usage [James Youngman]
|
||||
losetup:
|
||||
- add --associated option [Karel Zak]
|
||||
- add --sizelimit option [Shachar Shemesh]
|
||||
- canonicalize loopfile name [Karel Zak, Matthias Koenig]
|
||||
- clean up gcc warnings [Randy Dunlap]
|
||||
- fix errno usage [Karel Zak]
|
||||
- fix typo in losetup.8 [Karel Zak]
|
||||
- mark the option -s as deprecated [Karel Zak]
|
||||
- remove duplicate xstrdup() and error() [Karel Zak]
|
||||
- split help message into two smaller parts [Benno Schulenberg]
|
||||
- support unlimited number of loops [Karel Zak]
|
||||
- use standard uintxy_t types (struct loop_info64) [Samuel Thibault]
|
||||
mesg:
|
||||
- replace errs.h with libc err.h [Karel Zak]
|
||||
mkfs.cramfs:
|
||||
- clean up gcc warnings [Randy Dunlap, Karel Zak]
|
||||
- remove unused header file [lizf]
|
||||
- switch on localization. [Benno Schulenberg]
|
||||
mkfs.minix:
|
||||
- add sectorsize check [Matthias Koenig]
|
||||
- clean up gcc warnings [Karel Zak]
|
||||
- clean up gcc warnings [Randy Dunlap]
|
||||
- device size cleanup [Matthias Koenig]
|
||||
mkswap:
|
||||
- BLKGETSIZE cleanup [Karel Zak]
|
||||
- cleanup kB vs. KiB usage in error messages [Karel Zak]
|
||||
- fix compiler warnings [Karel Zak]
|
||||
- linux_version() code consolidation [Karel Zak]
|
||||
- possible to crash with SELinux relabeling support [KaiGai Kohei]
|
||||
- set UUID for swap space (add -U option) [Martin Schulze]
|
||||
- set errno=0 in write_all() [Karel Zak]
|
||||
- when writing the signature page, handle EINTR returns [Karel Zak]
|
||||
more:
|
||||
- cleanup gcc warnings [Randy Dunlap]
|
||||
- non-linux support [Samuel Thibault]
|
||||
- replace CBAUD with cfgetispeed() [Samuel Thibault]
|
||||
- use HAVE_WIDECHAR instead ENABLE_WIDECHAR [Karel Zak]
|
||||
mount:
|
||||
- "can't create lock file" message sometimes means failure, sometimes not [Mark McLoughlin]
|
||||
- "nofail" mount option [Matthias Koenig, Karel Zak]
|
||||
- -L|-U segfault when label or uuid doesn't exist [Karel Zak]
|
||||
- add more details to the --version output [Karel Zak]
|
||||
- add support for sizelimit= mount option (for loop mounts) [Shachar Shemesh]
|
||||
- allow auto-destruction of loop devices [Bernardo Innocenti]
|
||||
- chain of symlinks to fstab causes use of pointer after free [Norbert Buchmuller]
|
||||
- clean up gcc warnings (mount_mntent.c) [Randy Dunlap]
|
||||
- clean up global variables [Karel Zak]
|
||||
- cleanup "none" fstype usage [Karel Zak]
|
||||
- cleanup KERNEL_VERSION, remove my_dev_t.h [Karel Zak]
|
||||
- cleanup canonicalize() usage [Karel Zak]
|
||||
- cleanup error() and die() [Karel Zak]
|
||||
- cleanup usage of _PATH_* [Karel Zak]
|
||||
- doesn't drop privileges properly when calling helpers [Ludwig Nussel]
|
||||
- don't call canonicalize(SPEC) for cifs, smbfs and nfs [Karel Zak]
|
||||
- don't canonicalize LABEL= or UUID= spec [Karel Zak]
|
||||
- drop the part always true from a while condition [Pascal Terjan]
|
||||
- fix a small typo in mount.8 [Christophe Blaess]
|
||||
- fix fd leak [Matthias Koenig]
|
||||
- fix typo in mount.8 [Karel Zak]
|
||||
- hint about helper program if device doesn't exist [Karel Zak]
|
||||
- improve chmod & chown usage and clean up gcc warnings (fstab.c) [Karel Zak]
|
||||
- improve error message when helper program not present [LaMont Jones]
|
||||
- prevent loop mounting the same file twice [Karel Zak, Matthias Koenig]
|
||||
- remount doesn't care about loop= [Karel Zak]
|
||||
- remove MS_{REPLACE,AFTER,BEFORE,OVER} [Karel Zak]
|
||||
- remove built-in support for background mounts [Karel Zak]
|
||||
- remove redundant fflush [Karel Zak]
|
||||
- remove set_proc_name() [Karel Zak]
|
||||
- remove useless if-before-my_free, define my_free as a macro [Karel Zak]
|
||||
- use MNTTYPE_SWAP (from mntent.h) [Karel Zak]
|
||||
- use atexit() rather than (*at_die)() [Karel Zak]
|
||||
- use blkdev_get_size() [Karel Zak]
|
||||
- use canonicalize in getfs_by_devname [Karel Zak]
|
||||
namei:
|
||||
- add to identify FIFO (named pipe) and update manpage [Li Zefan]
|
||||
- cleanup tailing white-spaces [Karel Zak]
|
||||
- non-linux support (get_current_dir_name() and PATH_MAX) [Karel Zak, Samuel Thibault]
|
||||
partx:
|
||||
- fix compiler warnings [Karel Zak]
|
||||
- use swab macros from bitops.h [Karel Zak]
|
||||
pg:
|
||||
- fix segfault on search [Rajeev V. Pillai]
|
||||
po:
|
||||
- add eu.po (from translationproject.org) [Mikel Olasagasti]
|
||||
- add pl.po (from translationproject.org) [Andrzej Krzysztofowicz]
|
||||
- fix typo in de.po [Karel Zak]
|
||||
- merge changes [Karel Zak]
|
||||
- update POTFILES.in [Karel Zak]
|
||||
- update ca.po (from translationproject.org) [Josep Puigdemont]
|
||||
- update cs.po (from translationproject.org) [Petr Pisar]
|
||||
- update da.po (from translationproject.org) [Claus Hindsgaul]
|
||||
- update de.po (from translationproject.org) [Michael Piefel]
|
||||
- update es.po (from translationproject.org) [Santiago Vila Doncel]
|
||||
- update et.po (from translationproject.org) [Meelis Roos]
|
||||
- update fi.po (from translationproject.org) [Lauri Nurmi]
|
||||
- update fr.po (from translationproject.org) [Michel Robitaille]
|
||||
- update hu.po (from translationproject.org) [Gabor Kelemen]
|
||||
- update id.po (from translationproject.org) [Arif E. Nugroho]
|
||||
- update it.po (from translationproject.org) [Marco Colombo]
|
||||
- update ja.po (from translationproject.org) [Daisuke Yamashita]
|
||||
- update nl.po (from translationproject.org) [Benno Schulenberg]
|
||||
- update po files [Karel Zak]
|
||||
- update pt_BR.po (from translationproject.org) [Rodrigo Stulzer Lopes]
|
||||
- update ru.po (from translationproject.org) [Pavel Maryanov]
|
||||
- update sl.po (from translationproject.org) [Simon Mihevc]
|
||||
- update sv.po (from translationproject.org) [Daniel Nylander]
|
||||
- update tr.po (from translationproject.org) [Nilgün Belma Bugüner]
|
||||
- update uk.po (from translationproject.org) [Maxim V. Dziumanenko]
|
||||
- update vi.po (from translationproject.org) [Clytie Siddall]
|
||||
rename:
|
||||
- add description about option -V to manpage [Li Zefan]
|
||||
- remove useless variable [Li Zefan]
|
||||
renice:
|
||||
- detect errors in arguments, add -v, -h and long options [LaMont Jones, Karel Zak]
|
||||
rev:
|
||||
- use warn() in errs.h [Li Zefan]
|
||||
rtcwake:
|
||||
- fix UTC time usage [David Brownell]
|
||||
- fix the default mode to "standby" [Paulius Zaleckas]
|
||||
- fix typo [Karel Zak]
|
||||
- fix typo SATE -> STATE [Mike Frysinger]
|
||||
- fix verbose message [Karel Zak]
|
||||
- include libgen.h for basename prototype [Mike Frysinger]
|
||||
- misc cleanups [David Brownell]
|
||||
script:
|
||||
- cleanup gcc warnings [Randy Dunlap]
|
||||
- cleanup includes [Samuel Thibault]
|
||||
- dies on SIGWINCH [Karel Zak]
|
||||
- read returns a size_t [James Youngman]
|
||||
scriptreplay:
|
||||
- gettextize a forgotten messages [Karel Zak]
|
||||
- rewrite in C [Karel Zak, James Youngman]
|
||||
setarch:
|
||||
- add fallback for linux/personality [Karel Zak]
|
||||
- add long options to setarch and update manpage [Karel Zak, Li Zefan]
|
||||
- add missing alpha subarchs [Oliver Falk]
|
||||
- adding groff symlinks to setarch manual page [Arkadiusz Miskiewicz]
|
||||
- fix compiler warning [LaMont Jones]
|
||||
- generate groff links in a better way [Karel Zak]
|
||||
- provide backwards compatibility [Dmitry V. Levin]
|
||||
- tweak the help text, and gettextize a forgotten message [Benno Schulenberg]
|
||||
setterm:
|
||||
- add -blan [force|poke] options for TIOCL_{BLANKED,BLANK}SCREEN [Samuel Thibault, Karel Zak]
|
||||
- dump by TIOCLINUX is deprecated since linux 1.1.92. [Karel Zak]
|
||||
- opened file leaving unclosed [Karel Zak, lizf]
|
||||
- remove unnecessaty ifndef TCGETS [Samuel Thibault]
|
||||
sfdisk:
|
||||
- allow partitioning drives of over 2^31 sectors. [Kunihiko IMAI]
|
||||
- cleanup 83 gcc warnings [Randy Dunlap]
|
||||
- opened files leaving unclosed [Karel Zak, Li Zefan]
|
||||
- remove unnecessary linux/unistd.h [Samuel Thibault]
|
||||
- use get_linux_version() [Karel Zak]
|
||||
shutdown:
|
||||
- use _PATH_MOUNTED instead of _PATH_MTAB [Stepan Kasal]
|
||||
swapon:
|
||||
- Reinitialize software suspend areas to avoid future corruption. [Kees Cook, Karel Zak]
|
||||
- add sundries.h [Karel Zak]
|
||||
- clean up gcc warnings [Randy Dunlap]
|
||||
- cleanup usage output [Karel Zak]
|
||||
- cleanup usage() [Karel Zak]
|
||||
- fix swsuspend detection [Karel Zak]
|
||||
- fix typo in usage() [Karel Zak]
|
||||
- readjust the usage summaries [Benno Schulenberg]
|
||||
- remove unnecessary myrealpath() call [Karel Zak]
|
||||
sys-utils:
|
||||
- correct setarch.8 manpage link creation [Frédéric Bothamy]
|
||||
tailf:
|
||||
- add option -n to specifying output lines [Li Zefan]
|
||||
- clean up gcc warnings & fix use of errno [Karel Zak]
|
||||
- inotify based reimplementation [Karel Zak]
|
||||
- non-linux support [Samuel Thibault]
|
||||
- opened file leaving unclosed [lizf]
|
||||
- replace errs.h with libc err.h [Karel Zak]
|
||||
tests:
|
||||
- add "sort" to cramfs test [Karel Zak]
|
||||
- add test for include/pathnames.h [Karel Zak]
|
||||
- add ts-mount-noncanonical [Karel Zak]
|
||||
- exactly define a time format in ls -l output [Karel Zak]
|
||||
- fix blkid cache usage [Karel Zak]
|
||||
- move test_bkdev to lib/ [Karel Zak]
|
||||
- redirect libblkid cache to BLKID_FILE [Karel Zak]
|
||||
- rename test_sysinfo, remove tailing white-spaces [Karel Zak]
|
||||
- use losetup -s [Karel Zak]
|
||||
umount:
|
||||
- add hint about lsof & fuser [Karel Zak]
|
||||
- don't print duplicate error messages [Karel Zak]
|
||||
- use atexit() rather than (*at_die)() [Karel Zak]
|
||||
wall:
|
||||
- cleanup MAXHOSTNAMELEN [Karel Zak]
|
95
v2.14.1-ChangeLog
Normal file
95
v2.14.1-ChangeLog
Normal file
@ -0,0 +1,95 @@
|
||||
Changes between 2.14.1-rc2 and 2.14.1
|
||||
-------------------------------------
|
||||
|
||||
commit 0c24888de6470137673519eb5c20bef98be24e0f
|
||||
Author: Karel Zak <kzak@redhat.com>
|
||||
Date: Wed Sep 10 12:17:22 2008 +0200
|
||||
|
||||
build-sys: release++ (v2.14.1)
|
||||
|
||||
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||
|
||||
NEWS | 4 ++++
|
||||
configure.ac | 2 +-
|
||||
2 files changed, 5 insertions(+), 1 deletions(-)
|
||||
|
||||
commit 204d2a7ff7e0bd39e1769a3d8c071484061b878a
|
||||
Author: Karel Zak <kzak@redhat.com>
|
||||
Date: Wed Sep 10 12:11:21 2008 +0200
|
||||
|
||||
docs: update v2.14.1 ReleaseNotes
|
||||
|
||||
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||
|
||||
docs/v2.14.1-ReleaseNotes | 8 +++++++-
|
||||
1 files changed, 7 insertions(+), 1 deletions(-)
|
||||
|
||||
commit 00dd2edec25e68bfe58ea538f7a220fcd4d42f83
|
||||
Author: Karel Zak <kzak@redhat.com>
|
||||
Date: Wed Sep 10 11:21:54 2008 +0200
|
||||
|
||||
po: merge changes
|
||||
|
||||
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||
|
||||
po/cs.po | 536 +++++++++++++++++++++++++++------------
|
||||
po/fi.po | 620 ++++++++++++++++++++++++++++++++--------------
|
||||
po/id.po | 802 ++++++++++++++++++++++++++++++++++++++++++-----------------
|
||||
po/nl.po | 591 ++++++++++++++++++++++++++++++-------------
|
||||
po/vi.po | 594 +++++++++++++++++++++++++++++++-------------
|
||||
po/zh_CN.po | 223 ++++++++++++-----
|
||||
6 files changed, 2375 insertions(+), 991 deletions(-)
|
||||
|
||||
commit af470cdb8d8cd81cb6032d90b74cb848dd569d1b
|
||||
Author: Ray Wang <wanglei1123@gmail.com>
|
||||
Date: Wed Sep 10 11:02:59 2008 +0200
|
||||
|
||||
po: update zh_CN.po (from translationproject.org)
|
||||
|
||||
po/zh_CN.po | 394 ++++++++++++++++++++++++++++-------------------------------
|
||||
1 files changed, 187 insertions(+), 207 deletions(-)
|
||||
|
||||
commit c147882de248158dba60d278a8ad5447cbbdd3e8
|
||||
Author: Clytie Siddall <clytie@riverland.net.au>
|
||||
Date: Wed Sep 10 11:02:59 2008 +0200
|
||||
|
||||
po: update vi.po (from translationproject.org)
|
||||
|
||||
po/vi.po | 628 ++++++++++++++++++--------------------------------------------
|
||||
1 files changed, 177 insertions(+), 451 deletions(-)
|
||||
|
||||
commit 59d683e572c05a4ecc36da63c6c04ec7a73b6efc
|
||||
Author: Benno Schulenberg <benno@vertaalt.nl>
|
||||
Date: Wed Sep 10 11:02:59 2008 +0200
|
||||
|
||||
po: update nl.po (from translationproject.org)
|
||||
|
||||
po/nl.po | 649 +++++++++++++++++++-------------------------------------------
|
||||
1 files changed, 193 insertions(+), 456 deletions(-)
|
||||
|
||||
commit 2da935df47b5b9c7571383366da4e3b82352752d
|
||||
Author: Arif E. Nugroho <arif_endro@yahoo.com>
|
||||
Date: Wed Sep 10 11:02:59 2008 +0200
|
||||
|
||||
po: update id.po (from translationproject.org)
|
||||
|
||||
po/id.po | 1598 ++++++++++++++++++++++++++------------------------------------
|
||||
1 files changed, 665 insertions(+), 933 deletions(-)
|
||||
|
||||
commit fc5ac303f066040d737e1e4b9033fb6b3036b5fc
|
||||
Author: Lauri Nurmi <lanurmi@iki.fi>
|
||||
Date: Wed Sep 10 11:02:59 2008 +0200
|
||||
|
||||
po: update fi.po (from translationproject.org)
|
||||
|
||||
po/fi.po | 873 ++++++++++++++++++++++----------------------------------------
|
||||
1 files changed, 314 insertions(+), 559 deletions(-)
|
||||
|
||||
commit 0bd69ee4a38b56e5b82b98d77b00c4b4146bf60d
|
||||
Author: Petr Pisar <petr.pisar@atlas.cz>
|
||||
Date: Wed Sep 10 11:02:59 2008 +0200
|
||||
|
||||
po: update cs.po (from translationproject.org)
|
||||
|
||||
po/cs.po | 544 +++++++++++++++++++-------------------------------------------
|
||||
1 files changed, 167 insertions(+), 377 deletions(-)
|
49
v2.14.1-ReleaseNotes
Normal file
49
v2.14.1-ReleaseNotes
Normal file
@ -0,0 +1,49 @@
|
||||
Util-linux-ng 2.14.1 Release Notes (??-Aug-2008)
|
||||
================================================
|
||||
|
||||
ChangeLog between v2.14 and v2.14.1
|
||||
-----------------------------------
|
||||
|
||||
For more details see ChangeLog files at:
|
||||
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.14/
|
||||
|
||||
build-sys:
|
||||
- cleanup sys-utils/Makefile.am [Karel Zak]
|
||||
- fix dmesg.1 installation [Karel Zak]
|
||||
- release++ (v2.14.1-rc1) [Karel Zak]
|
||||
- tgets is not in ncurses but in tinfo [Arkadiusz Miskiewicz]
|
||||
docs:
|
||||
- update AUTHORS file [Karel Zak]
|
||||
- update v2.14.1 ReleaseNotes [Karel Zak]
|
||||
fdisk:
|
||||
- don't check for GPT when asked for disk size only [Karel Zak]
|
||||
hwclock:
|
||||
- omit warning about drift if --noadjfile given [Matthias Koenig]
|
||||
- unshadow a diagnostic printf [Kalev Soikonen]
|
||||
ipcs:
|
||||
- ungettextize the spacing of the table headers [Benno Schulenberg]
|
||||
losetup:
|
||||
- remove unnecessary minor number check [Karel Zak]
|
||||
mount:
|
||||
- add docs about utf8=0 for vfat [Karel Zak]
|
||||
- add fallback for versionsort() [Karel Zak]
|
||||
- add info about tz=UTC option for FAT to mount.8 [Karel Zak]
|
||||
- add norealtime to mount.8 [Karel Zak]
|
||||
po:
|
||||
- add zh_CN.po (from translationproject.org) [Ray Wang]
|
||||
- merge changes [Karel Zak]
|
||||
- update cs.po (from translationproject.org) [Petr Pisar]
|
||||
- update nl.po (from translationproject.org) [Benno Schulenberg]
|
||||
rtcwake:
|
||||
- cleanup return codes [Karel Zak]
|
||||
- prefer RTC_WKALM_SET over RTC_ALM_SET [Gabriel Burt]
|
||||
scriptreplay:
|
||||
- new implementation is out-of-sync [Karel Zak]
|
||||
selinux:
|
||||
- is_selinux_enabled() returns 0, 1 and -1 [Karel Zak]
|
||||
sfdisk:
|
||||
- print version should end with a newline [Denis ChengRq]
|
||||
umount:
|
||||
- improve "-d" option for autoclear loops [Karel Zak]
|
||||
write:
|
||||
- doesn't check for tty group [Karel Zak]
|
Loading…
Reference in New Issue
Block a user