[LTP] [PATCH v2 1/1] syscalls/mq_timedreceive: convert to new API

Petr Vorel pvorel@suse.cz
Fri Mar 3 14:43:43 CET 2017


Hi Cyril,

> This is still too ugly.
Sorry :-(. Thanks for review and tips!


> Also we should use SAFE_OPEN() for opening the file. And we may as well
> add safe_posix_ipc.h with SAFE_MQ_OPEN().
Ok I'll do it. I was thinking about it some time ago, but thought it wouldn't be worth
just for these few mq_* related tests.

BTW: I suppose tests in testcases/kernel/containers/mqns/ which are using mq_open() via
ltp_syscall should use mq_open() directly, don't they?


Kind regards,
Petr


More information about the ltp mailing list