fe2fc8f6d3
This is not a proper fix. It is just a workaround for the stack smashing detected by gcc in zvol_id. We simply disable the gcc stack protector for now when building the zvol_id udev helper. Once the root cause is resolved this patch should be reverted. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issues #569
15 lines
396 B
Makefile
15 lines
396 B
Makefile
include $(top_srcdir)/config/Rules.am
|
|
|
|
# Disable GCC stack protection for zvol_id. This is a kludge and should be
|
|
# removed once https://github.com/zfsonlinux/zfs/issues/569 is resolved.
|
|
AM_CFLAGS += -fno-stack-protector
|
|
|
|
DEFAULT_INCLUDES += \
|
|
-I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/lib/libspl/include
|
|
|
|
udev_PROGRAMS = zvol_id
|
|
|
|
zvol_id_SOURCES = \
|
|
$(top_srcdir)/cmd/zvol_id/zvol_id_main.c
|