summaryrefslogtreecommitdiffstats
path: root/src/binfmt/binfmt.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* log: log_error() and friends add a newline after each line anyway, so avoid ↵Lennart Poettering2013-12-241-1/+1
| | | | including it in the log strings
* clients: unify how we invoke getopt_long()Lennart Poettering2013-11-061-5/+15
| | | | | Among other things this makes sure we always expose a --version command and show it in the help texts.
* fileio: in envfiles, do not skip lines following empty linesZbigniew Jędrzejewski-Szmek2013-04-141-1/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=63477
* util: rename write_one_line_file() to write_string_file()Lennart Poettering2013-04-031-3/+3
| | | | | You can write much more than just one line with this call (and we frequently do), so let's correct the naming.
* honor SELinux labels, when creating and writing config filesHarald Hoyer2013-02-141-0/+1
| | | | | | | Also split out some fileio functions to fileio.c and provide a SELinux aware pendant in fileio-label.c see https://bugzilla.redhat.com/show_bug.cgi?id=881577
* binfmt,tmpfiles,modules-load,sysctl: rework the various early-boot services ↵Lennart Poettering2013-02-111-45/+85
| | | | | | | | | | | | | | | | | | | that work on .d/ directories This unifies much of the logic behind them: - All four will now ofllow the rule that the earlier file and earlier assignment in the .d/ directories wins. Before, sysctl was the only outlier, where the later setting always won. - All four now support getopt() and --help on the command line. - All four can now handle specification of configuration file names on the command line to apply. The tools will automatically find them, and apply them. Previously only tmpfiles could do that. This is useful for %post scripts in RPMs and suchlike. - This fixes various error path issues in conf_files_list()
* shared: conf-files - add root parameterKay Sievers2013-02-081-1/+1
|
* continue work with error messages, log_oom()Shawn Landden2012-08-061-2/+2
| | | | | | | Adds messages for formally silent errors: new "Failed on cmdline argument %s: %s". Removes some specific error messages for -ENOMEM in mount-setup.c. A few specific ones have been left in other binaries.
* util: split-out conf-file.[ch]Kay Sievers2012-05-071-0/+1
|
* relicense to LGPLv2.1 (with exceptions)Lennart Poettering2012-04-121-4/+4
| | | | | | | | | | | | | | We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
* binfmt: fix apply loopLennart Poettering2012-03-221-1/+1
| | | | Noticed by Sergey Ptashnick
* bmfmt: allow passing more than one config file nameLennart Poettering2012-03-201-10/+15
|
* conf: when looking for configurations look in /etc first, in /run secondLennart Poettering2012-03-141-1/+1
| | | | | | | | | | | After long consideration we came to the conclusion that user configuration in /etc should always override the (generally computer generated) configuration in /run. User configuration should always be what matters over anything else. Hence rearrange the search orders accordingly. In general this should change very little as overriding like this is seldomn done so far, and the order between /etc and /usr stays the same.
* binfmt: move sources to subdirectoryKay Sievers2011-12-311-0/+164