Ninjatrappeur's systemd working tree
Go to file
Tom Gundersen cf447cb62d libsystemd-network: use recv(..., 0) instead of read(...) (#3317)
According to recv(2) these should be the same, but that is not true.
Passing a buffer of length 0 to read is defined to be a noop according
to read(2), but passing a buffer of length 0 to recv will discard the
pending pacet.

We can easily hit this as we allocate our buffer size depending on
the size of the incoming packet (using FIONREAD). As pointed out in
issue #3299 simply sending an empty UDP packet to the DHCP client
port will trigger a busy loop in networkd as we are polling on the
socket but never discarding the empty packet.

This reverts ad5ae47a0d but fixes the
same issue.
2016-05-22 00:00:32 +03:00
.github CONTRIBUTING: recommend force-push (#3273) 2016-05-16 21:44:35 +02:00
catalog po, catalog - add Bulgarian translation 2016-05-14 13:57:34 +03:00
coccinelle tree-wide: remove useless NULLs from strjoina 2016-04-13 08:56:44 -04: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: run "make hwdb-udate" (#3280) 2016-05-17 23:26:15 -04:00
m4 build-sys: Perform flag tests in context to existing flags 2016-02-06 14:57:46 +01:00
man Merge pull request #3290 from htejun/cgroup2-io-compat 2016-05-20 18:53:11 +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 Sort LINGUAS similar to Makefile.am:dist_catalog_DATA 2016-05-14 14:00:02 +03:00
rules rules: add /dev/disk/by-partuuid symlinks also for dos partition tables 2016-05-19 08:37:20 +02:00
shell-completion tree-wide: remove uses of --failed 2016-05-08 20:27:33 -04:00
src libsystemd-network: use recv(..., 0) instead of read(...) (#3317) 2016-05-22 00:00:32 +03:00
sysctl.d coredump: honour RLIMIT_CORE when saving/processing coredumps 2016-02-10 16:08:32 +01:00
system-preset preset: enable machines.target by default 2014-12-29 17:36:57 +01:00
sysusers.d remove bus-proxyd 2016-02-12 19:10:01 +01:00
test core: translate between IO and BlockIO settings to ease transition 2016-05-18 17:35:12 -07:00
tmpfiles.d tmpfiles: don't set the x bit for volatile system journal when ACL support is enabled (#3079) 2016-05-03 19:29:11 -04:00
tools Remove systemd-bootchart 2016-02-23 13:30:09 +01:00
units Create initrd-root-device.target synchronization point (#3239) 2016-05-12 18:42:39 +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 Trivial network cleanup (#3196) 2016-05-05 11:15:46 +02:00
.mailmap NEWS: add more stuff, and reorder things a bit 2015-11-13 13:59:50 +01: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
CODING_STYLE minor CODING_STYLE clarification 2016-05-02 11:17:07 +02:00
DISTRO_PORTING build-sys: warn if people don't change the default NTP servers when building systemd 2015-07-11 14:24:29 -03: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 the new by-fd journal calls 2016-04-25 19:29:01 +02:00
Makefile.am po, catalog - add Bulgarian translation 2016-05-14 13:57:34 +03:00
NEWS NEWS: typo fix and american english (#3301) 2016-05-20 15:04:01 +02:00
README README: document that we only support util-linux built with --enable-libmount-force-mountinfo 2016-04-12 13:43:33 +02:00
README.md github: CONTRIBUTING.md moved, let's fix the link to it 2016-02-22 23:23:06 +01:00
TODO update TODO 2016-05-12 20:14:46 +02:00
autogen.sh build-sys: drop libsystemd-{id128,daemon,login,journal}.so compat libs 2016-02-13 11:57:14 +01:00
configure.ac build-sys: allow references to adm group to be omitted (#3150) 2016-05-01 00:02:17 -04:00

README.md

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 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.