Linux Test Project
 help / color / mirror / Atom feed
From: linuxtestproject.agent@gmail.com
To: Andrea Cervesato <andrea.cervesato@suse.de>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] syscalls/cma: Handle Yama ptrace_scope in tests
Date: Wed, 14 Oct 2026 16:40:36 +0000	[thread overview]
Message-ID: <20261014164036.9388-1-linuxtestproject.agent@gmail.com> (raw)
In-Reply-To: <20261014-fix_process_vm_writev_permissions-v2-1-17710f74606c@suse.com>

Hi Andrea,

On Wed, 14 Oct 2026, Andrea Cervesato wrote:
> syscalls/cma: Handle Yama ptrace_scope in tests

> diff --git a/testcases/kernel/syscalls/cma/cma.h b/testcases/kernel/syscalls/cma/cma.h
> +	struct tst_cap cap = TST_CAP(TST_CAP_REQ, CAP_SYS_PTRACE);

[High] All three changed tests fail to compile without libcap development
headers: CAP_SYS_PTRACE is undeclared at cma.h:17.
tst_capability.h gets this constant only through the optional
sys/capability.h, and lapi/capability.h has no fallback for it.
Include <linux/capability.h> in cma.h so the tests build without libcap.

Verdict - Needs revision

---
Note:

The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.

Regards,
LTP AI Reviewer

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

      reply	other threads:[~2026-10-14 16:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-14 11:34 [LTP] [PATCH v2] syscalls/cma: Handle Yama ptrace_scope in tests Andrea Cervesato
2026-10-14 16:40 ` linuxtestproject.agent [this message]

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=20261014164036.9388-1-linuxtestproject.agent@gmail.com \
    --to=linuxtestproject.agent@gmail.com \
    --cc=andrea.cervesato@suse.de \
    --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