mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Update comment reference
PiperOrigin-RevId: 207180809 Change-Id: I08c264812919e81b2c56fdd4a9ef06924de8b52f
This commit is contained in:
+12
-12
@@ -286,18 +286,18 @@ var DefaultControlCharacters = [NumControlCharacters]uint8{
|
||||
'\x7f', // VERASE = DEL
|
||||
ControlCharacter('U'), // VKILL = ^U
|
||||
ControlCharacter('D'), // VEOF = ^D
|
||||
0, // VTIME
|
||||
1, // VMIN
|
||||
0, // VSWTC
|
||||
ControlCharacter('Q'), // VSTART = ^Q
|
||||
ControlCharacter('S'), // VSTOP = ^S
|
||||
ControlCharacter('Z'), // VSUSP = ^Z
|
||||
0, // VEOL
|
||||
ControlCharacter('R'), // VREPRINT = ^R
|
||||
ControlCharacter('O'), // VDISCARD = ^O
|
||||
ControlCharacter('W'), // VWERASE = ^W
|
||||
ControlCharacter('V'), // VLNEXT = ^V
|
||||
0, // VEOL2
|
||||
0, // VTIME
|
||||
1, // VMIN
|
||||
0, // VSWTC
|
||||
ControlCharacter('Q'), // VSTART = ^Q
|
||||
ControlCharacter('S'), // VSTOP = ^S
|
||||
ControlCharacter('Z'), // VSUSP = ^Z
|
||||
0, // VEOL
|
||||
ControlCharacter('R'), // VREPRINT = ^R
|
||||
ControlCharacter('O'), // VDISCARD = ^O
|
||||
ControlCharacter('W'), // VWERASE = ^W
|
||||
ControlCharacter('V'), // VLNEXT = ^V
|
||||
0, // VEOL2
|
||||
}
|
||||
|
||||
// MasterTermios is the terminal configuration of the master end of a Unix98
|
||||
|
||||
@@ -159,10 +159,10 @@ const defaultDirentCacheSize uint64 = 1000
|
||||
func NewMountSource(mops MountSourceOperations, filesystem Filesystem, flags MountSourceFlags) *MountSource {
|
||||
return &MountSource{
|
||||
MountSourceOperations: mops,
|
||||
Flags: flags,
|
||||
Filesystem: filesystem,
|
||||
fscache: NewDirentCache(defaultDirentCacheSize),
|
||||
children: make(map[*MountSource]struct{}),
|
||||
Flags: flags,
|
||||
Filesystem: filesystem,
|
||||
fscache: NewDirentCache(defaultDirentCacheSize),
|
||||
children: make(map[*MountSource]struct{}),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -113,7 +113,7 @@ func Prctl(t *kernel.Task, args arch.SyscallArguments) (uintptr, *kernel.Syscall
|
||||
return 0, nil, syscall.EINVAL
|
||||
}
|
||||
// no_new_privs is assumed to always be set. See
|
||||
// auth.Credentials.UpdateForExec.
|
||||
// kernel.Task.updateCredsForExec.
|
||||
return 0, nil, nil
|
||||
|
||||
case linux.PR_GET_NO_NEW_PRIVS:
|
||||
|
||||
Reference in New Issue
Block a user