Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/unikraft/unikraft
A next-generation cloud native kernel designed to unlock best-in-class performance, security primitives and efficiency savings.
https://github.com/unikraft/unikraft
Signed-off-by: Nour-eddine Taleb <[email protected]>
Reviewed-by: Adina Smeu <adina.smeu@gm...
This allows debuggers and profilers to unwind past interrupt/exception
handlers.
Signed-off-by:...
7f450a9834e4c31a938e8a59e72006ec9389cc18 authored over 1 year ago by Marco Schlumpp <[email protected]>
Without this information debugging tools do not know how to properly
unwind the _ukplat_syscall ...
This introduces helpers for maintaining frame information when using
push and pop in assembler c...
The _libkvmplat_entry2 function is called using assembler code that
switches stacks. Therefore, ...
These functions were still missing from nolibc.
Signed-off-by: Marco Schlumpp <marco.schlumpp@g...
a391affca8dce75d51f487d43babb3551c03b0d1 authored over 1 year ago by Marco Schlumpp <[email protected]>These functions forward the messages to the ukdebug library.
Signed-off-by: Marco Schlumpp <mar...
721b9a91e651c0c37dd6b5618dea3f3692713bf9 authored over 1 year ago by Marco Schlumpp <[email protected]>
These typedefs are commonly used in BSD code. Most libc libraries define
them by default or for ...
The bcopy/bzero originate from BSD, but are often provided by libc on
other systems for compatib...
This function is an improvement of strtok that originates from BSD.
Signed-off-by: Marco Schlum...
eac4a8dc00c62398eb6eaf54b6eb5f9440bc2230 authored over 1 year ago by Marco Schlumpp <[email protected]>This function is basically atoi with a large output range.
Signed-off-by: Marco Schlumpp <marco...
3f0bc0e8705132f966347d07b0315c8a21fce347 authored over 1 year ago by Marco Schlumpp <[email protected]>
This function compares two strings case insensitively. The
implementation was taken from the MUS...
The behaviour is similar to returning a value from main.
Checkpatch-Ignore: EMBEDDED_FUNCTION_N...
2188d8dcd394cca547de25e82905c200e5971a22 authored over 1 year ago by Marco Schlumpp <[email protected]>This function determines whether the given character is a space or tab.
Signed-off-by: Marco Sc...
fb70e9f5e09d62cb5eca12702620047ff8e4982c authored over 1 year ago by Marco Schlumpp <[email protected]>These functions provide a PRNG and are based on the musl libc library.
Signed-off-by: Marco Sch...
f941a5add83e4023baab26ed1f1c374371bd4e38 authored over 1 year ago by Marco Schlumpp <[email protected]>
This function was already declared in the public stdlib header, but the
symbol name was missing ...
Instead of checking the compiler executable name, inspect the compiler's
version output. This al...
GitHub-Fixes: #730
Signed-off-by: Vineeth Krishna M <[email protected]>
Reviewed-by: Stefan...
Latest versions of QEMU (>= 7) might provide a 52-bit physical address
space when passing `max` ...
These
if (ptr && ...)
will always turn out true due to the preceding
if (!ptr)
This was...
12836a6f3aad94b6904091824e6b46eb7621f4d9 authored over 1 year ago by Hugo Lefeuvre <[email protected]>
These flags were not being applied to C++ source files. Add them to
`buildrule_cxx`. Also reorde...
Currently, the regex for matching the .uk_bootinfo section does
not consider the case of the sec...
As clone3 currently does not work, and glibc falls
back to clone if clone3 is not available (tes...
Previously the `CONFIG_MARCH_X86_64_NATIVE` variable did not add
`-march=native` to CFLAGS, the ...
Change the `ukarch_dec` definition so that it uses `ukarch_fetch_sub`,
being consistent with the...
Add wrapper for the `__atomic_fetch_sub` GNU builtin.
Signed-off-by: Razvan Virtan <razvanvirta...
ad6c5ff13b2370a1b57ad62067f546a422e56919 authored over 1 year ago by Razvan Virtan <[email protected]>
The output of objdump can't be decoded using only the ASCII
encoding on some system languages. C...
Signed-off-by: Marc Rittinghaus <[email protected]>
Reviewed-by: Razvan Deaconescu <r...
The definition for device objects contain numerous fields which are not
used. In addition, there...
This commit merges the device_register() and device_create() functions
to safe a malloc() operat...
The signature and requirements of device_create() changed.
This commit adapts the implementation...
This commit removes unused operations from the device operations
structure and updates the no-op...
Standard headers and uk headers should not be mixed.
Signed-off-by: Marc Rittinghaus <marc.ritt...
e854e400ee07688494e146506f0adcb427226708 authored over 1 year ago by Marc Rittinghaus <[email protected]>
The signature and requirements of device_create() changed.
This commit adapts the implementation...
The signature and requirements of device_create() changed.
This commit adapts the implementation...
The current comment does not state the correct return values.
Signed-off-by: Marc Rittinghaus <...
f40a2c662bc4e104acd819eb4e4e13163bf9a55b authored over 1 year ago by Marc Rittinghaus <[email protected]>The include guard should contain the name of the component.
Signed-off-by: Marc Rittinghaus <ma...
0bf66320f62a0c979224c746c9e14a41c0f70fc9 authored over 1 year ago by Marc Rittinghaus <[email protected]>
The devfs.h header file serves no purpose as it potential define for
debug builds is not used an...
vfscore defines a VAPPEND mode bit which is only used in
sys_utimensat() and which erroneously o...
Previously, sys_futimens() retrieved a reference to the file
descriptor to get a value for the p...
In contrast to dup3(), dup2() returns the oldfd if oldfd and newfd
are equal. However, the fd st...
If successful, asprintf() returns the number of characters written. Due
to the format strings th...
For stdio we use statically allocated VFS structures. However,
for the dentry the reference coun...
This commit fixes a few styling issues in sys_utimensat() and its
utility functions.
Signed-off...
7a2d2d14674c07a1268e0fafe43cd29b68e7fe22 authored over 1 year ago by Marc Rittinghaus <[email protected]>
This commit adds the unlikely() macro to remaining error checks in
sys_utimensat().
Signed-off-...
d0ebe793a34f356033f89caa3dd71048755c1d00 authored over 1 year ago by Marc Rittinghaus <[email protected]>
dup3() is broken in multiple ways:
1) the fget() for newfd leaks the the file reference before t...
This commit restructures the sanity checks of the input timespecs
to come before all other check...
The dedicated check for a readonly filesystem can be removed
in sys_utimensat(), because it is p...
Previously, if pathname is either NULL or a relative path, and
dirfd is not AT_FDCWD, dirfd need...
Currently there is a global variable that keeps track of the current
thread that is used by the ...
Add a definition for the per-lcpu variable and functionality to
get this variable using the lcpu...
This attribute is useful for memory-mapped devices and can reduce the
amount of transactions nec...
This commit adds definitions for configuration of the page attribute
table on x86.
Signed-off-b...
8e25159e99cc291f39e6647286b3a64ada986957 authored over 1 year ago by Marc Rittinghaus <[email protected]>
This commit adds the definition of the page attribute table (PAT)
configuration MSR.
Signed-off...
814aee85f937d5522ddfc25bc42248c9ab3a7008 authored over 1 year ago by Marc Rittinghaus <[email protected]>
Provides information about how to interact with the vfscore library,
including details about hie...
The check used a bit-OR instead of a bit-AND to check whether the flag
is set.
Signed-off-by: M...
bef00e36333dc44216e2e1729f05dd469507ff68 authored over 1 year ago by Marco Schlumpp <[email protected]>
The builder uses $(UK_CONFIG) to generate files such as
$(KCONFIG_AUTOHEADER) in the build direc...
Signed-off-by: Delia-Maria Pavel <[email protected]>
Reviewed-by: Stefan Jumarea...
This commit adds a definition of the pread64 syscall to prsyscall
Signed-off-by: Marc Rittingha...
d976dcb3ac4be54ad86efda4afd7dd789d84a373 authored over 1 year ago by Marc Rittinghaus <[email protected]>
Currently, it is hard to know if a value is a hexadecimal or decimal
number if there are no lett...
This commit adds a definition of the stat struct to prsyscall
Signed-off-by: Marc Rittinghaus <...
acc0061525408e54ec20b33ecca12145a621688b authored over 1 year ago by Marc Rittinghaus <[email protected]>
Signed-off-by: Marc Rittinghaus <[email protected]>
Reviewed-by: Razvan Deaconescu <r...
This commit adds a definition of the utsname struct
and the uname syscall to prsyscall
Signed-o...
26686fcf9c91fc510194ec8000ad4185600d01e5 authored over 1 year ago by Marc Rittinghaus <[email protected]>
Previously, we are printing buffers and output strings also when the
call fails. However, in tha...
This commit adds a definition of the timespec struct to prsyscall
Signed-off-by: Marc Rittingha...
720c20fdc64f8b6b530a86c8588b1ca949f183cf authored over 1 year ago by Marc Rittinghaus <[email protected]>
This commit adds macros for printing selected members of
struct types in the prsyscall output ju...
This commit adds a definition of the (F|R|W|X)_OK flags
and the access syscall
Signed-off-by: M...
534d384e8f7932d6f62d4ef89dc48060d1fd745e authored over 1 year ago by Marc Rittinghaus <[email protected]>
There are already types for decimal and hexadecimal printing.
This commit adds a type for octals...
This flag allows conveniently setting O_NONBLOCK without having to use
a separate `fcntl` call.
...
The symbol is required for binaries that were compiled against a Linux
musl and use musl's syste...
The fcntl function will forward fcntl(O_NONBLOCK), to the
underlying vnode `ioctl` op function, ...
This commit updates (on a sucessful read) the `uio_offset` and
`uio_resid` members of the `uio` ...
When we perform a chmod on a directory with the 9P_PROTO_2000U
protocol, the TWSTAT command is u...
Using the unmodified "dont-touch" stat structure in uk_9pfs_setattr is
equivalent to performing ...
This commit adds a stub for the sigaltstack system call, which is
necessary to run GO applicatio...
With ukvmem and demand-paging enabled it can happen that buffers
supplied to the sglist are not ...
When providing a length in the stat structure the 9pfs server on the
host will truncate the file...
There are a few reasons to enable the NX bit in the paging init routine:
* Setting the bit befor...
These tables are generated by GCC for exception handling. This merges
the individual section tog...
The issue #821 was caused by defining the feature macro `_BSD_SOURCE` in
a header file `include/...
By using the rounded version of the metadata size, we can ensure that
the resulting alignments a...
Every scalar type has an alignment requirement that is less than or
equal the alignment requirem...
The signature of ioctl imported from musl uses a signed int as second
argument. This, however, d...
Currently, we are synching FIONBIO to the underlying file
implementation via an ioctl only if FI...
This commit introduces the prototypes for `pread` and `pwrite` with
nolibc's `<unistd.h>` header...
The `sys_symlink()` function returns `ENOENT` if the lookup failed,
instead of the actual error ...
The type of revents is a `short` and not an `int`. This caused
out-of-bounds writes and possibly...
Signed-off-by: Delia-Maria Pavel <[email protected]>
Reviewed-by: Razvan Deacone...
Sometimes the fp local string variable includes data that was
used before e.g. previous file pat...
Opening a symlink file doesn't successfully complete. The mountpoint
length provided to the func...
Till now, symlink files could be created / opened only when using the
UK_9P_PROTO_2000L 9pfs ver...
Non-writable shared file mappings are treated as anonymous read-only file
mappings. Note that an...
req is cast to void*, which is somewhat confusing since the function
returns a struct uk_9pfid *...
This bug was found by Coccinelle with the following spatch:
@@
expression E;
@@
...
1ef685f3962e3f325dc4b807179a29ab8fa86157 authored over 1 year ago by Hugo Lefeuvre <[email protected]>
The main and individual pagefault handlers are executed in an ISR
context. Not marking the files...
The `__uk_trace_save_arg` function sets the `uk_trace_buffer_free` to
zero. The code previously ...
Using the `CONFIG_OPTIMIZE_DEADELIM` KConfig option adds the
`--gc-sections` command-line flag t...
I added the unit test (adapted from posix-mmap tests) that call mmap/munmap
and check the result...
WARN_STUBBED is now replaced by UK_WARN_STUBBED.
Signed-off-by: Kha Dinh <[email protected]>
R...
This commit lets the build system pick preferably `gawk` as drop-in
replacement for `awk`. GNU A...