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 13:56:32 +0100 [thread overview]
Message-ID: <20200123125600.GA6762@rei.lan> (raw)
In-Reply-To: <0b715eaf-cb87-8604-a305-5443f4741c9f@163.com>
Hi!
> I don't run this test under an unpriviledged user. Seeing keyrings
> manpages, it said "
> /proc/sys/kernel/keys/maxbytes (since Linux 2.6.26)
> This is the maximum number of bytes of data that a nonroot user can
> hold in the payloads of the keys owned by theuser.
> The default value in this file is 20,000.
Hmm, that means that we should write a test for this limit as well.
> I perfer to add .needs_root in this flag and check this in a new case.
> What do you think about it?
Sounds good, I was thinking the same. So I will fix this and a few minor
things as well and push this patch.
--
Cyril Hrubis
chrubis@suse.cz
next prev parent reply other threads:[~2020-01-23 12:56 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
2020-01-23 12:44 ` Yang Xu
2020-01-23 12:56 ` Cyril Hrubis [this message]
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=20200123125600.GA6762@rei.lan \
--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