Norman Feske
7932c76d85
nitpicker: add event service
...
Issue #3812
2020-08-25 11:49:43 +02:00
Norman Feske
66c520cdae
Remove stale virtualbox_nic_router.run script
...
The run script is not regularly tested and thereby has become
nonoperational since a long time.
2020-08-25 11:49:43 +02:00
Christian Helmuth
9453287a6b
libc: move current working directory into kernel
2020-08-25 11:49:43 +02:00
Christian Helmuth
40e936911f
libc: remove unused member from Errno
2020-08-25 11:49:43 +02:00
Christian Helmuth
d9121e50c3
libc: translate file-descriptor exhaustion into EMFILE
...
Fixes #3841
2020-08-25 11:49:43 +02:00
Christian Helmuth
cb15f40028
Remove remnants of libc_lxip
...
Issue #2960
2020-08-25 11:49:42 +02:00
Alexander Boettcher
ce1d0464b8
ssh_terminal: destroy libc fd within user context
...
Fixes #3840
2020-08-25 11:49:42 +02:00
Alexander Boettcher
bed531b604
libc: initialize tv struct in pselect
...
Fixes #3839
2020-08-25 11:49:42 +02:00
Christian Helmuth
257b3b6775
libc: cleanup monitor implementation
...
- Explicit types for function and monitor execution results
- Remove pending flag and mutex (pending flag was moved to kernel)
2020-08-25 11:49:42 +02:00
Christian Helmuth
420ed91480
linux_nic_drv: stop receiver thread on congested queue
...
Otherwise, the thread spins on and drops packets.
2020-08-25 11:49:42 +02:00
Christian Prochaska
c6b17be744
vfs/lwip: clear the packet queue in '~Udp_socket_dir()'
...
Fixes #3836
2020-08-25 11:49:42 +02:00
Christian Helmuth
d266f44ef3
libc: free resources on socket creation failure
...
Issue #3766
2020-08-25 11:49:42 +02:00
Christian Helmuth
5a2ac73b69
vfs/lwip: prevent pbuf leakage on ENOTCONN
...
Issue #3766
2020-08-25 11:49:42 +02:00
Christian Helmuth
7996fc45f3
vfs/lwip: signal ENOTCONN via EOF on remote file
...
Issue #3766
2020-08-25 11:49:42 +02:00
Alexander Boettcher
a03a37b1d9
vfs/lwip: avoid leaking of pbuf objects
...
Issue #3766
2020-08-25 11:42:37 +02:00
Christian Helmuth
76ac94f4f2
vfs/lwip: fix pbuf slab-block size
...
Issue #3766
2020-08-25 11:42:37 +02:00
Alexander Boettcher
f4d3231034
cpu_sampler: handle all quota upgrades
...
Beforehand cap_quota upgrades got ignored which leads to non working clients.
Issue #3826
2020-08-25 11:42:37 +02:00
Alexander Boettcher
b7ffeb51aa
cpu_sampler: avoid spinning on unavailable state
...
Fixes #3826
2020-08-25 11:42:37 +02:00
Alexander Boettcher
ed15a46ca4
base: construct child process only once
...
Fixes #3821
2020-08-25 11:42:36 +02:00
Alexander Boettcher
c55a499009
base: remove delayed dispatch from Rpc_entrypoint
...
Fixes #3833
2020-08-25 11:42:36 +02:00
Alexander Boettcher
d1be1281bc
os: use whole memory in Packet_allocator
2020-08-25 11:42:36 +02:00
Christian Prochaska
377dadd461
libc_getaddrinfo.run: fix run script
...
Fixes #3832
2020-08-25 11:42:36 +02:00
Christian Prochaska
353baa9251
libc: add pthread alias functions with underscore
...
The libc calls pthread functions with underscore internally.
Issue #725
2020-08-25 11:42:36 +02:00
Alexander Boettcher
60106ac2c8
base: avoid deadlock and page fault
...
Fixes #3830
2020-08-25 11:42:29 +02:00
Christian Helmuth
de7d4a5523
Replace libc_pipe plugin by VFS pipe plugin
2020-07-30 08:49:24 +02:00
Christian Prochaska
9b6cc75f1c
tool/seccomp: allow 'restart_syscall' on x86_64
...
Fixes #3831
2020-07-30 08:49:23 +02:00
Christian Helmuth
18b26ff595
vfs/pipe: never report read_ready on pipe/out handle
2020-07-30 08:49:23 +02:00
Christian Helmuth
e44ffa02c9
libc: remove redundant dummies (fstatat, stat)
2020-07-30 08:49:23 +02:00
Christian Helmuth
5122917d62
os: declare Path::max_len() const
2020-07-30 08:49:23 +02:00
Alexander Boettcher
3639a1af80
acpi_drv: avoid out-of-bound access to FADT table
...
Fixes #3829
2020-07-30 08:49:23 +02:00
Alexander Boettcher
851b842033
vbox5-generic: use pthread_cond_timedwait for halt
...
use similar implementation as introduced for vbox5-nova
vbox5-nova: avoid Blocking_canceled exception
Related to #3810
2020-07-30 08:49:23 +02:00
Alexander Boettcher
072a00ba18
vbox5: remove ubuntu 14_04 test
2020-07-30 08:49:23 +02:00
Alexander Boettcher
7e0b66835b
vbox5: show serial for ubuntu VMs during autopilot
2020-07-30 08:49:23 +02:00
Alexander Boettcher
73e671893b
nova: remove obsolete local vcpu case
...
Seoul was the last user of Vcpu_same_pd
2020-07-30 08:49:23 +02:00
Christian Prochaska
fd682cd470
hw: check descriptor validity in LPAE lookup
...
Fixes #3828
2020-07-30 08:49:23 +02:00
Norman Feske
bfd94d64ba
pbxa9_drivers: add blit api
...
This is a follow-up fix of "Turn framebuffer drivers into capture
clients".
Fixes #3813
2020-07-30 08:49:23 +02:00
Piotr Tworek
d8539af412
platform_session: Add missing include.
...
The code uses Genode::Attached_dataspace but fails to include header
defining this type.
Fixes #3824
2020-07-30 08:49:23 +02:00
Norman Feske
cd7a6fc9fe
pkg/drivers_interactive-muen: use capture session
...
This is follow-up commit to "Turn framebuffer drivers into capture
client".
Issue #3813
2020-07-30 08:49:23 +02:00
Alexander Boettcher
41380ff769
base: remove Cancelable_lock
...
- base/cancelable_lock.h becomes base/lock.h
- all members become private within base/lock.h
- solely Mutex and Blockade are friends to use base/lock.h
Fixes #3819
2020-07-30 08:49:23 +02:00
Alexander Boettcher
0ed7367c97
vbox5-nova: avoid using semaphore used by Lock
...
Issue #3819
2020-07-20 15:59:47 +02:00
Alexander Boettcher
eab09a2f7c
nova: avoid Blocking_canceled exception in timer
...
Issue #3819
2020-07-20 15:59:47 +02:00
Norman Feske
de795b1a6e
depot: update recipe hashes
2020-07-13 11:33:53 +02:00
Alexander Boettcher
73546a135a
seoul: increase VMM memory for vm_stress*
...
The memory was not sufficient if more than 2 vcpus are used. The test starts
up to 4 vCPUs.
2020-07-13 11:33:15 +02:00
Alexander Boettcher
c888d856ee
vbox5*.run: disable in autopilot usb usage
...
to avoid to spam the log with usb messages about our usb dongle sending
regularly input events
2020-07-13 11:33:15 +02:00
Norman Feske
c81af531a3
Turn framebuffer drivers into capture clients
...
This patch replaces the use of the "Framebuffer" session interface by
the new "Capture" session interface in all framebuffer drivers. Thanks
to this change, those drivers have become mere clients of the nitpicker
GUI server now, and are no longer critical for the liveliness of the GUI
server.
The patch touches the following areas:
- The actual driver components. The new versions of all drivers have
been tested on the respective hardware. Generally, the drivers
have become simpler.
- The drivers_interactive packages for various boards. The drivers
subsystem no longer provides a "Framebuffer" service but needs a
valid route to the "Capture" service provided by nitpicker.
- The driver manager of Sculpt OS.
- This patch changes the role of the test-framebuffer component from a
framebuffer client to a capture server so that drivers (capture clients)
can be directly connected to the test component without the nitpicker
server.
- Framebuffer driver no longer support the unbuffered mode.
- The fb_bench.run script is no longer very meaningful because it
interplays solely with nitpicker, not with the driver directly.
- All run scripts for graphical scenarios and the related depot
archives got adapted to the change.
Fixes #3813
2020-07-13 11:33:15 +02:00
Norman Feske
6743669ab8
nitpicker: report no mode smaller than 1x1 pixels
...
Issue #3812
2020-07-13 11:33:14 +02:00
Norman Feske
320387db89
nitpicker: improve GUI client resize handling
...
This patch replaces meta-data allocation during the resize handling by a
new 'Resizeable_texture' type that has all meta data preallocated.
It also replaces the use of pointer return values with the
'Resizeable_texture::with_texture' method.
Issue #3812
2020-07-13 11:33:14 +02:00
Norman Feske
4cad1a87df
nitpicker: make framebuffer and input optional
...
Nitpicker used to unconditionally request a framebuffer and input
session. With the transition to the new capture/event session
interfaces, this built-in policy does no longer suffice.
This patch introduces the attributes 'request_framebuffer="yes"' and
'request_input="yes"' (with the default values shown) to nitpicker's
<config> node. If setting those attributes to "no", nitpicker won't
request a "Framebuffer" and "Input" session respectively.
Issue #3812
2020-07-13 11:33:14 +02:00
Norman Feske
22cb6dded7
nitpicker: add capture service
...
Issue #3812
2020-07-13 11:33:14 +02:00
Norman Feske
537b317273
nitpicker: handle failed try_alloc_texture
...
Fixes #3782
2020-07-13 11:33:14 +02:00