- Oct 20, 2011
-
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Harald Hoyer authored
Handle /run just like /dev, /sys and /proc Do not mount move, if there is already something mounted on the destination folder. Signed-off-by:
Harald Hoyer <harald@redhat.com> Signed-off-by:
Karel Zak <kzak@redhat.com>
-
- Oct 18, 2011
-
-
Takeshi Hamasaki authored
-
Frederik \"Freso\" S. Olesen authored
Signed-off-by:
Frederik "Freso" S. Olesen <freso@freso.dk>
-
Karel Zak authored
Reported-by:
Petr Pisar <ppisar@redhat.com> Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=746705 Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Reported-by:
Federico Simoncelli <fsimonce@redhat.com> Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=745746 Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Petr Uzel authored
Reported-by:
Roeland Jansen <roeland@linux-it.nl> Addresses: https://bugzilla.novell.com/show_bug.cgi?id=723877 Signed-off-by:
Petr Uzel <petr.uzel@suse.cz>
-
Petr Uzel authored
~ $ rtcwake -d X -s 10 *** glibc detected *** rtcwake: munmap_chunk(): invalid pointer: 0x00007fff839253c3 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x733b6)[0x7f582677a3b6] rtcwake[0x4022d5] /lib64/libc.so.6(__libc_start_main+0xfd)[0x7f5826725bfd] rtcwake[0x4016b9] ======= Memory map: ======== <SNIP> Signed-off-by:
Petr Uzel <petr.uzel@suse.cz>
-
Karel Zak authored
Reported-by:
Petr Uzel <petr.uzel@suse.cz> Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Reported-by:
Dave Reisner <dreisner@archlinux.org> Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Reported-by:
<dreisner@archlinux.org> Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Dave Reisner authored
The string returned from this function was never of much use other than to stat the path when the user requested a major:minor pair beyond the true/false exit. Save some processing and directly returning the dev_t on success, and an impossible value on failure. [kzak@redhat.com: - use 0 as dir_to_device() return value on failure] Signed-off-by:
Dave Reisner <dreisner@archlinux.org> Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Without the check libmount builds on systems that has older than 2.7 glibc are silently unsuccessful. The missing %ms modifier will, at least, result on such system missing output of findmnt and lsblk commands. If either %ms or %as modifiers are present the libmount build is disabled. Based on patch from: Sami Kerola <kerolasa@iki.fi> Signed-off-by:
Karel Zak <kzak@redhat.com> Conflicts: include/c.h
-
Sami Kerola authored
Definition name is changed to UL_BUILD_BUG_ON_ZERO to avoid collision with a system header. ../include/c.h:72:1: warning: "BUILD_BUG_ON_ZERO" redefined In file included from /usr/include/sys/sysinfo.h:25, from dmesg.c:16: /usr/include/linux/kernel.h:34:1: warning: this is the location of the previous definition Signed-off-by:
Sami Kerola <kerolasa@iki.fi>
-
Dave Reisner authored
This fixes a segfault in mount (and possibly elsewhere) when invoked without a -t parameter. Broken in 7ef9fd7c when the common xalloc.h libs were introduced. Signed-off-by:
Dave Reisner <dreisner@archlinux.org>
-
Petr Uzel authored
Unsigned long is only 4 bytes long on i586, which is not enough to represent sector number on todays large disks. Use unsigned long long, which is 8 bytes long, to store the sector numbers internally, so that we could later make some sanity checks and warn the user if the sector numbers exceed the limits imposed by DOS partition table format. Signed-off-by:
Petr Uzel <petr.uzel@suse.cz>
-
Petr Uzel authored
Signed-off-by:
Petr Uzel <petr.uzel@suse.cz>
-
Petr Uzel authored
unsigned long is 4 bytes long on i586, which is not enough for big HDD's with 512B sectors. Use unsigned long long, which is 8 bytes. Signed-off-by:
Petr Uzel <petr.uzel@suse.cz>
-
Petr Uzel authored
If the specified format is not cylinders, make the cylinder boundary check only print a warning and proceed anyways. Signed-off-by:
Petr Uzel <petr.uzel@suse.cz>
-
Petr Uzel authored
Signed-off-by:
Petr Uzel <petr.uzel@suse.cz>
-
Dave Reisner authored
Signed-off-by:
Dave Reisner <dreisner@archlinux.org>
-
Eric Sandeen authored
Specifying the "-n" option to uuidd would incorrectly fall through to the "-p" case, and assign that number to the pidfile_path. Signed-off-by:
Eric Sandeen <sandeen@redhat.com>
-
Francesco Cosoleto authored
Found by clang. Signed-off-by:
Francesco Cosoleto <cosoleto@gmail.com>
-
Francesco Cosoleto authored
Found by clang. Signed-off-by:
Francesco Cosoleto <cosoleto@gmail.com>
-
Petr Uzel authored
To pleace an exclusive lock on a file, NFSv4 requires the file to be opened RW because of the emulation of flock() by fcntl(): http://www.spinics.net/lists/linux-nfs/msg18502.html So instead of O_RDONLY, open the file in O_RDWR if access() indicates it is possible (unless shared lock is requested). From: Michal Kubecek <mkubecek@suse.cz> Signed-off-by:
Petr Uzel <petr.uzel@suse.cz>
-
Karel Zak authored
Reported-by:
xinglp <xinglp@gmail.com> Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=739522 Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=737091 Reported-by:
Eric Paris <eparis@redhat.com> Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Petr Uzel authored
If the 'open' fails we 'goto err' which runs 'sysfs_deinit()' on a 'cxt' which hasn't been fully initialised. The 'dir_fd' is still 0, so sysfs_deinit calls "close(0)". Addresses: https://bugzilla.novell.com/show_bug.cgi?id=714151 Reported-by:
Diego Ercolani <diego.ercolani@gmail.com> Analysed-by:
Neil Brown <nfbrown@suse.com> Signed-off-by:
Petr Uzel <petr.uzel@suse.cz>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Francesco Cosoleto authored
Spotted by EKOPath compiler. Signed-off-by:
Francesco Cosoleto <cosoleto@gmail.com>
-
Sami Kerola authored
Signed-off-by:
Sami Kerola <kerolasa@iki.fi>
-