mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
rump: Add panic message
This commit is contained in:
parent
45b4d6b187
commit
330b0a731c
@ -36,7 +36,6 @@ DUMMY(-1, rumpuser_close)
|
||||
DUMMY(-1, rumpuser_daemonize_begin)
|
||||
DUMMY(-1, rumpuser_daemonize_done)
|
||||
DUMMY(-1, rumpuser_dprintf)
|
||||
DUMMY(-1, rumpuser_exit)
|
||||
DUMMY(-1, rumpuser_iovread)
|
||||
DUMMY(-1, rumpuser_iovwrite)
|
||||
DUMMY(-1, rumpuser_kill)
|
||||
|
@ -291,3 +291,17 @@ int rumpuser_getrandom(void *buf, size_t buflen, int flags, size_t *retp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/**********
|
||||
** Exit **
|
||||
**********/
|
||||
|
||||
void genode_exit(int) __attribute__((noreturn));
|
||||
|
||||
void rumpuser_exit(int status)
|
||||
{
|
||||
if (status == RUMPUSER_PANIC)
|
||||
PERR("Rump panic");
|
||||
|
||||
genode_exit(status);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user