Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 47 for seteuid (0.33 sec)

  1. 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)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	}
    	return int(ret), nil
    }
    
    func Setuid(uid int) (err error) {
    	return syscall.Setuid(uid)
    }
    
    func Setgid(gid int) (err error) {
    	return syscall.Setgid(gid)
    }
    
    func Setreuid(ruid, euid int) (err error) {
    	return syscall.Setreuid(ruid, euid)
    }
    
    func Setregid(rgid, egid int) (err error) {
    	return syscall.Setregid(rgid, egid)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Setdomainname", Func, 0},
    		{"Setegid", Func, 0},
    		{"Setenv", Func, 0},
    		{"Seteuid", Func, 0},
    		{"Setfsgid", Func, 0},
    		{"Setfsuid", Func, 0},
    		{"Setgid", Func, 0},
    		{"Setgroups", Func, 0},
    		{"Sethostname", Func, 0},
    		{"Setlogin", Func, 0},
    		{"Setpgid", Func, 0},
    		{"Setpriority", Func, 0},
    		{"Setprivexec", Func, 0},
    		{"Setregid", Func, 0},
    		{"Setresgid", 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)
  4. src/archive/tar/common.go

    	// Set file permission bits.
    	mode = fs.FileMode(fi.h.Mode).Perm()
    
    	// Set setuid, setgid and sticky bits.
    	if fi.h.Mode&c_ISUID != 0 {
    		mode |= fs.ModeSetuid
    	}
    	if fi.h.Mode&c_ISGID != 0 {
    		mode |= fs.ModeSetgid
    	}
    	if fi.h.Mode&c_ISVTX != 0 {
    		mode |= fs.ModeSticky
    	}
    
    	// Set file mode bits; clear perm, setuid, setgid, and sticky bits.
    	switch m := fs.FileMode(fi.h.Mode) &^ 07777; m {
    	case c_ISDIR:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/go/testdata/script/README

    	platform always requires external linking
    [net:*]
    	can connect to external network host <suffix>
    [pielinkext]
    	platform requires external linking for PIE
    [race]
    	GOOS/GOARCH supports -race
    [root]
    	os.Geteuid() == 0
    [short]
    	testing.Short()
    [symlink]
    	testenv.HasSymlink()
    [trimpath]
    	test binary was built with -trimpath
    [verbose]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. 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)
  8. src/syscall/syscall_windows.go

    func Fchown(fd Handle, uid int, gid int) (err error)   { return EWINDOWS }
    
    func Getuid() (uid int)                  { return -1 }
    func Geteuid() (euid int)                { return -1 }
    func Getgid() (gid int)                  { return -1 }
    func Getegid() (egid int)                { return -1 }
    func Getgroups() (gids []int, err error) { return nil, EWINDOWS }
    
    type Signal int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  9. src/syscall/exec_linux.go

    	Ptrace bool
    	Setsid bool // Create session.
    	// Setpgid sets the process group ID of the child to Pgid,
    	// or, if Pgid == 0, to the new child's process ID.
    	Setpgid bool
    	// Setctty sets the controlling terminal of the child to
    	// file descriptor Ctty. Ctty must be a descriptor number
    	// in the child process: an index into ProcAttr.Files.
    	// This is only meaningful if Setsid is true.
    	Setctty bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    func Fchown(fd Handle, uid int, gid int) (err error)   { return syscall.EWINDOWS }
    
    func Getuid() (uid int)                  { return -1 }
    func Geteuid() (euid int)                { return -1 }
    func Getgid() (gid int)                  { return -1 }
    func Getegid() (egid int)                { return -1 }
    func Getgroups() (gids []int, err error) { return nil, syscall.EWINDOWS }
    
    type Signal int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top