network: update outdated comment

Now, our kernel base line supports ambient capabilities, hence the
comment is outdated.
This commit is contained in:
Yu Watanabe
2025-02-17 06:20:46 +09:00
parent eb381e65f1
commit f9c03297c5
+2 -3
View File
@@ -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/") {