Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 385 for Gid (0.02 sec)

  1. src/os/user/lookup_unix_test.go

    			}
    			if got.Gid != tt.gid {
    				t.Errorf("findGroupName(%s): got gid %v, want %s", tt.name, got.Gid, tt.gid)
    			}
    			if got.Name != tt.name {
    				t.Errorf("findGroupName(%s): got name %s, want %s", tt.name, got.Name, tt.name)
    			}
    		}
    	}
    }
    
    var groupIdTests = []struct {
    	in   string
    	gid  string
    	name string
    }{
    	{testGroupFile, "-2", "nobody"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 11 04:31:34 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  2. src/os/user/user_test.go

    	}
    
    	g1, err := LookupGroupId(user.Gid)
    	if err != nil {
    		// NOTE(rsc): Maybe the group isn't defined. That's fine.
    		// On my OS X laptop, rsc logs in with group 5000 even
    		// though there's no name for group 5000. Such is Unix.
    		t.Logf("LookupGroupId(%q): %v", user.Gid, err)
    		return
    	}
    	if g1.Gid != user.Gid {
    		t.Errorf("LookupGroupId(%q).Gid = %s; want %s", user.Gid, g1.Gid, user.Gid)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 15:59:43 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. tools/istio-iptables/pkg/capture/testdata/ipv6-dns-outbound-owner-groups-exclude.golden

    iptables -t nat -A ISTIO_OUTPUT -o lo ! -d 127.0.0.1/32 -p tcp ! --dport 15008 -m owner --gid-owner 1337 -j ISTIO_IN_REDIRECT
    iptables -t nat -A ISTIO_OUTPUT -o lo -p tcp ! --dport 53 -m owner ! --gid-owner 1337 -j RETURN
    iptables -t nat -A ISTIO_OUTPUT -m owner --gid-owner 1337 -j RETURN
    iptables -t nat -A ISTIO_OUTPUT -m owner --gid-owner 888 -j RETURN
    iptables -t nat -A ISTIO_OUTPUT -m owner --gid-owner ftp -j RETURN
    iptables -t nat -A ISTIO_OUTPUT -d 127.0.0.1/32 -j RETURN
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 15:51:15 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. tools/istio-clean-iptables/pkg/cmd/testdata/outbound-owner-groups.golden

    iptables -t nat -D ISTIO_OUTPUT -p udp --dport 53 -m owner --gid-owner 1337 -j RETURN
    ip6tables -t nat -D ISTIO_OUTPUT -p udp --dport 53 -m owner --gid-owner 1337 -j RETURN
    iptables -t nat -D ISTIO_OUTPUT -p udp --dport 53 -m owner ! --gid-owner java -m owner ! --gid-owner 202 -j RETURN
    ip6tables -t nat -D ISTIO_OUTPUT -p udp --dport 53 -m owner ! --gid-owner java -m owner ! --gid-owner 202 -j RETURN
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 15:51:15 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. tools/istio-iptables/pkg/capture/testdata/loopback-outbound-iprange.golden

    iptables -t nat -A ISTIO_OUTPUT -o lo ! -d 127.0.0.1/32 -p tcp ! --dport 15008 -m owner --gid-owner 1 -j ISTIO_IN_REDIRECT
    iptables -t nat -A ISTIO_OUTPUT -m owner --gid-owner 1 -j RETURN
    iptables -t nat -A ISTIO_OUTPUT -o lo ! -d 127.0.0.1/32 -p tcp ! --dport 15008 -m owner --gid-owner 2 -j ISTIO_IN_REDIRECT
    iptables -t nat -A ISTIO_OUTPUT -m owner --gid-owner 2 -j RETURN
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. tools/istio-clean-iptables/pkg/cmd/testdata/outbound-owner-groups-exclude.golden

    iptables -t nat -D ISTIO_OUTPUT -p udp --dport 53 -m owner --gid-owner 1337 -j RETURN
    ip6tables -t nat -D ISTIO_OUTPUT -p udp --dport 53 -m owner --gid-owner 1337 -j RETURN
    iptables -t nat -D ISTIO_OUTPUT -p udp --dport 53 -m owner --gid-owner 888 -j RETURN
    ip6tables -t nat -D ISTIO_OUTPUT -p udp --dport 53 -m owner --gid-owner 888 -j RETURN
    iptables -t nat -D ISTIO_OUTPUT -p udp --dport 53 -m owner --gid-owner ftp -j RETURN
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 15:51:15 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. tools/istio-iptables/pkg/capture/testdata/outbound-owner-groups.golden

    iptables -t nat -A ISTIO_OUTPUT -o lo ! -d 127.0.0.1/32 -p tcp ! --dport 15008 -m owner --gid-owner 1337 -j ISTIO_IN_REDIRECT
    iptables -t nat -A ISTIO_OUTPUT -o lo -m owner ! --gid-owner 1337 -j RETURN
    iptables -t nat -A ISTIO_OUTPUT -m owner --gid-owner 1337 -j RETURN
    iptables -t nat -A ISTIO_OUTPUT -m owner ! --gid-owner java -m owner ! --gid-owner 202 -j RETURN
    iptables -t nat -A ISTIO_OUTPUT -d 127.0.0.1/32 -j RETURN
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 17:46:23 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. tools/istio-iptables/pkg/capture/testdata/ip-range.golden

    iptables -t nat -A ISTIO_OUTPUT -o lo ! -d 127.0.0.1/32 -p tcp ! --dport 15008 -m owner --gid-owner 1 -j ISTIO_IN_REDIRECT
    iptables -t nat -A ISTIO_OUTPUT -o lo -p tcp ! --dport 53 -m owner ! --gid-owner 1 -j RETURN
    iptables -t nat -A ISTIO_OUTPUT -m owner --gid-owner 1 -j RETURN
    iptables -t nat -A ISTIO_OUTPUT -o lo ! -d 127.0.0.1/32 -p tcp ! --dport 15008 -m owner --gid-owner 2 -j ISTIO_IN_REDIRECT
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. tools/istio-iptables/pkg/log/nflog.go

    			}
    		}
    		prefix := ""
    		if attrs.Prefix != nil {
    			prefix = *attrs.Prefix
    		}
    		comment := IDToCommand[prefix].Comment
    		uid, gid := uint32(0), uint32(0)
    		if attrs.UID != nil {
    			uid = *attrs.UID
    		}
    		if attrs.GID != nil {
    			gid = *attrs.GID
    		}
    		inDev, outDev := "", ""
    		if attrs.InDev != nil {
    			ii, err := net.InterfaceByIndex(int(*attrs.InDev))
    			if err == nil {
    				inDev = ii.Name
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/fixtures/publish/RemoteRepositorySpec.groovy

            }
        }
    
        def id(String notation, @DelegatesTo(value=ModuleVersionSpec, strategy = Closure.DELEGATE_ONLY) Closure spec = {}) {
            def (gid, aid, v) = notation.split(':') as List
            assert gid && aid && v
            group(gid) {
                module(aid) {
                    version(v, spec)
                }
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top