mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 02:21:44 +03:00
The systemd System and Service Manager
a898603563
This cleans up a bit how we set up things for the ELF section magic: 1. Let's always use our gcc macros, instead of __attribute__ directly 2. Align our structures to sizeof(void*), i.e. the pointer size, rather than a fixed 8 or __BIGGEST_ALIGNMENT__. The former is unnecessarily high for 32bit systems, the latter too high for 64bit systems. gcc seems to use ptr alignment for static variables itself, hence this should be good enough for us too. Moreover, the Linux kernel also uses pointer alginment for all its ELF section registration magic, hence this should be good enough for us too. 3. Let's always prefix the sections we create ourself with SYSTEMD_, just to make clear where they come from. 4. Always align the pointer we start from when iterating through these lists. This should be unnecessary, but makes things nicely systematic, as we'll align all pointers we use to access these sections properly. |
||
---|---|---|
.github/ISSUE_TEMPLATE | ||
.lgtm/cpp-queries | ||
.mkosi | ||
catalog | ||
coccinelle | ||
docs | ||
factory/etc | ||
hwdb | ||
man | ||
modprobe.d | ||
network | ||
po | ||
presets | ||
rules | ||
shell-completion | ||
src | ||
sysctl.d | ||
sysusers.d | ||
test | ||
tmpfiles.d | ||
tools | ||
travis-ci | ||
units | ||
xorg | ||
.dir-locals.el | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.lgtm.yml | ||
.mailmap | ||
.travis.yml | ||
.vimrc | ||
.ycm_extra_conf.py | ||
configure | ||
LICENSE.GPL2 | ||
LICENSE.LGPL2.1 | ||
Makefile | ||
meson_options.txt | ||
meson.build | ||
mkosi.build | ||
mkosi.default | ||
NEWS | ||
README | ||
README.md | ||
TODO | ||
zanata.xml |
systemd - System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.