From fbddb715edbbbd56eabecd6d289b734a17a0220a Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Fri, 3 May 2024 12:15:58 -0700 Subject: [PATCH] libct: fix a comment Do not refer to the function which was removed. Signed-off-by: Kir Kolyshkin (cherry picked from commit bac506463d48faca55baefbeb0e9ec7068088ad3) Signed-off-by: lifubang --- libcontainer/standard_init_linux.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libcontainer/standard_init_linux.go b/libcontainer/standard_init_linux.go index d1d94352f..d9a6a224c 100644 --- a/libcontainer/standard_init_linux.go +++ b/libcontainer/standard_init_linux.go @@ -155,7 +155,8 @@ func (l *linuxStandardInit) Init() error { return &os.SyscallError{Syscall: "prctl(SET_NO_NEW_PRIVS)", Err: err} } } - // Tell our parent that we're ready to Execv. This must be done before the + + // Tell our parent that we're ready to exec. This must be done before the // Seccomp rules have been applied, because we need to be able to read and // write to a socket. if err := syncParentReady(l.pipe); err != nil {