]>
git.ipfire.org Git - thirdparty/util-linux.git/log
Sami Kerola [Sun, 13 Nov 2011 18:34:46 +0000 (19:34 +0100)]
logindefs: fix coding style
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 13 Nov 2011 18:32:10 +0000 (19:32 +0100)]
islocal: fix coding style
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Wed, 23 Nov 2011 22:04:12 +0000 (23:04 +0100)]
chsh: fix coding style
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Wed, 23 Nov 2011 21:57:31 +0000 (22:57 +0100)]
chfn: fix coding style
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Wed, 23 Nov 2011 21:36:57 +0000 (22:36 +0100)]
chfn, setpwnam: let config.h be in control of extensions in use
The autotools will set _GNU_SOURCE which removes necessity to have
any _*_SOURCE definition in *.c files.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 13 Nov 2011 17:18:33 +0000 (18:18 +0100)]
chfn, chsh: new file pamfail.h for error printing
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 13 Nov 2011 16:47:00 +0000 (17:47 +0100)]
chsh: build bug: do not override config.h definition
The ONLY_LISTED_SHELLS is defined by --disable-chsh-only-listed
configuration option.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 13 Nov 2011 16:36:55 +0000 (17:36 +0100)]
chfn, chsh, setpwnam: get true/false from stdbool.h
Requires C99, which should not be a problem.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 13 Nov 2011 16:14:51 +0000 (17:14 +0100)]
login: add version printing option
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 13 Nov 2011 14:56:20 +0000 (15:56 +0100)]
newgrp: add version and help options
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 13 Nov 2011 14:14:33 +0000 (15:14 +0100)]
vipw: stop printing non-sense version string
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 13 Nov 2011 14:12:44 +0000 (15:12 +0100)]
vipw: use libc error printing facilities
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 13 Nov 2011 13:41:38 +0000 (14:41 +0100)]
chsh: use libc error printing facilities
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 13 Nov 2011 13:31:03 +0000 (14:31 +0100)]
chsh: align with howto-usage-function.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 13 Nov 2011 13:17:25 +0000 (14:17 +0100)]
chfn: use libc error printing facilities
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 13 Nov 2011 13:06:24 +0000 (14:06 +0100)]
chfn: align with howto-usage-function.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Karel Zak [Wed, 23 Nov 2011 14:19:20 +0000 (15:19 +0100)]
fallocate: clean up fallbacks for FALLOC_FL_* flags
Reported-by: Voelker, Bernhard <bernhard.voelker@siemens-enterprise.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 23 Nov 2011 13:10:51 +0000 (14:10 +0100)]
tests: add mkfs.carmfs test for small FS with duplicate files
Signed-off-by: Karel Zak <kzak@redhat.com>
Arnaud Mouiche [Thu, 17 Nov 2011 17:03:04 +0000 (18:03 +0100)]
small bug in mkfs.cramfs + patch
mkfs.cramfs on version v2.17.2 has a small bug when dealing with very small
filesystems. look at upstream code on git, and the issue is still here.
ex:
$ cd /tmp
$ mkdir content
$ echo hello > content/a
$ echo hello > content/b
$ mkfs.cramfs content content.cramfs
not enough space allocated for ROM image (4090 allocated, 4096 used)
Here is a patch for fixing (simply rounding to page size AFTER eleminating
doubles).
Signed-off-by: Arnaud Mouiche <arnaud.mouiche@invoxia.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Cong Wang [Fri, 18 Nov 2011 08:51:37 +0000 (16:51 +0800)]
fallocate: add FALLOC_FL_PUNCH_HOLE support
Recent Linux kernel supports FALLOC_FL_PUNCH_HOLE in fallocate(2).
This patch adds FALLOC_FL_PUNCH_HOLE support to fallocate utility,
by introducing a new option -p|--punch-hole.
[kzak@redhat.com: - fix merge conflict in fallocate.1]
Cc: Karel Zak <kzak@redhat.com>
Cc: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Jim Meyering [Thu, 17 Nov 2011 07:44:48 +0000 (08:44 +0100)]
prlimit: s/amount/number/
Bernhard Voelker [Wed, 16 Nov 2011 16:57:27 +0000 (17:57 +0100)]
prlimit: add support for executing a command
prlimit.c: Alternatively to applying the limits to an existing process via the
--pid option, allow a command to be executed. Adapted usage() accordingly.
prlimit.1: mention new syntax.
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
Francesco Cosoleto [Tue, 22 Nov 2011 15:12:42 +0000 (16:12 +0100)]
libblkid: fix mac partition detection
This fixes the buffer length passed to blkid_probe_get_buffer() calls,
and the block size byte order (on little-endian systems).
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Masatake YAMATO [Mon, 14 Nov 2011 13:47:53 +0000 (22:47 +0900)]
mount: enable fstab.d
This patch makes mount command read fstab.d/*.fstab if the command
is built with --enable-libmount-mount.
[kzak@redhat.com: - add some info to fstab.5 and mount.8 man pages
- use error callback for tab parser]
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 21 Nov 2011 16:12:33 +0000 (17:12 +0100)]
flock: use O_RDWR as fallback if O_RDONLY returns EIO
The commit
75aaee08f06b92d119ed827c53d1af5474eb16ff introduces
regression:
$ echo '#!/bin/sh' > test.sh
$ chmod a+rx test.sh
$ flock -eon ./test.sh ./test.sh
flock: ./test.sh: Text file busy
The lock file cannot be opened in read-write mode by default, because
then we cannot use flock(1) to lock executable files.
The read-write mode for lock files is necessary on NFSv4 where
flock(2) is emulated by by fcntl() -- this situation is possible to
detect by flock(2) EIO error.
This patch reverts the default to O_RDONLY and use O_RDWR only if EIO
error is detected.
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 21 Nov 2011 14:02:56 +0000 (15:02 +0100)]
flock: timer code refactoring
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 18 Nov 2011 12:19:21 +0000 (13:19 +0100)]
login: fix compiler warning [-Wreturn-type]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 18 Nov 2011 12:12:18 +0000 (13:12 +0100)]
build-sys: add missing BUILD_PRLIMIT
Reported-by: Thorsten Kukuk <kukuk@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 18 Nov 2011 11:26:19 +0000 (12:26 +0100)]
login: improve pam_setcred() usage
Reported-by: Thorsten Kukuk <kukuk@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Jim Meyering [Wed, 16 Nov 2011 19:10:39 +0000 (20:10 +0100)]
column: avoid memory overrun and/or use of uninitialized buffer
* text-utils/column.c (maketbl): Use the right starting point
and the right length when zeroing new memory after xrealloc.
Karel Zak [Wed, 16 Nov 2011 12:30:05 +0000 (13:30 +0100)]
prlimit: don't share pointer for old and new in prlimit(2)
This patch makes the code more robust. We should not share the same
pointer for old and new arguments for prlimit(2) syscall.
Reported-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 Nov 2011 12:21:40 +0000 (13:21 +0100)]
prlimit: avoid segfault due to array-out-of-bounds error
Example:
$ prlimit -l -l -l -l -l -l -l -l -l -l -l -l -l -l -l -l -l -l -l
RESOURCE DESCRIPTION SOFT HARD UNITS
MEMLOCK max locked-in-memory address space 65536 262144 bytes
MEMLOCK max locked-in-memory address space 65536 262144 bytes
...
Segmentation fault
Reported-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Bernhard Voelker [Mon, 14 Nov 2011 01:48:33 +0000 (02:48 +0100)]
prlimit: fix typo in man page, option --verbose
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
Karel Zak [Wed, 16 Nov 2011 11:04:52 +0000 (12:04 +0100)]
prlimit: replace lims[i] with pointer
Signed-off-by: Karel Zak <kzak@redhat.com>
Bernhard Voelker [Wed, 16 Nov 2011 10:55:43 +0000 (11:55 +0100)]
prlimit: fix case when PID is given later
# prlimit --nofile=:4000 --pid $$
When the PID is given later than a partially given limit, then prlimit
used the current PID for getting the missing part (hard, soft) of the
limit.
Factored out the retrieval of the unknown limit from parse_prlim() to
new get_unknown_hardsoft() which is to be called by do_prlimit() based
on the struct prlimit member 'modify' set by add_prlim().
[kzak@redhat.com: - use prlimit->mofify as mask
- add soft vs. hard limit check from another
Bernhard's patch]
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 Nov 2011 09:54:07 +0000 (10:54 +0100)]
prlimit: fix error message
- differentiate between set and get operations
- add limit name to the error message
- remove PID from the message (whole util works always with only one
PID, so this info is superfluous)
Reported-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Bernhard Voelker [Mon, 14 Nov 2011 01:47:57 +0000 (02:47 +0100)]
prlimit: show all limits if called without options
Fix option parsing: prlimit ran into usage() if called
without arguments which should only be done for surplus
arguments. Instead, it should display all limits.
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
Karel Zak [Tue, 15 Nov 2011 14:19:28 +0000 (15:19 +0100)]
wipefs: add -t <list> option
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Nov 2011 14:17:19 +0000 (15:17 +0100)]
lib,match: split match_fstype() from libmount
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Nov 2011 11:49:31 +0000 (12:49 +0100)]
libblkid: export PTMAGIC also if only PTTYPE requested
Reported-by: David Zeuthen <davidz@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Francesco Cosoleto [Mon, 14 Nov 2011 13:47:19 +0000 (14:47 +0100)]
fdisk: split delete_partition() off from dos_delete_partition()
This accidentally fixes a mistake printing the "Partition n is deleted"
message as the 'i' variable get decremented or incremented in case of
logical partitions.
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Francesco Cosoleto [Mon, 14 Nov 2011 13:47:18 +0000 (14:47 +0100)]
fdisk: avoid segfault validating a sgi label (boot/swap not set)
swap_part or boot_part can be set to -1 when they don't exist.
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Francesco Cosoleto [Mon, 14 Nov 2011 13:47:17 +0000 (14:47 +0100)]
fdisk: use ngettext() in str_units() for plural forms
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Harald Hoyer [Mon, 14 Nov 2011 13:11:01 +0000 (14:11 +0100)]
switch_root: umount mount points we cannot move with MNT_DETACH
If a mount point cannot be moved to the new root, umount it with
MNT_DETACH, so that it is lazy umounted and does not show up in
/proc/mounts anymore.
[kzak@redhat.com: - add MNT_DETACH macro fallback]
Signed-off-by: Harald Hoyer <harald@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Francesco Cosoleto [Fri, 11 Nov 2011 10:12:11 +0000 (11:12 +0100)]
fdisk: enable expert menu with SGI label
This allows the creation of a new label if the disk already has an existing
SGI disklabel without working around this problem such as creating a DOS
disklabel or overwriting with zero the partition table (problem reported in
'Gentoo Linux/MIPS Handbook').
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Francesco Cosoleto [Wed, 9 Nov 2011 18:04:12 +0000 (19:04 +0100)]
fdisk: rewrite print menu system
DOS and SGI label menus are unchanged. BSD label command
descriptions change slightly to use a common form.
This also removes an useless menu entry in SUN label menu to
edit bsd disklabel.
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Francesco Cosoleto [Fri, 11 Nov 2011 10:12:09 +0000 (11:12 +0100)]
fdisk: move command prompt code to a separate function
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Francesco Cosoleto [Fri, 11 Nov 2011 10:12:08 +0000 (11:12 +0100)]
fdisk: rename bselect, xselect functions
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Karel Zak [Mon, 14 Nov 2011 12:30:12 +0000 (13:30 +0100)]
lib,tt: fix compiler warning [-Wreturn-type]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 14 Nov 2011 12:28:50 +0000 (13:28 +0100)]
readprifile: remove unnecessary optstring array
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 14 Nov 2011 12:25:36 +0000 (13:25 +0100)]
Merge branch 'sys-utils-3rd' of https://github.com/kerolasa/lelux-utiliteetit
* 'sys-utils-3rd' of https://github.com/kerolasa/lelux-utiliteetit:
ldattach: add default case to switches
ldattach: convert debug macro to function
ldattach: check numeric user inputs with strtol_or_err
ldattach: align with howto-usage-function.txt
ldattach: fix coding style
docs: add long options to readprofile.8
readprofile: fix coding style
readprofile: use libc error printing facilities
readprofile: add long options
docs: align tunelp.8 with howto-man-page.txt
docs: add long options to tunelp.8
tunelp: add long options and align with howto-usage-function.txt
tunelp: use libc error printing facilities
tunelp: use symbolic exit values
tunelp: fix coding style
switch_root: add nls support
switch_root: align with howto-usage-function.txt
unshare: align with howto-usage-function.txt
rtcwake: align with howto-usage-function.txt
setsid: add long options and fix coding style
Karel Zak [Sun, 13 Nov 2011 20:25:12 +0000 (21:25 +0100)]
libblkid: export info about PT magic strings
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 11 Nov 2011 14:13:33 +0000 (15:13 +0100)]
libblkid: add BLKID_PARTS_MAGIC
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 11 Nov 2011 12:33:51 +0000 (13:33 +0100)]
mkswap: wipe all old signatures
mkswap(8) zaps the begin of the device (1024 bytes) only. This is not
enough, because for example ReiserFS superblock is outside this area.
This patch add blkid_do_wipe() call to mkswap(8) and all block device
is scanned and all signature are removed.
Reported-by: Martin Pitt <martin.pitt@ubuntu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 11 Nov 2011 11:58:59 +0000 (12:58 +0100)]
docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 11 Nov 2011 11:48:38 +0000 (12:48 +0100)]
wipefs: improve -a, use blkid_do_wipe()
Some filesystems (e.g. FAT) is possible to detect in many ways -- for
example if a magic string is stored on more places on the device. The
current implementation always removes from the device only the firstly
detected possibility.
# wipefs /dev/sdb1
offset type
----------------------------------------------------------------
0x36 vfat [filesystem]
UUID: D203-A7F4
# wipefs -a /dev/sdb1
8 bytes [46 41 54 31 36 20 20 20] erased at offset 0x36 (vfat)
# wipefs /dev/sdb1
offset type
----------------------------------------------------------------
0x0 vfat [filesystem]
UUID: D203-A7F4
This patch fixes this issue:
# wipefs -a /dev/sdb1
8 bytes were erased at offset 0x00000036 (vfat): 46 41 54 31 36 20 20 20
1 bytes were erased at offset 0x00000000 (vfat): eb
2 bytes were erased at offset 0x000001fe (vfat): 55 aa
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 11 Nov 2011 11:41:35 +0000 (12:41 +0100)]
libblkid: add blkid_do_wipe()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 10 Nov 2011 19:18:54 +0000 (20:18 +0100)]
libblkid: don't call CDROM_GET_CAPABILITY for partitions
Reported-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Francesco Cosoleto [Wed, 9 Nov 2011 15:57:28 +0000 (16:57 +0100)]
fsck.minix: fix zone_map memory allocation failure check
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Karel Zak [Thu, 10 Nov 2011 01:02:38 +0000 (02:02 +0100)]
lib,tt: add TT_FL_NOEXTREMES
If you mark a column with TT_FL_NOEXTREMES flag then extremely
large fields will no have effect to column width. Foe example:
without the TT_FL_NOEXTREMES flag for the 'AAA' column:
AAA BBB CCC DDD
aa bbb ccc ddd
aaaaaaaaaaa bb ccc ddd
aa bb ccc ddd
aa bb ccc ddd
with the flags:
AAA BBB CCC DDD
aa bbb ccc
dddddddddd
aaaaaaaaaaa
bb ccc
dddddddd
aa bb ccc dddddd
aa bb ccc
ddddddddd
Signed-off-by: Karel Zak <kzak@redhat.com>
Bernhard Voelker [Wed, 9 Nov 2011 12:33:54 +0000 (13:33 +0100)]
prlimit: fix noheadings option in man page
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
Karel Zak [Wed, 9 Nov 2011 10:53:49 +0000 (11:53 +0100)]
prlimit: fix SYS_ macro
Reported-by: "Voelker, Bernhard" <bernhard.voelker@siemens-enterprise.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Petr Uzel [Wed, 9 Nov 2011 09:10:52 +0000 (10:10 +0100)]
libmount: fix trivial typos in debugging output
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Francesco Cosoleto [Tue, 8 Nov 2011 22:14:54 +0000 (23:14 +0100)]
whereis: remove unused value warning
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Francesco Cosoleto [Tue, 8 Nov 2011 22:14:53 +0000 (23:14 +0100)]
libblkid: silence a format string warning [-Wformat]
Fix the following clang warning:
exfat.c:130:41: warning: conversion specifies type 'unsigned short' but
the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
blkid_probe_sprintf_version(pr, "%hu.%hu",
~~^
%c
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Francesco Cosoleto [Tue, 8 Nov 2011 22:14:52 +0000 (23:14 +0100)]
fsck.minix: remove unnecessary memset calls
The program aborts without using this unintialized allocated memory,
setting to zero doesn't look needed.
memset calls with sizeof() of pointer as argument (reported by clang).
[kzak@redhat.com: - replace malloc with calloc for {zone,inode}_count
to make code more robust]
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Davidlohr Bueso [Tue, 8 Nov 2011 23:39:46 +0000 (00:39 +0100)]
mount: fix build
With the new build changes when libmount is not defined the compilation breaks:
fstab.c:440: undefined reference to `streq_except_trailing_slash'
collect2: ld returned 1 exit status
make[2]: *** [mtab_lock_test] Error 1
make[2]: Leaving directory `/home/dave/projects/ut/mount'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dave/projects/ut'
make: *** [all] Error 2
This patch adds strutils to the fstab.c rule.
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Karel Zak [Tue, 8 Nov 2011 20:47:23 +0000 (21:47 +0100)]
libmount: fix chdir to parent for restricted (user) umounts
Reported-by: Petr Uzel <petr.uzel@suse.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 8 Nov 2011 15:38:56 +0000 (16:38 +0100)]
docs: refresh TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
Petr Uzel [Tue, 8 Nov 2011 15:25:01 +0000 (16:25 +0100)]
libmount: ignore tailing slash in netfs source paths
Addresses: https://bugzilla.novell.com/show_bug.cgi?id=728480
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Nov 2011 15:45:11 +0000 (16:45 +0100)]
lib,loopdev: add LOOP_CTL_GET_FREE support
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Nov 2011 10:31:47 +0000 (11:31 +0100)]
docs: add note about config-gen purpose
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Nov 2011 10:18:09 +0000 (11:18 +0100)]
docs: refresh TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Nov 2011 10:04:44 +0000 (11:04 +0100)]
login: clean FAIL_DELAY usage
... with this patch: login(1) always uses sleep(FAIL_DELAY) before
exit() if user is not authenticated or his PAM session is not fully
initialized.
Note that user has three attempts to write his password before
login(1) is terminated.
Reported-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Nov 2011 08:57:46 +0000 (09:57 +0100)]
prlimit: add --{raw,noheadings} options
Signed-off-by: Karel Zak <kzak@redhat.com>
Davidlohr Bueso [Wed, 2 Nov 2011 17:40:19 +0000 (18:40 +0100)]
prlimit: add a units column
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 4 Nov 2011 19:59:52 +0000 (20:59 +0100)]
docs: add notes about tools/config-gen
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 4 Nov 2011 19:58:21 +0000 (20:58 +0100)]
tests: add build-sys regression test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 4 Nov 2011 19:56:52 +0000 (20:56 +0100)]
build-sys: remove redundant flags from mount/Makefile.am
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 4 Nov 2011 11:12:20 +0000 (12:12 +0100)]
build-sys: add tools/config-gen and basic compilation scenarios
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 4 Nov 2011 13:08:30 +0000 (14:08 +0100)]
build-sys: fix UL_INIT_BUILD macro
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 3 Nov 2011 12:20:24 +0000 (13:20 +0100)]
tests: fix options evaluation, add support for optional tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 22:33:41 +0000 (00:33 +0200)]
build-sys: fix libuuid initialization
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 22:23:59 +0000 (00:23 +0200)]
prlimit: add add falbacks
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 21:28:05 +0000 (23:28 +0200)]
libuuid: fix includes in man pages
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 15:46:47 +0000 (17:46 +0200)]
build-sys: add UL_BUILD_INIT macro
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 15:04:49 +0000 (17:04 +0200)]
build-sys: cleanup BUILD_HWCLOCK
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 14:50:54 +0000 (16:50 +0200)]
build-sys: cleanup BUILD_{WALL,WRITE}
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 14:49:32 +0000 (16:49 +0200)]
build-sys: cleanup BUILD_SCHEDUTILS
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 14:31:36 +0000 (16:31 +0200)]
build-sys: move --with-* before --enable-*
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 14:28:35 +0000 (16:28 +0200)]
build-sys: cleanup BUILD_LOGIN_UTILS
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 14:19:14 +0000 (16:19 +0200)]
build-sys: cleanup BUILD_{RENAME,RESET}
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 14:18:12 +0000 (16:18 +0200)]
build-sys: cleanup BUILD_{LAST,LINE,MESG}
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 14:16:02 +0000 (16:16 +0200)]
build-sys: cleanup BUILD_KILL, enable kill(1) by default
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 14:10:55 +0000 (16:10 +0200)]
build-sys: cleanup BUILD_ELVTUNE
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 14:07:50 +0000 (16:07 +0200)]
build-sys: cleanup BUILD_PIVOT_ROOT
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 14:05:41 +0000 (16:05 +0200)]
build-sys: cleanup BUILD_SWITCH_ROOT
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 14:02:29 +0000 (16:02 +0200)]
build-sys: cleanup BUILD_CRAMFS
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 13:57:18 +0000 (15:57 +0200)]
build-sys: cleanup BUILD_{DDATE,AGETTY}
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2011 13:56:05 +0000 (15:56 +0200)]
build-sys: cleanup BUILD_ARCH
Signed-off-by: Karel Zak <kzak@redhat.com>