Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Cloneflags (0.26 sec)

  1. src/syscall/exec_linux_test.go

    func whoamiNEWUSER(t *testing.T, uid, gid int, setgroups bool) *exec.Cmd {
    	t.Helper()
    	testenv.MustHaveExecPath(t, "whoami")
    	cmd := testenv.Command(t, "whoami")
    	cmd.SysProcAttr = &syscall.SysProcAttr{
    		Cloneflags: syscall.CLONE_NEWUSER,
    		UidMappings: []syscall.SysProcIDMap{
    			{ContainerID: 0, HostID: uid, Size: 1},
    		},
    		GidMappings: []syscall.SysProcIDMap{
    			{ContainerID: 0, HostID: gid, Size: 1},
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. src/syscall/exec_linux.go

    	if sys.UidMappings != nil || sys.GidMappings != nil {
    		if err := forkExecPipe(mapPipe[:]); err != nil {
    			err1 = err.(Errno)
    			return
    		}
    	}
    
    	flags = sys.Cloneflags
    	if sys.Cloneflags&CLONE_NEWUSER == 0 && sys.Unshareflags&CLONE_NEWUSER == 0 {
    		flags |= CLONE_VFORK | CLONE_VM
    	}
    	if sys.PidFD != nil {
    		flags |= CLONE_PIDFD
    	}
    	// Whether to use clone3.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. src/runtime/os_linux.go

    	// five but leave SYSVSEM unshared will fail with -EINVAL.
    	//
    	// In non-QEMU environments CLONE_SYSVSEM is inconsequential as we do not
    	// use System V semaphores.
    
    	cloneFlags = _CLONE_VM | /* share memory */
    		_CLONE_FS | /* share cwd, etc */
    		_CLONE_FILES | /* share fd table */
    		_CLONE_SIGHAND | /* share sig handler table */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

            super(config);
            this.fileId = fileId;
            this.fileName = fileName;
        }
    
    
        /**
         * @return the closeFlags
         */
        public final int getCloseFlags () {
            return this.closeFlags;
        }
    
    
        /**
         * @return the creationTime
         */
        public final long getCreationTime () {
            return this.creationTime;
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

        private static final Logger log = LoggerFactory.getLogger(Smb2CloseRequest.class);
    
        private byte[] fileId;
        private final String fileName;
        private int closeFlags;
    
    
        /**
         * @param config
         * @param fileId
         * @param fileName
         */
        public Smb2CloseRequest ( Configuration config, byte[] fileId, String fileName ) {
            super(config, SMB2_CLOSE);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
  6. api/go1.2.txt

    pkg syscall (linux-386), type IPv6MTUInfo struct, Addr RawSockaddrInet6
    pkg syscall (linux-386), type IPv6MTUInfo struct, Mtu uint32
    pkg syscall (linux-386), type SysProcAttr struct, Cloneflags uintptr
    pkg syscall (linux-386-cgo), const CLONE_CHILD_CLEARTID = 2097152
    pkg syscall (linux-386-cgo), const CLONE_CHILD_CLEARTID ideal-int
    pkg syscall (linux-386-cgo), const CLONE_CHILD_SETTID = 16777216
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"SysProcAttr.AdditionalInheritedHandles", Field, 17},
    		{"SysProcAttr.AmbientCaps", Field, 9},
    		{"SysProcAttr.CgroupFD", Field, 20},
    		{"SysProcAttr.Chroot", Field, 0},
    		{"SysProcAttr.Cloneflags", Field, 2},
    		{"SysProcAttr.CmdLine", Field, 0},
    		{"SysProcAttr.CreationFlags", Field, 1},
    		{"SysProcAttr.Credential", Field, 0},
    		{"SysProcAttr.Ctty", Field, 1},
    		{"SysProcAttr.Foreground", Field, 5},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top