mirror of
https://github.com/urbit/shrub.git
synced 2025-01-02 01:25:55 +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.
|
||||
//
|
||||
# ifndef ASAN_ENABLED
|
||||
{
|
||||
getrlimit(RLIMIT_CORE, &rlm);
|
||||
rlm.rlim_cur = RLIM_INFINITY;
|
||||
@ -1545,6 +1546,7 @@ _cm_limits(void)
|
||||
u3l_log("boot: core limit: %s\r\n", strerror(errno));
|
||||
}
|
||||
}
|
||||
# endif
|
||||
}
|
||||
|
||||
/* _cm_signals(): set up interrupts, etc.
|
||||
|
Loading…
Reference in New Issue
Block a user