[LTP] [PATCH v2] syscalls/add_key01: test the length of payload

Cyril Hrubis chrubis@suse.cz
Thu Jan 23 12:13:48 CET 2020


Hi!
> Seeing add_key manpages, the length of payload for "user"/"logon"
> is 32767, this value is up tp 1M for "big_key". For "keyring" type
> , this value is zero.

This version is nearly good, there are a few minor things I can fix up
before applying.

However the test fails for me unless I run it as root. Looks like any
key that is bigger than certain threshold fails with EDQUOT for me. Have
you tried to run the test as an unpriviledged user?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list