mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-22 10:21:04 +00:00
At the startup of python's termios module, a sequence of 'tcgetattr' and 'tcsetattr' calls is executed. If one of those calls fails, the initialization gets canceled. 'tcgetattr' is implemented via ioctl operations on stdout. To let those operations succeed, the default implementation of ioctl ('Plugin::ioctl') cannot be used because it returns -1. Adding a dummy ioctl to the libc_log back end alleviates this problem.