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
Add extern "C" linkage directive to use syscall shim functions in C++
source code.
Signed-off-b...
github.com/unikraft/unikraft - e40a88cdf400a999705432d07bc773919c587d3b authored about 4 years ago
For libraries with lots of object files, such as musl, `make clean` was
failing with "make: exec...
-no-pie is not configurable for LIBLDFLAGS. It is always part of
LIBLDFLAGS, as -Wl,-r enforces ...
The --omagic flag is required for the final linking step, as part of
LDFLAGS.
Signed-off-by: Ra...
github.com/unikraft/unikraft - 11624ce1da68b4894180be8fbabc0ef491128a88 authored about 4 years ago
-no-pie is used as a linking option to disable PIE (Position Independent
Executable). -fno-PIC i...
Signed-off-by: Alexander Jung <[email protected]>
Reviewed-by: Sergiu Moga <sergiu.moga@p...
This commit discards the `has_error` method in favour of in-line checks against
the file descrip...
This commit reorganizes the pread() and pwrite() method such that they rely on
preadv() and pwri...
This commit simply moves the preadv method such that it is
in the same order sequence as the wri...
If path is null and the memory is allocated by us then if size < len
we exit the call without fr...
We add a check for the return value of kernel_args_set.
Signed-off-by: Constantin Raducanu <rad...
github.com/unikraft/unikraft - 096d7f749ba1504c0868f20794f4d46b20489f6d authored about 4 years ago
If virtio_config_get returns an error then tag_len does
not get initialized and the next calloc ...
When mp->m_root is null we don't set an error. We solve
this by setting error equal to ENOMEM.
...
github.com/unikraft/unikraft - f545e7e2f4cd783c0430d32d38ebd04d7430aacc authored about 4 years ago
When vp->v_type == VDIR we jump to out where newdp is freed
via the drele call but newdp has yet...
Registers `flock` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <radu...
github.com/unikraft/unikraft - a33a1b8a42bee4c53715e3dd052cbe13f84b707a authored about 4 years agoRegisters `lstat` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <radu...
github.com/unikraft/unikraft - ed73c97970f00cf01947d59f2ddf02c746634928 authored about 4 years agoRegisters `umask` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <radu...
github.com/unikraft/unikraft - 34c27c6a8886e14d3ab367fe013bacdc70fb3a43 authored about 4 years agoRegisters `preadv` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <rad...
github.com/unikraft/unikraft - 0f6685c81af6488ed77cea94d472e1a2efe39c97 authored about 4 years agoRegisters `fsync` and `fdatasync` system calls to syscall_shim library.
Signed-off-by: Constant...
github.com/unikraft/unikraft - c721c5e6ba8fbbbf2ae8edc55b705256c6c27896 authored about 4 years agoRegisters `rename` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <rad...
github.com/unikraft/unikraft - 6dd9881f207ada86daed8a406904b10f614a24e7 authored about 4 years agoRegisters `rmdir` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <radu...
github.com/unikraft/unikraft - 0b4369462af8a9634236fd6735246103fb36bde0 authored about 4 years agoRegisters `mknod` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <radu...
github.com/unikraft/unikraft - 999222ceec0056b34d1a0c37f11bd6dc5769e5b0 authored about 4 years agoRegisters `utimes` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <rad...
github.com/unikraft/unikraft - 4de245b0010ccb8d1cbc0043dccbbe51cfcc568d authored about 4 years agoRegisters `pwritev` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <ra...
github.com/unikraft/unikraft - 14ab96550d1821f4b5ad9659965847565ce9c824 authored about 4 years agoRegisters `dup2` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <raduc...
github.com/unikraft/unikraft - 51a16dbba7a3d711ff30d6885e0c28f3f157fe25 authored about 4 years agoRegisters `dup3` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <raduc...
github.com/unikraft/unikraft - 2d574fdae2d6e37ff18f807a4cd81564a541653d authored about 4 years agoRegisters `fchdir` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <rad...
github.com/unikraft/unikraft - 78c946a5bbff26e62890d9b35c32bc2254b2ed1a authored about 4 years agoRegisters `link` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <raduc...
github.com/unikraft/unikraft - 1650230318849fa1291cb72d95cbeefb386de585 authored about 4 years agoRegisters `fchmod` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <rad...
github.com/unikraft/unikraft - 126c0b614b84558f5524d8d5ce0a610774ceefec authored about 4 years agoRegisters `chmod` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <radu...
github.com/unikraft/unikraft - f5c08e18a58ef5ff78b14ac55914e5116aea5c8e authored about 4 years agoRegisters `chdir` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <radu...
github.com/unikraft/unikraft - c3689298bd5fa3db9224986ce7c970167cfe8d38 authored about 4 years agoRegisters `fallocate` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <...
github.com/unikraft/unikraft - 2366d8bd537712d6d08feee55937abf5b64c9620 authored about 4 years agoRegisters `faccessat` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <...
github.com/unikraft/unikraft - 399998fa811c3831cceabc2c9b06df8ee97cb0e1 authored about 4 years agoRegisters `access` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <rad...
github.com/unikraft/unikraft - 8cee21298d956891b60de93b92146914ec20170f authored about 4 years agoRegisters `truncate` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <r...
github.com/unikraft/unikraft - 97a1569a123c67944e69d4e426973fdf593870b9 authored about 4 years agoRegisters `ftruncate` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <...
github.com/unikraft/unikraft - a504a0925e1728564f2012de2efe1132c644dd67 authored about 4 years agoRegisters `lseek` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <radu...
github.com/unikraft/unikraft - 670a8110a4438d7efebbdbef7b5d1a6f873c636d authored about 4 years ago
Some system call implementations may not use all arguments which causes
a compiler warning. This...
Registers `close` system call to syscall_shim library.
Signed-off-by: Constantin Raducanu <radu...
github.com/unikraft/unikraft - 62916390e733acddd0b73d72ae5427538e216cd6 authored about 4 years ago
Automatically enables drivers in the configuration when according backend
libraries are enabled....
Provides the option to initialize TLSF as allocator. The option is only made
available when `LIB...
Instead of defining an own maximum size for the command line, in this
commit we use `MAX_GUEST_C...
Checks for errors that may occur during instruction decoding with
libzydis.
Signed-off-by: Simo...
github.com/unikraft/unikraft - 395170360ce6fee03a33ccac2bcaab82ddcec9a5 authored about 4 years ago
Provide two ANSI-colored versions (blue, gray) for each of the
"Powered by" banners.
Signed-off...
github.com/unikraft/unikraft - 3ed5b81c4eb56374a76b2021195703783b51ea23 authored about 4 years ago
Adds additional Unikraft banners to choose from. The "Powered by" banners are
intended to be the...
Colors! This commit makes use of ANSI control sequences to color console
output when activated b...
Provides an option to hide the source code location of each ukdebug
message.
Signed-off-by: Sim...
github.com/unikraft/unikraft - 9f81fbac0d8d4e4c163d69369589a46e3fd94157 authored about 4 years ago
Provide ANSI control sequence helper macros with <uk/plat/console.h>. Those
helpers and definiti...
Use specific 'limits.h' file rather than '<limits.h>' which
may come from another library before...
Use RIP-relative addressing for position independent code (PIC).
Signed-off-by: Razvan Deacones...
github.com/unikraft/unikraft - 89d9008f7dd864f33d1e9b565b627525488c4666 authored over 4 years agoUse RIP-relative addressing for position independent code (PIC).
Signed-off-by: Razvan Deacones...
github.com/unikraft/unikraft - 3dbd2d7492c7a3b574354a91d550a06f71f7b748 authored over 4 years ago
Place the netbuf metadata (`struct netbuf`) at the end of an allocation.
This enables forwarding...
The API function `uk_netbuf_alloc_buf()` gets an alignment parameter which
can be used to reques...
Similar to lib/ukblkdev, we introduce a device info parameter (`struct
uk_netdev_info`) to query...
In order to support flexible location of meta data (`struct uk_netbuf`) as
part of a correspondi...
The file gen_uk_syscall.awk is used to generate the file uk_syscall.c.
The generated code calls ...
The string.h header was not included in uk/bitmap.h and was generating
compiler warnings for imp...
Setting this bit enables page table entries to have the NX bit set, to
have the ability to map p...
This patch sets the max MTU value when retrieving device information and the
alignments used whe...
This commit fixes a typo in the `UK_ETH_FRAME_8021AD_MAXLEN`
definition that causes also a compi...
Update README.md, make it ready for GitHub ✨
Signed-off-by: Alexander Jung <alexander.jung@necl...
github.com/unikraft/unikraft - b611117f5ac8868b7e679e002092d39fd9d352a6 authored over 4 years ago
This patch allows to use the uk/arch/limits.h instead of uk/asm/limits.h
since asm/limits.h cann...
This commit includes support for IEEE 802.1q and IEEE 802.1ad tagged
frames to the recently intr...
einfo returns error when the user does not provide the library
parameters.
Signed-off-by: Shara...
github.com/unikraft/unikraft - 01fa23496b732df6bc12fbd8c64d56144979b434 authored over 4 years ago
Both Ethernet header and payload sizes have the same values for all
network devices.
Signed-off...
github.com/unikraft/unikraft - 703acea6c719b7db1d6914298e17d85ce0e38f8c authored over 4 years ago
At least UK_9P_OEXCL(0x1000) is uint8_t overflowed. To avoid potential
file mode undesigned trun...
tsc_base might remain uninitialized if the TSC clock frequency is retrieved
from the hypervisor....
The starting point of our monotonic clock is currently the initial value
of the TSC, converted t...
The reason for failing to allocate the stack is caused by lack of
memory. This patch adds this i...
This macro counts the number of arguments passed into a macro and
is useful outside of the ukdeb...
This library provides the necessary functionalities for the stack
protector.
A make clean is re...
github.com/unikraft/unikraft - 831b3ba88ad4944299b4379f1c236a8f4ea4080a authored over 4 years ago
This patch adds build option to select different stack protection
levels.
Signed-off-by: Vlad-A...
github.com/unikraft/unikraft - c960a128e8ba72f39cb0dc95c4b48de71ef7a44d authored over 4 years ago
We initialize the canary value right after all the internal libraries
have loaded.
Signed-off-b...
github.com/unikraft/unikraft - 6d34000a20c7ba0f6190433c862e1d7cab07495b authored over 4 years ago
Add ifmalloc, the malloc compatibility interface. This interface
implements a POSIX compliant al...
The uk_netdev_info provides a way to forward information on netdevice
to the network stack. We e...
We extend the uk_netdev to store network stack specific data into
uk_netdev. The size of the of ...
Enable second expansion of the make variables. The build variables
are expanded on execution of ...
The user of uknetdev can pass the ipaddr, gw_addr and subnet as a
library argument. The library ...
The patch adds ip address, netmask and the gateway address as library
argument. The parameters a...
Add menuconfig bindings to select a system-wide allocator.
Initialize the selected allocator in ...
Add ukallocregion, a minimalist region-based allocator.
Note that deallocation is not supported...
github.com/unikraft/unikraft - 344989c70347d2f41e0277482bdfbb6a59091bd8 authored over 4 years ago
Populates _SC_OPEN_MAX with nolibc. lib/posix-sysinfo uses it with
commit f587ed23 "lib/vfscore:...
Provides __PAGE_SIZE with the uk/page.h header.
Signed-off-by: Simon Kuenzer <simon.kuenzer@nec...
github.com/unikraft/unikraft - 405398ebf848978d95806098a4153201be4d68f8 authored over 4 years ago
Every allocation done through the libc malloc wrapper triggers a function
call to uk_alloc_get_d...
Signed-off-by: Hugo Lefeuvre <[email protected]>
Reviewed-by: Daniel Dinca <dincadaniel97@...
The PCI bus was previously enumerated in a brute-force manner, scanning
all device on all buses ...
Always enables UK_LIBC_SYSCALLS as soon as syscall_shim is
disabled. This enables all libc-style...
Adds an option to enable debug messages for the syscall_shim library only.
Signed-off-by: Simon...
github.com/unikraft/unikraft - 40772f7f15d05a7821035987adebb61d229f1d1e authored over 4 years ago
Provides 'print-syscalls' target that lists currently activated
system calls.
Signed-off-by: Si...
github.com/unikraft/unikraft - bc587c8e28f4a451a81a0158c962a325131ad709 authored over 4 years ago
Equivalent to the Unikraft build variables scheme we include
$(UK_PROVIDED_SYSCALLS) as another ...
`uk_syscall6()` and `uk_syscall6_r()` are a variant of `uk_syscall()` and
`uk_syscall_r()` that ...
Improves the `uk_syscall()`, `uk_syscall_r()`, `uk_vsyscall()`, and
`uk_vsyscall_r()` implement...
`uk_syscall_r_fn()` returns a the raw system call handler as function
pointer for a given system...
The macros `UK_SYSCALL_DEFINE()`, `UK_SYSCALL_R_DEFINE()`,
`UK_LLSYSCALL_DEFINE()`, and `UK_LLSY...
virtqueue_create() allocates virtqueue_vring structures dynamically, but
the amount of memory re...
This commit registers the ring buffer implementation micro-library
with Unikraft by including it...
Signed-off-by: Alexander Jung <[email protected]>
Reviewed-by: Costin Lupu <costin.lupu@c...
This includes Unikraft-centric headers and types.
Signed-off-by: Alexander Jung <alexander.jung...
github.com/unikraft/unikraft - c064e0c206f82670c75673a61dc331d699731b4e authored over 4 years agoThis commit addresses issues found using checkpatch:
* return is not a function, parentheses ar...
github.com/unikraft/unikraft - c9d337e72247caf8af93770ef05542c13d12b2ef authored over 4 years agoCopied as it is from the official FreeBSD git mirror.
Commit: c45cce178ce658f81901a45c741b7f3c4...
github.com/unikraft/unikraft - 1a578e953dc32a13dd13dc86c07317819c5bc951 authored over 4 years ago