This commit is contained in:
parent
8f64c5834f
commit
4c8b1a0d05
@ -24,7 +24,7 @@ Index: util-linux-ng-2.12r+git20070330/mount/mount.c
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- util-linux-ng-2.12r+git20070330.orig/mount/mount.c
|
--- util-linux-ng-2.12r+git20070330.orig/mount/mount.c
|
||||||
+++ util-linux-ng-2.12r+git20070330/mount/mount.c
|
+++ util-linux-ng-2.12r+git20070330/mount/mount.c
|
||||||
@@ -712,20 +712,33 @@ loop_check(const char **spec, const char
|
@@ -712,20 +712,34 @@ loop_check(const char **spec, const char
|
||||||
printf(_("mount: skipping the setup of a loop device\n"));
|
printf(_("mount: skipping the setup of a loop device\n"));
|
||||||
} else {
|
} else {
|
||||||
int loopro = (*flags & MS_RDONLY);
|
int loopro = (*flags & MS_RDONLY);
|
||||||
@ -49,6 +49,7 @@ Index: util-linux-ng-2.12r+git20070330/mount/mount.c
|
|||||||
- return EX_FAIL;
|
- return EX_FAIL;
|
||||||
- }
|
- }
|
||||||
+ printf(_("mount: going to use the loop device %s\n"), *loopdev);
|
+ printf(_("mount: going to use the loop device %s\n"), *loopdev);
|
||||||
|
+ offset = opt_offset ? strtoull(opt_offset, NULL, 0) : 0;
|
||||||
+ if (res = set_loop (*loopdev, *loopfile, offset,
|
+ if (res = set_loop (*loopdev, *loopfile, offset,
|
||||||
+ opt_encryption, pfd, &loopro)) {
|
+ opt_encryption, pfd, &loopro)) {
|
||||||
+ switch(res) {
|
+ switch(res) {
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 16 17:20:16 CEST 2007 - mkoenig@suse.de
|
||||||
|
|
||||||
|
- fix initialization of offset in
|
||||||
|
util-linux-2.12r-mount_racy_loop.patch [#264225]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 10 17:25:34 CEST 2007 - mkoenig@suse.de
|
Tue Apr 10 17:25:34 CEST 2007 - mkoenig@suse.de
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ License: BSD License and BSD-like, GNU General Public License (GPL)
|
|||||||
Group: System/Base
|
Group: System/Base
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Version: 2.12r+git20070330
|
Version: 2.12r+git20070330
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A collection of basic system utilities
|
Summary: A collection of basic system utilities
|
||||||
Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/%name-ng-%version.tar.bz2
|
Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/%name-ng-%version.tar.bz2
|
||||||
Source2: nologin.c
|
Source2: nologin.c
|
||||||
@ -616,6 +616,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 16 2007 - mkoenig@suse.de
|
||||||
|
- fix initialization of offset in
|
||||||
|
util-linux-2.12r-mount_racy_loop.patch [#264225]
|
||||||
* Tue Apr 10 2007 - mkoenig@suse.de
|
* Tue Apr 10 2007 - mkoenig@suse.de
|
||||||
- update to version git20070330 of new forked development tree
|
- update to version git20070330 of new forked development tree
|
||||||
- removed Suse crypto patches for losetup [FATE#302001]
|
- removed Suse crypto patches for losetup [FATE#302001]
|
||||||
|
Loading…
Reference in New Issue
Block a user