From: Yu Watanabe Date: Sun, 16 Feb 2025 21:16:26 +0000 (+0900) Subject: network: update outdated comment X-Git-Tag: v258-rc1~1307^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f9c03297c5ad84439c519ab700cfdbc09f1b7790;p=thirdparty%2Fsystemd.git network: update outdated comment Now, our kernel base line supports ambient capabilities, hence the comment is outdated. --- diff --git a/src/network/networkd.c b/src/network/networkd.c index 883f16d81b2..2e1b242da24 100644 --- a/src/network/networkd.c +++ b/src/network/networkd.c @@ -70,9 +70,8 @@ static int run(int argc, char *argv[]) { return log_error_errno(r, "Failed to drop privileges: %m"); } - /* Always create the directories people can create inotify watches in. - * It is necessary to create the following subdirectories after drop_privileges() - * to support old kernels not supporting AmbientCapabilities=. */ + /* Always create the directories people can create inotify watches in. It is necessary to create the + * following subdirectories after drop_privileges() to make them owned by systemd-network. */ FOREACH_STRING(p, "/run/systemd/netif/links/", "/run/systemd/netif/leases/") {