Ninjatrappeur's systemd working tree
Go to file
Yann E. MORIN daad709a7c missing.h: add missing definitions for __O_TMPFILE
Currently, a missing __O_TMPFILE was only defined for i386 and x86_64,
leaving any other architectures with an "old" toolchain fail miserably
at build time:
    src/import/export-raw.c: In function 'reflink_snapshot':
    src/import/export-raw.c:271:26: error: 'O_TMPFILE' undeclared (first use in this function)
             new_fd = open(d, O_TMPFILE|O_CLOEXEC|O_NOCTTY|O_RDWR, 0600);
                              ^

__O_TMPFILE (and O_TMPFILE) are available since glibc 2.19. However, a
lot of existing toolchains are still using glibc-2.18, and some even
before that, and it is not really possible to update those toolchains.

Instead of defining it only for i386 and x86_64, define __O_TMPFILE
with the specific values for those archs where it is different from the
generic value. Use the values as found in the Linux kernel (v4.8-rc3,
current as of time of commit).

---
Note: tested on ARM (build+run), with glibc-2.18 and linux headers 3.12.
Untested on other archs, though (I have no board to test this).

Changes v1 -> v2:
  - add a comment specifying some are hexa, others are octal.
2016-08-29 12:40:22 +02:00
.github documentation: add a short document describing how to test your systemd build tree (#3763) 2016-07-20 22:15:54 -04:00
catalog catalog: make support URL to show in shipped catalog entries configurable (#3597) 2016-06-26 17:43:37 +02:00
coccinelle tree-wide: htonl() is weird, let's use htobe32() instead (#3538) 2016-06-15 01:26:01 +02:00
docs docs: add .gitignore 2015-07-06 17:47:38 +02:00
factory/etc factory: remove broken pam_limits 2014-07-30 15:21:54 +02:00
hwdb hwdb: add axis range corrections for Lenovo Ideapad 500S-13ISK 2016-08-26 19:48:52 +02:00
m4 build-sys: Perform flag tests in context to existing flags 2016-02-06 14:57:46 +01:00
man mount: add new LazyUnmount= setting for mount units, mapping to umount(8)'s "-l" switch (#3827) 2016-08-26 17:57:22 +02:00
network network: allow LLDP packets to cross non-customer bridges for container network interfaces 2016-05-09 15:45:31 +02:00
po Updated Hungarian translation (#4026) 2016-08-23 20:08:35 +02:00
rules rules: introduce disk/by-id (model_serial) symlinks for NVMe drives (#3974) 2016-08-17 14:10:28 +02:00
shell-completion zsh: _journalctl: also handle --root arg and --key=value style (#3956) 2016-08-16 12:47:39 -04:00
src missing.h: add missing definitions for __O_TMPFILE 2016-08-29 12:40:22 +02:00
sysctl.d treewide: fix typos and remove accidental repetition of words 2016-07-11 16:18:43 +02:00
system-preset units: synchronize Makefile and presets settings 2016-08-19 09:55:55 -04:00
sysusers.d remove bus-proxyd 2016-02-12 19:10:01 +01:00
test tests: mount proc before exec valgrind (#4044) 2016-08-26 17:49:56 +02:00
tmpfiles.d treewide: fix typos and remove accidental repetition of words 2016-07-11 16:18:43 +02:00
tools Remove systemd-bootchart 2016-02-23 13:30:09 +01:00
units units: remove udev control socket when systemd stops the socket unit (#4039) 2016-08-26 00:07:58 +02:00
xorg login: support user-bus on dbus1 2015-08-31 18:12:37 +02:00
.dir-locals.el editors: only extend line width to 119 for C and XML files 2016-02-10 12:29:32 +01:00
.editorconfig editors: only extend line width to 119 for C and XML files 2016-02-10 12:29:32 +01:00
.gitattributes git: indicate that tabs are never OK in the systemd tree 2013-10-30 02:25:38 +01:00
.gitignore sd-bus: add a small test case for sd_bus_track 2016-08-22 17:31:36 +02:00
.mailmap NEWS: update mailmap to bring NEWS and "make git-contrib" in line 2016-07-25 15:03:46 +02:00
.travis.yml remove gudev and gtk-doc 2015-06-03 00:22:53 +02:00
.vimrc vimrc: fix indentation logic for our docbook xml files 2016-04-29 12:23:34 +02:00
.ycm_extra_conf.py ycm: update flag blacklist 2014-06-04 15:41:10 -04:00
autogen.sh Ensure kdbus isn't used (#3501) 2016-06-18 17:24:23 -04:00
CODING_STYLE CODING_STYLE fixes (#3804) 2016-07-25 22:34:42 +03:00
configure.ac build-sys: clarify that --disable-efi is about sd-boot and bootctl 2016-08-14 15:25:08 -04:00
DISTRO_PORTING docs: add --with-support-url= to distribution porting guide. (#4035) 2016-08-24 20:49:53 +02:00
HACKING documentation: add a short document describing how to test your systemd build tree (#3763) 2016-07-20 22:15:54 -04:00
LICENSE.GPL2 relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
LICENSE.LGPL2.1 licence: remove references to old FSF address 2012-12-17 11:41:31 +01:00
Makefile-man.am man: document sd_bus_track objects 2016-08-22 14:17:24 +02:00
Makefile.am sd-bus: add a small test case for sd_bus_track 2016-08-22 17:31:36 +02:00
mkosi.build mkosi: make sure we fail on error 2016-07-19 12:30:34 +02:00
mkosi.default build-sys: add mkosi hookup (#3731) 2016-07-15 20:00:44 -04:00
NEWS journald: deprecate SplitMode=login (#3805) 2016-07-26 08:19:33 +02:00
README nss: add new "nss-systemd" NSS module for mapping dynamic users 2016-07-22 15:53:45 +02:00
README.md documentation: add a short document describing how to test your systemd build tree (#3763) 2016-07-20 22:15:54 -04:00
TODO update TODO 2016-08-22 17:31:41 +02:00

systemd - System and Service Manager

Build Status
Coverity Scan Status

Details

General information about systemd can be found in the systemd Wiki.

Information about build requirements are 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 file for information 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.