From 81d31794f02be1839478bf8685bc46d336f186f5 Mon Sep 17 00:00:00 2001 From: Paul Kulchenko Date: Tue, 19 Apr 2022 23:36:14 -0700 Subject: [PATCH] Fix unix.* comments --- tool/net/lunix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/net/lunix.c b/tool/net/lunix.c index b6e0cbf62..2870ed9d5 100644 --- a/tool/net/lunix.c +++ b/tool/net/lunix.c @@ -1498,8 +1498,8 @@ static const luaL_Reg kLuaUnix[] = { {"fdatasync", LuaUnixFdatasync}, // flush open file w/o metadata {"truncate", LuaUnixTruncate}, // shrink or extend file medium {"ftruncate", LuaUnixTruncate}, // shrink or extend file medium - {"umask", LuaUnixUmask}, // change root directory - {"chroot", LuaUnixChroot}, // get parent process id + {"umask", LuaUnixUmask}, // set default file mask + {"chroot", LuaUnixChroot}, // change root directory {"setrlimit", LuaUnixSetrlimit}, // prevent cpu memory bombs {"getrlimit", LuaUnixGetrlimit}, // query resource limits {"getppid", LuaUnixGetppid}, // get parent process id