--- util/ulockmgr_server.c.orig 2023-08-23 13:48:47.518048807 +0800 +++ util/ulockmgr_server.c 2023-08-23 13:49:15.676069899 +0800 @@ -124,7 +124,7 @@ return res; } -static int closefrom(int minfd) +static int closefrom_(int minfd) { DIR *dir = opendir("/proc/self/fd"); if (dir) { @@ -384,7 +384,7 @@ dup2(nullfd, 1); } close(3); - closefrom(5); + closefrom_(5); while (1) { char c; int sock;