From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2] syscalls/add_key01: test the length of payload
Date: Thu, 23 Jan 2020 12:13:48 +0100 [thread overview]
Message-ID: <20200123111347.GE27845@rei> (raw)
In-Reply-To: <1579670796-21233-1-git-send-email-xuyang2018.jy@cn.fujitsu.com>
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
next prev parent reply other threads:[~2020-01-23 11:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-19 7:49 [LTP] [PATCH 1/2] syscalls/add_key05: add new test for the length of payload Yang Xu
2020-01-19 7:49 ` [LTP] [PATCH 2/2] syscalls/add_key01: remove duplicated case Yang Xu
2020-01-21 14:50 ` Cyril Hrubis
2020-01-21 15:13 ` [LTP] [PATCH 1/2] syscalls/add_key05: add new test for the length of payload Cyril Hrubis
2020-01-22 1:51 ` Yang Xu
2020-01-22 5:26 ` [LTP] [PATCH v2] syscalls/add_key01: test " Yang Xu
2020-01-23 11:13 ` Cyril Hrubis [this message]
2020-01-23 12:44 ` Yang Xu
2020-01-23 12:56 ` Cyril Hrubis
2020-01-23 13:06 ` Cyril Hrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200123111347.GE27845@rei \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox