Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeUidGidMappings (0.26 sec)

  1. src/syscall/exec_linux.go

    	}
    
    	if _, err := Write(fd, data); err != nil {
    		Close(fd)
    		return err
    	}
    
    	return Close(fd)
    }
    
    // writeUidGidMappings writes User ID and Group ID mappings for user namespaces
    // for a process and it is called from the parent process.
    func writeUidGidMappings(pid int, sys *SysProcAttr) error {
    	if sys.UidMappings != nil {
    		uidf := "/proc/" + itoa.Itoa(pid) + "/uid_map"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top