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

build: Warn about empty libraries and platforms

Print a warning on the console when libraries and/or platforms are dropped
from the build becaus...

104fed122c41cbdedb03b701c19c38d4974cca34 authored over 3 years ago by Simon Kuenzer <[email protected]>
lib/uksched: Thread creation callbacks

Introduces the ability for libraries to hook into thread creation and
deletion process at `lib/u...

cb907e6cb2d0bdb8aebd5c40277c7d843306de3d authored over 3 years ago by Simon Kuenzer <[email protected]>
include/: No dependency to `lib/ukalloc` for thread contexts

Changes the platform API in a way so that there is no dependency to
`ukalloc` for context creati...

9ca0659f61908e1c0816eda27945ab4af10643c7 authored over 3 years ago by Simon Kuenzer <[email protected]>
include/: Remove libc dependency in `<uk/plat/thread.h>`

Removes the dependency to a libc with the platform header
`<uk/plat/thread.h>`. This is done in ...

56943ad23981b201466ef9b9e983235b6cb3f0c8 authored over 3 years ago by Simon Kuenzer <[email protected]>
lib/uksignal: Use thread creation callbacks for initialization

Make use of thread creation callbacks to initializing `signals_container`
of a thread. This is m...

d39a836cebac48ce0b58929d6ba6ed783ea92d74 authored over 3 years ago by Simon Kuenzer <[email protected]>
lib/ukbus: Increase initialization class to `platform`

Since buses can have dependencies to other basic libraries and require
their early initializatio...

3092e3ccd1a62406af2bd49d47496a0f9e2581de authored over 3 years ago by Simon Kuenzer <[email protected]>
lib/vfscore: Register `mount` to syscall_shim

Register `mount` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu.moga@p...

4a8e92f58e4e0f1d7ac7f743a1d3cedf5e6ca45e authored over 3 years ago by Sergiu Moga <[email protected]>
lib/uktime: Register gettimeofday syscall to syscall shim

Signed-off-by: Razvan Deaconescu <[email protected]>
Reviewed-by: Mocanu Viorel Gabrie...

83631e3b7fdada6c52ba756d8d682cd86ce41364 authored over 3 years ago by Razvan Deaconescu <[email protected]>
lib/posix-user: Register `setuid` to syscall_shim

Register `setuid` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu.moga@...

d30dc01ffc46f4b7c54b300112e4791982a46c72 authored over 3 years ago by Sergiu Moga <[email protected]>
build: Support generating C/C++ headers with pre-processing

Supports generating C/C++ header files by the pre-processing rules
of the build system.

Example...

9c5d18caac9888ebd8db18453874a8164f879fb0 authored over 3 years ago by Simon Kuenzer <[email protected]>
build: `*.in` files as pure pre-processed files

Registers `*.in` files as purely pre-processed files. The idea is
that such generated files can ...

485f9bb2c0180142109503c57628725b74bbe4f6 authored over 3 years ago by Simon Kuenzer <[email protected]>
build: Introduce pre-processing build stage (`preprocess`)

Introduces the pre-process build stage which is executed after
`prepare` and before compiling ob...

99353df83d6e46b0d80a04b718b7f0f5e5151dd9 authored over 3 years ago by Simon Kuenzer <[email protected]>
build: Pre-processing rule for AWK progfiles

Introduces an AWK pre-processing rule as another way for generating source
files based on AWK pr...

11bb1fe8faa84e9463c7dd6696645a20adacc416 authored over 3 years ago by Simon Kuenzer <[email protected]>
build: Per-file flags and includes for M4 pre-processing

Similar to build rules, we add support for specifying file-local
flags and includes to M4 pre-pr...

d32a8564597fe52d8e855b4f5a7036ea268aae3a authored over 3 years ago by Simon Kuenzer <[email protected]>
build: Use secondary expansion for M4 pre-processing

Similar to our build rules, we enable secondary expansion of
flags and includes to M4 pre-proces...

344d78ead8e9e3302004a6b35021d07f01cedcf5 authored over 3 years ago by Simon Kuenzer <[email protected]>
build: Enable extending pre-processing rules

Similar to build rules, we enable extending the supported pre-process
rules. This can be achieve...

1326341caa35b8158b5f2799a337b1e113bed5c2 authored over 3 years ago by Simon Kuenzer <[email protected]>
lib: Clean up library names and put them in the same format

Signed-off-by: Gabriel Mocanu <[email protected]>
Reviewed-by: Alexander Jung <a.jung@lanc...

7a25037b0b32ae6281f480b56b58382e10708c5b authored over 3 years ago by Gabriel Mocanu <[email protected]>
lib/ukmmap: Register `madvise` to syscall_shim

Register `madvise` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu.moga...

43717f07952768a04143416fe53925f9bbb40e8b authored over 3 years ago by Sergiu Moga <[email protected]>
lib/vfscore: Register `sync` to syscall_shim

Register `sync` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu.moga@pr...

4e54f09a3930f0482a90903a5750c036346c7c06 authored almost 4 years ago by Sergiu Moga <[email protected]>
support: checkpatch: Unikraft subject format

Checks and fails with an error when the subject line format is not
following the Unikraft scheme...

5a6cc6a31f7d47075e8fc7ba5bc97b45c9a6c9ed authored almost 4 years ago by Simon Kuenzer <[email protected]>
support: checkpatch: Prefer raw system call definitions

Introduces a warning for system call definitions when
`UK_SYSCALL_DEFINE` and `UK_LLSYSCALL_DEFI...

9b987dce278a2db2a35a42b73f08be1a29a3bbe6 authored almost 4 years ago by Simon Kuenzer <[email protected]>
lib/isrlib: "Interrupt-service-routine"-safe standard functions

Introduces libisr, a library for providing "interrupt-service-routine"-
safe variants of standar...

db7b77e0830a7d192ba9140bf2aa465a0684fa2e authored almost 4 years ago by cristian-vijelie <[email protected]>
lib/uksp: Change default canary to terminator canary

The terminator canary contains different terminator characters
for inputs (e.g., newline) and is...

62d222a2275ff87d4fce88bce878a38e187a7b48 authored almost 4 years ago by Marc Rittinghaus <[email protected]>
lib/ukboot: Fix initialization of canary

Initializing the random stack canary in ukplat_entry() is too
early because at this point lib/uk...

2581f87f43b332369d2a90ea3000b593c3c0b293 authored almost 4 years ago by Marc Rittinghaus <[email protected]>
lib/ukboot: Update stack guard initialization

Use new stack guard initialization function instead of old macro.

Signed-off-by: Marc Rittingha...

fd5779120a5938d5c814583cb0f59046b1756cd3 authored almost 4 years ago by Marc Rittinghaus <[email protected]>
lib/uksp: Replace stack guard initialization code

The existing setup macro sets only the lower 32 bits, even on
64-bit platforms. This commit crea...

be43ae4f4523e38356e938cf2bcef824eb27437d authored almost 4 years ago by Marc Rittinghaus <[email protected]>
lib/ukswrand: Export uk_swrand_fill_buffer()

Adds uk_swrand_fill_buffer to the exported symbols for
use by other unikernel components.

Signe...

9b6d8a08c29c03a785606038ba9bba2f4f59ea54 authored almost 4 years ago by Marc Rittinghaus <[email protected]>
Correct license headers introduced by UPB

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY W...

da81fdae564825413840267832ce4a127212b907 authored almost 4 years ago by Simon Kuenzer <[email protected]>
Correct license headers introduced by UPB

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY W...

1139e6b9dd8df0fd0d4397afc1bc095f566b483e authored almost 4 years ago by Simon Kuenzer <[email protected]>
Correct license headers introduced by UPB

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY W...

3bc7adef7cddae18d54572cf72a80cfceff7a098 authored almost 4 years ago by Simon Kuenzer <[email protected]>
Correct license headers introduced by UPB

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY W...

15bc3cbfccf539cf04d494b2a8eda10732709790 authored almost 4 years ago by Simon Kuenzer <[email protected]>
Correct license headers introduced by UPB

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY W...

3c600ecedb84c4b214ee77a25cfd9b2c4b6c2b3d authored almost 4 years ago by Simon Kuenzer <[email protected]>
Correct license headers introduced by UPB

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY W...

dec1766e2c8db061fbb4a00b6e4ade95b82fcaae authored almost 4 years ago by Simon Kuenzer <[email protected]>
plat/common: Fix section variables for .eh_frame and .eh_frame_hdr

This commit adds missing brackets to the .eh_frame and .eh_frame_hdr
variables.

Signed-off-by: ...

b729b449380372f26c46a9f55e64b910b87e7c6e authored almost 4 years ago by Marc Rittinghaus <[email protected]>
Correct license headers introduced by Arm Ltd.

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY W...

1aca74e5dceef2e50bff0bacbeb3b3900e73e78f authored almost 4 years ago by Simon Kuenzer <[email protected]>
Correct license headers introduced by NEC Laboratories Europe GmbH

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY W...

7fd6797bd5917acc515ef6ddbfa85621f4aacf5f authored almost 4 years ago by Simon Kuenzer <[email protected]>
lib/vfscore: Implement readv and writev

Use do_pwritev and do_preadv to implement readv and writev. The
function removes additional erro...

f8be86bf3fdc20ddfa03fe40aca40dbbfb822502 authored almost 4 years ago by Sharan Santhanam <[email protected]>
lib/vfscore: UK_VFSCORE_NOPOS flag to check seek

When `UK_VFSCORE_NOPOS` is set, seek operation
is not allowed on a file descriptor. ESPIPE is re...

ad59b1b42edc62d3e45e3d95cc510daa10a4760b authored almost 4 years ago by Sharan Santhanam <[email protected]>
lib/vfscore: Perform readv and writev operations

The actual read and write operations are split from the error
checks so, different flavors of re...

fcaacd2aaf51588287f601a765f721dcc8096e55 authored almost 4 years ago by Sharan Santhanam <[email protected]>
lib/vfscore: Neg error and use UK_SYSCALL_R_DEFINE

All flavors of the write/read function return -ve errors. The
syscall is registered using `UK_SY...

d000db8a9b90e4606601615910e7b8a1afc0d8d6 authored almost 4 years ago by Sharan Santhanam <[email protected]>
lib/uksignal: Implement killpg

Implement killpg based on the kill implementation in uksignal.

Signed-off-by: Sharan Santhanam ...

c2525ed154040689a0d8fde6200322824f01362a authored almost 4 years ago by Sharan Santhanam <[email protected]>
plat/kvm: Enable more support page for multiboot

Signed-off-by: Sharan Santhanam <[email protected]>
Reviewed-by: Laurentiu Barbulescu <...

775dc0123e8523008463fe6b28d45b87a836ae89 authored almost 4 years ago by Sharan Santhanam <[email protected]>
Release: v0.5 Tethys

Signed-off-by: Simon Kuenzer <[email protected]>
Signed-off-by: Alexander Jung <a.jung@lan...

b8be82b4a476a3c865061f919f79e345f2862e70 authored almost 4 years ago by Alexander <[email protected]>
lib/posix-libdl: Add dlvsym stub

Signed-off-by: Vlad-Andrei Badoiu <[email protected]>
Reviewed-by: Sergiu Moga <serjueov...

91b26a1b35bce563446b3f0badc471f752bb2efc authored almost 4 years ago by Vlad-Andrei Badoiu <[email protected]>
lib/uksp: Include limits.h

We remove the uk/thread.h import that we previously used
for the STACK_MASK_TOP symbol. This sym...

56c06e537b456662f1d9fd26f01b362edd33a6f1 authored almost 4 years ago by Vlad-Andrei Badoiu <[email protected]>
support/build: Remove newline from echo

Signed-off-by: Vlad-Andrei Badoiu <[email protected]>
Reviewed-by: Sharan Santhanam <sha...

0472a335cdb282fb7425665d963dd02b85d88e5b authored almost 4 years ago by Vlad-Andrei Badoiu <[email protected]>
lib/nolibc: Fix warning on string.h

`strsignal` function can be defined independent of libuksignal
library

Signed-off-by: Sharan Sa...

9dc0cead514feeb0419b38b7900362c965dd86a3 authored almost 4 years ago by Sharan Santhanam <[email protected]>
build/lto: Support LTO on gcc-10

To support LTO with incremental builds, we need to add the
`-flinker-output=nolto-rel` linker fl...

c67d0a09e48786f5241c14ea82087aba6e50e883 authored almost 4 years ago by Sharan Santhanam <[email protected]>
build: Support gcc-10 compilation on Unikraft

When compiling Unikraft with gcc-10, the compiler replace the memset
function with a recursive b...

86fef08ac53b06ce48a4160f8569a3c8d2c2b65c authored almost 4 years ago by Sharan Santhanam <[email protected]>
support/build: Add build functions for clang and gcc check

We add have_gcc and have_clang. We modify gcc_version_ge to
use have_gcc.

Signed-off-by: Alice ...

239517793e4bbe2bcf9d33fef20d999dba4ae8cf authored almost 4 years ago by Vlad-Andrei Badoiu <[email protected]>
build: Add support for clang

We condition the gcc specific flags via have_gcc and the
clang specific flags with have_clang.

...

a95a6f6cb3e1a6347f3991e53a59ee763fc38104 authored almost 4 years ago by Vlad-Andrei Badoiu <[email protected]>
build: Option to configure the compiler

By default, the compiler is GCC. Use COMPILER to set the compiler. For
example, COMPILER=clang.
...

91cb963115c84022ebfe4253e3f6853cfcd305cc authored almost 4 years ago by Vlad-Andrei Badoiu <[email protected]>
Add missing symbols to exportsyms.uk

Signed-off-by: Vlad-Andrei Badoiu <[email protected]>
Reviewed-by: Sharan Santhanam <sha...

41b0b55cafbeffb1058e16c8d47fa1d9c94af096 authored almost 4 years ago by Vlad-Andrei Badoiu <[email protected]>
lib/uksignal: initial code

uksignal provides a basic implementation of signals over Unikraft. It
supports signals between t...

c90579f9c8f497236558e71792dc8de2edf44b80 authored almost 4 years ago by Bernard Rizzo <[email protected]>
lib/posix-process: Register `getpgrp` to syscall_shim

Register `getpgrp` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu.moga...

84585a21d146cf16e9a137ea626cf8019f6e7c16 authored almost 4 years ago by Sergiu Moga <[email protected]>
lib/posix-process: Register `getpriority` to syscall_shim

Register `getpriority` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu....

c75f818fda7d1b5a65f89de250d19e163aa6fe24 authored almost 4 years ago by Sergiu Moga <[email protected]>
lib/posix-process: Register `setpriority` to syscall_shim

Register `setpriority` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu....

8226f9537636e3351275afb9c431e4d5efb3f1f1 authored almost 4 years ago by Sergiu Moga <[email protected]>
lib/posix-process: Register `getsid` to syscall_shim

Register `getsid` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu.moga@...

3743606a5af2c4b075f290672eda8a1d6aec274b authored almost 4 years ago by Sergiu Moga <[email protected]>
lib/posix-process: Register `setsid` to syscall_shim

Register `setsid` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu.moga@...

0eaed8c3384796e699fb94d632926b94afeb7d0b authored almost 4 years ago by Sergiu Moga <[email protected]>
lib/posix-process: Register `setpgid` to syscall_shim

Register `setpgid` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu.moga...

66a72c3f142d8700b0486155c4ee56fe657568c6 authored almost 4 years ago by Sergiu Moga <[email protected]>
lib/posix-user: Register `getuid` to syscall_shim

Register `getuid` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu.moga@...

4418c98f43cbfba6e3b5d6579cddcfbcaa028a34 authored almost 4 years ago by Sergiu Moga <[email protected]>
lib/vfscore: Register `futimesat` to syscall_shim

Register `futimesat` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu.mo...

22118f771f9695c91a59f33ad8b8008215ebcf5d authored almost 4 years ago by Sergiu Moga <[email protected]>
lib/posix-user: Register `getgid` to syscall_shim

Register `getgid` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu.moga@...

1f45385af4907c43675d97860a503b555011b144 authored almost 4 years ago by Sergiu Moga <[email protected]>
lib/posix-user: Register `geteuid` to syscall_shim

Register `geteuid` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu.moga...

277d363553f76b7f2325a6a7a8877f17aab62c66 authored almost 4 years ago by Sergiu Moga <[email protected]>
lib/posix-user: Register `getegid` to syscall_shim

Register `getegid` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu.moga...

1b65e4a569c8021addfe1c459e43685a7d8104a9 authored almost 4 years ago by Sergiu Moga <[email protected]>
lib/ukallocpool: Library skeleton

Registers the library skeleton for ukallocpool.

Signed-off-by: Simon Kuenzer <simon.kuenzer@nec...

a0deff7cd67fbe4908e2b303275fc902f0f40d91 authored almost 4 years ago by Simon Kuenzer <[email protected]>
lib/ukallocpool: Allocate pool on parent allocator

Provides a function that allocates and initializes a pool on a
given parent allocator.

Signed-o...

8c22ba9615626c6e1b7e76c1d7511ee6485a4c1b authored almost 4 years ago by Simon Kuenzer <[email protected]>
lib/ukallocpool: `lib/ukalloc` compatible interface

Provide a ukalloc compatible interface. This enables the usage of pools
with common allocator in...

75e2821f1111afbc8f82ebaad2a4ec169caaa4cd authored almost 4 years ago by Simon Kuenzer <[email protected]>
lib/ukallocpool: Batched allocation

Introduce low-overhead interfaces for batched allocations and batched
freeing of objects.

Signe...

9d8d5d3387c632479b0e81232f5886ac0019f10f authored almost 4 years ago by Simon Kuenzer <[email protected]>
lib/ukallocpool: LIFO pool implementation

Initial implementation of a memory pool (same-sized and fixed-sized object
allocator) following ...

ce357b90790b5bff32c9df6c0569633d8ae78b98 authored almost 4 years ago by Simon Kuenzer <[email protected]>
build: Fix typo when initializing `UK_PREPARE-y`

Fixes a typo when initializing `UK_PREPARE-y` in `/Makefile`

Signed-off-by: Simon Kuenzer <simo...

a7befda0820e52a5cafc3d6747102d6eaff5dbe0 authored almost 4 years ago by Simon Kuenzer <[email protected]>
lib/vfscore: Add missing goto statement in pwritev

The label out_errno in pwritev() is not used, though it should be, as it
is the case with preadv...

d41358bc9df2e9192910a0416f0ba978a4164aa0 authored almost 4 years ago by Razvan Deaconescu <[email protected]>
lib/vfscore: Fix label issue (out_error -> out_errno)

The out_error jump label used by goto in lib/vfscore/main.c is not
properly named. It results in...

85eeb47ddc6b081c8f7aa423ac6798e8fc470b30 authored almost 4 years ago by Razvan Deaconescu <[email protected]>
lib/uktime: Register `nanosleep` to syscall_shim

Register `nanosleep` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu.mo...

50f27f91b6d49107c931e944dbb01c6c4aa738c0 authored almost 4 years ago by Sergiu Moga <[email protected]>
build: Upgrade missing platform to error

This commit turns the missing platform selection into an error.
This is useful when build step i...

8e4546467f2d134db9feef78002420656e3a9276 authored almost 4 years ago by Alexander Jung <[email protected]>
Solved the warnings

Signed-off-by: ARGINT DRAGOS IULIAN <[email protected]>
Reviewed-by: Laurentiu Barbulescu...

a893c811f2cc2eedc568b42c2d5f7ef950dbe1b4 authored almost 4 years ago by ARGINT DRAGOS IULIAN <[email protected]>
solve ukswrand does not generate random numbers

If you configure ukswrand with the platform timestamp
as initial seed, and you'll try to use get...

da79322b9fb1fc4eaa42726001528bcb239676a0 authored almost 4 years ago by dragosargint <[email protected]>
lib/posix-process: Register `getpgid` to syscall_shim

Register `getpgid` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu.moga...

2313cc24b4a74f157221a8c05c19c45e894bc242 authored almost 4 years ago by Sergiu Moga <[email protected]>
lib/vfscore: Register `utimensat` to syscall_shim

Register `utimensat` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu.mo...

22dad40ad59cac7643c7f2995efc49b76358fb17 authored almost 4 years ago by Sergiu Moga <[email protected]>
lib/posix-sysinfo: Register `sethostname` to syscall_shim

Register `sethostname` system call to syscall_shim library.

Signed-off-by: Sergiu Moga <sergiu....

65f4ea383eb3cf022fc973bdcee5b7ff833d018d authored almost 4 years ago by Sergiu Moga <[email protected]>
lib/vfscore: Implement `getcwd` with a raw system call

Implements `getcwd` with a raw system call (`UK_SYSCALL_R_DEFINE`)
instead. This variant should ...

c548bac7c87413be19847ad8b36123557568758a authored almost 4 years ago by Simon Kuenzer <[email protected]>
Cast value to unsigned to avoid undefined behavior

Signed-off-by: Vlad-Andrei Badoiu <[email protected]>
Reviewed-by: Sharan Santhanam <sha...

8f307a2b093509e538dff8b369aea977345d8e7e authored almost 4 years ago by Vlad-Andrei Badoiu <[email protected]>
plat/virtio: virtio_config_get returns >= 0

The 9pfs driver fails to get the configuration when the
virtio_config_get returns a value greate...

6f2a987b45de7273e6241c3291d525490f8393c4 authored about 4 years ago by Sharan Santhanam <[email protected]>
plat/virtio: Add error check for tag name

During virtio-9p configuration get we check for error while getting
the tag length but not the t...

242be8cbbabafda9a44da93d113591bc30135e04 authored about 4 years ago by Sharan Santhanam <[email protected]>
lib/ukblkdev: blkdev.h: Description about interrupts

Signed-off-by: Simon Kuenzer <[email protected]>
Reviewed-by: Laurentiu Barbulescu <lrbarb...

478fdb56aac9649a476a6ab5d01b1c773c1dcdb9 authored about 4 years ago by Simon Kuenzer <[email protected]>
lib/ukblkdev: Provide `uk_blkdev_size()`

This commits provides a shortcut macro for retrieving the block device
size in number of bytes.
...

1d999f5ed58674c4d7f6860c17b46f31cf2c2ef4 authored about 4 years ago by Simon Kuenzer <[email protected]>
lib/ukblkdev: API refactoring: `uk_blkdev_queue_configure()`

For API consistency reasons, this patch renames
`uk_blkdev_queue_setup()` to `uk_blkdev_queue_co...

f07bc408d33e5daf407bff9f347e45ba15bfd02f authored about 4 years ago by Simon Kuenzer <[email protected]>
lib/ukblkdev: blkreq.h: Use UK_BLKREQ_ prefix for states and ops

Instead of using `UK_BLKDEV_REQ_` prefix for `struct uk_blkreq`
states (finished, unfinished) an...

36f91c155b3e0649c8c6069544e870adcb1b7332 authored about 4 years ago by Simon Kuenzer <[email protected]>
lib/ukblkdev: blkreq.h: Use typedef for __sector

Introduces `__sector` with a type definition instead with an alias
macro. This is done for consi...

149f25e61486333104404b85e0fda45c5e0543c6 authored about 4 years ago by Simon Kuenzer <[email protected]>
lib/ukblkdev: blkreq.h: Include <uk/arch/atomic.h>

The header `blkreq.h` uses atomic operations but did not include
`<uk/arch/atomic.h>`.

Signed-o...

3643deb3ac36a3c6f183cfb7e666be26347808a6 authored about 4 years ago by Simon Kuenzer <[email protected]>
lib/ukblkdev: blkdev.h: Include <uk/assert.h>

The header `blkdev.h` uses UK_ASSERT but did not include
`<uk/assert.h>`.

Signed-off-by: Simon ...

9804496f59f57397818317b747e12cacd8466913 authored about 4 years ago by Simon Kuenzer <[email protected]>
lib/posix-user: add more symbols to exportsyms.uk

These symbols were not previously exported. Without these exports,
users get linking errors.

Si...

2e4a891e686f29ff4fe819c6535708393be29605 authored about 4 years ago by Hugo Lefeuvre <[email protected]>
plat/xen: enable XSAVE for PKRU register

This patch is identical to the KVM patch (previous patch).

Signed-off-by: Hugo Lefeuvre <hugo.l...

5a8d660b4a5fd295809a21360393dac8cb45d342 authored about 4 years ago by Hugo Lefeuvre <[email protected]>
plat/kvm: enable XSAVE for PKRU register

According to Intel 64 and IA-32 Architectures Software Developer’s
Manual Vol. 1, Section 13.5.7...

2c0d5c84ff9dd21e39e36e73f4c1f39ea93a9571 authored about 4 years ago by Hugo Lefeuvre <[email protected]>
plat/xen: toggle PKE bit if HAVE_X86PKU is enabled

This patch is identical to the KVM patch.

Signed-off-by: Hugo Lefeuvre <hugo.lefeuvre@mancheste...

33120251920cce794111b011b7a0b792557687a6 authored about 4 years ago by Hugo Lefeuvre <[email protected]>
plat/kvm: toggle PKE bit if HAVE_X86PKU is enabled

Provided that PKU is advertised by cpuid (EAX=7, ECX=0, ECX bit 4),
Memory Protection Keys can b...

1745ec865792b181b4bb3b13ebeac5e154254ebd authored about 4 years ago by Hugo Lefeuvre <[email protected]>
lib/vfscore: Register `getcwd` to syscall_shim

Registers `getcwd` system call to syscall_shim library.

Signed-off-by: Constantin Raducanu <rad...

23ce27daec432c626daf682c423eea977e32ec01 authored about 4 years ago by Constantin Raducanu <[email protected]>
lib/uktime: Register `clock_gettime` to syscall_shim

Registers `clock_gettime` system call to syscall_shim library.

Signed-off-by: Constantin Raduca...

1400c6c473135612d7a257728fafb5b248e7d7af authored about 4 years ago by Constantin Raducanu <[email protected]>
lib/ukmmap: Register `mmap` and `munmap` to syscall_shim

Registers `mmap` and `munmap` system calls to syscall_shim library.

Signed-off-by: Constantin R...

0425961f3dfd5c58bb8d38e58e48628194d9a53d authored about 4 years ago by Constantin Raducanu <[email protected]>
lib/vfscore: Register `getpid` and `getppid` to syscall_shim

Registers `getpid` and `getppid` system call to syscall_shim library.

Signed-off-by: Constantin...

63da9150a9cb1e172760318a14c06599877594d9 authored about 4 years ago by Constantin Raducanu <[email protected]>