libct: fix a comment

Do not refer to the function which was removed.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit bac506463d)
Signed-off-by: lifubang <lifubang@acmcoder.com>
This commit is contained in:
Kir Kolyshkin
2024-05-03 12:15:58 -07:00
committed by lifubang
parent debf52aa5b
commit fbddb715ed
+2 -1
View File
@@ -155,7 +155,8 @@ func (l *linuxStandardInit) Init() error {
return &os.SyscallError{Syscall: "prctl(SET_NO_NEW_PRIVS)", Err: err} 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 // Seccomp rules have been applied, because we need to be able to read and
// write to a socket. // write to a socket.
if err := syncParentReady(l.pipe); err != nil { if err := syncParentReady(l.pipe); err != nil {