Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 411 for getgid (0.1 sec)

  1. src/runtime/pprof/vminfo_darwin.go

    }
    
    func regionFilename(address uint64) string {
    	buf := make([]byte, _MAXPATHLEN)
    	r := proc_regionfilename(
    		os.Getpid(),
    		address,
    		unsafe.SliceData(buf),
    		int64(cap(buf)))
    	if r == 0 {
    		return ""
    	}
    	return string(buf[:r])
    }
    
    // mach_vm_region and proc_regionfilename are implemented by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 23:35:39 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/TreeConnectResponse.java

     */
    package jcifs.internal;
    
    
    /**
     * @author mbechler
     *
     */
    public interface TreeConnectResponse extends CommonServerMessageBlockResponse {
    
        /**
         * @return tree id
         */
        int getTid ();
    
    
        /**
         * @return service
         */
        String getService ();
    
    
        /**
         * @return whether the share is in DFS
         */
        boolean isShareDfs ();
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/stat_unix.go

    // permission, hasWritePerm reports false if no appropriate permission bit is
    // set even if the current user is root.
    func hasWritePerm(path string, fi fs.FileInfo) bool {
    	if os.Getuid() == 0 {
    		// The root user can access any file, but we still want to default to
    		// read-only mode if the go.mod file is marked as globally non-writable.
    		// (If the user really intends not to be in readonly mode, they can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 963 bytes
    - Viewed (0)
  4. src/os/signal/example_unix_test.go

    // it should abandon its work after a signal is received.
    func ExampleNotifyContext() {
    	ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt)
    	defer stop()
    
    	p, err := os.FindProcess(os.Getpid())
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	// On a Unix-like system, pressing Ctrl+C on a keyboard sends a
    	// SIGINT signal to the process of the program in execution.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/audit/request.go

    		ev.User.Extra = map[string]authnv1.ExtraValue{}
    		for k, v := range user.GetExtra() {
    			ev.User.Extra[k] = authnv1.ExtraValue(v)
    		}
    		ev.User.Groups = user.GetGroups()
    		ev.User.UID = user.GetUID()
    	}
    
    	if attribs.IsResourceRequest() {
    		ev.ObjectRef = &auditinternal.ObjectReference{
    			Namespace:   attribs.GetNamespace(),
    			Name:        attribs.GetName(),
    			Resource:    attribs.GetResource(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go

    	SYS_NTP_ADJTIME          = 176 // { int|sys||ntp_adjtime(struct timex *tp); }
    	SYS_SETGID               = 181 // { int|sys||setgid(gid_t gid); }
    	SYS_SETEGID              = 182 // { int|sys||setegid(gid_t egid); }
    	SYS_SETEUID              = 183 // { int|sys||seteuid(uid_t euid); }
    	SYS_PATHCONF             = 191 // { long|sys||pathconf(const char *path, int name); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  7. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/processenvironment/NativePlatformBackedProcessEnvironment.java

            process.setWorkingDirectory(processDir);
        }
    
        @Override
        public File getProcessDir() {
            return process.getWorkingDirectory();
        }
    
        @Override
        public Long getPid() {
            return (long) process.getProcessId();
        }
    
        @Override
        public void detachProcess() {
            process.detach();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testsanitizers/testdata/tsan11.go

    		exit(EXIT_FAILURE);
    	}
    }
    */
    import "C"
    
    func main() {
    	ch := make(chan os.Signal, 1)
    	signal.Notify(ch, syscall.SIGUSR2)
    
    	C.register_handler(C.int(syscall.SIGUSR1))
    	syscall.Kill(syscall.Getpid(), syscall.SIGUSR1)
    
    	<-ch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. pkg/ctrlz/topics/signals.go

    		fw.RenderHTML(w, tmpl, nil)
    	})
    
    	_ = context.JSONRouter().StrictSlash(true).NewRoute().Methods("PUT", "POST").Path("/SIGUSR1").HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    		err := syscall.Kill(os.Getpid(), syscall.SIGUSR1)
    		if err != nil {
    			w.WriteHeader(http.StatusInternalServerError)
    			return
    		}
    		w.WriteHeader(http.StatusAccepted)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 17:12:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go

    	SYS_NTP_ADJTIME          = 176 // { int|sys||ntp_adjtime(struct timex *tp); }
    	SYS_SETGID               = 181 // { int|sys||setgid(gid_t gid); }
    	SYS_SETEGID              = 182 // { int|sys||setegid(gid_t egid); }
    	SYS_SETEUID              = 183 // { int|sys||seteuid(uid_t euid); }
    	SYS_PATHCONF             = 191 // { long|sys||pathconf(const char *path, int name); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 25.7K bytes
    - Viewed (0)
Back to top