Systemd/src
Lennart Poettering 70fc4f5790 sd-id128: add new sd_id128_get_machine_app_specific() API
This adds an API for retrieving an app-specific machine ID to sd-id128.
Internally it calculates HMAC-SHA256 with an 128bit app-specific ID as payload
and the machine ID as key.

(An alternative would have been to use siphash for this, which is also
cryptographically strong. However, as it only generates 64bit hashes it's not
an obvious choice for generating 128bit IDs.)

Fixes: #4667
2016-11-29 15:13:00 +01:00
..
ac-power
activate
analyze analyze: fix build without seccomp 2016-11-10 10:12:31 +01:00
ask-password
backlight tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
basic core: add "khash" API to src/basic/ (as wrapper around kernel AF_ALG) 2016-11-29 15:13:00 +01:00
binfmt
boot bootctl: don't try to remove esp_path (#4407) 2016-10-19 21:15:20 +02:00
cgls tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
cgroups-agent tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
cgtop tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
core device: Avoid calling unit_free(NULL) in device setup logic (#4748) 2016-11-27 23:05:39 +01:00
coredump coredump: bump type of arg_journal_size_max to uint64 too 2016-11-08 00:21:37 -05:00
cryptsetup Merge pull request #4510 from keszybz/tree-wide-cleanups 2016-11-03 13:59:20 -06:00
dbus1-generator Ensure kdbus isn't used (#3501) 2016-06-18 17:24:23 -04:00
debug-generator tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
delta delta: skip symlink paths when split-usr is enabled (#4591) 2016-11-06 09:16:42 -05:00
detect-virt detect-virt: add --private-users switch to check if a userns is active 2016-10-26 20:12:51 -04:00
escape tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
firstboot tree-wide: use sd_id128_is_null() instead of sd_id128_equal where appropriate 2016-07-22 12:38:08 +02:00
fsck tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
fstab-generator fstab-generator: add x-systemd.mount-timeout (#4603) 2016-11-11 09:08:57 -05:00
getty-generator
gpt-auto-generator tree-wide: add PRI_[NU]SEC, and use time format strings more 2016-11-07 22:49:09 -05:00
hibernate-resume tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
hostname networkd: allow networkd to set the timezone in timedated 2016-11-23 16:32:06 +01:00
hwdb Merge pull request #4510 from keszybz/tree-wide-cleanups 2016-11-03 13:59:20 -06:00
import nspawn: add fallback top normal copy/reflink when we cannot btrfs snapshot 2016-11-22 13:35:09 +01:00
initctl Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
journal fix journald startup problem when code is compiled with -DNDEBUG (#4735) 2016-11-25 11:24:58 +01:00
journal-remote Use python3 explicitly in all python scripts 2016-11-28 15:00:20 -03:00
kernel-install kernel-install: use exit instead of return (#4565) 2016-11-04 08:58:41 -04:00
libsystemd sd-id128: add new sd_id128_get_machine_app_specific() API 2016-11-29 15:13:00 +01:00
libsystemd-network sd-dhcp-client: use free_and_strdup 2016-11-21 23:01:02 +01:00
libudev Merge pull request #4612 from keszybz/format-strings 2016-11-08 08:09:40 -05:00
locale tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
login Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
machine Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
machine-id-setup machine-id-setup: add new --print switch 2016-07-22 12:59:36 +02:00
modules-load tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
mount tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
network networkd: move event loop handling out of the manager (#4723) 2016-11-28 20:42:40 +01:00
notify Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
nspawn nspawn: don't require chown() if userns is not on 2016-11-22 13:35:24 +01:00
nss-myhostname treewide: fix typos and remove accidental repetition of words 2016-07-11 16:18:43 +02:00
nss-mymachines nss-mymachines: avoid connecting to dbus from inside dbus-daemon 2016-08-19 00:52:00 +02:00
nss-resolve nss-resolve: be a bit more careful with returning NSS_STATUS_NOTFOUND 2016-10-24 19:04:43 +02:00
nss-systemd nss-systemd: remove useless define 2016-10-22 18:39:08 -04:00
path
quotacheck tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
random-seed
rc-local-generator tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
remount-fs core: when determining whether a process exit status is clean, consider whether it is a command or a daemon 2016-10-10 22:57:01 +02:00
reply-password tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
resolve tree-wide: make invocations of extract_first_word more uniform (#4627) 2016-11-11 18:58:41 +01:00
rfkill tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
run Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
shared Merge pull request #4692 from poettering/networkd-dhcp 2016-11-22 23:22:04 -05:00
sleep
socket-proxy socket-proxyd: Introduced dynamic connection limit via an option. (#4749) 2016-11-28 18:25:11 +01:00
stdio-bridge
sysctl sysctl: minor simplification 2016-11-02 11:39:48 -06:00
system-update-generator
systemctl core: make sure initrd-switch-root command survives PID1's killing spree (#4730) 2016-11-24 18:52:04 +01:00
systemd sd-id128: add new sd_id128_get_machine_app_specific() API 2016-11-29 15:13:00 +01:00
sysusers Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
sysv-generator tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
test sd-id128: add new sd_id128_get_machine_app_specific() API 2016-11-29 15:13:00 +01:00
timedate Add enable_disable() helper 2016-07-31 22:48:22 -04:00
timesync timesyncd: clear ADJ_MAXERROR to keep STA_UNSYNC cleared after jump adjust (#4626) 2016-11-11 18:50:46 +01:00
tmpfiles Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
tty-ask-password-agent core: when determining whether a process exit status is clean, consider whether it is a command or a daemon 2016-10-10 22:57:01 +02:00
udev udevd: check correct return value of fcntl() (#4758) 2016-11-28 18:24:26 +01:00
update-done update-done: minor clean-ups 2016-10-24 17:29:51 +02:00
update-utmp Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
user-sessions
vconsole Merge pull request #4448 from msoltyspl/vcfix 2016-10-26 20:55:18 -04:00
.gitignore
Makefile