Systemd/src/machine
Lennart Poettering 03e334a1c7 util: replace close_nointr_nofail() by a more useful safe_close()
safe_close() automatically becomes a NOP when a negative fd is passed,
and returns -1 unconditionally. This makes it easy to write lines like
this:

        fd = safe_close(fd);

Which will close an fd if it is open, and reset the fd variable
correctly.

By making use of this new scheme we can drop a > 200 lines of code that
was required to test for non-negative fds or to reset the closed fd
variable afterwards.
2014-03-18 19:31:34 +01:00
..
machine-dbus.c bus: replace sd_bus_label_{escape,unescape}() by new sd_bus_path_{encode,decode}() 2014-03-11 19:03:50 +01:00
machine.c machined: fix Kill() bus call on machine objects when "what" is specified as "leader" 2014-03-18 04:48:26 +01:00
machine.h machined: optionally, allow registration of pre-existing units (scopes 2014-02-11 17:16:08 +01:00
machinectl.c util: replace close_nointr_nofail() by a more useful safe_close() 2014-03-18 19:31:34 +01:00
machined-dbus.c machined: fix Kill() bus call on machine objects when "what" is specified as "leader" 2014-03-18 04:48:26 +01:00
machined.c machined: fix enumeration of existing machines on restart 2014-02-11 21:06:51 +01:00
machined.h machined: fix Kill() bus call on machine objects when "what" is specified as "leader" 2014-03-18 04:48:26 +01:00
Makefile machined: split out machine registration stuff from logind 2013-07-02 03:47:23 +02:00
org.freedesktop.machine1.conf bus: introduce "trusted" bus concept and encode access control in object vtables 2013-12-10 16:52:49 +00:00
org.freedesktop.machine1.service machined: split out machine registration stuff from logind 2013-07-02 03:47:23 +02:00
test-machine-tables.c tests: add tests for string lookup tables 2013-07-05 01:36:16 -04:00