Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
Unikraft
We are developing Unikraft, a fast, secure and opensource unikernel SDK for extreme specialization.
Collective -
Host: opensource -
https://opencollective.com/unikraft
- Website: https://t.co/W6HHOLeiUN
- Code: https://github.com/unikraft/unikraft
This patch introduces the changes needed for iterating through the
"/etc/groups" file. But becau...
When verbose mode is enabled (make V=1), each include command is
printed. This may be helpful fo...
Give mount constant/flags definitions introduced by the libC higher
priority than the internal o...
Avoids the GCC warning: stringop-overflow. The length argument to
`strncpy()` in `gethostname()`...
Fix the return type of mremap and add __unused to its paramters to
prevent unused parameter warn...
Rejecting fd <= 2 is legitimate in some way, since freeing
std(in|out|err) might lead to crash i...
Avoids the warning 'comparison between signed and unsigned integer
expressions' in `netbuf.c`. T...
Update README.md to include links to the project's new website as well
as to the new kraft tool....
+ use continue instead of run after setting the hw breakpoint: the
debugging session is typica...
This is shamelessly copied and adapted from our implementation for
/dev/random device support.
...
github.com/unikraft/unikraft - 7e2e79807d654b8bef7c34195a8cb3cf3acc153a authored almost 5 years ago
We simply introduce the stubs for these functions. They will have to
be implemented later, there...
Prepares the copyright for year 2020.
Signed-off-by: Simon Kuenzer <[email protected]>
github.com/unikraft/unikraft - ebbd2c0f52c090860202e25cef08c2737ed0657f authored almost 5 years agoSuppresses `make` messages about changing the current directory.
Signed-off-by: Simon Kuenzer <...
github.com/unikraft/unikraft - ab2b7f2d79ff2d6c02c4b0670f7cfedb7e7f8b54 authored almost 5 years agoAdd build flag to suppress the destructor warning later bison version
Signed-off-by: Sharan San...
github.com/unikraft/unikraft - 6baa84e6f2509b0ba10d15fe18836406deece9e4 authored almost 5 years ago
Shows the warning about missing `exportsyms.uk` only when verbose
mode (make V=1) is enabled.
S...
github.com/unikraft/unikraft - 3d0cdbddaa59f646b222391cb291b84cb6972f27 authored almost 5 years ago
Uses $(HOSTLN) command definition instead of `ln` directly. This
affects and updates the rules o...
Adds the NEC sponsored logo to the documentation.
Signed-off-by: Simon Kuenzer <simon.kuenzer@n...
github.com/unikraft/unikraft - c50b2e5d058b6d782dda89ae72f4bbf5af6a2e40 authored almost 5 years ago
NEC Laboratories Europe GmbH sponsored a colored variant of the
original Unikraft project logo t...
In the cases of failed allocation, `uk_posix_memalign()` is returning
an errno number but does n...
Adds newlines at the end of messages in sched.c. The message level is
also increased from warnin...
Unlike other source files (Assembly, C, C++), the -no-pie argument was
not handed over to Go com...
Generates a second header containing the syscall numbers. Instead of
using the format SYS_<name>...
As soon as _GNU_SOURCE is defined, the header `grp.h` is referring
to the `FILE` data type. We i...
Fixes a typo in Config.uk which broke the default choice
for the random seed.
Signed-off-by: Si...
github.com/unikraft/unikraft - 8ad32789fd3f9a9a68a72b36f83231cd9a4a4bfc authored almost 5 years ago
Copies atomic.h from Arm64 to Arm32. The functions implemented in this
header are implemented ba...
If align < sizeof(*metadata), metadata_space is set to zero. In this case
ALIGN_UP(intptr + meta...
Using a uintptr_t* to store the return value of uk_palloc does not make
sense here: we want to s...
Whenever len == metalen, the init region has exactly the size of the
allocator metadata. In this...
Updates the debugging documentation: tracepoints
Signed-off-by: Simon Kuenzer <simon.kuenzer@ne...
github.com/unikraft/unikraft - b53605be3d3b6ff683d9be086bf5899b80623ec4 authored almost 5 years ago
Adds the Sphinx extension `autosectionlabel` which automatically
creates labels for each section...
This commit moves the tutorial and getting started pages into
one "unikraft intrinsic" page as t...
Update the documentation with details of the new command-line utility
`kraft`.
Signed-off-by: A...
github.com/unikraft/unikraft - a952768ce80faee2469d1126d1d94cec6e25c8bf authored almost 5 years agoMakes library name shown in the menu inline with the actual library name.
Signed-off-by: Simon ...
github.com/unikraft/unikraft - 33cc02baf8f599d65f760a1accb78cdaa1148d7c authored almost 5 years ago
Signed-off-by: Simon Kuenzer <[email protected]>
Reviewed-by: Vlad-Andrei Badoiu <vlad_and...
Signed-off-by: Simon Kuenzer <[email protected]>
Reviewed-by: Vlad-Andrei Badoiu <vlad_and...
Signed-off-by: Simon Kuenzer <[email protected]>
Reviewed-by: Vlad-Andrei Badoiu <vlad_and...
This patch introduces <uk/prio.h>, helper macros for computing
priority levels with the pre-proc...
Introduces macro constants for the init classes provided with <uk/init.h>.
Signed-off-by: Simon...
github.com/unikraft/unikraft - 18b7074588d7a76cb9fca5926bb511752d959961 authored almost 5 years ago
Signed-off-by: Simon Kuenzer <[email protected]>
Reviewed-by: Vlad-Andrei Badoiu <vlad_and...
In order to be inline with the Unikraft Inittable, we provide 10
priority levels at the Unikraft...
This commit brings the Unikraft constructor definitions closer to the
one of the Unikraft Init t...
This commit brings the Unikraft init table definitions to the same
style as the updated one of t...
Add new allocator helpers uk_pfree_compat, uk_palloc_compat,
uk_realloc_compat and uk_alloc_init...
uk_posix_memalign_ifpages might return out-of-bounds pointers when
alignment is smaller than __...
Remove LIBUKALLOC_IFPAGES config option: currently unikraft does not
compile without since it is...
Change palloc and pfree to take a number of pages instead of an order as
argument.
Number of pa...
github.com/unikraft/unikraft - 18702017f6703e46d7e8e2ba7150427523973d78 authored almost 5 years ago
uk_thread_current indentifies the current stack using STACK_MASK_TOP. As a
consequence the stack...
For the case that a libc is adding buffering `stdout`, we are flushing
`stdout` after printing t...
This commit avoids the compiler warning of the unused variable `tmp`
in `fcntl()`.
Signed-off-b...
github.com/unikraft/unikraft - d089ef79026f59c19feff8afd507654747aac30a authored almost 5 years ago
This commit places a copy nolibc's (v)snprintf function to
ukdebug. ukdebug is going to use it a...
Signed-off-by: Vlad-Andrei Badoiu <[email protected]>
Reviewed-by: Simon Kuenze...
Registers `uname` system call to syscall_shim library. The
implementation is changed to be a raw...
During glibc initialization, the library is doing a `uname` system
call in order to detect the k...
Registers the library with `libposix-sysinfo` to the build. The
previous name `uksysinfo` did no...
Signed-off-by: Hugo Lefeuvre <[email protected]>
Reviewed-by: Simon Kuenzer <simon.kuenzer...
Registers `readlink` system call to syscall_shim library.
Signed-off-by: Simon Kuenzer <simon.k...
github.com/unikraft/unikraft - 9de713470a1140cb7066f90b4ac3347a54b6c658 authored about 5 years agoRegisters `read` and `readv` system calls to syscall_shim library.
Signed-off-by: Simon Kuenzer...
github.com/unikraft/unikraft - 5054ad6f890cc8971ac06b94a57a81855f91d7b2 authored about 5 years agoRegisters `fstat` system call to syscall_shim library.
Signed-off-by: Simon Kuenzer <simon.kuen...
github.com/unikraft/unikraft - 26afd5e5627a0fd2390f3fb4d725ade1aad86657 authored about 5 years agoRegisters `write` system call to syscall_shim library.
Signed-off-by: Simon Kuenzer <simon.kuen...
github.com/unikraft/unikraft - 727358b3088af9c994fc91f7ef40f3b2c721fdbd authored about 5 years ago
Add NULL pointer check to uk_palloc in order to avoid NULL pointer
dereference when palloc is no...
This reverts commit d56a47c2d123c5e46c35d759be1b7dd9bc90b093 and
removes <uk/ctors_prio.h>.
The ...
The functions return a string with the name of a given system call
number. `uk_syscall_name_p()`...
This patch introduces the concept for distinguishing system call
implementations: libc-style and...
Completes the dependencies of each build rule in Makefile.uk.
Signed-off-by: Simon Kuenzer <sim...
github.com/unikraft/unikraft - eaba637e0b7c199873d0f0e10bee142c3b7d1e74 authored about 5 years ago
Ensures that all introduced macros and prototypes are prefixed with
uk, __uk, UK, or __UK. This ...
Update the documentation to reflect the differentiation of raw and
libc-style system call implem...
Provide the option to handle binary system call requests with
libsyscall_shim. Linux-style ABI i...
Implements `_ukplat_syscall()` for KVM. The handler is saving the CPU
registers to the stack and...
_init_syscall() checks if CPU has `syscall`/`sysret` support is
available and enables it. The CP...
Introduces the `HAVE_SYSCALL` feature flag that enables handling of
binary system calls. It is i...
The model-specific registers (MSR) are used for querying and
programming some CPU features on x8...
The `cpuid` instruction is used to query and retrieve information
about supported CPU features.
...
Expose `struct __regs` as part of the architecture headers. This is
inline with what we did for ...
If newfd is open, then POSIX says we have to close it - that's what this
patch aims to achieve. ...
We simply brought back the handling of AT_SYMLINK_NOFOLLOW flag,
just as it was in Osv.
Signed-...
github.com/unikraft/unikraft - a77934b4c8a466136bdabf8f3e71cbda7532f1a4 authored about 5 years ago
Because dumping registers and stack trace on exceptions
should be always printed.
Signed-off-by...
github.com/unikraft/unikraft - 79e92592de9e14232957d755bfbc1f6ae6ed02b7 authored about 5 years agoAdd sysinfo stub, needed by lowjs build.
Signed-off-by: Felipe Huici <[email protected]>
R...
Add readdir_r to exportsyms.uk
Signed-off-by: Felipe Huici <[email protected]>
Reviewed-by...
After commit ae683f4, linuxu fails with a GPF due the wrong definition of
set_tls_pointer, it us...
uk_swrand_fill_buffer fills only 1 byte per step. We fix this
by casting the buffer to __u32 *.
...
This patch adds a new function, _get_random_seed32 for seed generaton. If the
pre-compiled confi...
We move the common function, uk_swrand_fill_buffer, to swrand.c and move
the common definitions ...
ChaCha20 is a cryptographically secure pseudorandom number generator. We replace
the existing im...
We allow getting and setting priority only for the calling process (or its
process group or its ...
... such as vfork() and other members of exec*() family. We also add the
declarations for nolibc...
These functions were here before, they were just waiting to get
resurrected. These functions are...
For pipe2() we have just adapted musl's version. It basically calls pipe()
and apply the flags b...
Copied and tabified from official OsV git repo
https://github.com/cloudius-systems/osv.git, comm...
We need this in order to use lib/uksysinfo with nolibc.
Signed-off-by: Costin Lupu <costin.lupu...
github.com/unikraft/unikraft - 93370275a973dea51b76fc895cdae079d53f5bb3 authored about 5 years agoWe accept a single group ID.
Signed-off-by: Costin Lupu <[email protected]>
Reviewed-by: St...
Signed-off-by: Costin Lupu <[email protected]>
Reviewed-by: Stefan Teodorescu <stefanl.teodo...
This patch reuses and completes the definition of our only supported group.
Signed-off-by: Cost...
github.com/unikraft/unikraft - a7f7517dab4e69669a1ef0a22626bc40578ee3e7 authored about 5 years ago
The stub returns -1 in order to avoid bad memory accesses by the calling
function.
Signed-off-b...
github.com/unikraft/unikraft - d8cf51825d864578050496013fb0318a246e0f51 authored about 5 years ago
The original problem is that assembly source files are compiled
without debugging information. G...
With this patch we attempt to namespace the plat/common headers
to avoid problems with libraries...
Signed-off-by: Costin Lupu <[email protected]>
Reviewed-by: Roxana Nicolescu <nicolescu.roxa...
This commit includes the <uk/print.h> header from the ukdebug library to facilitate
the use of `...
The previous commit introduced an empty file, called
`doc/guides/_static`. It should actually be...
We update all pages of the documentationa and include additional
content such as a tutorial and ...
We introduce the <ctors_prio.h> header as a way for centralizing all the values
for constructor ...