refine comment that is possibly misleading
on code that might not turn out to be useful
This commit is contained in:
parent
9e9ad2fe38
commit
9f1c2147be
|
@ -427,11 +427,11 @@ scheme_handle_stack_overflow(Scheme_Object *(*k)(void))
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef LINUX_FIND_STACK_BASE
|
#ifdef LINUX_FIND_STACK_BASE
|
||||||
uintptr_t adjust_stack_base(uintptr_t bnd) {
|
static uintptr_t adjust_stack_base(uintptr_t bnd) {
|
||||||
if (bnd == scheme_get_primordial_thread_stack_base()) {
|
if (bnd == scheme_get_primordial_thread_stack_base()) {
|
||||||
/* The address `base' might be far from the actual stack base
|
/* The address `base' might be far from the actual stack base
|
||||||
if Exec Sheild is enabled. Use "/proc/self/maps" to get
|
if Exec Shield is enabled (in some versions)? Use
|
||||||
exacty the stack base. */
|
"/proc/self/maps" to get exactly the stack base. */
|
||||||
FILE *f;
|
FILE *f;
|
||||||
char *buf;
|
char *buf;
|
||||||
f = fopen("/proc/self/maps", "r");
|
f = fopen("/proc/self/maps", "r");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user