| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Reported and proposed by @dcb314.
Fixes #7656 and #7657.
|
|\
| |
| | |
Meson syscall
|
| |
| |
| |
| |
| | |
Should glibc add this eventually, let's try to be smart where to look
for it.
|
| |
| |
| |
| |
| | |
Hopefully, should gettid() show up one day in glibc it'll show up where
getpid() is defined too.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We of course don't know in which header glibc will export pivot_root()
and if it ever will. But there's a good chance they'll place it where
chroot() is located, given the similarity in the operations, hence let's
try our luck and look for it at the same place.
If we are lucky this means we don't have to patch our code if glibc
decides to expose the call one day.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reworks how we set _GNU_SOURCE when checking for the availability
of functions:
1. We set it for most of the functions we look for. After all we set it
for our entire built anyway, and it's usually how Linux-specific
definitions in glibc are protected these days. Given that we usually
have checks for such modern stuff only anyway, let's just blanket enable
it.
2. Use "args" instead of "prefix" to set the macro. This is what is
suggested in the meson docs, hence let's do it.
|
|
|
|
|
|
|
|
| |
Follow-up for bad7a0c81f501fbbcc79af9eaa4b8254441c4a1f of git
repository for glibc.
Recently glibc added `copy_file_range()`, but to use it,
`_GNU_SOURCE` needs to be defined. This adds the flag in
meson.build to detect the function by meson correctly.
|
|\
| |
| | |
util-lib: fix return value in mkdir_parents()
|
| |
| |
| |
| | |
It just seems strange to have it in a different file if mkdir-label.c exists.
|
| | |
|
| |
| |
| |
| |
| | |
We'd pass pointers to mkdir and mkdir_label to call in various places. mkdir
returns the error in errno while mkdir_label returns the error directly.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Showing the preset state for those suggests they could actually be
enabled/disabled, but that concept doesn't exist for generated/transient
units, hence hide this information.
This came up here:
https://lists.freedesktop.org/archives/systemd-devel/2017-December/040022.html
|
|\ \
| | |
| | | |
DBus-API: implement transient socket unit
|
| | |
| | |
| | |
| | | |
LIST_FIND_TAIL and LIST_INSERT_AFTER can work for empty list.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
/run/systemd/inaccessible/
systemd creates several device nodes in /run/systemd/inaccessible/.
This makes CGroup's settings related to IO can take device node
files in the directory.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Follow-up for e16647c39d195804711a006667d5bce49c0ef73d.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This allows people to specify multiple units in dependency settings
e.g. `Requires=foo.service baz.service`.
|
| | | |
|
| | |
| | |
| | |
| | | |
And use them where they can be applicable.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Also, split bus_append_unit_property_assignment().
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If multiple RestrictAddressFamilies= settings, some of them are
whitelist and the others are blacklist, are sent to bus, then parsing
result was corrupted.
This fixes the parse logic, now it is the same as one used in
load-fragment.c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If multiple SystemCallFilter= settings, some of them are whitelist
and the others are blacklist, are sent to bus, then the parse
result was corrupted.
This fixes the parse logic, now it is the same as one used in
load-fragment.c
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
This works supports to configure L3S mode and flags
such as bridge, private and vepa
|
|\ \ \
| | | |
| | | | |
Two docs
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
They may be old (or rather compatible implementations of old commands), but
they certainly are not going away. Apart from privilege escalation through
polkit, they are mostly equivalent.
|
| | | |
| | | |
| | | |
| | | | |
https://bugzilla.redhat.com/show_bug.cgi?id=1524759
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
With these additions, coccinelle finds everything fixed by the first
commit in PR #7695. In order not to needlessly conflict with that PR
this PR won't include those fixes, but only the coccinelle changes to
detect them automatically in the future.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The config example contains wrong specificator for hostname.
It should be %H instead of %h as documented in the man page.
Use correct specificator for hostname.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also remove the warning:
./src/shared/seccomp-util.c:1414:2: warning: #warning "Consider adding the right mmap() syscall definitions here!" [-Wcpp]
#warning "Consider adding the right mmap() syscall definitions here!"
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Full dmi/id/modalias:
dmi:bvnLENOVO:bvrB4CN29WW:bd12/04/2015:svnLENOVO:pn80HV:pvrLenovoMIIX3-1030:rvnLENOVO:rnMartini:rvrSDK0G98662WIN:cvnLENOVO:ct11:cvrLenovoMIIX3-1030:
Tested on Lenovo MIIX3 with Debian 9
|