Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for egid (0.04 sec)

  1. src/syscall/exec_linux_test.go

    	"strconv"
    	"strings"
    	"syscall"
    	"testing"
    	"time"
    	"unsafe"
    )
    
    // whoamiNEWUSER returns a command that runs "whoami" with CLONE_NEWUSER,
    // mapping uid and gid 0 to the actual uid and gid of the test.
    func whoamiNEWUSER(t *testing.T, uid, gid int, setgroups bool) *exec.Cmd {
    	t.Helper()
    	testenv.MustHaveExecPath(t, "whoami")
    	cmd := testenv.Command(t, "whoami")
    	cmd.SysProcAttr = &syscall.SysProcAttr{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/capture/run.go

    					"-o", "lo", "-m", "owner", "!", "--gid-owner", gid, "-j", constants.RETURN)
    			}
    		}
    
    		// Avoid infinite loops. Don't redirect Envoy traffic directly back to
    		// Envoy for non-loopback traffic.
    		cfg.ruleBuilder.AppendRule(iptableslog.UndefinedCommand, constants.ISTIOOUTPUT, constants.NAT, "-m", "owner", "--gid-owner", gid, "-j", constants.RETURN)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  3. src/syscall/syscall_linux_test.go

    		{call: "Setregid(101,0)", fn: func() error { return syscall.Setregid(101, 0) }, filter: "Gid:", expect: "\t101\t0\t0\t0"},
    		{call: "Setregid(0,102)", fn: func() error { return syscall.Setregid(0, 102) }, filter: "Gid:", expect: "\t0\t102\t102\t102"},
    		{call: "Setregid(0,0)", fn: func() error { return syscall.Setregid(0, 0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. src/archive/tar/common.go

    	verifyString(h.Gname, len(ustar.groupName()), "Gname", paxGname)
    	verifyNumeric(h.Mode, len(v7.mode()), "Mode", paxNone)
    	verifyNumeric(int64(h.Uid), len(v7.uid()), "Uid", paxUid)
    	verifyNumeric(int64(h.Gid), len(v7.gid()), "Gid", paxGid)
    	verifyNumeric(h.Size, len(v7.size()), "Size", paxSize)
    	verifyNumeric(h.Devmajor, len(ustar.devMajor()), "Devmajor", paxNone)
    	verifyNumeric(h.Devminor, len(ustar.devMinor()), "Devminor", paxNone)
    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. src/archive/tar/writer_test.go

    				Uid:      73025,
    				Gid:      5000,
    				Uname:    "dsymonds",
    				Gname:    "eng",
    				ModTime:  time.Unix(1246508266, 0),
    			}, nil},
    			testWrite{"Kilts", 5, nil},
    
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     "small2.txt",
    				Size:     11,
    				Mode:     0640,
    				Uid:      73025,
    				Uname:    "dsymonds",
    				Gname:    "eng",
    				Gid:      5000,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  6. pkg/kubelet/volumemanager/volume_manager.go

    }
    
    // getExtraSupplementalGid returns the value of an extra supplemental GID as
    // defined by an annotation on a volume and a boolean indicating whether the
    // volume defined a GID that the pod doesn't already request.
    func getExtraSupplementalGid(volumeGidValue string, pod *v1.Pod) (int64, bool) {
    	if volumeGidValue == "" {
    		return 0, false
    	}
    
    	gid, err := strconv.ParseInt(volumeGidValue, 10, 64)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. pkg/kubelet/userns/userns_manager.go

    		return
    	}
    
    	if len(userNs.UIDMappings) != len(userNs.GIDMappings) {
    		err = fmt.Errorf("invalid user namespace configuration: GID and UID mappings should be identical.")
    		return
    	}
    
    	if userNs.UIDMappings[0] != userNs.GIDMappings[0] {
    		err = fmt.Errorf("invalid user namespace configuration: GID and UID mapping should be identical")
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. src/syscall/fs_wasip1.go

    }
    
    func Fchmod(fd int, mode uint32) error {
    	var stat Stat_t
    	return Fstat(fd, &stat)
    }
    
    func Chown(path string, uid, gid int) error {
    	return ENOSYS
    }
    
    func Fchown(fd int, uid, gid int) error {
    	return ENOSYS
    }
    
    func Lchown(path string, uid, gid int) error {
    	return ENOSYS
    }
    
    func UtimesNano(path string, ts []Timespec) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. src/internal/trace/oldtrace.go

    			it.preInit = false
    			for gid := range it.createdPreInit {
    				// These are goroutines that already existed when tracing started but for which we
    				// received neither GoWaiting, GoInSyscall, or GoStart. These are goroutines that are in
    				// the states _Gidle or _Grunnable.
    				it.extra = append(it.extra, Event{
    					ctx: schedCtx{
    						// G: GoID(gid),
    						G: NoGoroutine,
    						P: NoProc,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go

    	PPS_GETCAP    = 0x400870a3
    	PPS_FETCH     = 0xc00870a4
    )
    
    const (
    	PIDFD_NONBLOCK = 0x80
    )
    
    type SysvIpcPerm struct {
    	Key  int32
    	Uid  uint32
    	Gid  uint32
    	Cuid uint32
    	Cgid uint32
    	Mode uint32
    	_    [0]uint8
    	Seq  uint16
    	_    uint16
    	_    uint64
    	_    uint64
    }
    type SysvShmDesc struct {
    	Perm   SysvIpcPerm
    	Segsz  uint64
    	Atime  int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top