From: Petr Vorel <pvorel@suse.cz>
To: Martin Doucha <mdoucha@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 2/2] Add test for ASLRn't bug
Date: Tue, 30 Jan 2024 17:30:42 +0100 [thread overview]
Message-ID: <20240130163042.GA791887@pevik> (raw)
In-Reply-To: <20240117173006.31521-2-mdoucha@suse.cz>
Hi Martin,
> + if (!hpsize) {
> + tst_res(TCONF, "Hugepage support appears to be missing");
> + } else if (libsize < hpsize) {
> + tst_res(TCONF, "The largest dynamic library is smaller than "
> + "hugepage size");
> + tst_res(TCONF, "Please use LD_PRELOAD to add larger library");
very tiny detail: I overlook these 2 TCONF. I understand that your original
version is readable, but I found little confusing:
aslr01.c:161: TCONF: The largest dynamic library is smaller than hugepage size
aslr01.c:162: TCONF: Please use LD_PRELOAD to add larger library
...
Summary:
passed 1
failed 0
broken 0
skipped 2
If you don't mind, I'll join it before merge to a single line:
if (!hpsize) {
tst_res(TCONF, "Hugepage support appears to be missing");
} else if (libsize < hpsize) {
tst_res(TCONF, "The largest dynamic library is smaller than hugepage size, "
"please use LD_PRELOAD to add larger library");
}
aslr01.c:161: TCONF: The largest dynamic library is smaller than hugepage size, please use LD_PRELOAD to add larger library
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2024-01-30 16:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-17 17:30 [LTP] [PATCH 1/2] Add tst_is_compat_mode() helper function Martin Doucha
2024-01-17 17:30 ` [LTP] [PATCH 2/2] Add test for ASLRn't bug Martin Doucha
2024-01-30 11:29 ` Petr Vorel
2024-01-30 12:19 ` Martin Doucha
2024-01-30 12:31 ` Petr Vorel
2024-01-30 16:30 ` Petr Vorel [this message]
2024-01-30 16:32 ` Martin Doucha
2024-01-30 16:53 ` Petr Vorel
2024-01-30 10:30 ` [LTP] [PATCH 1/2] Add tst_is_compat_mode() helper function Petr Vorel
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=20240130163042.GA791887@pevik \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
--cc=mdoucha@suse.cz \
/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