| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
: characters can be entered with the \: escape sequence.
|
|
|
|
|
|
| |
Overlayfs uses , as an option separator and : as a list separator. These
characters are both valid in file paths, so overlayfs allows file paths
which contain these characters to backslash escape these values.
|
|
|
|
| |
: characters in bind paths can be entered as the \: escape sequence.
|
|
|
|
|
| |
This is to strv_split_quoted as unescape_first_word is to
unquote_first_word.
|
|
|
|
|
|
|
|
| |
This now accepts : characters with the \: escape sequence.
Other escape sequences are also interpreted, but having a \ in your file
path is less likely than :, so this shouldn't break anyone's existing
tools.
|
|
|
|
|
|
|
|
|
| |
This is a superset of the functionality of unquote_first_word, allowing
non-whitespace separators, and doesn't interpret quotes unless
UNQUOTE_QUOTES is included in flags.
This also adds UNQUOTE_SEPARATOR_SPLIT, which has it return multiple
empty strings when there is a span of separator characters.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This partly reverts:
commit 6d1b1e0bc6bd020218afc5f05286bf372be283d5
Author: Tom Gundersen <teg@jklm.no>
Date: Sun May 24 15:10:04 2015 +0200
udevd: worker - fully clean up unnecessary fds
The inotify-fd _is_ used in the workers, so don't close it! Have a look at
udev-watch.c, which keeps track of the inotify-fd as a global variable
(ugh!).
|
|
|
|
| |
Useful for downstream integration test cases.
|
|
|
|
| |
Fixes CID CID 1299638 (use after free).
|
|
|
|
|
|
| |
This was a typo, swapping prefix_root() in place of prefix_roota().
Fixes CID 1299640.
|
|
|
|
|
|
|
| |
Simplify the code a bit, at the cost of potentially duplicating some
memory unneccessarily.
Fixes CID 1299641.
|
|
|
|
|
|
| |
These have no effect.
Fixes CID 1299643.
|
|
|
|
|
|
|
| |
A malformed manifest could in principle cause a NULL pointer dereference of. Check
for this and fail early.
Fixes CID 1299642.
|
|
|
|
|
|
|
| |
Rather than checking the return of asprintf() we are checking if buf gets allocated,
make it clear that it is ok to ignore the return value.
Fixes CID 1299644.
|
|
|
|
|
|
|
| |
Passing ipv6 options (even when they should be noops) caused IFF_UP to fail when
ipv6 was supported.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=90103
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch simplify swapon usage in systemd. The command swapon(8)
since util-linux v2.26 supports "-o <list>". The idea is exactly the
same like for mount(8). The -o specifies options in fstab-compatible
way. For systemd it means that it does not have to care about things
like "discard" or another swapon specific options.
swapon -o <options-from-fstab>
For backward compatibility the code cares about "Priority:" swap unit
field (for a case when Priority: is set, but pri= in the Options: is
missing).
References: http://lists.freedesktop.org/archives/systemd-devel/2014-October/023576.html
|
| |
|
|
|
|
|
| |
[tomegun: fix
Makefile.am:5675: warning: nodist_systemd_resolved_SOURCES multiply defined in condition ENABLE_RESOLVED]
|
|
|
|
| |
currently it would only be included if configure was ran with --enable-gnuefi
|
|
|
|
|
|
|
| |
In generated systemd-fsck-root.service. This would break if rootprefix
is not /usr/lib/systemd.
[tomegun: flesh out commit message]
|
|
|
|
|
|
|
|
|
|
|
| |
Allowed interface name is relatively small. Lets not make
users go in to the source code to figure out what happened.
--machine=debian-tree conflicts with
--machine=debian-tree2
ex: Failed to add new veth \
interfaces (host0, vb-debian-tree): File exists
|
|
|
|
|
|
|
|
| |
We would enforce that events could only be added to the queue from the
main process, but that brake in daemonized mode. Relax the restriction
to only allow one process to add events to the queue.
Reported by Mantas Mikulėnas.
|
|
|
|
| |
Initialize structs when declaring rather than using memzero().
|
|
|
|
| |
These are only ever used in the parent process, so close them early in the worker.
|
| |
|
| |
|
|
|
|
| |
Otherwise it will not show any error stored
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The original code used fread(), which on some libc implementions
(ie glibc 2.17) would pre-read a full 4K (PAGE_SIZE) of the
PCI config space, when only 64 bytes were requested.
I have recently come across PCIe hardware which responds with
Completion Timeouts when accesses above 256 bytes are attempted.
This can cause server systems with GHES/AEPI support to cause
and immediate kernel panic due to the failed PCI transaction.
This change replaces the buffered fread() with an explict
unbuffered read() of 64 bytes, which corrects this issue by
only reading the guaranteed first 64 bytes of PCIe config space.
|
|
|
|
|
|
| |
With the v221 release these APIs should be public, stable APIs, hence
let's install their headers by default now, and add their symbols to the
.sym file.
|
|
|
|
|
| |
Ah, bummer, it's tagged an now I realize I didn't fix the date. Let's do
so now, post-commit.
|
| |
|
| |
|
| |
|
|
|
|
| |
Let's make sure we can build rpms with this
|
|
|
|
| |
http://lists.freedesktop.org/archives/systemd-devel/2015-May/032100.html
|
| |
|
| |
|
|
|
|
| |
Unless CAP_SYSLOG is explicitly passed block all access to kmg
|
| |
|
|
|
|
| |
restarts
|
|
|
|
|
|
| |
gudev has been extracted into a separate repository managed by the gnome
project. See the announcement thread on systemd-devel for more:
http://lists.freedesktop.org/archives/systemd-devel/2015-May/032070.html
|
|
|
|
|
| |
We renamed sd-boot to systemd-boot directly after merging it, to stay
conform to all the other systemd binaries.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
We will create the symlink on boot as a fallback to provide name
resolution. But if the symlink was removed afterwards, it most likely
should not be recreated. Creating it only on boot also solves the
issue where it would be created prematurely during installation,
before the system was actually booted.
https://bugzilla.redhat.com/show_bug.cgi?id=1197204
|
| |
|
| |
|
| |
|