Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for SetUID (0.82 sec)

  1. pkg/controller/statefulset/stateful_set_utils_test.go

    				},
    			},
    			setUID:        "set",
    			podUID:        "pod",
    			nonController: false,
    		},
    	}
    
    	for _, tc := range testCases {
    		claim := v1.PersistentVolumeClaim{}
    		claim.SetOwnerReferences(tc.refs)
    		pod := v1.Pod{}
    		pod.SetUID(tc.podUID)
    		pod.SetName("pod")
    		set := apps.StatefulSet{}
    		set.SetUID(tc.setUID)
    		set.SetName("set")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  2. src/os/types.go

    	ModeDevice     = fs.ModeDevice     // D: device file
    	ModeNamedPipe  = fs.ModeNamedPipe  // p: named pipe (FIFO)
    	ModeSocket     = fs.ModeSocket     // S: Unix domain socket
    	ModeSetuid     = fs.ModeSetuid     // u: setuid
    	ModeSetgid     = fs.ModeSetgid     // g: setgid
    	ModeCharDevice = fs.ModeCharDevice // c: Unix character device, when ModeDevice is set
    	ModeSticky     = fs.ModeSticky     // t: sticky
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/runtime/extern.go

    constants or functions in this package, but they do not influence the execution
    of the run-time system.
    
    # Security
    
    On Unix platforms, Go's runtime system behaves slightly differently when a
    binary is setuid/setgid or executed with setuid/setgid-like properties, in order
    to prevent dangerous behaviors. On Linux this is determined by checking for the
    AT_SECURE flag in the auxiliary vector, on the BSDs and Solaris/Illumos it is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. pkg/scheduler/testing/wrappers.go

    func (p *PodWrapper) Name(s string) *PodWrapper {
    	p.SetName(s)
    	return p
    }
    
    // UID sets `s` as the UID of the inner pod.
    func (p *PodWrapper) UID(s string) *PodWrapper {
    	p.SetUID(types.UID(s))
    	return p
    }
    
    // SchedulerName sets `s` as the scheduler name of the inner pod.
    func (p *PodWrapper) SchedulerName(s string) *PodWrapper {
    	p.Spec.SchedulerName = s
    	return p
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  5. src/syscall/syscall_linux_test.go

    		{call: "Seteuid(1)", fn: func() error { return syscall.Seteuid(1) }, filter: "Uid:", expect: "\t0\t1\t0\t1"},
    		{call: "Setuid(0)", fn: func() error { return syscall.Setuid(0) }, filter: "Uid:", expect: "\t0\t0\t0\t0"},
    
    		{call: "Setgid(1)", fn: func() error { return syscall.Setgid(1) }, filter: "Gid:", expect: "\t1\t1\t1\t1"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. src/syscall/syscall_darwin.go

    //sysnb	Setreuid(ruid int, euid int) (err error)
    //sysnb	setrlimit(which int, lim *Rlimit) (err error)
    //sysnb	Setsid() (pid int, err error)
    //sysnb	Settimeofday(tp *Timeval) (err error)
    //sysnb	Setuid(uid int) (err error)
    //sys	Symlink(path string, link string) (err error)
    //sys	Sync() (err error)
    //sys	Truncate(path string, length int64) (err error)
    //sys	Umask(newmask int) (oldmask int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_pod_control_test.go

    				if err := indexer.Update(update.GetObject()); err != nil {
    					t.Fatalf("could not update index: %v", err)
    				}
    				return true, update.GetObject(), nil
    			})
    			set := newStatefulSet(3)
    			set.GetObjectMeta().SetUID("set-123")
    			pod0 := newStatefulSetPod(set, 0)
    			claims0 := getPersistentVolumeClaims(set, pod0)
    			for k := range claims0 {
    				claim := claims0[k]
    				if tc.ownerRef != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/net_test.go

    	fakeIPSetDeps.AssertExpectations(t)
    }
    
    func TestSyncHostIPSetsIgnoresPodIPAddErrorAndContinues(t *testing.T) {
    	pod1 := buildConvincingPod(false)
    	pod2 := buildConvincingPod(false)
    
    	pod2.ObjectMeta.SetUID("4455")
    
    	fakeIPSetDeps := ipset.FakeNLDeps()
    
    	var pod1UID string = string(pod1.ObjectMeta.UID)
    	var pod2UID string = string(pod2.ObjectMeta.UID)
    	ipProto := uint8(unix.IPPROTO_TCP)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  9. src/syscall/syscall_aix.go

    //sys	Seek(fd int, offset int64, whence int) (newoffset int64, err error) = lseek
    //sysnb	Setegid(egid int) (err error)
    //sysnb	Seteuid(euid int) (err error)
    //sysnb	Setgid(gid int) (err error)
    //sysnb	Setuid(uid int) (err error)
    //sysnb	Setpgid(pid int, pgid int) (err error)
    //sys	Setpriority(which int, who int, prio int) (err error)
    //sysnb	Setregid(rgid int, egid int) (err error)
    //sysnb	Setreuid(ruid int, euid int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_openbsd_arm.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Setuid(uid int) (err error) {
    	_, _, e1 := rawSyscall(abi.FuncPCABI0(libc_setuid_trampoline), uintptr(uid), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_setuid_trampoline()
    
    //go:cgo_import_dynamic libc_setuid setuid "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
Back to top