This repository has been archived by the owner on Jun 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 90
can we have the oposit of noah ? #87
Open
curlynux
wants to merge
81
commits into
bench
Choose a base branch
from
master
base: bench
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
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…
Add mkfifo
Fix crash when directory is specified in elf path
…with a system header file
…t with a system header file
noah is now in the main MacPorts ports collection so update the instructions to use that.
fix sysinfo system call
Fix spelling
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
a Darwin to linux CLI tools ?
to make run programs like iTerm2 or any other open source project 🤷♂️