mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
fix(userspace/apps/test): make gcc shut up about "infinite recursion detected"
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
a53d41008c
commit
40f46312f8
@ -883,9 +883,12 @@ void fork_bomb_syscall()
|
||||
#endif
|
||||
}
|
||||
|
||||
volatile int __dummy = 0;
|
||||
int fill_stack(void *p)
|
||||
{
|
||||
__attribute__((used)) char buf[512];
|
||||
if (__dummy == 1)
|
||||
return (int)(__UINTPTR_TYPE__)p;
|
||||
char buf[512];
|
||||
return fill_stack(buf);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user