Matheus

Results 3 issues of Matheus

The program `xscreensaver-gfx` calls sscanf with `" %f %c"`. However, `%f` is, as far as I can tell, not implemented in [`do_scanf`](https://github.com/managarm/mlibc/blob/f3e45cac82dcc1a90d8d1629e1b3e75d4fffe9df/options/ansi/generic/stdio-stubs.cpp#L351). This causes the program to segfault.

While building GCC in Astral, mlibc accesses invalid memory while allocating memory for the application. The fault happens in [frigg's rbtree implementation](https://github.com/managarm/frigg/blob/0c5b035198ceba6b01253ed9ef328de0b9c6ae6f/include/frg/rbtree.hpp#L330). From what I have managed to gather, this...

bug

`ppoll` is currently implemented using `sigprocmask` and `poll`. It should be implemented as a sysdep instead, so it can do these atomically as expected.

bug
enhancement