From 044149e6152db7a8bb293aac19e84b3b06566d63 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 20 Dec 2023 15:08:49 +0900 Subject: [PATCH 1/2] man: environment value -> udev property These are not environment variables, but udev properties. Follow-up for 3b2e7dc5a285edbbb1bf6aed2d88b889d801613f. --- man/systemd.net-naming-scheme.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/systemd.net-naming-scheme.xml b/man/systemd.net-naming-scheme.xml index 63e7d3cc0b..e2e8a0919a 100644 --- a/man/systemd.net-naming-scheme.xml +++ b/man/systemd.net-naming-scheme.xml @@ -544,7 +544,7 @@ ID_NET_NAME_ALLOW=BOOL - This evironment value sets a fallback policy for reading a sysfs attribute. + This udev property sets a fallback policy for reading a sysfs attribute. If set to 0 udev will not read any sysfs attribute by default, unless it is explicitly allowlisted, see below. If set to 1 udev can use any sysfs attribute unless it is explicitly forbidden. The default value is 1. @@ -556,7 +556,7 @@ ID_NET_NAME_ALLOW_sysfsattr=BOOL - This evironment value explicitly states if udev shall use the specified + This udev property explicitly states if udev shall use the specified sysfsattr, when composing the device name. From d562667f7d0a33919c82efcda00c4aeb9617b55b Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 20 Dec 2023 15:11:59 +0900 Subject: [PATCH 2/2] userdb: fix typo Follow-up for 523121d543bb1f32dca48d62e1a88cc204e5bb96. --- src/userdb/userwork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/userdb/userwork.c b/src/userdb/userwork.c index fa7c2dd319..729a9a1bb6 100644 --- a/src/userdb/userwork.c +++ b/src/userdb/userwork.c @@ -426,7 +426,7 @@ static int vl_method_get_memberships(Varlink *link, JsonVariant *parameters, Var } static int process_connection(VarlinkServer *server, int _fd) { - _cleanup_close_ int fd = TAKE_FD(_fd); /* always take possesion */ + _cleanup_close_ int fd = TAKE_FD(_fd); /* always take possession */ _cleanup_(varlink_close_unrefp) Varlink *vl = NULL; int r;