Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 302 for seteuid (0.19 sec)

  1. src/runtime/testdata/testsuid/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"log"
    	"os"
    )
    
    func main() {
    	if os.Geteuid() == os.Getuid() {
    		os.Exit(99)
    	}
    
    	fmt.Fprintf(os.Stdout, "GOTRACEBACK=%s\n", os.Getenv("GOTRACEBACK"))
    	f, err := os.OpenFile(os.Getenv("TEST_OUTPUT"), os.O_CREATE|os.O_RDWR, 0600)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 534 bytes
    - Viewed (0)
  2. helm/minio/templates/securitycontextconstraints.yaml

    allowHostPorts: false
    allowPrivilegeEscalation: true
    allowPrivilegedContainer: false
    allowedCapabilities: []
    readOnlyRootFilesystem: false
    defaultAddCapabilities: []
    requiredDropCapabilities:
    - KILL
    - MKNOD
    - SETUID
    - SETGID
    fsGroup:
      type: MustRunAs
      ranges:
      - max: {{ .Values.securityContext.fsGroup }}
        min: {{ .Values.securityContext.fsGroup }}
    runAsUser:
      type: MustRunAs
      uid: {{ .Values.securityContext.runAsUser }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Aug 20 22:30:54 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/registry/rest/meta.go

    	meta.SetCreationTimestamp(metav1.Time{})
    	meta.SetUID("")
    	meta.SetDeletionTimestamp(nil)
    	meta.SetDeletionGracePeriodSeconds(nil)
    	meta.SetSelfLink("")
    }
    
    // FillObjectMetaSystemFields populates fields that are managed by the system on ObjectMeta.
    func FillObjectMetaSystemFields(meta metav1.Object) {
    	meta.SetCreationTimestamp(metav1.Now())
    	meta.SetUID(uuid.NewUUID())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 19 01:47:23 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/plan9/syscall_plan9.go

    	nsec := nsec()
    	*tv = NsecToTimeval(nsec)
    	return nil
    }
    
    func Getpagesize() int { return 0x1000 }
    
    func Getegid() (egid int) { return -1 }
    func Geteuid() (euid int) { return -1 }
    func Getgid() (gid int)   { return -1 }
    func Getuid() (uid int)   { return -1 }
    
    func Getgroups() (gids []int, err error) {
    	return make([]int, 0), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 7K bytes
    - Viewed (0)
  5. src/syscall/syscall_linux_loong64.go

    //sys	Fchown(fd int, uid int, gid int) (err error)
    //sys	Fstatfs(fd int, buf *Statfs_t) (err error)
    //sys	Ftruncate(fd int, length int64) (err error)
    //sysnb	Getegid() (egid int)
    //sysnb	Geteuid() (euid int)
    //sysnb	Getgid() (gid int)
    //sysnb	Getuid() (uid int)
    //sys	Listen(s int, n int) (err error)
    //sys	pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  6. src/syscall/syscall_wasip1.go

    func Sysctl(key string) (string, error) {
    	if key == "kern.hostname" {
    		return "wasip1", nil
    	}
    	return "", ENOSYS
    }
    
    func Getuid() int {
    	return 1
    }
    
    func Getgid() int {
    	return 1
    }
    
    func Geteuid() int {
    	return 1
    }
    
    func Getegid() int {
    	return 1
    }
    
    func Getgroups() ([]int, error) {
    	return []int{1}, nil
    }
    
    func Getpid() int {
    	return 3
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/internal/DefaultVisualStudioProjectTest.groovy

            when:
            def file = new File("foo")
            def sameFile = new File("foo")
            def differentFile = new File("bar")
    
            then:
            getUUID(file) == getUUID(sameFile)
            getUUID(file) != getUUID(differentFile)
        }
    
        private VisualStudioTargetBinary targetBinary(List<File> sourceFiles, List<File> resourceFiles, List<File> headerFiles) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_386.go

    //sys	Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_FSTATAT64
    //sys	Ftruncate(fd int, length int64) (err error) = SYS_FTRUNCATE64
    //sysnb	Getegid() (egid int) = SYS_GETEGID32
    //sysnb	Geteuid() (euid int) = SYS_GETEUID32
    //sysnb	Getgid() (gid int) = SYS_GETGID32
    //sysnb	Getuid() (uid int) = SYS_GETUID32
    //sys	Ioperm(from int, num int, on int) (err error)
    //sys	Iopl(level int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go

    //sys	Fstatfs(fd int, buf *Statfs_t) (err error)
    //sys	Ftruncate(fd int, length int64) (err error)
    //sysnb	Getegid() (egid int)
    //sysnb	Geteuid() (euid int)
    //sysnb	Getgid() (gid int)
    //sysnb	Getrlimit(resource int, rlim *Rlimit) (err error)
    //sysnb	Getuid() (uid int)
    //sys	Lchown(path string, uid int, gid int) (err error)
    //sys	Lstat(path string, stat *Stat_t) (err error)
    //sys	Pause() (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured_test.go

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top