Zbigniew Jędrzejewski-Szmek
da89046643
tree-wide: "<n>bit" → "<n>-bit"
...
In some places, "<n> bits" is used when more appropriate.
2023-07-02 11:10:12 +01:00
Zbigniew Jędrzejewski-Szmek
c8b960af14
shared/linux: fix fake flexible array in struct autofs_dev_ioctl
...
The kernel still hasn't fixed this in kernel-headers-6.2.0-0.rc6.git0.1.fc38.x86_64.
2023-02-06 10:19:52 +01:00
Zbigniew Jędrzejewski-Szmek
99d4dfd184
shared/linux: update kernel headers
...
The kernel was updated to not use fake flex arrays with zero size.
Updating should allow -fstrict-flex-arrays to be used.
Headers pulled from kernel-headers-6.2.0-0.rc6.git0.1.fc38.x86_64.
Note that this is not a straighforward copy: our files have local modifications
(listed in README) that need to be preserved.
2023-02-06 10:19:08 +01:00
nl6720
0e68582323
tree-wide: link to docs.kernel.org for kernel documentation
...
https://www.kernel.org/ links to https://docs.kernel.org/ for the documentation.
See https://git.kernel.org/pub/scm/docs/kernel/website.git/commit/?id=ebc1c372850f249dd143c6d942e66c88ec610520
These URLs are shorter and nicer looking.
2022-07-04 19:56:53 +02:00
Yu Watanabe
0ffc372a1d
shared/linux: update kernel headers to 5.19-rc1
2022-06-11 06:50:12 +09:00
Yu Watanabe
254a7d66c6
shared/linux: update linux headers from v5.16-rc6
2021-12-25 15:34:02 +09:00
Luca Boccassi
13b7d99dad
headers: update bpf_insn.h to dual license
...
This header is copied from the kernel. It was relicensed from GPL-2.0-only
to GPL-2.0-only OR BSD-2-Clause, so update our SPDX tag accordingly.
For more details and ACKS from all copyright holders authorizing the
license change see:
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=d75fe9cb1dd062684c9fb8a4581738170365dc06
2021-09-29 17:40:55 +01:00
Yu Watanabe
2e385c48b4
linux: move nl80211.h to basic/linux
...
As sd-netlink uses the header.
2021-01-11 13:31:38 +09:00
Yu Watanabe
89836c304b
shared/kernel: update kernel headers
...
From kernel commit 34816d20f173a90389c8a7e641166d8ea9dce70a.
2020-12-03 11:21:13 +09:00
Zbigniew Jędrzejewski-Szmek
448e7440c2
headers: add spdx tags to imported files with a known license
...
I added the header in the cases where the license text is present and it is
easy to find the appropriate SPDX header.
For "public domain" stuff: SDPX treats each "public domain" license as unique [1],
but luckily the one in siphash24.c is one of the identified variants. There are
some other cases which specify "public domain" but there doesn't seem to be a
SPDX identifier.
[1] https://wiki.spdx.org/view/Legal_Team/Decisions/Dealing_with_Public_Domain_within_SPDX_Files
gunicode.[ch] are imported from glib, which is licensed as LGPL2.1+,
see https://gitlab.gnome.org/GNOME/glib/-/blob/master/glib/gunicode.h .
2020-10-29 11:32:24 +01:00
Yu Watanabe
7207d82c13
shared/linux: update ethtool.h
2020-09-28 22:42:44 +09:00
Zbigniew Jędrzejewski-Szmek
cd990847b9
tree-wide: more repeated words
2020-07-07 12:08:22 +02:00
Yu Watanabe
78404d22cc
network: support matching based on wifi interfece type
2019-10-25 16:43:18 +09:00
Yu Watanabe
ffba064ae4
linux: make UBSAN quiet
2019-06-25 11:44:08 +09:00
Yu Watanabe
2824ed64a1
linux: update kernel headers
2019-06-25 11:29:13 +09:00
Ben Boeckel
5238e95759
codespell: fix spelling errors
2019-04-29 16:47:18 +02:00
Yu Watanabe
76566792e3
linux: move netdevice.h from shared/linux to basic/linux
...
As the header linux/if_arp.h includes linux/netdevice.h.
2019-04-13 22:43:59 +09:00
Yu Watanabe
01234e1fe7
tree-wide: drop several missing_*.h and import relevant headers from kernel-5.0
2019-04-11 19:00:37 +02:00
Roman Gushchin
e867866623
libbpf.h: add BPF_JMP_A macro
...
Add unconditional jump macro to use in generated bpf programs.
2018-10-09 09:46:36 -07:00
Lennart Poettering
96b2fb93c5
tree-wide: beautify remaining copyright statements
...
Let's unify an beautify our remaining copyright statements, with a
unicode ©. This means our copyright statements are now always formatted
the same way. Yay.
2018-06-14 10:20:21 +02:00
Lennart Poettering
0c69794138
tree-wide: remove Lennart's copyright lines
...
These lines are generally out-of-date, incomplete and unnecessary. With
SPDX and git repository much more accurate and fine grained information
about licensing and authorship is available, hence let's drop the
per-file copyright notice. Of course, removing copyright lines of others
is problematic, hence this commit only removes my own lines and leaves
all others untouched. It might be nicer if sooner or later those could
go away too, making git the only and accurate source of authorship
information.
2018-06-14 10:20:20 +02:00
Lennart Poettering
8b15fca85b
bpf: add new bpf.h header copy from 4.15 kernel
2018-02-21 16:43:36 +01:00
Zbigniew Jędrzejewski-Szmek
e7145211c7
Add SPDX license identifiers to source files under the GPL
2017-11-19 19:08:15 +01:00
Daniel Mack
3f0c2342c0
build-sys: add new kernel bpf.h drop-in
...
The defines we need are pretty comprehensive and new, hence copy in the
full header from the kernel.
2017-09-22 15:24:54 +02:00
Kay Sievers
a095315b3c
build-sys: split internal basic/ library from shared/
...
basic/ can be used by everything
cannot use anything outside of basic/
libsystemd/ can use basic/
cannot use shared/
shared/ can use libsystemd/
2015-06-11 10:52:46 +02:00
Zbigniew Jędrzejewski-Szmek
c7e4a7bece
missing: remove fanotify
...
It was only used in readahead.
2014-10-17 08:55:42 -04:00
Ronny Chevalier
c0467cf387
syscallfilter: port to libseccomp
2014-02-12 18:30:36 +01:00
Thomas Hindoe Paaboel Andersen
f168c27313
trivial coding style clean ups
...
- Add space between if/for and the opening parentheses
- Place the opening brace on same line as the function (not for udev)
From the CODING_STYLE
Try to use this:
void foo() {
}
instead of this:
void foo()
{
}
2013-12-03 22:27:45 +01:00
Lennart Poettering
8351ceaea9
execute: support syscall filtering using seccomp filters
2012-07-17 04:17:53 +02:00
Lennart Poettering
c0a0872d5c
build-sys: move src/linux/ to src/shared/linux
2012-04-12 18:27:35 +02:00