Compare commits

..

No commits in common. "b2da95cfa1c3598ee206247d9ac81a3c16c22e2c" and "a114ab63737e477c751845c32d3a2344d90098f0" have entirely different histories.

3 changed files with 5 additions and 8 deletions

9
TODO
View File

@ -53,12 +53,6 @@ Features:
* Maybe expose path_is_encrypted() as a new ConditionPathIsEncrypted=? * Maybe expose path_is_encrypted() as a new ConditionPathIsEncrypted=?
* homed: as an extension to the directory+subvolume backend: if located on
especially marked fs, then sync down password into LUKS header of that fs,
and always verify passwords against it too. Bootstrapping is a problem
though: if noone is logged in (or no other user even exists yet), how do you
unlock the volume in order to create the first user and add the first pw.
* busctl: maybe expose a verb "ping" for pinging a dbus service to see if it * busctl: maybe expose a verb "ping" for pinging a dbus service to see if it
exists and responds. exists and responds.
@ -157,6 +151,9 @@ Features:
* systemd-repart: make it a static checker during early boot for existence and * systemd-repart: make it a static checker during early boot for existence and
absence of other partitions for trusted boot environments absence of other partitions for trusted boot environments
* systemd-repart: when no configuration is found, exit early do not check
partition table, so that it is safe to run in the initrd on any system
* systemd-repart: allow config of partition uuid * systemd-repart: allow config of partition uuid
* systemd-repart: add --make= switch for fallocating a new file of the * systemd-repart: add --make= switch for fallocating a new file of the

View File

@ -209,7 +209,7 @@ int ethtool_get_link_info(int *ethtool_fd, const char *ifname,
speed = ethtool_cmd_speed(&ecmd); speed = ethtool_cmd_speed(&ecmd);
*ret_speed = speed == (uint32_t) SPEED_UNKNOWN ? *ret_speed = speed == (uint32_t) SPEED_UNKNOWN ?
UINT64_MAX : (uint64_t) speed * 1000 * 1000; SIZE_MAX : (size_t) speed * 1000 * 1000;
} }
if (ret_duplex) if (ret_duplex)

View File

@ -2269,7 +2269,7 @@ static int table_data_to_json(TableData *d, JsonVariant **ret) {
case TABLE_SIZE: case TABLE_SIZE:
case TABLE_BPS: case TABLE_BPS:
if (d->size == (uint64_t) -1) if (d->size == (size_t) -1)
return json_variant_new_null(ret); return json_variant_new_null(ret);
return json_variant_new_unsigned(ret, d->size); return json_variant_new_unsigned(ret, d->size);