summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-10tmpfiles: warn if we get an argument on lines that don't take anyLennart Poettering
2015-04-10tmpfiles: mostly revert 71044f609b829d802e0eb81270e13b4f55d76476Lennart Poettering
Add a comment why returning a positive error is OK and intended in this case. (It's still a nasty hack to do this though!)
2015-04-10device-nodes: minor simplificationsLennart Poettering
2015-04-10util: unify how we parse mode_t stringsLennart Poettering
2015-04-10util: remove normalize_env_assignment(), it's unusedLennart Poettering
2015-04-10shared: fix memleakRonny Chevalier
path was used for 2 purposes but it was not freed before being reused.
2015-04-10util: mark unquote() static, so that new code doesn't use this anymoreLennart Poettering
2015-04-10util: fix unicode decoding in unquote_first_word()Lennart Poettering
2015-04-10util: when unescaping C escape sequences support C++11 \u and \U unicode ↵Lennart Poettering
literals We simply recode them in utf8.
2015-04-09util: fix a typo in commentThomas Hindoe Paaboel Andersen
2015-04-09terminal/page: drop unneeded DISABLE_WARNING_*David Herrmann
The macros in shared/macro.h have been updated to no longer use fixed variable names. This will silence any shadowing-warnings, so drop the DISABLE_WARNING_* annotations.
2015-04-09bus: simplify bus_message_read_strv_extend()David Herrmann
Avoid unbound for(;;) loop and use the established coding-style: while ((r = sd_bus_message_read*(...)) > 0) { } if (r < 0) return r; This is much easier to read and used all over the code base.
2015-04-09bus: use free_and_strdup()David Herrmann
Save some LOCs by replacing strdup()+error-handling+free+assign with free_and_strdup().
2015-04-09terminal/idev: fix NULL terminator for bus-property mappingDavid Herrmann
We require a NULL entry as sentinal in bus_properties_map. Fix this!
2015-04-09test-journal-flush: fix memleakRonny Chevalier
2015-04-09util: cunescape - fix memleak in error pathRonny Chevalier
2015-04-09util: add shell_maybe_quote() call for preparing a string for shell cmdline ↵Lennart Poettering
inclusion If necessary the passed string is enclosed in "", and all special characters escapes. This also ports over usage in bus-util.c and job.c to use this, instead of a incorrect local implementation that forgets to properly escape.
2015-04-09vconsole: some modernizations, indentation fixesLennart Poettering
2015-04-09tmpfiles: properly return error code from path_set_acl()Lennart Poettering
2015-04-09tmpfiles: add file attribute calls to list of glob needing commandsLennart Poettering
2015-04-09update TODOLennart Poettering
2015-04-09vconsole: stick to kernel-style function error handlingLennart Poettering
This undoes part of 8931278c8a9ef7b60f6b6963486a9e9febb20a0d. We really should stick to kernel-style "int" return values from functions, and not covnert success into boolean returns.
2015-04-09hwdb: mouse DPI data, Roccat Lua (ROC-11-310)Blaž Tomažič
https://bugs.freedesktop.org/show_bug.cgi?id=89743
2015-04-09networkd: do not assign the variable twiceThomas Hindoe Paaboel Andersen
2015-04-08update TODOLennart Poettering
2015-04-08tmpfiles: rework file attribute codeLennart Poettering
- Stick to one type for the flags field: unsigned. This appears to be what the kernel uses, and there's no point in using something else. - compress the flags array by avoiding sparse entries - extend some error messages to not use abbreviated words - avoid TTOCTTOU issues by invoking fstat() after open() when applying file flags - add explanation why we need to check the file type with fstat(). - don't needlessly abbreviate "attribute" as "attrib", in particually as "chattr" abbreviates it as "attr" rather than "attrib".
2015-04-08util: merge change_attr_fd() and chattr_fd()Lennart Poettering
2015-04-08fstab-generator: don't continue on OOMLennart Poettering
2015-04-08timesyncd: print an INFO log message when we successfully reached a time serverLennart Poettering
2015-04-08man: avoid confusion regarding "time synchronization state"Lennart Poettering
Also, update example in the timedatectl man page to match the actual timedatectl output.
2015-04-08systemctl: Use logind for --firmware-setup if possibleJan Janssen
2015-04-08IndentationZbigniew Jędrzejewski-Szmek
2015-04-08man: remove 'fs' from 'rootfsflags'Zbigniew Jędrzejewski-Szmek
rootfsflags does not appear anywhere else.
2015-04-08core/automount: beef up error messageZbigniew Jędrzejewski-Szmek
This should not happen... but when it does more information is nice.
2015-04-08shell-completion: systemctl switch-root verbZbigniew Jędrzejewski-Szmek
The completion is rudimentary (all files). I think this is OK since this is used so rarely. But not having it proposed at all is annoying.
2015-04-08update TODOLennart Poettering
2015-04-08resolved: maintain order when writing resolv.conf entriesLennart Poettering
http://lists.freedesktop.org/archives/systemd-devel/2015-March/029850.html
2015-04-08util: add minimal OrderedSet typeLennart Poettering
OrderedSet implements a Set-like structure, but maintains insertion ordered. It is hence to Set what OrderedHashmap is for Hashmap. Internally, this is only a wrapper around OrderedHashmap for now, but this could one day be improved and be added to hashmap.c natively.
2015-04-08TODO: yeah, now it makes senseLennart Poettering
2015-04-08missing.h: Define IFA_F_NOPREFIXROUTEAlexander Sverdlin
Fixes second systemd compilation problem against Linux 3.12 uapi headers. IFA_F_NOPREFIXROUTE is a usual #define appeared in Linux 3.14, so AC_CHECK_DECLS is not necessary.
2015-04-08sd-rtnl: properly size attribute array if IFA_FLAGS was missingLennart Poettering
2015-04-08po: update French translationSylvain Plantefève
Add strings introduced by 5bdf22430e367799dfa66c724144b624c5479518
2015-04-08remove duplicated includesRonny Chevalier
2015-04-08timedatectl: trim --help output to 80 charsRonny Chevalier
2015-04-08zsh-completion: update hostnamectlRonny Chevalier
2015-04-08zsh-completion: add missing -M completion for journalctlRonny Chevalier
2015-04-08zsh-completion: update loginctlRonny Chevalier
2015-04-08test-socket-util: add test for in_addr_to_stringRonny Chevalier
2015-04-07configure: sign-compare is part of extraThomas Hindoe Paaboel Andersen
Remove sign-compare as we already get it from extra
2015-04-07device: remove unused null checkThomas Hindoe Paaboel Andersen
We dereference the variable right before the null check. We never reach this point with a null value anyway so let's just remove it.