Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NoSetGroups (0.22 sec)

  1. src/syscall/exec_unix.go

    // by a child process started by [StartProcess].
    type Credential struct {
    	Uid         uint32   // User ID.
    	Gid         uint32   // Group ID.
    	Groups      []uint32 // Supplementary group IDs.
    	NoSetGroups bool     // If true, don't set supplementary groups
    }
    
    // ProcAttr holds attributes that will be applied to a new process started
    // by [StartProcess].
    type ProcAttr struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. src/syscall/exec_linux.go

    		groups = uintptr(0)
    		if ngroups > 0 {
    			groups = uintptr(unsafe.Pointer(&cred.Groups[0]))
    		}
    		if !(sys.GidMappings != nil && !sys.GidMappingsEnableSetgroups && ngroups == 0) && !cred.NoSetGroups {
    			_, _, err1 = RawSyscall(_SYS_setgroups, ngroups, groups, 0)
    			if err1 != 0 {
    				goto childerror
    			}
    		}
    		_, _, err1 = RawSyscall(sys_SETGID, uintptr(cred.Gid), 0, 0)
    		if err1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"CreateSymbolicLink", Func, 4},
    		{"CreateToolhelp32Snapshot", Func, 4},
    		{"Credential", Type, 0},
    		{"Credential.Gid", Field, 0},
    		{"Credential.Groups", Field, 0},
    		{"Credential.NoSetGroups", Field, 9},
    		{"Credential.Uid", Field, 0},
    		{"CryptAcquireContext", Func, 0},
    		{"CryptGenRandom", Func, 0},
    		{"CryptReleaseContext", Func, 0},
    		{"DIOCBSFLUSH", Const, 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top