Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 113 for getgid (0.11 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    func Fchown(fd Handle, uid int, gid int) (err error)   { return syscall.EWINDOWS }
    
    func Getuid() (uid int)                  { return -1 }
    func Geteuid() (euid int)                { return -1 }
    func Getgid() (gid int)                  { return -1 }
    func Getegid() (egid int)                { return -1 }
    func Getgroups() (gids []int, err error) { return nil, syscall.EWINDOWS }
    
    type Signal int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getegid() (egid int) {
    	runtime.EnterSyscall()
    	r0, _, _ := CallLeFuncWithErr(GetZosLibVec() + SYS_GETEGID<<4)
    	runtime.ExitSyscall()
    	egid = int(r0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Geteuid() (euid int) {
    	runtime.EnterSyscall()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  3. src/syscall/syscall_linux_test.go

    		filter, expect string
    	}{
    		{call: "Setegid(1)", fn: func() error { return syscall.Setegid(1) }, filter: "Gid:", expect: "\t0\t1\t0\t1"},
    		{call: "Setegid(0)", fn: func() error { return syscall.Setegid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
    
    		{call: "Seteuid(1)", fn: func() error { return syscall.Seteuid(1) }, filter: "Uid:", expect: "\t0\t1\t0\t1"},
    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/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)
  5. src/syscall/exec_unix_test.go

    	"testing"
    	"time"
    )
    
    type command struct {
    	pipe io.WriteCloser
    	proc *exec.Cmd
    	test *testing.T
    }
    
    func (c *command) Info() (pid, pgrp int) {
    	pid = c.proc.Process.Pid
    
    	pgrp, err := syscall.Getpgid(pid)
    	if err != nil {
    		c.test.Fatal(err)
    	}
    
    	return
    }
    
    func (c *command) Start() {
    	if err := c.proc.Start(); err != nil {
    		c.test.Fatal(err)
    	}
    }
    
    func (c *command) Stop() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. 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)
  7. src/runtime/testdata/testprog/lockosthread.go

    		runtime.LockOSThread()
    		if mainTID != 0 && gettid() != mainTID {
    			println("failed to start goroutine on main thread")
    			os.Exit(1)
    		}
    		// Exit with the thread locked, which should exit the
    		// main thread.
    		ready <- true
    	}()
    	<-ready
    	time.Sleep(1 * time.Millisecond)
    	// Check that this goroutine is still running on a different
    	// thread.
    	if mainTID != 0 && gettid() == mainTID {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                    for (final ACE ace : aces) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("ACE:{}", ace);
                        }
                        processAllowedSIDs(file, ace.getSID(), ace.isAllow() ? sidAllowSet : sidDenySet);
                    }
                    responseData.addMetaData(SMB_ALLOWED_SID_ENTRIES, sidAllowSet.toArray(new SID[sidAllowSet.size()]));
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 23 01:54:10 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go

    	// This accessor provides the methods needed to support matching against webhook
    	// predicates
    	namespace.NamespaceSelectorProvider
    	object.ObjectSelectorProvider
    
    	// GetUID gets a string that uniquely identifies the webhook.
    	GetUID() string
    
    	// GetConfigurationName gets the name of the webhook configuration that owns this webhook.
    	GetConfigurationName() string
    
    	// GetRESTClient gets the webhook client
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. src/runtime/testdata/testprog/syscalls_linux.go

    }
    
    func getcwd() (string, error) {
    	if !syscall.ImplementsGetwd {
    		return "", nil
    	}
    	// Use the syscall to get the current working directory.
    	// This is imperative for checking for OS thread state
    	// after an unshare since os.Getwd might just check the
    	// environment, or use some other mechanism.
    	var buf [4096]byte
    	n, err := syscall.Getcwd(buf[:])
    	if err != nil {
    		return "", err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top