[LTP] [PATCH 2/2] lib: build check parameters for tst_brk()

Li Wang liwang@redhat.com
Thu Dec 6 11:15:53 CET 2018


Xiao Yang <yangx.jy@cn.fujitsu.com> wrote:

> Perhaps, we need to distinguish between constants and variables by __builtin_constant_p().

Hmm, I don't think so. If someone pass 'TINFO/TPASS/TTYPO' via
variable, the tst_brk() parameter check will be missed there.

-- 
Regards,
Li Wang


More information about the ltp mailing list