Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for seteuid (0.21 sec)

  1. src/syscall/syscall_linux.go

    	var uid int
    	if flags&_AT_EACCESS != 0 {
    		uid = Geteuid()
    		if uid != 0 && isCapDacOverrideSet() {
    			// If CAP_DAC_OVERRIDE is set, file access check is
    			// done by the kernel in the same way as for root
    			// (see generic_permission() in the Linux sources).
    			uid = 0
    		}
    	} else {
    		uid = Getuid()
    	}
    
    	if uid == 0 {
    		if mode&1 == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    func Setegid(egid int) (err error) {
    	runtime.EnterSyscall()
    	r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SETEGID<<4, uintptr(egid))
    	runtime.ExitSyscall()
    	if int64(r0) == -1 {
    		err = errnoErr2(e1, e2)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Seteuid(euid int) (err error) {
    	runtime.EnterSyscall()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    //sysnb	Setregid(rgid int, egid int) (err error) = SYS_SETREGID
    //sysnb	Setreuid(ruid int, euid int) (err error) = SYS_SETREUID
    //sysnb	Setsid() (pid int, err error) = SYS_SETSID
    //sys	Setuid(uid int) (err error) = SYS_SETUID
    //sys	Setgid(uid int) (err error) = SYS_SETGID
    //sys	Shutdown(fd int, how int) (err error)
    //sys	stat(path string, statLE *Stat_LE_t) (err error) = SYS___STAT_A
    
    func Stat(path string, sta *Stat_t) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  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/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. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    		mutex.Lock()
    		defer mutex.Unlock()
    		switch action.GetVerb() {
    		case "create":
    			if obj.GetUID() != "" {
    				return true, nil, errors.New("UID must not be set on create")
    			}
    			if obj.GetResourceVersion() != "" {
    				return true, nil, errors.New("ResourceVersion must not be set on create")
    			}
    			obj.SetUID(types.UID(fmt.Sprintf("UID-%d", uidCounter)))
    			uidCounter++
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
Back to top