summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-24sd-netlink: rename NLA_ to NETLINK_TYPE_David Herrmann
The NLA_ names are used to name real datatypes we extract out of netlink messages. The kernel has an internal enum with the same names (NLA_foobar), which is *NOT* binary compatible to our types. Furthermore, we support a different set of types than the kernel (as we try to treat some kernel peculiarities as our own types to simplify the API). Rename NLA_ to NETLINK_TYPE_ to make clear that this is our own set of types.
2015-06-24Merge pull request #346 from poettering/install-bad-memoryDaniel Mack
install: fix minor bad memory access
2015-06-24Merge pull request #349 from ↵Kay Sievers
systemd-mailing-devs/1435103298-2439-1-git-send-email-jengelh@inai.de ata_id: unbotch format specifier
2015-06-24ata_id: unbotch format specifierJan Engelhardt
Commit v218-247-g11c6f69 broke the output of the utility. "%1$" PRIu64 "x" expands to "%1$lux", essentially "%lux", which shows the problem. u and x cannot be combined, u wins as the type character, and x gets emitted verbatim to stdout. References: https://bugzilla.redhat.com/show_bug.cgi?id=1227503
2015-06-23install: fix bad memory accessLennart Poettering
2015-06-24Merge pull request #339 from teg/udev-coverityDaniel Mack
coverity fixes in udev
2015-06-23Merge pull request #338 from xnox/fix-copy-bytesKay Sievers
test: fix test-copy without /etc/os-release.
2015-06-23test: fix test-copy without /etc/os-release.Dimitri John Ledkov
2015-06-23udevadm: trigger - check return valuesTom Gundersen
Fixes CID#1296243.
2015-06-23udev: worker - check return value of udev_monitor_enable_receiving()Tom Gundersen
Fixes CID#1297430.
2015-06-23udev: event - check return code of dup2()Tom Gundersen
This fixes CID#1304688.
2015-06-23udev: bulitin-hwdb - fix memory leakTom Gundersen
This fixes CID#1292782.
2015-06-23Merge pull request #332 from xnox/bootchart-scalesDaniel Mack
bootchart: fix per-cpu & small scales.
2015-06-23bootchart: fix per-cpu scales.Dimitri John Ledkov
Closes systemd/systemd#330
2015-06-23README: mention "git archive"Kay Sievers
2015-06-23Merge pull request #318 from walyong/smack_v02Daniel Mack
SMACK v02: support modify rules and add default executed process label
2015-06-23Merge pull request #328 from kaysievers/nodistDaniel Mack
build-sys: add all source files and no built files to the tar ball
2015-06-23build-sys: add all source files and no built files to the tar ballKay Sievers
This fully synchronizes the content of a "make dist" and a "git archive" tar ball. http://lists.freedesktop.org/archives/systemd-devel/2015-June/033214.html
2015-06-23man: install networkctl and sysusers.d man page conditionallyMichael Biebl
2015-06-23Merge pull request #324 from llua/zsh-completionDaniel Mack
zsh-completion: _loginctl/_systemd/_systemd-inhibit improvements
2015-06-23Merge pull request #326 from whot/hwdb-updatesDaniel Mack
Hwdb updates
2015-06-23hwdb: move a couple of entries to expected sort orderPeter Hutterer
2015-06-23hwdb: add Logitech MX RevolutionPeter Hutterer
2015-06-23build-sys: let "make git-tar" archive HEADKay Sievers
2015-06-22zsh-completion: _loginctl/_systemd/_systemd-inhibit improvementsEric Cook
_loginctl: respects the verbose style. which allows a user to get the pre d5df0d950f8bc behavior of not showing a description for sessions and users, by default they aren't shown. zstyle ':completion:*' verbose true or zstyle ':completion:*:loginctl*:*' verbose true # or similar Will show the descriptions. zstyle ':completion:*' verbose true and zstyle ':completion:*:loginctl*:*' verbose false # or similar Won't show descriptions for loginctl only _systemd: complete pids for systemd-notify's --pid option. display a message of the expected argument for other options. _systemd-inhibit: complete block & delay for --mode display a message of the expected argument for --who/--why
2015-06-22build-sys: remove $(NULL)Kay Sievers
2015-06-22build-sys: add custom "make git-tar" targetKay Sievers
2015-06-22Merge pull request #314 from geertj/missing-exportsLennart Poettering
export sd_bus_object_added() / _removed()
2015-06-22Merge pull request #319 from teg/udev-cgroup-warningLennart Poettering
udevd: suppress warning if we don't find cgroup
2015-06-22Merge pull request #322 from kaysievers/wipKay Sievers
man: remove outdated links and stray character
2015-06-22man: remove stray · from headerKay Sievers
2015-06-22man: remove links to outdated kdbus development repositoryKay Sievers
2015-06-22udevd: suppress warning if we don't find cgroupTom Gundersen
This is expected on non-systemd systems, so just log it at debug level. This fixes issue #309.
2015-06-22smack: add default smack process label configWaLyong Cho
Similar to SmackProcessLabel=, if this configuration is set, systemd executes processes with given SMACK label. If unit has SmackProcessLabel=, this config is overwritten. But, do NOT be confused with SMACK64EXEC of execute file. This default execute process label(and also label which is set by SmackProcessLabel=) is set fork-ed process SMACK subject label and used to access the execute file. If the execution file has also SMACK64EXEC, finally executed process has SMACK64EXEC subject. While if the execution file has no SMACK64EXEC, the executed process has label of this config(or label which is set by SmackProcessLabel=). Because if execution file has no SMACK64EXEC then excuted process inherits label from caller process(in this case, the caller is systemd).
2015-06-22smack: support smack access change-ruleWaLyong Cho
Smack is also able to have modification rules of existing rules. In this case, the rule has additional argument to modify previous rule. /sys/fs/smackfs/load2 node can only take three arguments: subject object access. So if modification rules are written to /sys/fs/smackfs/load2, EINVAL error is happen. Those modification rules have to be written to /sys/fs/smackfs/change-rule. To distinguish access with operation of cipso2, split write_rules() for each operation. And, in write access rules, parse the rule and if the rule has four argument then write into /sys/fs/smackfs/change-rule. https://lwn.net/Articles/532340/ fwrite() or fputs() are fancy functions to write byte stream such like regular file. But special files on linux such like proc, sysfs are not stream of bytes. Those special files on linux have to be written with specific size. By this reason, in some of many case, fputs() was failed to write buffer to smack load2 node. The write operation for the smack nodes should be performed with write().
2015-06-22Merge pull request #315 from llua/zsh-completionDaniel Mack
zsh-completion: _systemd-nspawn - add more argument completion
2015-06-21export sd_bus_object_added() / _removed()Geert Jansen
Fixes #306.
2015-06-21zsh-completion: _systemd-nspawn - add more argument completionEric Cook
filenames will be completed for --image/-i/--bind/--bind-ro/--tmpfs network interfaces for --network-(interface|macvlan|ipvlan|bridge) users for --user/-u, yes & no for --register, x86 * x86-64 for --personality display a message of the expected argument for --machine/-M/--uuid --slice/-S/--port/-p/--selinux-*/-Z/-L/--setenv Allow completing commands(and their options) of the host system for COMMAND
2015-06-21Merge pull request #304 from mknjc/masterDaniel Mack
fix machinectl bind man entry
2015-06-21pam_systemd: Properly check kdbus availabilityJan Alexander Steffens (heftig)
This properly avoids setting DBUS_SESSION_BUS_ADDRESS if kdbus is loaded (or built into the kernel) but not wanted.
2015-06-20fix machinectl bind man entryMarkus Knetschke
2015-06-20Merge pull request #303 from zonque/manDavid Herrmann
man: rename systemd-bus-proxyd@.service.xml → systemd-bus-proxyd.…
2015-06-20man: rename systemd-bus-proxyd@.service.xml → systemd-bus-proxyd.service.xmlDaniel Mack
The bus proxy is multi-threaded now. Reflect that in the man pages.
2015-06-20Merge pull request #301 from daurnimator/masterDaniel Mack
man: sd-bus: it's 'machine' not 'container'
2015-06-20man: sd-bus: it's 'machine' not 'container'daurnimator
2015-06-19man: be more careful with the wording in busctl(1)Lennart Poettering
2015-06-19man: various documentation improvements for sd-busLennart Poettering
2015-06-19po: run make update-posystemd/v221Lennart Poettering
2015-06-19Merge pull request #298 from zonque/intltoolLennart Poettering
build-sys: bring back an intltool-update workaround
2015-06-19build-sys: bring back an intltool-update workaroundDaniel Mack
Currently, 'make distcheck' fails with an error such as this: srcdir=../../po /usr/bin/intltool-update -m The following files contain translations and are currently not in use. Please consider adding these to the POTFILES.in file, located in the po/ directory. build2/src/core/org.freedesktop.systemd1.policy.in build3/src/core/org.freedesktop.systemd1.policy.in [...] This is caused by a new behavior of autmake 1.15 which changed the location of the build tree during 'make distcheck', and the fact that intltool doesn't yet ignore that paths. We used to have a workaround in configure.ac that makes the failing call a no-op, but it was accidentially removed in 23756070 ("remove gudev and gtk-doc"). Bring back that snipet for now, until intltool and automake sorted out their issues and like each other again. Also see https://bugs.launchpad.net/intltool/+bug/1117944