Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Gid (0.8 sec)

  1. tools/istio-iptables/pkg/capture/testdata/ipv6-uid-gid.golden

    iptables -t nat -A ISTIO_OUTPUT -o lo -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
    iptables -t nat -A ISTIO_OUTPUT -o lo -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
    - 3.9K bytes
    - Viewed (0)
  2. src/os/user/listgroups_unix_test.go

    	{in: testGroupFile, user: "user777", gid: "7", gids: []string{"7", "777", "1000"}},
    	{in: testGroupFile, user: "user1111", gid: "1111", gids: []string{"1111", "1000"}},
    	{in: testGroupFile, user: "user1000", gid: "1000", gids: []string{"1000"}},
    	{in: testGroupFile, user: "user7500", gid: "7500", gids: []string{"1000", "7500"}},
    	{in: testGroupFile, user: "no-such-user", gid: "2345", gids: []string{"2345"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/client-go/applyconfigurations/core/v1/linuxcontaineruser.go

    	return b
    }
    
    // WithGID sets the GID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the GID field is set to the value of the last call.
    func (b *LinuxContainerUserApplyConfiguration) WithGID(value int64) *LinuxContainerUserApplyConfiguration {
    	b.GID = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/os/user/cgo_lookup_unix.go

    		return nil, fmt.Errorf("user: lookup groupname %s: %v", groupname, err)
    	}
    	return buildGroup(&grp), nil
    }
    
    func lookupGroupId(gid string) (*Group, error) {
    	i, e := strconv.Atoi(gid)
    	if e != nil {
    		return nil, e
    	}
    	return lookupUnixGid(i)
    }
    
    func lookupUnixGid(gid int) (*Group, error) {
    	var grp _C_struct_group
    	var found bool
    
    	err := retryWithBuffer(groupBuffer, func(buf []byte) syscall.Errno {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:08:14 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. tools/istio-iptables/pkg/capture/testdata/tproxy.golden

    iptables -t nat -A ISTIO_OUTPUT -m owner --uid-owner 1337 -j RETURN
    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 -p tcp --dport 53 -d 127.0.0.53/32 -j REDIRECT --to-ports 15053
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. tools/istio-iptables/pkg/capture/testdata/ipv6-ipnets.golden

    iptables -t nat -A ISTIO_OUTPUT -m owner --uid-owner 1337 -j RETURN
    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 -d 127.0.0.1/32 -j RETURN
    ip6tables -t nat -N ISTIO_INBOUND
    ip6tables -t nat -N ISTIO_REDIRECT
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. pkg/volume/util/atomic_writer_linux.go

    limitations under the License.
    */
    
    package util
    
    import "os"
    
    // chown changes the numeric uid and gid of the named file.
    func (w *AtomicWriter) chown(name string, uid, gid int) error {
    	return os.Chown(name, uid, gid)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 04:44:51 UTC 2024
    - 791 bytes
    - Viewed (0)
Back to top