Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 69 for setegid (0.39 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/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: Thu Oct 19 23:33:33 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/build_test.go

    	// BSD mkdir(2) inherits the parent directory group, and other platforms
    	// can inherit the parent directory group via setgid. The test setup (chmod
    	// setgid) will fail if the process does not have the group permission to
    	// the new temporary directory.
    	err = os.Chown(setgiddir, os.Getuid(), os.Getgid())
    	if err != nil {
    		if testenv.SyscallIsNotSupported(err) {
    			t.Skip("skipping: chown is not supported on " + runtime.GOOS)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. src/syscall/exec_libc2.go

    type SysProcAttr struct {
    	Chroot     string      // Chroot.
    	Credential *Credential // Credential.
    	Ptrace     bool        // Enable tracing.
    	Setsid     bool        // Create session.
    	// Setpgid sets the process group ID of the child to Pgid,
    	// or, if Pgid == 0, to the new child's process ID.
    	Setpgid bool
    	// Setctty sets the controlling terminal of the child to
    	// file descriptor Ctty. Ctty must be a descriptor number
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  4. src/syscall/syscall_wasip1.go

    	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)
  5. 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)
  6. src/cmd/vendor/golang.org/x/sys/plan9/syscall_plan9.go

    }
    
    func Gettimeofday(tv *Timeval) error {
    	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)
  7. src/syscall/exec_solaris_test.go

    //go:build solaris
    
    package syscall
    
    import "unsafe"
    
    //go:cgo_import_dynamic libc_Getpgid getpgid "libc.so"
    //go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.so"
    
    //go:linkname libc_Getpgid libc_Getpgid
    //go:linkname libc_Getpgrp libc_Getpgrp
    
    var (
    	libc_Getpgid,
    	libc_Getpgrp libcFunc
    )
    
    func Getpgid(pid int) (pgid int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. src/syscall/exec_aix_test.go

    //go:build aix
    
    package syscall
    
    import "unsafe"
    
    //go:cgo_import_dynamic libc_Getpgid getpgid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.a/shr_64.o"
    
    //go:linkname libc_Getpgid libc_Getpgid
    //go:linkname libc_Getpgrp libc_Getpgrp
    
    var (
    	libc_Getpgid,
    	libc_Getpgrp libcFunc
    )
    
    func Getpgid(pid int) (pgid int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. 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)
  10. src/syscall/syscall_plan9.go

    		return scratch
    	}
    	return int64(r0)
    }
    
    func Gettimeofday(tv *Timeval) error {
    	nsec := nsec()
    	*tv = NsecToTimeval(nsec)
    	return nil
    }
    
    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 Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top