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

Li Wang
2018-12-06T10:15:53Z

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