mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-11 04:48:00 +03:00
u3: skip RLIMIT_CORE under ASan
This commit is contained in:
parent
bea30f8a2c
commit
119fb59d5f
@ -1535,6 +1535,7 @@ _cm_limits(void)
|
|||||||
|
|
||||||
// Moar core.
|
// Moar core.
|
||||||
//
|
//
|
||||||
|
# ifndef ASAN_ENABLED
|
||||||
{
|
{
|
||||||
getrlimit(RLIMIT_CORE, &rlm);
|
getrlimit(RLIMIT_CORE, &rlm);
|
||||||
rlm.rlim_cur = RLIM_INFINITY;
|
rlm.rlim_cur = RLIM_INFINITY;
|
||||||
@ -1545,6 +1546,7 @@ _cm_limits(void)
|
|||||||
u3l_log("boot: core limit: %s\r\n", strerror(errno));
|
u3l_log("boot: core limit: %s\r\n", strerror(errno));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
# endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* _cm_signals(): set up interrupts, etc.
|
/* _cm_signals(): set up interrupts, etc.
|
||||||
|
Loading…
Reference in New Issue
Block a user