mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
ltp: close mq_close/4-1 testcase when open CONFIG_FDCHECK
Caused the cause will used after free on fd Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
b7b2ba37a1
commit
429f24afbd
2 changed files with 7 additions and 0 deletions
|
|
@ -118,6 +118,10 @@ if(CONFIG_TESTING_LTP)
|
|||
${TESTDIR}/conformance/interfaces/pthread_sigmask/4-1.c
|
||||
${TESTDIR}/conformance/interfaces/sigprocmask/4-1.c)
|
||||
|
||||
if(CONFIG_FDCHECK)
|
||||
list(APPEND BLACKSRCS ${TESTDIR}/conformance/interfaces/mq_close/4-1.c)
|
||||
endif()
|
||||
|
||||
if(NOT CONFIG_LIBC_LOCALTIME)
|
||||
list(APPEND BLACKSRCS
|
||||
${TESTDIR}/conformance/definitions/time_h/34-1-buildonly.c
|
||||
|
|
|
|||
|
|
@ -70,6 +70,9 @@ BLACKSRCS += $(TESTDIR)/conformance/interfaces/clock_nanosleep/1-4.c
|
|||
BLACKSRCS += $(TESTDIR)/conformance/interfaces/pthread_sigmask/18-1.c
|
||||
BLACKSRCS += $(TESTDIR)/conformance/interfaces/pthread_sigmask/4-1.c
|
||||
BLACKSRCS += $(TESTDIR)/conformance/interfaces/sigprocmask/4-1.c
|
||||
ifeq ($(CONFIG_FDCHECK),y)
|
||||
BLACKSRCS += $(TESTDIR)/conformance/interfaces/mq_close/4-1.c
|
||||
endif
|
||||
ifeq ($(CONFIG_LIBC_LOCALTIME),)
|
||||
BLACKSRCS += $(TESTDIR)/conformance/definitions/time_h/34-1-buildonly.c
|
||||
BLACKSRCS += $(TESTDIR)/conformance/definitions/time_h/35-3-buildonly.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue