summaryrefslogtreecommitdiffstats
path: root/include/Makemodule.am
Commit message (Collapse)AuthorAgeFilesLines
* include/debug: don't print pointer address for SUID programsKarel Zak2018-01-121-0/+1
| | | | | | | | | | | | | | | | * introduce new flag __UL_DEBUG_FL_NOADDR to suppress pointer address printing * use __UL_DEBUG_FL_NOADDR when SUID * move ul_debugobj() to debugobj.h, and require UL_DEBUG_CURRENT_MASK to provide access to the current mask from ul_debugobj(). It's better than modify all ul_debugobj() calls and use the global mask as argument. * remove never used UL_DEBUG_DEFINE_FLAG Reported-by: halfdog <me@halfdog.net> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add missing includeKarel Zak2017-11-161-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* kill: Extract signal names into signames.h/signames.cNiklas Hambüchen2017-10-141-0/+1
|
* login: add xgetpwnam()Karel Zak2017-09-181-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libuuid: add support for hash-based UUIDsPhilip Prindeville2017-09-051-0/+1
| | | | | | | | | Adding V3 and V5 UUIDs per RFC-4122. [kzak@redhat.com: - fix symbols file] Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* include: move pamfail.h to auth.cSami Kerola2017-08-051-1/+0Star
| | | | | | | This removes one small header file, and makes inline function to static to only file it is used in. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* partx: move partx.h to include/Karel Zak2017-07-141-0/+1
| | | | | | Let's make the ioctls usable also for libfdisk. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add missing header fileKarel Zak2017-03-231-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add missing fileKarel Zak2017-02-161-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add missing include/plymouth-ctrl.hKarel Zak2016-05-241-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: Update for newer bcache superblocksKent Overstreet2016-03-231-1/+0Star
| | | | | | | | Later version of bcache add different checksum types, and allow for superblocks greater than 4k - skipping the checksum check (as in most other probes) is the easiest solution. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
* lib: move fopen_at() to fileutils.h, remove at.hRuediger Meier2016-03-071-1/+0Star
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* include: add missing header fileKarel Zak2015-12-011-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* include: remove now useless linux_reboot.h.Casper Ti. Vector2015-11-191-1/+0Star
|
* libsmartcols: don't link with tinfoKarel Zak2015-07-241-0/+1
| | | | | | | Let's move color names to sequence translation to separate file to make it usable without all the stuff in lib/colors.c. Signed-off-by: Karel Zak <kzak@redhat.com>
* lslogins: merge read_utmp() codeKarel Zak2015-07-161-1/+0Star
| | | | | | | The code is used only in lslogins, so it does not make sense to maintain it in libcommon. Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/strv: add new functions (from systemd)Karel Zak2015-05-151-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix typoKarel Zak2015-03-061-1/+1
|
* lib/timer: use separate file for timersKarel Zak2015-03-061-10/+11
| | | | | | | | It seems that static builds require -lpthread for timer_* functions. It's better to keep it out of our libs (e.g. libmount) to avoid unnecessary dependence. Signed-off-by: Karel Zak <kzak@redhat.com>
* flock: improve timeout handlingSami Kerola2015-03-051-1/+0Star
| | | | | | | | | | | | Signal ALRM raised by the timer, and the timer only, will be considered as a timeout criteria. Secondly time interval is made to use monotonic clock. Documentation of ITIMER_REAL is unclear whether that time is affected various sources of clock skew, or does it even tick when system is suspended. Reviewed-by: Karel Zak <kzak@redhat.com> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: move all around clock_gettime() to monotonic.cKarel Zak2014-11-191-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Merge branch 'misc' of git://github.com/kerolasa/lelux-utiliteetitKarel Zak2014-09-221-1/+0Star
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'misc' of git://github.com/kerolasa/lelux-utiliteetit: textual: share crypt() error message in sulogin and newgrp newgrp: avoid use of obsolete getpass() function newgrp: use libc function to read gshadow if it is available setarch: use personality() system call when it is available setarch: reindent code hwclock: remove referal to deprecated keyboard interface eject: make open_device() and select_speed() to use struct eject_control eject: add struct eject_control to remove global variables mountpoint: simplify if statement mkfs.minix: fix couple compiler warnings mountpoint: add struct mountpoint_control last: improve code readability by renaming variable names last: make is_phantom() when kernel config does not include audit support lib: remove xgetpass() include: simplify fputc_careful() in carefulputc.h libuuid: add extern qualifiers to uuid/uuid.h system header
| * lib: remove xgetpass()Sami Kerola2014-09-191-1/+0Star
| | | | | | | | | | | | | | This function is not in use, and it has reference to obsoleted getpass(). Reference: http://man7.org/linux/man-pages/man3/getpass.3.html Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* | swapon: split swapon-common.cKarel Zak2014-09-221-1/+1
|/ | | | | | | | | | | swapon - requires libmount and libblkid swapoff - requires libmount swaplabel - requires libblkid This patch add lib/swapprober.c with blkid stuff for swap. It allows to use and link libblkid only when necessary. Signed-off-by: Karel Zak <kzak@redhat.com>
* swaplabel: move swapon-common to include directorySami Kerola2014-07-281-0/+1
| | | | | | | | | | This fixes the following compiler warning. disk-utils/swaplabel.c:175:2: warning: implicit declaration of function 'get_swap_prober' [-Wimplicit-function-declaration] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: remove obsolete wholedisk.cKarel Zak2014-06-171-1/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lslogins: add functionalityOndrej Oprala2014-05-151-0/+1
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* lib/timeutils: remove get_boot_time from libcommonKarel Zak2014-05-061-0/+1
| | | | | | | | clock_gettime() needs -lrt, so let's keep this stuff outside libcommon.la Reported-by: Ruediger Meier <sweet_f_a@gmx.de> Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/tt.c: Goodbye!Ondrej Oprala2014-04-031-1/+0Star
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* libcommon: add common debugging routinesOndrej Oprala2014-03-121-0/+1
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* libmount: add statfs_magic.hKarel Zak2014-03-061-1/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix include Makemodule.amKarel Zak2013-09-261-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: move bsd definitions to pt-bsd.hKarel Zak2013-09-161-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libfdisk: move mbr code to the libraryKarel Zak2013-09-161-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: move MBR partition types to include/Karel Zak2013-09-161-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: move SGI disklabel definitions to include/Karel Zak2013-09-161-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: add crc64()Karel Zak2013-09-111-0/+1
| | | | | | Based on bcache code from Rolf Fokkens. Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: rename time-util.c to timeutils.c, fix headersKarel Zak2013-09-101-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/time-util: copy time parsing functions from systemdSami Kerola2013-08-291-0/+1
| | | | | | | | The functions are copied nearly as-is. Coding style has been modified to match with util-linux project, while the functionality remains untouched. CC: Lennart Poettering <lennart@poettering.net> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* include: add timer.hKarel Zak2013-03-131-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: move sun PT definition to include/Karel Zak2013-03-111-1/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add exec_shell.h to distributionBernhard Voelker2013-03-041-0/+1
| | | | Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
* build-sys: add namespace.h to distributionSami Kerola2013-02-061-0/+1
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: add files to distributionSami Kerola2013-01-101-0/+1
| | | | | | | To fix 'make distcheck' compilation. The fdisks/Makemodule.am has one new entry 'dos_part_types.h', the rest is about sorting the list. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: remove consoles.hKarel Zak2012-12-271-1/+0Star
| | | | | Reported-by: Bernhard Voelker <mail@bernhard-voelker.de> Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/consoles: add code to detect all system consolesWerner Fink2012-11-081-0/+1
| | | | Signed-off-by: Werner Fink <werner@suse.de>
* include/c: move usleep() fallback to c.hKarel Zak2012-10-221-1/+0Star
| | | | | | To make it available everywhere in code. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add pager.h to Makemodule.amKarel Zak2012-06-261-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: convert include/ to moduleKarel Zak2012-06-261-0/+44
Signed-off-by: Karel Zak <kzak@redhat.com>