mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-08 04:15:24 +01:00
The motivations for this are complicated, but on musl systems, musl will use its own libssp implementation, so GCC's libssp is not required. Not to mention that GCC's libssp implementation is questionable at best. This is the approach taken by the two major musl distributions - Alpine Linux and Void Linux.
8 lines
253 B
C
8 lines
253 B
C
/*
|
|
* SPDX-FileCopyrightText: 2020 Timo Teräs <timo.teras@iki.fi>
|
|
*
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
extern void __stack_chk_fail(void);
|
|
void __attribute__((visibility ("hidden"))) __stack_chk_fail_local(void) { __stack_chk_fail(); }
|