summaryrefslogtreecommitdiff
path: root/src/util.h
AgeCommit message (Collapse)Author
2011-05-10util: include `stdarg.h`Paul Menzel
Otherwise using uClibc compilation (OpenEmbedded [1] with `minimal-uclibc` for `MACHINE = "beagleboard"`) fails with the following error message. | make[1]: Entering directory `/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/systemd-v26-r0/git' | CC src/libsystemd_basic_la-util.lo | src/util.c: In function 'acquire_terminal': | src/util.c:2484:29: warning: cast increases required alignment of target type [-Wcast-align] | src/util.c:2497:37: warning: cast increases required alignment of target type [-Wcast-align] | src/util.c: In function 'rename_process': | src/util.c:2905:17: warning: passing argument 1 of 'strncpy' discards qualifiers from pointer target type | /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/string.h:87:14: note: expected 'char * restrict' but argument is of type 'const char *' | src/util.c: In function 'cpu_set_malloc': | src/util.c:3229:17: warning: implicit declaration of function 'CPU_ALLOC' [-Wimplicit-function-declaration] | src/util.c:3229:25: warning: assignment makes pointer from integer without a cast | src/util.c:3232:17: warning: implicit declaration of function 'CPU_ALLOC_SIZE' [-Wimplicit-function-declaration] | src/util.c:3233:25: warning: implicit declaration of function 'CPU_ZERO_S' [-Wimplicit-function-declaration] | src/util.c:3241:17: warning: implicit declaration of function 'CPU_FREE' [-Wimplicit-function-declaration] | CC src/libsystemd_basic_la-label.lo | In file included from src/label.c:27:0: | src/util.h:358:41: error: expected declaration specifiers or '...' before 'va_list' | make[1]: *** [src/libsystemd_basic_la-label.lo] Error 1 | make[1]: Leaving directory `/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/systemd-v26-r0/git' | make: *** [all] Error 2 | + die 'oe_runmake failed' | + oefatal 'oe_runmake failed' | + echo FATAL: 'oe_runmake failed' | FATAL: oe_runmake failed | + exit 1 NOTE: package systemd-v26-r0: task do_compile: Failed ERROR: Function 'do_compile' failed (see /oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/systemd-v26-r0/temp/log.do_compile.4020 for further information) ERROR: Task 13 (/oe/openembedded/recipes/systemd/systemd_git.bb, do_compile) failed with exit code '1' ERROR: '/oe/openembedded/recipes/systemd/systemd_git.bb' failed [1] http://www.openembedded.org/
2011-04-28util: conf_files_list() return list as parameterKay Sievers
2011-04-28lookup: drop empty directories from search pathsLennart Poettering
2011-04-25sysctl.d, binfmt.d, modules-load.d: switch to stacked config dirs in /lib, ↵Kay Sievers
/etc, /run
2011-04-16hostnamed: introduce systemd-hostnamedLennart Poettering
http://www.freedesktop.org/wiki/Software/systemd/hostnamed
2011-04-16hostname: split out hostname validation into util.cLennart Poettering
2011-04-12pam: use /proc/self/loginuid only if we have CAP_AUDIT_CONTROLLennart Poettering
2011-04-03kmsg-syslogd: pass facility value into kmsgLennart Poettering
2011-03-31log: fix shifting of facilitiesLennart Poettering
2011-03-30status: show status messages unconditionally if plymouth is aroundLennart Poettering
2011-03-28util: detect page size runtime.cee1
Some architectures support multiple machine types with diffenent page sizes, and some machine types even support multiple page sizes themselves.
2011-03-14util: add detect_container()Lennart Poettering
2011-03-14util: properly identify pty devices by their majorLennart Poettering
2011-03-09dbus: properly generate UnknownInterface, UnknownProperty and ↵Lennart Poettering
PropertyReadOnly errors
2011-03-04execute: load environment files at time of execution, not when we load the ↵Lennart Poettering
service configuration https://bugzilla.redhat.com/show_bug.cgi?id=661282
2011-03-03kill: always send SIGCONT after SIGTERMLennart Poettering
When we kill a process to terminate it make sure to send SIGCONT to ensure it is unpaused and processes the signal.
2011-02-21virtualization: beef virtualization codeLennart Poettering
2011-02-17util: beef up logic to find ctty nameLennart Poettering
2011-02-15shutdown: execute all binaries in /lib/systemd/system-shutdown as last step ↵Lennart Poettering
before invoking reboot()
2011-02-14getty: do not auto-spawn getty's on VC ttys if console=ttyN is usedLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=676885
2011-02-13readahead: disable readahead in virtual machinesLennart Poettering
2011-01-20systemctl: highlight failed processes in systemctl statusLennart Poettering
2011-01-05fragment: properly handle quotes in assignments in EnvironmentFile= filesLennart Poettering
2010-12-28tmpfiles: ensure we do no follow symlinks when cleaning up dirsLennart Poettering
Patch suggested by Miloslav Trmac.
2010-11-15exec: automatically determine right TERM= setting based on tty nameLennart Poettering
2010-11-12cryptsetup: hook up tool with ask-passwordLennart Poettering
2010-11-10manager: parse RD_TIMESTAMP passed from initrdLennart Poettering
2010-11-10cryptsetup: minimal cryptsetup unit generatorLennart Poettering
2010-10-28service: unify tstamp serialization codeLennart Poettering
2010-10-27mounts: automatically create /dev/stderr and friends early on boot so that ↵Lennart Poettering
they are around when we run shell scripts before udevd
2010-10-27main: move make_null_stdio() to util.cLennart Poettering
2010-10-27unit: serialize active timestampsLennart Poettering
2010-10-25ask-password: add basic tty agentLennart Poettering
2010-10-22systemctl: introduce systemctl killLennart Poettering
2010-10-18tmpfiles: integrate kay's directory cleanup code and otherwise beef up ↵Lennart Poettering
tmpfiles quite a bit
2010-10-08unit: introduce 'banned' load state for units symlinked to /dev/nullLennart Poettering
2010-10-07util: unify implementations of freeze()Lennart Poettering
2010-10-07util: Adding a strneq, to represent (!strncmp(a, b, n))Fabiano Fidencio
As we have streq to repesent (strcmp(a, b) == 0),I'm adding strneq to represent (strncmp(a, b, n) == 0), that will be used in umount.c (at least).
2010-10-05fix typo: s/seperat/separat/gDave Reisner
2010-09-21manager: measure startup timesLennart Poettering
2010-09-16vconsole: add new utility to initialize the virtual consoleLennart Poettering
2010-09-15util: use waitid() instead of waitpid() everywhere to avoid confusion due to ↵Lennart Poettering
SIGSTOP
2010-09-15util: introduce waitpid_loop()Lennart Poettering
2010-08-25systemctl: show timestamps for state changesLennart Poettering
2010-08-20mount: properly handle LABEL="" in fstabLennart Poettering
2010-08-20dbus: follow standardized fdo PropertiesChanged signal specLennart Poettering
2010-08-20service/systemctl: don't consider LSB exit codes 5 and 6 as failure, and ↵Lennart Poettering
decode exit codes in systemctl
2010-08-17nss: don't disable nscd anymore, since it doesn't make sense to ↵Lennart Poettering
socket-activate nscd anyway
2010-08-17emacs: disable tabs in .h files, tooLennart Poettering
2010-08-16systemctl: add support for delayed shutdown, similar to sysv in styleLennart Poettering