[LTP] [PATCH 8/9] syscalls/ipc: Add shmctl IPC_SET test

Cyril Hrubis chrubis@suse.cz
Mon Sep 7 16:47:51 CEST 2020


Hi!
> Maybe we also need to consider a situation that timestamp is just as
> previous value?
> i.e.
>     if (ds.shm_ctime - old_ctime > 10 || ds.shm_ctime - old_ctime == 0)

I will change that to a range check, I.e. the ds.shm_ctime must be
greater than old_ctime and smaller than old_ctime + 10.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list