Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 805 for proc (0.14 sec)

  1. src/syscall/exec_linux.go

    	)
    	pidfd = -1
    
    	rlim := origRlimitNofile.Load()
    
    	if sys.UidMappings != nil {
    		puid = []byte("/proc/self/uid_map\000")
    		uidmap = formatIDMappings(sys.UidMappings)
    	}
    
    	if sys.GidMappings != nil {
    		psetgroups = []byte("/proc/self/setgroups\000")
    		pgid = []byte("/proc/self/gid_map\000")
    
    		if sys.GidMappingsEnableSetgroups {
    			setgroups = []byte("allow\000")
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. src/net/interface_linux.go

    }
    
    // interfaceMulticastAddrTable returns addresses for a specific
    // interface.
    func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) {
    	ifmat4 := parseProcNetIGMP("/proc/net/igmp", ifi)
    	ifmat6 := parseProcNetIGMP6("/proc/net/igmp6", ifi)
    	return append(ifmat4, ifmat6...), nil
    }
    
    func parseProcNetIGMP(path string, ifi *Interface) []Addr {
    	fd, err := open(path)
    	if err != nil {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 7K bytes
    - Viewed (0)
  3. src/internal/trace/gc.go

    					series = len(out)
    					out = append(out, []MutatorUtil{{int64(ev.Time()), 1}})
    				}
    				ps = append(ps, perP{series: series})
    			}
    			if len(procs) == 0 || gomaxprocs != procs[len(procs)-1].n {
    				procs = append(procs, procsCount{time: int64(ev.Time()), n: gomaxprocs})
    			}
    		}
    		if len(ps) == 0 {
    			// We can't start doing any analysis until we see what GOMAXPROCS is.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/testprog/gomaxprocs.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Tests increasing and decreasing GOMAXPROCS to try and
    // catch issues with stale proc state.
    
    //go:build ignore
    
    package main
    
    import (
    	"log"
    	"os"
    	"runtime"
    	"runtime/trace"
    	"time"
    )
    
    func main() {
    	// Start a goroutine that calls runtime.GC to try and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 967 bytes
    - Viewed (0)
  5. src/cmd/internal/bio/buf_mmap.go

    // distinct mapped regions per process. As of this writing:
    //
    //	Darwin    unlimited
    //	DragonFly   1000000 (vm.max_proc_mmap)
    //	FreeBSD   unlimited
    //	Linux         65530 (vm.max_map_count) // TODO: query /proc/sys/vm/max_map_count?
    //	NetBSD    unlimited
    //	OpenBSD   unlimited
    var mmapLimit int32 = 1<<31 - 1
    
    func init() {
    	// Linux is the only practically concerning OS.
    	if runtime.GOOS == "linux" {
    		mmapLimit = 30000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/internal/trace/internal/oldtrace/order.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package oldtrace
    
    import "errors"
    
    type orderEvent struct {
    	ev   Event
    	proc *proc
    }
    
    type gStatus int
    
    type gState struct {
    	seq    uint64
    	status gStatus
    }
    
    const (
    	gDead gStatus = iota
    	gRunnable
    	gRunning
    	gWaiting
    
    	unordered = ^uint64(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. prow/integ-suite-kind.sh

    set -u
    # Print commands
    set -x
    
    # shellcheck source=prow/lib.sh
    source "${ROOT}/prow/lib.sh"
    setup_and_export_git_sha
    
    # shellcheck source=common/scripts/kind_provisioner.sh
    source "${ROOT}/common/scripts/kind_provisioner.sh"
    
    TOPOLOGY=SINGLE_CLUSTER
    NODE_IMAGE="gcr.io/istio-testing/kind-node:v1.30.0"
    KIND_CONFIG=""
    CLUSTER_TOPOLOGY_CONFIG_FILE="${ROOT}/prow/config/topology/multicluster.json"
    
    export FAST_VM_BUILDS=true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 05:42:41 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/sys/cpu/proc_cpuinfo_linux.go

    // license that can be found in the LICENSE file.
    
    //go:build linux && arm64
    
    package cpu
    
    import (
    	"errors"
    	"io"
    	"os"
    	"strings"
    )
    
    func readLinuxProcCPUInfo() error {
    	f, err := os.Open("/proc/cpuinfo")
    	if err != nil {
    		return err
    	}
    	defer f.Close()
    
    	var buf [1 << 10]byte // enough for first CPU
    	n, err := io.ReadFull(f, buf[:])
    	if err != nil && err != io.ErrUnexpectedEOF {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. src/internal/trace/summary.go

    			case GoSyscall:
    				s.syscallingP[ev.Proc()] = id
    				s.syscallingG[id] = ev.Proc()
    				g.lastSyscallTime = ev.Time()
    			}
    
    		// Handle procs to detect syscall blocking, which si identifiable as a
    		// proc going idle while the goroutine it was attached to is in a syscall.
    		case ResourceProc:
    			id := st.Resource.Proc()
    			old, new := st.Proc()
    			if old != new && new == ProcIdle {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  10. src/runtime/security_test.go

    	tempfilePath := f.Name()
    	f.Close()
    
    	lowPrivUser := "nobody"
    	setSetuid(t, lowPrivUser, helloBin)
    
    	b := bytes.NewBuffer(nil)
    	pr, pw, err := os.Pipe()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	proc, err := os.StartProcess(helloBin, []string{helloBin}, &os.ProcAttr{
    		Env:   []string{"GOTRACEBACK=system", "TEST_OUTPUT=" + tempfilePath},
    		Files: []*os.File{os.Stdin, pw},
    	})
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 18:10:14 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top