[LTP] hugemmap/hugemmap41: Migrate ptrace-write-hugepage from libhugetlbfs
linuxtestproject.agent@gmail.com
linuxtestproject.agent@gmail.com
Sun Aug 9 21:37:08 CEST 2026
Hi Pavithra,
On Mon, 10 Aug 2026, Pavithra wrote:
> hugemmap/hugemmap41: Migrate ptrace-write-hugepage from libhugetlbfs
> + SAFE_PTRACE(PTRACE_ATTACH, cpid, NULL, NULL);
Could PTRACE_ATTACH be handled without SAFE_PTRACE() so that EPERM caused
by Yama policy can be reported as TCONF? With ptrace_scope=3 Linux denies
every attach, including requests from root, and the wrapper converts this
expected policy denial to TBROK before the test reaches PTRACE_POKEDATA.
> +/hugetlb/hugemmap/hugemmap41
Could this entry instead be placed in a .gitignore in the hugemmap leaf
directory? LTP requires new test binaries to be ignored in their own test
directory rather than from a parent directory.
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
More information about the ltp
mailing list