- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for UseCgroupFD (0.21 sec)
-
src/syscall/exec_linux.go
flags |= CLONE_VFORK | CLONE_VM } if sys.PidFD != nil { flags |= CLONE_PIDFD } // Whether to use clone3. if sys.UseCgroupFD || flags&CLONE_NEWTIME != 0 || forceClone3 { clone3 = &cloneArgs{ flags: uint64(flags), exitSignal: uint64(SIGCHLD), } if sys.UseCgroupFD { clone3.flags |= CLONE_INTO_CGROUP clone3.cgroup = uint64(sys.CgroupFD) } if sys.PidFD != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 23K bytes - Viewed (0) -
src/syscall/exec_linux_test.go
} fd, suffix := prepareCgroupFD(t) cmd := testenv.Command(t, exe, "-test.run=^TestUseCgroupFD$") cmd.Env = append(cmd.Environ(), "GO_WANT_HELPER_PROCESS=1") cmd.SysProcAttr = &syscall.SysProcAttr{ UseCgroupFD: true, CgroupFD: fd, } out, err := cmd.CombinedOutput() if err != nil { if testenv.SyscallIsNotSupported(err) && !errors.Is(err, syscall.EINVAL) { // Can be one of:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 20.6K bytes - Viewed (0) -
api/go1.20.txt
pkg syscall (linux-386-cgo), const CLONE_PIDFD ideal-int #51246 pkg syscall (linux-386-cgo), type SysProcAttr struct, CgroupFD int #51246 pkg syscall (linux-386-cgo), type SysProcAttr struct, UseCgroupFD bool #51246 pkg syscall (linux-386), const CLONE_CLEAR_SIGHAND = 4294967296 #51246 pkg syscall (linux-386), const CLONE_CLEAR_SIGHAND ideal-int #51246 pkg syscall (linux-386), const CLONE_INTO_CGROUP = 8589934592 #51246
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 21:23:32 UTC 2023 - 602.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"SysProcAttr.ThreadAttributes", Field, 13}, {"SysProcAttr.Token", Field, 10}, {"SysProcAttr.UidMappings", Field, 4}, {"SysProcAttr.Unshareflags", Field, 7}, {"SysProcAttr.UseCgroupFD", Field, 20}, {"SysProcIDMap", Type, 4}, {"SysProcIDMap.ContainerID", Field, 4}, {"SysProcIDMap.HostID", Field, 4}, {"SysProcIDMap.Size", Field, 4}, {"Syscall", Func, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)