summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* util-lib: split stat()/statfs()/stavfs() related calls into stat-util.[ch]Lennart Poettering2015-10-2737-207/+317
|
* util: move string_is_safe() to string-util.[ch]Lennart Poettering2015-10-274-19/+19
|
* util-lib: move a number of fs operations into fs-util.[ch]Lennart Poettering2015-10-2764-495/+616
|
* util-lib: split out file attribute calls to chattr-util.[ch]Lennart Poettering2015-10-2712-85/+144
|
* util-lib: split xattr-related calls into xattr-util.[ch]Lennart Poettering2015-10-2712-182/+245
|
* util-lib: introduce dirent-util.[ch] for directory entry callsLennart Poettering2015-10-2737-154/+241
| | | | Also, move a couple of more path-related functions to path-util.c.
* util-lib: split out resource limits related calls into rlimit-util.[ch]Lennart Poettering2015-10-2712-59/+117
|
* util-lib: move take_password_lock() to user-util.[ch]Lennart Poettering2015-10-276-44/+46
| | | | | Also, rename it take_etc_passwd_lock(), in order to make it more expressive.
* util: move filename_is_valid() and path_is_safe() to path-util.[ch]Lennart Poettering2015-10-2713-53/+65
|
* util-lib: move mount related utility calls to mount-util.[ch]Lennart Poettering2015-10-2724-474/+552
|
* util-lib: move fstab_node_to_udev_node() to fstab-util.[ch]Lennart Poettering2015-10-277-62/+68
|
* util-lib: move more file I/O related calls into fileio.[ch]Lennart Poettering2015-10-2751-329/+382
|
* util: remove path_get_parent(), in favour of dirname_malloc()Lennart Poettering2015-10-2715-108/+62
| | | | | | We don't need two functions that do essentialy the same, hence drop path_get_parent(), and stick to dirname_malloc(), but move it to path-util.[ch].
* util-lib: split out hex/dec/oct encoding/decoding into its own fileLennart Poettering2015-10-2728-701/+782
|
* util-lib: split string parsing related calls from util.[ch] into parse-util.[ch]Lennart Poettering2015-10-27136-502/+686
|
* Merge pull request #1693 from ssahani/wordTom Gundersen2015-10-272-17/+22
|\ | | | | timesysnd: port to extract_first_word
| * resolved: port to extract_first_wordSusant Sahani2015-10-271-9/+12
| |
| * timesysnd: port to extract_first_wordSusant Sahani2015-10-271-8/+10
|/
* Merge pull request #1688 from phomes/typo-fixLennart Poettering2015-10-271-1/+1
|\ | | | | path-util: do not return NULL as int
| * path-util: do not return NULL as intThomas Hindoe Paaboel Andersen2015-10-261-1/+1
|/ | | | | | | strv_split will only return NULL on oom so we should return -ENOMEM instead. Looks like an oversight from the changes in 0f474365
* Merge pull request #1679 from evverx/refuse-manual-start-by-reload-or-restartLennart Poettering2015-10-261-1/+2
|\ | | | | core: don't allow manual start with reload-or-restart too
| * core: don't allow manual start with reload-or-restart tooEvgeny Vereshchagin2015-10-261-1/+2
| | | | | | | | fix bug: systemctl reload-or-restart starts a service with RefuseManualStart=yes
* | Merge pull request #1686 from medhefgo/remount-ro-fixLennart Poettering2015-10-261-6/+20
|\ \ | | | | | | unmount: Pass in mount options when remounting read-only
| * | unmount: Pass in mount options when remounting read-onlyJan Janssen2015-10-261-6/+20
|/ / | | | | | | | | | | | | | | | | | | man 2 mount says that the mountflags and data parameteres should match the original values except for the desired changes. We only bother with the mount options since the only flags we can change are MS_RDONLY, MS_SYNCHRONOUS and MS_MANDLOCK; which shouldn't matter too much. Fixes: #351
* | Merge pull request #1676 from poettering/util-lib-2Tom Gundersen2015-10-26103-920/+1242
|\ \ | | | | | | split up util.[ch] into more pieces, and other stuff
| * | process-util: move more process related calls to process-util.[ch]Lennart Poettering2015-10-264-14/+13
| | |
| * | socket-util: move remaining socket-related calls from util.[ch] to ↵Lennart Poettering2015-10-2610-194/+201
| | | | | | | | | | | | socket-util.[ch]
| * | build-sys: add missing makefile symlinkLennart Poettering2015-10-261-0/+1
| | |
| * | util-lib: move ether_addr_to_string() into ether-addr-util.cLennart Poettering2015-10-266-23/+50
| | |
| * | path-util: minor coding style fixLennart Poettering2015-10-261-3/+3
| | | | | | | | | | | | | | | | | | We usually avoid relying on C's degrade-to-boolean functionality when comparing numerical variables with 0. We use it only for pointers and actual booleans.
| * | core: rename SmackFileSystemRoot= to SmackFileSystemRootLabel=Lennart Poettering2015-10-266-11/+11
| | | | | | | | | | | | | | | | | | That way it's in sync with the other SMACK label settings. https://github.com/systemd/systemd/pull/1664#issuecomment-150891270
| * | user-util: never hand out or accept invalid UIDsLennart Poettering2015-10-261-3/+18
| | | | | | | | | | | | | | | libc isn't that strict, but it's a good idea if we are, to not create confusion around invalid user ids.
| * | util: remove lookup_uid(), replace by uid_to_name()Lennart Poettering2015-10-267-46/+122
| | | | | | | | | | | | | | | | | | | | | So far we had two pretty much identical calls in user-util.[ch]: lookup_uid() and uid_to_name(). Get rid of the former, in favour of the latter, and while we are at it, rewrite it, to use getpwuid_r() correctly, inside an allocation loop, as POSIX intended.
| * | user-util: simplify uid parsing a bitLennart Poettering2015-10-261-13/+8
| | |
| * | util-lib: split out user/group/uid/gid calls into user-util.[ch]Lennart Poettering2015-10-2654-426/+539
| | |
| * | util-lib: split out IO related calls to io-util.[ch]Lennart Poettering2015-10-2640-254/+343
| | |
* | | journal: add missing includeTom Gundersen2015-10-261-0/+1
| | |
* | | Merge pull request #1681 from ssahani/journalLennart Poettering2015-10-261-6/+9
|\ \ \ | |_|/ |/| | journald-server: port to extract_first_word
| * | journald-server: port to extract_first_wordSusant Sahani2015-10-261-6/+9
| | |
* | | Merge pull request #1675 from evverx/run-protect-homeLennart Poettering2015-10-264-3/+30
|\ \ \ | |_|/ |/| | systemd-run can launch units with ProtectHome
| * | shell-completion: systemd-run: add the property ProtectHomeEvgeny Vereshchagin2015-10-262-2/+2
| | |
| * | run: can launch units with ProtectHomeEvgeny Vereshchagin2015-10-262-1/+28
|/ /
* | Merge pull request #1674 from evverx/run-fix-couldnot-find-executableLennart Poettering2015-10-261-5/+0
|\ \ | | | | | | run: fix "couldn't find executable" for the existing executables
| * | run: fix "couldn't find executable" for the existing executablesEvgeny Vereshchagin2015-10-251-5/+0
| | | | | | | | | | | | Fixes: #1672
* | | Merge pull request #1673 from mustrumr/date-fixesLennart Poettering2015-10-254-16/+26
|\ \ \ | |/ / |/| | Date fixes
| * | man: fix systemd.time RAS syndrome and line lengthHristo Venev2015-10-251-6/+6
| | | | | | | | | | | | "UTC time" is a RAP phrase (redundant acronym phrase phrase).
| * | test: "today UTC" is not always "today UTC"Hristo Venev2015-10-251-1/+8
| | | | | | | | | | | | | | | On Oct 25 2015 in EET/EEST there is a UTC+3->UTC+2 transition. This means that the representation of "today UTC" as local time is ambiguous.
| * | basic: use the return value of endswithHristo Venev2015-10-252-9/+12
| | | | | | | | | | | | | | | It returns the position where the suffix begins, which can be used for strndup to extract the prefix without calling strlen.
* | | Merge pull request #1671 from keszybz/zsh-journalctl-identifierRonny Chevalier2015-10-251-0/+1
|\ \ \ | |/ / |/| | zsh-completion: journalctl --identifier
| * | zsh-completion: journalctl --identifierZbigniew Jędrzejewski-Szmek2015-10-251-0/+1
|/ / | | | | | | Fixes #1549.