We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5f5982 commit e66ef81Copy full SHA for e66ef81
1 file changed
src/musl/common.hpp
@@ -74,6 +74,7 @@ template<typename Fn, typename ...Args>
74
inline auto strace(Fn func, [[maybe_unused]]const char* name, Args&&... args) {
75
if (!kernel::state().allow_syscalls) {
76
fprintf(stderr, "Syscalls not allowed here. Unexpected call to %s - terminating\n", name);
77
+ os::halt();
78
Expects(kernel::state().allow_syscalls);
79
}
80
0 commit comments