genode/repos/os/include/os
Norman Feske fd7001d020 os/vfs.h: don't truncate File_content
The 'File_content' utility throws an exception whenever a file happens
to get truncated during the reading process. But it silently truncates
the data against the specified limit. In practice, exceeding the limit
is usually an error case. This patch enhances the 'File_content' utility
by throwing 'Truncated_during_read' in the limit-exceeded case as well,
in order to ease the diagnosis of such cases.

Issue #4788
2023-03-15 17:05:35 +01:00
..
attached_mmio.h Streamline exception types 2017-05-31 13:16:07 +02:00
buffered_xml.h os/buffered_xml.h: support for generating XML 2020-02-04 15:51:09 +01:00
child_policy_dynamic_rom.h os: use Mutex/Blockade 2020-04-17 12:40:12 +02:00
dither_painter.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
dynamic_rom_session.h os: use Mutex/Blockade 2020-04-17 12:40:12 +02:00
handle_registry.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
packet_allocator.h os: avoid implicit conversions 2021-12-17 15:04:45 +01:00
packet_stream.h nic_router: packet allocation w/o exceptions 2022-08-10 13:33:03 +02:00
path.h os: avoid implicit conversions 2021-12-17 15:04:45 +01:00
pin_driver.h os/pin_driver: support for time-multiplexed in/out 2022-11-17 08:00:35 +01:00
pixel_alpha8.h os: avoid implicit conversions 2021-12-17 15:04:45 +01:00
pixel_rgb565.h os: avoid implicit conversions 2021-12-17 15:04:45 +01:00
pixel_rgb888.h Change pixel format to 32 bits per pixel 2020-06-29 14:22:29 +02:00
pixel_rgba.h os: avoid implicit conversions 2021-12-17 15:04:45 +01:00
reporter.h expanding_report: make expandable for XML node generation 2022-02-15 16:13:53 +01:00
ring_buffer.h os: use Mutex/Blockade 2020-04-17 12:40:12 +02:00
session_policy.h xml_node: change with_sub_node signature 2022-09-19 14:00:33 +02:00
session_requester.h os: avoid using deprecated APIs 2019-01-30 13:49:54 +01:00
static_parent_services.h os: avoid using deprecated APIs 2019-01-30 13:49:54 +01:00
static_root.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
surface.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
texture_rgb565.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
texture_rgb888.h os: avoid implicit conversions 2021-12-17 15:04:45 +01:00
texture.h os: avoid implicit conversions 2021-12-17 15:04:45 +01:00
vfs.h os/vfs.h: don't truncate File_content 2023-03-15 17:05:35 +01:00