-
-
Notifications
You must be signed in to change notification settings - Fork 166
add cryptix sysdeps - adjusted based on marv's guidelines #1451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Vitriol1744
wants to merge
2
commits into
managarm:master
Choose a base branch
from
Vitriol1744:master
base: master
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
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
subdir(host_machine.cpu_family()) |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.section .text | ||
.global _start | ||
_start: | ||
mov %rsp, %rdi | ||
mov $main, %rsi | ||
call __mlibc_entry | ||
.section .note.GNU-stack,"",%progbitst | ||
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.section .init | ||
.global _init | ||
_init: | ||
push %rax | ||
|
||
.section .fini | ||
.global _fini | ||
_fini: | ||
push %rax | ||
.section .note.GNU-stack,"",%progbits |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.section .init | ||
pop %rax | ||
ret | ||
|
||
.section .fini | ||
pop %rax | ||
ret | ||
.section .note.GNU-stack,"",%progbits |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
if get_option('posix_option').allowed() | ||
libc_sources += files( | ||
'thread_entry.S' | ||
) | ||
endif | ||
|
||
if not headers_only | ||
crt = custom_target( | ||
'crt0', | ||
build_by_default: true, | ||
command: c_compiler.cmd_array() + ['-c', '-o', '@OUTPUT@', '@INPUT@'], | ||
input: 'crt0.S', | ||
output: 'crt0.o', | ||
install: true, | ||
install_dir: get_option('libdir'), | ||
) | ||
|
||
custom_target( | ||
'crti', | ||
build_by_default: true, | ||
command: c_compiler.cmd_array() + ['-c', '-o', '@OUTPUT@', '@INPUT@'], | ||
input: 'crti.S', | ||
output: 'crti.o', | ||
install: true, | ||
install_dir: get_option('libdir'), | ||
) | ||
|
||
custom_target( | ||
'crtn', | ||
build_by_default: true, | ||
command: c_compiler.cmd_array() + ['-c', '-o', '@OUTPUT@', '@INPUT@'], | ||
input: 'crtn.S', | ||
output: 'crtn.o', | ||
install: true, | ||
install_dir: get_option('libdir'), | ||
) | ||
endif |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.section .text | ||
.global __mlibc_spawn_thread | ||
.type __mlibc_spawn_thread, "function" | ||
__mlibc_spawn_thread: | ||
xor %eax, %eax | ||
/* The rest of the args are already in the right registers, | ||
* only need to fixup rcx to r10 | ||
*/ | ||
mov %rcx, %r10 | ||
mov $56, %al | ||
syscall | ||
test %eax, %eax | ||
jnz 1f | ||
xor %ebp, %ebp | ||
pop %rdi | ||
pop %rsi | ||
call __mlibc_enter_thread | ||
hlt | ||
1: | ||
ret | ||
.section .note.GNU-stack,"",%progbits | ||
|
||
|
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
#include <cryptix/syscall.h> | ||
#include <mlibc/elf/startup.h> | ||
|
||
#include <mlibc/debug.hpp> | ||
#include <mlibc/posix-sysdeps.hpp> | ||
#include <stdint.h> | ||
#include <stdio.h> | ||
#include <stdlib.h> | ||
|
||
// defined by the POSIX library | ||
// void __mlibc_initLocale(); | ||
|
||
extern "C" { | ||
unsigned int __mlibc_dev_major(unsigned long long int __dev) { | ||
return ((__dev >> 8) & 0xfff) | ((unsigned int)(__dev >> 32) & ~0xfff); | ||
} | ||
|
||
unsigned int __mlibc_dev_minor(unsigned long long int __dev) { | ||
return (__dev & 0xff) | ((unsigned int)(__dev >> 12) & ~0xff); | ||
} | ||
|
||
unsigned long long int __mlibc_dev_makedev(unsigned int __major, unsigned int __minor) { | ||
return ( | ||
(__minor & 0xff) | ((__major & 0xfff) << 8) | ||
| (((unsigned long long int)(__minor & ~0xff)) << 12) | ||
| (((unsigned long long int)(__major & ~0xfff)) << 32) | ||
); | ||
} | ||
} | ||
|
||
extern "C" uintptr_t *__dlapi_entrystack(); | ||
extern "C" void __dlapi_enter(uintptr_t *); | ||
|
||
extern char **environ; | ||
static mlibc::exec_stack_data __mlibc_stack_data; | ||
|
||
struct LibraryGuard { | ||
LibraryGuard(); | ||
}; | ||
|
||
static LibraryGuard guard; | ||
namespace mlibc { | ||
|
||
int sys_anon_allocate(size_t size, void **pointer); | ||
} | ||
|
||
LibraryGuard::LibraryGuard() { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this here instead of just using the |
||
//__mlibc_initLocale(); | ||
|
||
// Parse the exec() stack. | ||
mlibc::parse_exec_stack(__dlapi_entrystack(), &__mlibc_stack_data); | ||
mlibc::set_startup_data( | ||
__mlibc_stack_data.argc, __mlibc_stack_data.argv, __mlibc_stack_data.envp | ||
); | ||
} | ||
|
||
extern "C" void | ||
__mlibc_entry(uintptr_t *entry_stack, int (*main_fn)(int argc, char *argv[], char *env[])) { | ||
__dlapi_enter(entry_stack); | ||
|
||
auto result = main_fn(__mlibc_stack_data.argc, __mlibc_stack_data.argv, environ); | ||
exit(result); | ||
} |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
libc_sources += files( | ||
'entry.cpp', | ||
'thread.cpp', | ||
) |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
#include <bits/ensure.h> | ||
#include <errno.h> | ||
#include <mlibc/all-sysdeps.hpp> | ||
#include <mlibc/thread.hpp> | ||
#include <stddef.h> | ||
#include <stdint.h> | ||
#include <sys/mman.h> | ||
|
||
namespace mlibc { | ||
extern "C" void __mlibc_enter_thread(void *entry, void *user_arg) { | ||
auto tcb = mlibc::get_current_tcb(); | ||
|
||
while (!__atomic_load_n(&tcb->tid, __ATOMIC_RELAXED)) | ||
mlibc::sys_futex_wait(&tcb->tid, 0, nullptr); | ||
tcb->invokeThreadFunc(entry, user_arg); | ||
|
||
__atomic_store_n(&tcb->didExit, 1, __ATOMIC_RELEASE); | ||
mlibc::sys_futex_wake(&tcb->didExit); | ||
mlibc::sys_thread_exit(); | ||
} | ||
|
||
static constexpr size_t default_stacksize = 0x200000; // 2 mib | ||
int sys_prepare_stack( | ||
void **stack, | ||
void *entry, | ||
void *user_arg, | ||
void *tcb, | ||
size_t *stack_size, | ||
size_t *guard_size, | ||
void **stack_base | ||
) { | ||
(void)tcb; | ||
if (!*stack_size) | ||
*stack_size = default_stacksize; | ||
|
||
uintptr_t map; | ||
if (*stack) { | ||
map = reinterpret_cast<uintptr_t>(*stack); | ||
*guard_size = 0; | ||
} else { | ||
sys_vm_map( | ||
nullptr, | ||
*stack_size + *guard_size, | ||
PROT_NONE, | ||
MAP_PRIVATE | MAP_ANONYMOUS, | ||
-1, | ||
0, | ||
reinterpret_cast<void **>(&map) | ||
); | ||
if (reinterpret_cast<void *>(map) == MAP_FAILED) | ||
return EAGAIN; | ||
int ret = sys_vm_protect( | ||
reinterpret_cast<void *>(map + *guard_size), *stack_size, PROT_READ | PROT_WRITE | ||
); | ||
if (ret) | ||
return EAGAIN; | ||
} | ||
|
||
*stack_base = reinterpret_cast<void *>(map); | ||
auto sp = reinterpret_cast<uintptr_t *>(map + *guard_size + *stack_size); | ||
*--sp = reinterpret_cast<uintptr_t>(user_arg); | ||
*--sp = reinterpret_cast<uintptr_t>(entry); | ||
*stack = reinterpret_cast<void *>(sp); | ||
return 0; | ||
} | ||
} // namespace mlibc |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#include <bits/ensure.h> | ||
#include <cryptix/reboot.hpp> | ||
#include <cryptix/syscall.h> | ||
#include <errno.h> | ||
#include <sys/reboot.h> | ||
|
||
using namespace cryptix; | ||
|
||
RebootCmd cryptix_reboot_cmd(unsigned int what) { | ||
switch (what) { | ||
case 0x01234567: | ||
return RebootCmd::eRestart; | ||
case 0xCDEF0123: | ||
return RebootCmd::eHalt; | ||
case 0x4321FEDC: | ||
return RebootCmd::ePowerOff; | ||
case 0xA1B2C3D4: | ||
return RebootCmd::eRestart2; | ||
case 0xD000FCE2: | ||
return RebootCmd::eSuspend; | ||
case 0x45584543: | ||
return RebootCmd::eKexec; | ||
|
||
default: | ||
break; | ||
} | ||
|
||
return RebootCmd::eUndefined; | ||
} | ||
|
||
int reboot(int what) { | ||
auto cmd = cryptix_reboot_cmd(what); | ||
|
||
auto ret = Syscall(SYS_REBOOT, cmd); | ||
if (auto e = syscall_error(ret); e) { | ||
errno = e; | ||
return -1; | ||
} | ||
|
||
return 0; | ||
} |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/access.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/auxv.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/blkcnt_t.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/blksize_t.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/clockid_t.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/dev_t.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This looks like it shouldn't be checked in - we already have a helper script. |
||
|
||
ln -s ../../../../abis/linux/$1.h $1.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/epoll.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/errno.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/fcntl.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/fsblkcnt_t.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/fsfilcnt_t.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/gid_t.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/in.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/ino_t.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/inotify.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/ioctls.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/ipc.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/limits.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/mode_t.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/mqueue.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/msg.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/nlink_t.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/packet.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/pid_t.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/poll.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/ptrace.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/random.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/reboot.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/resource.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/riscv-hwprobe.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/rlim_t.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/seek-whence.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/shm.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/sigevent.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/signal.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/sigval.h |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../abis/linux/socket.h |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might want to use
GNU_STACK_NOTE
from themlibc-asm/helpers.h
header.