mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
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:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user