[LTP] syscall02: test invalid syscall number -1
linuxtestproject.agent@gmail.com
linuxtestproject.agent@gmail.com
Tue Jul 14 14:18:27 CEST 2026
Hi Andrea,
On Tue, 14 Jul 2026 12:56:04 +0200, Andrea Cervesato wrote:
> syscall02: test invalid syscall number -1
> Add a test verifying that a raw syscall() with the reserved number -1
> fails with ENOSYS.
The subject and the doc comment inside the test both say "invalid syscall
number -1", but the commit body says "reserved number -1". These terms
carry different meanings. "Reserved" implies deliberate kernel allocation
for a specific purpose, while "invalid" is the user-facing description
for an out-of-range syscall number. Could "reserved" be changed to
"invalid" here to match the subject and the test description block?
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