Zbigniew Jędrzejewski-Szmek
11a1589223
tree-wide: drop license boilerplate
...
Files which are installed as-is (any .service and other unit files, .conf
files, .policy files, etc), are left as is. My assumption is that SPDX
identifiers are not yet that well known, so it's better to retain the
extended header to avoid any doubt.
I also kept any copyright lines. We can probably remove them, but it'd nice to
obtain explicit acks from all involved authors before doing that.
2018-04-06 18:58:55 +02:00
Zbigniew Jędrzejewski-Szmek
53e1b68390
Add SPDX license identifiers to source files under the LGPL
...
This follows what the kernel is doing, c.f.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5fd54ace4721fc5ce2bb5aef6318fcf17f421460 .
2017-11-19 19:08:15 +01:00
Daniel Mack
b26fa1a2fb
tree-wide: remove Emacs lines from all files
...
This should be handled fine now by .dir-locals.el, so need to carry that
stuff in every file.
2016-02-10 13:41:57 +01:00
Thomas Hindoe Paaboel Andersen
a8fbdf5424
shared: include what we use
...
The next step of a general cleanup of our includes. This one mostly
adds missing includes but there are a few removals as well.
2015-12-06 13:49:33 +01:00
Lennart Poettering
b5efdb8af4
util-lib: split out allocation calls into alloc-util.[ch]
2015-10-27 13:45:53 +01:00
Lennart Poettering
ee104e11e3
user-util: move UID/GID related macros from macro.h to user-util.h
2015-10-27 13:25:57 +01:00
Lennart Poettering
03cfe0d514
nspawn: finish user namespace support
2015-05-21 16:32:01 +02:00
Thomas Hindoe Paaboel Andersen
2eec67acbb
remove unused includes
...
This patch removes includes that are not used. The removals were found with
include-what-you-use which checks if any of the symbols from a header is
in use.
2015-02-23 23:53:42 +01:00
Lennart Poettering
c34255bdb2
label: unify code to make directories, symlinks
2014-10-23 21:36:56 +02:00
Lennart Poettering
ecabcf8b6e
selinux: clean up selinux label function naming
2014-10-23 21:36:56 +02:00
WaLyong Cho
cc56fafeeb
mac: rename apis with mac_{selinux/smack}_ prefix
2014-10-23 17:13:15 +02:00
Lennart Poettering
2b85f4e19c
core: Beef up PrivateDevices=
...
Also mount /dev/kdbus, /dev/mqueue and /dev/hugepages into the /dev for
namespaced services.
2014-03-19 16:25:11 +01:00
Lennart Poettering
7f112f50fe
exec: introduce PrivateDevices= switch to provide services with a private /dev
...
Similar to PrivateNetwork=, PrivateTmp= introduce PrivateDevices= that
sets up a private /dev with only the API pseudo-devices like /dev/null,
/dev/zero, /dev/random, but not any physical devices in them.
2014-01-20 21:28:37 +01:00
Zbigniew Jędrzejewski-Szmek
696fee7d95
dev-setup: do not create a dangling /proc/kcore symlink
...
https://bugs.freedesktop.org/show_bug.cgi?id=65382
https://bugs.gentoo.org/472060?id=472060
2013-06-10 08:50:59 -04:00
Lennart Poettering
01ed0e2307
dev-setup: make NULL as parameter for dev_setup() equivalent to ""
2012-08-21 17:23:03 +02:00
Dave Reisner
8f0e73f250
dev-setup: allow a path prefix for use in chroots
...
With this adjustment, we can reuse this code elsewhere, such as in
nspawn.
2012-08-21 17:19:35 +02:00
Kay Sievers
5ba2dc259f
udev: unify /dev static symlink setup
2012-04-17 22:31:38 +02:00