Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 266 for nproc (0.07 sec)

  1. manifests/charts/istio-cni/templates/daemonset.yaml

                  - NET_RAW
                  # CAP_SYS_ADMIN is required for both ambient and repair, in order to open
                  # network namespaces in `/proc` to obtain descriptors for entering pod netnamespaces.
                  # There does not appear to be a more granular capability for this.
                  - SYS_ADMIN
    {{- if .Values.cni.seccompProfile }}
                seccompProfile:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/preflight/checks_test.go

    			serviceCidr: "10.96.0.0/16,fda9:d324:354d:1::/112",
    			expStr:      []string{"FileContent--proc-sys-net-ipv4-ip_forward", "FileContent--proc-sys-net-ipv6-conf-default-forwarding"},
    		},
    		{
    			testName:    "single stack ipv4",
    			PodSubnet:   "10.244.0.0/16",
    			serviceCidr: "10.96.0.0/16",
    			expStr:      []string{"FileContent--proc-sys-net-ipv4-ip_forward"},
    		},
    		{
    			testName:    "single stack ipv6",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  3. internal/http/dial_linux.go

    				// Number of probes.
    				// ~ cat /proc/sys/net/ipv4/tcp_keepalive_probes (defaults to 9, we reduce it to 5)
    				_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPCNT, 5)
    
    				// Wait time after successful probe in seconds.
    				// ~ cat /proc/sys/net/ipv4/tcp_keepalive_intvl (defaults to 75 secs, we reduce it to 15 secs)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 4.8K bytes
    - Viewed (3)
  4. test/fixedbugs/issue4396a.go

    // word aligned. 5g should use MOVB to load the address
    // of s.g[0] for its nil check.
    //
    // This test _may_ fail on arm, but requires the host to 
    // trap unaligned loads. This is generally done with
    //
    // echo "4" > /proc/cpu/alignment
    
    package main
    
    var s = struct {
    	// based on lzw.decoder
    	a, b, c, d, e uint16
    	f             [4096]uint8
    	g             [4096]uint8
    }{}
    
    func main() {
    	s.g[0] = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 627 bytes
    - Viewed (0)
  5. pkg/util/procfs/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package procfs implements utility functions relating to the /proc mount.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 16 17:48:21 UTC 2016
    - 708 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/internal/poll/read_test.go

    	var ps []string
    	switch runtime.GOOS {
    	case "darwin", "ios", "dragonfly", "freebsd", "netbsd", "openbsd":
    		ps = []string{
    			"/dev/null",
    		}
    	case "linux":
    		ps = []string{
    			"/dev/null",
    			"/proc/stat",
    			"/sys/devices/system/cpu/online",
    		}
    	}
    	nps := ps[:0]
    	for _, p := range ps {
    		f, err := os.Open(p)
    		if err != nil {
    			continue
    		}
    		f.Close()
    		nps = append(nps, p)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 1.1K bytes
    - Viewed (0)
Back to top