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

lib/uksched: fix docs

Signed-off-by: Nour-eddine Taleb <[email protected]>
Reviewed-by: Adina Smeu <adina.smeu@gm...

5223ae6691e0d8ee449ece64f6f9bde3aaeb7643 authored over 1 year ago by Nour-eddine Taleb <[email protected]>
plat/kvm/x86: Add unwinding information to interrupt/exception handlers

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]>
plat/x86: Add unwind information to system call handler

Without this information debugging tools do not know how to properly
unwind the _ukplat_syscall ...

f87e378199fa87c07e77b36c5c979c9194fb1d93 authored over 1 year ago by Marco Schlumpp <[email protected]>
arch/x86: Add helpers for CFI in assembler code

This introduces helpers for maintaining frame information when using
push and pop in assembler c...

b88c21a231243845cbc155e1c7f0bcccd181a1c5 authored over 1 year ago by Marco Schlumpp <[email protected]>
plat/kvm/x86: Stop unwinding at _libkvmplat_entry2

The _libkvmplat_entry2 function is called using assembler code that
switches stacks. Therefore, ...

ce2e3dae5f8d876e38dcdcf0c3a83850cfb98dc8 authored over 1 year ago by Marco Schlumpp <[email protected]>
lib/nolibc: Implement fputs and puts functions

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]>
lib/nolibc: Implement syslog functions

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]>
lib/nolibc: Define u_(long|int|short_char) for _DEFAULT_SOURCE files

These typedefs are commonly used in BSD code. Most libc libraries define
them by default or for ...

6d07539298dae30eb07f078942563af2be60acd9 authored over 1 year ago by Marco Schlumpp <[email protected]>
lib/nolibc: Introduce strcat/bcopy/bzero functions

The bcopy/bzero originate from BSD, but are often provided by libc on
other systems for compatib...

a3c8bdeaedcb428015e53cd4398a3d91624f1cf0 authored over 1 year ago by Marco Schlumpp <[email protected]>
lib/nolibc: Implement strsep function

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]>
lib/nolibc: Add atol function

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]>
lib/nolibc: strcasecmp function

This function compares two strings case insensitively. The
implementation was taken from the MUS...

6887b143c9cf7f654503895651d920825a2e535f authored over 1 year ago by Marco Schlumpp <[email protected]>
lib/nolibc: Implement exit function

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]>
lib/nolibc: Implement isblank function

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]>
lib/nolibc: Implement random/srandom

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]>
lib/nolibc: Export abort function

This function was already declared in the public stdlib header, but the
symbol name was missing ...

2d2104d9d056a50e6bf2dc0bc07b28cd1dc45796 authored over 1 year ago by Marco Schlumpp <[email protected]>
build: Implement a more robust compiler detection

Instead of checking the compiler executable name, inspect the compiler's
version output. This al...

fe8496f3be22bbd8b4af385b1cfcb9e893bb14f6 authored over 1 year ago by Marco Schlumpp <[email protected]>
lib/uksglist: Add `__nonnull` to relevant `uk_sglist_*` methods

GitHub-Fixes: #730
Signed-off-by: Vineeth Krishna M <[email protected]>
Reviewed-by: Stefan...

1931d14c352354fb2bdef83b3aa83759436232d0 authored over 1 year ago by vineethkm <[email protected]>
plat/kvm/arm: Use 48-bit virtual addressing for PARange >= 52

Latest versions of QEMU (>= 7) might provide a 52-bit physical address
space when passing `max` ...

e1604e97a54c1195368463c0c1f2ccb726dac6d1 authored over 1 year ago by Eduard Vintilă <[email protected]>
lib/ukalloc: Remove unreachable NULL checks

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]>
build: apply `LIBxxx_COMPFLAGS{,-y}` to C++ too

These flags were not being applied to C++ source files. Add them to
`buildrule_cxx`. Also reorde...

63213d863a5feae9e65b9a563fcd2590d0224b90 authored over 1 year ago by Tu Dinh Ngoc <[email protected]>
support/scripts: Change the SECINFO_EXP regex to be more permissive

Currently, the regex for matching the .uk_bootinfo section does
not consider the case of the sec...

eeeefb5e43b9004ebcf3142277326db07096f418 authored over 1 year ago by Florin Postolache <[email protected]>
lib/posix-process: remove clone3 syscall

As clone3 currently does not work, and glibc falls
back to clone if clone3 is not available (tes...

cee6ce09d7206a73389ebe54849f4764c6ebd272 authored over 1 year ago by Ioan-Teodor Teugea <[email protected]>
arch/x86: Add compiler flags for auto host CPU

Previously the `CONFIG_MARCH_X86_64_NATIVE` variable did not add
`-march=native` to CFLAGS, the ...

51860332a6caef0bd22ae5aa2da9a179df6ad0b2 authored over 1 year ago by Andrei Tatar <[email protected]>
uk/arch: Make `ukarch_dec` use `ukarch_fetch_sub`

Change the `ukarch_dec` definition so that it uses `ukarch_fetch_sub`,
being consistent with the...

d97b44883dc5012e8a2f9b7c23ba69f5dfb40aeb authored over 1 year ago by Razvan Virtan <[email protected]>
uk/arch: Add `ukarch_fetch_sub`

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]>
support/scripts: Fix Python ascii codec can't decode byte

The output of objdump can't be decoded using only the ASCII
encoding on some system languages. C...

573c762f82cc4c4ddfdeb3c086fcf0dda5f56c7e authored over 1 year ago by bokket <[email protected]>
lib/devfs: Fix whitespaces in Config.uk

Signed-off-by: Marc Rittinghaus <[email protected]>
Reviewed-by: Razvan Deaconescu <r...

52991153d8b4e8e08377e576166692d046f50160 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/devfs: Remove unused fields and functions

The definition for device objects contain numerous fields which are not
used. In addition, there...

c1e0d66cdde80d53091180f083656f87b5d6f947 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/devfs: Merge device_register and create

This commit merges the device_register() and device_create() functions
to safe a malloc() operat...

d30efab0d0ef6fd88e5a949be1ed4cd342df0479 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/devfs: Adapt stdout to new device_create

The signature and requirements of device_create() changed.
This commit adapts the implementation...

c74485197db84e5a49485e753bbca223d31cee68 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/devfs: Remove unused devops

This commit removes unused operations from the device operations
structure and updates the no-op...

82b28da3c355c3e725878458514d6e716f792413 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/devfs: Reorder includes + fix typo

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]>
lib/ukswrand: Adapt (u)random to new device_create

The signature and requirements of device_create() changed.
This commit adapts the implementation...

cbede5f4b5113a50cbeea37c0180ad4f6a012125 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/devfs: Adapt null/zero to new device_create

The signature and requirements of device_create() changed.
This commit adapts the implementation...

ee977223c3e59c4998ed001e9d5116646993f3b2 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/devfs: Fix device_create() function comment

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]>
lib/devfs: Fix format of include guard

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]>
lib/devfs: Remove unused header file

The devfs.h header file serves no purpose as it potential define for
debug builds is not used an...

fe62dec68c15865d7e2f9219033c2056707937e8 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/vfscore: Remove VAPPEND mode

vfscore defines a VAPPEND mode bit which is only used in
sys_utimensat() and which erroneously o...

15936a17e565ed355f1e9b0b7908487f47bc1f6c authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/vfscore: Fix leak in sys_futimens

Previously, sys_futimens() retrieved a reference to the file
descriptor to get a value for the p...

940bb972db2d6470148064f9c11a511f24051c94 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/vfscore: Check for EBADF in dup2

In contrast to dup3(), dup2() returns the oldfd if oldfd and newfd
are equal. However, the fd st...

488f9c09bfcfbcb9d36aacbc7a68bfe841c0814a authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/vfscore: Fix error checks in sys_utimensat

If successful, asprintf() returns the number of characters written. Due
to the format strings th...

dd1e48e961c8c1e78f5cd196f35ab12b6d7315c4 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/vfscore: Fix zero refcount for stdio

For stdio we use statically allocated VFS structures. However,
for the dentry the reference coun...

5547b6cff8da8e0605d529e6a6c4a08cf7883a76 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/vfscore: sys_utimensat style fixes

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]>
lib/vfscore: Use unlikely() for error checks

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]>
lib/vfscore: Fix multiple issues with dup3

dup3() is broken in multiple ways:
1) the fget() for newfd leaks the the file reference before t...

b314bcfefa14adf6845ed76bda749b62b784e875 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/vfscore: Exit sys_utimensat on all UTIME_OMIT

This commit restructures the sanity checks of the input timespecs
to come before all other check...

c77d461cddb898f77137cbe2fbb19da1e94e064d authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/vfscore: Remove surplus check and fix leak

The dedicated check for a readonly filesystem can be removed
in sys_utimensat(), because it is p...

8331508bbbd401b42afc87cdd6bf7f07b8a5f771 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/vfscore: Linux compatibility for sys_utimensat

Previously, if pathname is either NULL or a relative path, and
dirfd is not AT_FDCWD, dirfd need...

fb4c1276546f29971e1eb646f4f35fbe499e9cee authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/uksched/*: Use per-lcpu variable for current thread

Currently there is a global variable that keeps track of the current
thread that is used by the ...

ab9f08f58550be86cbc3b18ad0b8d80b7b5b290f authored over 1 year ago by Andra Paraschiv <[email protected]>
include/uk/plat/lcpu: Add per-lcpu variable definition

Add a definition for the per-lcpu variable and functionality to
get this variable using the lcpu...

a91016be9999878cf3ff959f37893f29adfe7449 authored over 1 year ago by Andra Paraschiv <[email protected]>
plat/x86: Add `write-combined` page entry attribute

This attribute is useful for memory-mapped devices and can reduce the
amount of transactions nec...

02c72ef7d09a9a41731c8078e7ce225033f22e28 authored over 1 year ago by Marco Schlumpp <[email protected]>
include/arch/x86_64: Add PAT bits

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]>
plat/common/x86: Add PAT MSR

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]>
lib/vfscore: Add README.md file

Provides information about how to interact with the vfscore library,
including details about hie...

02351be7c312d803d5594d707c7b6631abfcfa9d authored over 1 year ago by Radu Nichita <[email protected]>
drivers/virtio: Fix interrupt flag check

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]>
build/Makefile: Force update UK_CONFIG

The builder uses $(UK_CONFIG) to generate files such as
$(KCONFIG_AUTOHEADER) in the build direc...

942acbf65476ead0d1cbd533c5a86b4834afc0df authored over 1 year ago by i.Pear <[email protected]>
lib/9pfs: Add README.md file for 9pfs

Signed-off-by: Delia-Maria Pavel <[email protected]>
Reviewed-by: Stefan Jumarea...

c497de01a3487ba6cedee7cc20bd1d76ae5adadb authored over 1 year ago by Delia-Maria Pavel <[email protected]>
lib/syscall_shim: Add pread64 syscall

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]>
lib/syscall_shim: Add 0x prefix to PT_HEX

Currently, it is hard to know if a value is a hexadecimal or decimal
number if there are no lett...

9452e74c8138761f3a4ee0b9113b1ded4ea017b0 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/syscall_shim: Add stat struct

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]>
lib/syscall_shim: Make printing type optional

Signed-off-by: Marc Rittinghaus <[email protected]>
Reviewed-by: Razvan Deaconescu <r...

2e357e9ecb3578dc010489cbae3444c81ff5d907 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/syscall_shim: Add utsname struct and uname

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]>
lib/syscall_shim: Print PT_OUT only on success

Previously, we are printing buffers and output strings also when the
call fails. However, in tha...

ace7071070a9aaafd73a7e0f9529809c9edd6629 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/syscall_shim: Add timespec struct

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]>
lib/syscall_shim: Add struct printing

This commit adds macros for printing selected members of
struct types in the prsyscall output ju...

fc0333448279b01373ab2f85a2daca826a191fc6 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/syscall_shim: Add (F|R|W|X)_OK and access

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]>
lib/syscall_shim: Add PT_OCTAL to print octals

There are already types for decimal and hexadecimal printing.
This commit adds a type for octals...

74a84623359f41c879ee922b112f9c473c344460 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/posix-event: Implement the EFD_NONBLOCK flag for eventfd

This flag allows conveniently setting O_NONBLOCK without having to use
a separate `fcntl` call.
...

4387f6d537b4d05deb70acfaec56503e2b591108 authored over 1 year ago by Marco Schlumpp <[email protected]>
lib/syscall_shim: Add `syscall` alias to `uk_syscall`

The symbol is required for binaries that were compiled against a Linux
musl and use musl's syste...

dcbb04208421d519f9ffcd73300f4247f498881a authored over 1 year ago by Marco Schlumpp <[email protected]>
lib/posix-event: Add an empty implementation of ioctl to eventfd

The fcntl function will forward fcntl(O_NONBLOCK), to the
underlying vnode `ioctl` op function, ...

7456de17927f08c914cb838baf7b3ae0e87c4876 authored over 1 year ago by Marco Schlumpp <[email protected]>
lib/posix-event: Update `uio_offset` and `uio_resid` on successful reads

This commit updates (on a sucessful read) the `uio_offset` and
`uio_resid` members of the `uio` ...

86fd2b88a37f29226a2e09f215373a04cc23c8c1 authored over 1 year ago by Eduard Vintilă <[email protected]>
lib/9pfs: Fix I/O error with chmod on directories

When we perform a chmod on a directory with the 9P_PROTO_2000U
protocol, the TWSTAT command is u...

0eb933ab2060f7fc9401457ef2b302219261347d authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/9pfs: Add fsync to 9P_PROTO_2000U

Using the unmodified "dont-touch" stat structure in uk_9pfs_setattr is
equivalent to performing ...

6d07017e38fdbdec6037ba6f58daa6670ca7ab74 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/uksignal: Add sigaltstack stub

This commit adds a stub for the sigaltstack system call, which is
necessary to run GO applicatio...

0d1e040d8a31942ef1065e8db5e7ade0700fc872 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/uksglist: Make sure buffers are mapped

With ukvmem and demand-paging enabled it can happen that buffers
supplied to the sglist are not ...

7f7f84e63390aa6dd1cfb848e26bd666d1478ede authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/9pfs: Add truncate to 9P_PROTO_2000U

When providing a length in the stat structure the 9pfs server on the
host will truncate the file...

b2515170789f83f16c750d7b055374e2cc266bed authored over 1 year ago by Marc Rittinghaus <[email protected]>
plat/x86: Enable NX bit when initializing paging

There are a few reasons to enable the NX bit in the paging init routine:
* Setting the bit befor...

ad24ea988cf92b133ae6ecb618cda6b047bdec7f authored over 1 year ago by Marco Schlumpp <[email protected]>
plat/common: Merge `.gcc_except_table`s

These tables are generated by GCC for exception handling. This merges
the individual section tog...

85422c9978b5996c748cd935849063e0b43ccc70 authored over 1 year ago by Marco Schlumpp <[email protected]>
lib/vfscore: Remove _BSD_SOURCE from mount.h

The issue #821 was caused by defining the feature macro `_BSD_SOURCE` in
a header file `include/...

76e6c6016b0547998ef94172127afdcbbbd778a8 authored over 1 year ago by Taehyun Noh <[email protected]>
lib/ukalloc: Ensure the ifpages metadata does not break any alignments

By using the rounded version of the metadata size, we can ensure that
the resulting alignments a...

49b05d9966909c0481a25b2f93a8907a7a022bd6 authored over 1 year ago by Marco Schlumpp <[email protected]>
lib/nolibc: Define max_align_t type

Every scalar type has an alignment requirement that is less than or
equal the alignment requirem...

aac71a817efa72587d7d5c5fad0e655c89dcad81 authored over 1 year ago by Marco Schlumpp <[email protected]>
lib/nolibc: Fix ioctl signature

The signature of ioctl imported from musl uses a signed int as second
argument. This, however, d...

f22c4fbf2805890ac74f5401eff78492ddaddec0 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/vfscore: Enable FIONBIO in fcntl(F_SETFL)

Currently, we are synching FIONBIO to the underlying file
implementation via an ioctl only if FI...

fc9685031e6838450f10a6a50cdb3162268bd455 authored over 1 year ago by Marc Rittinghaus <[email protected]>
lib/nolibc: Prototypes for `pread` and `pwrite`

This commit introduces the prototypes for `pread` and `pwrite` with
nolibc's `<unistd.h>` header...

4d3b65958e6fd63b706b2c118ba437f317301df6 authored over 1 year ago by Simon Kuenzer <[email protected]>
lib/vfscore: Fix error return on symlink syscall

The `sys_symlink()` function returns `ENOENT` if the lookup failed,
instead of the actual error ...

51c1a7271b650e9a520bd6ee642b8139fd46abbe authored over 1 year ago by Stefan Jumarea <[email protected]>
lib/posix-event: Fix type of `revents` pointer

The type of revents is a `short` and not an `int`. This caused
out-of-bounds writes and possibly...

9f2cdfd6566df74792f6148107b6bcfd81c24124 authored over 1 year ago by Marco Schlumpp <[email protected]>
lib/9pfs: Add comments to 9pfs.h file

Signed-off-by: Delia-Maria Pavel <[email protected]>
Reviewed-by: Razvan Deacone...

0117f9621676535ee7dbb4e2a2fdac0ff9a96fb9 authored over 1 year ago by Delia-Maria Pavel <[email protected]>
lib/vfscore: Initialize the fp variable to an empty string

Sometimes the fp local string variable includes data that was
used before e.g. previous file pat...

d74ffab52621e0621bf4c7f08268a82ec742cba3 authored over 1 year ago by Andra Paraschiv <[email protected]>
lib/vfscore: Fix the mountpoint length for the symlink support

Opening a symlink file doesn't successfully complete. The mountpoint
length provided to the func...

cfbbab0d208de6ddcd0d53e0553047e163093822 authored over 1 year ago by Andra Paraschiv <[email protected]>
lib/9pfs: Enable the symlink support for UK_9P_PROTO_2000U 9pfs version

Till now, symlink files could be created / opened only when using the
UK_9P_PROTO_2000L 9pfs ver...

1a2b631324715c4ffd817b992360f0e2d9626b38 authored over 1 year ago by Andra Paraschiv <[email protected]>
lib/ukvmem: Allow non-writable shared file mappings

Non-writable shared file mappings are treated as anonymous read-only file
mappings. Note that an...

53be06c9842d24fd871058aa24483e936e80f65c authored over 1 year ago by Cosmin Vancea <[email protected]>
lib/uk9p: Fix cast to invalid type

req is cast to void*, which is somewhat confusing since the function
returns a struct uk_9pfid *...

8d36f525371cd6725c5f36939fd350ac9a23e123 authored over 1 year ago by Hugo Lefeuvre <[email protected]>
lib/vfscore: Fix potential free(NULL)

This bug was found by Coccinelle with the following spatch:

@@
expression E;
@@

...

1ef685f3962e3f325dc4b807179a29ab8fa86157 authored over 1 year ago by Hugo Lefeuvre <[email protected]>
lib/ukvmem: Compile all source files for ISR context

The main and individual pagefault handlers are executed in an ISR
context. Not marking the files...

eb9f3a92df2019cc962d96255c20df6cf04f5d37 authored over 1 year ago by Marco Schlumpp <[email protected]>
lib/ukdebug: Handle a full tracing buffer correctly

The `__uk_trace_save_arg` function sets the `uk_trace_buffer_free` to
zero. The code previously ...

f45e03cc3edd49238ba0ca39f0a3bf71f5924dab authored over 1 year ago by Marco Schlumpp <[email protected]>
plat/common: Ensure the `.eh_frame` section stays

Using the `CONFIG_OPTIMIZE_DEADELIM` KConfig option adds the
`--gc-sections` command-line flag t...

844d186fb3ba9015db08df8b2c203188d708eeca authored over 1 year ago by Marco Schlumpp <[email protected]>
lib/ukmmap: Unit tests: check mmap/munmap results

I added the unit test (adapted from posix-mmap tests) that call mmap/munmap
and check the result...

ca1de9b96b85bca0dd40bd98b3859fa7975567d2 authored over 1 year ago by Kha Dinh <[email protected]>
lib/ukmmap: replace deprecated WARN_STUBBED

WARN_STUBBED is now replaced by UK_WARN_STUBBED.

Signed-off-by: Kha Dinh <[email protected]>
R...

871697474598f427d3dbe8d9c0965e325ac69765 authored over 1 year ago by Kha Dinh <[email protected]>
build: Detect if `gawk` can be used instead of `awk`

This commit lets the build system pick preferably `gawk` as drop-in
replacement for `awk`. GNU A...

c58c82a6a4de42c3c0dc6973e61bf31a44f36da5 authored over 1 year ago by Simon Kuenzer <[email protected]>