Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

can we have the oposit of noah ? #87

Open
wants to merge 81 commits into
base: bench
Choose a base branch
from
Open

can we have the oposit of noah ? #87

wants to merge 81 commits into from

Conversation

curlynux
Copy link

a Darwin to linux CLI tools ?
to make run programs like iTerm2 or any other open source project 🤷‍♂️

nyuichi and others added 30 commits July 10, 2017 20:18
support macOS High Sierra by removing unnecessary save of VMCS fields
In Linux and POSIX, unlink() is defined to remove the link itself if it is a symoblic link, rather than following the link. Otherwise, we cannot remove cyclic links such as "x -> x".
In Linux and POSIX, if the old path refers to a symbolic link, the link is renamed. Otherwise, we cannot rename links.
In the previous bound check, msync() fails for exactly the same size mm_region.
mmap() should return errno, not panic, if the guest Linux application passed an invalid parameter.
shmat() maps the memory region without executable permission by default, while Noah tries to map the region onto the VM with executable permission, and it fails. It also incorrectly returns the host address instead of the guest address.
sendto() did not use the sockaddr parameter, so implemented it.
socketpair() did not register the returned file descripters internally, causing the subsequent read() to fail.
recvfrom() copied data by the buffer size, but it should copy only the amount actually received.
open() internally uses the "struct file" array. The array is expanded when necessary with realloc(). realloc() may first free the old memory region and then allocate a new region. However, a pointer into the array might be still in use when the array is expanded, causing use-after-free. This patch introduces a two-level page-table-like data structure to avoid reallocating the "struct file" array.
futex() did not implement this, causing pthread_join() to wait forever if FUTEX_WAIT is called after FUTEX_WAKE.
Fix launcher to pass arguments with spaces correctly
Enabling AVX instructions increases the context size, so it is enabled when used for the first time.
Fix getrlimit() to return RLIM_INFINITY
Fix getrlimit() to return EINVAL if a resource value isn't valid.
x86-64 uses rbx as the base register, so preserve it. Fix #56.
kazumi007 and others added 30 commits May 5, 2018 07:42
Fix unlink to return EISDIR when pathname refers to a directory
Better debuging for unhandled VM exit reasons.
add setitimer and getitimer systemcalls
Add a macports Portfile for noah.
…ptions.

The page is generated off the markdown document.
An equivalent Postscript document can be then generated.
Improved the command line handling by providing help.
Add noah(1) manual page with command line options and detailed descri…
Fix crash when directory is specified in elf path
noah is now in the main MacPorts ports collection so update the
instructions to use that.
Update MacPorts installation instructions
Pre-MacOS 16 system clock preliminary support
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.