[LTP] syscalls: add v7.3 syscall numbers

linuxtestproject.agent@gmail.com linuxtestproject.agent@gmail.com
Mon Aug 31 11:06:33 CEST 2026


Hi Andrea,

On 31 Aug 2026, Andrea Cervesato wrote:
> syscalls: add v7.3 syscall numbers

--- [PATCH 4/16] ---

> +fchroot01 fchroot01

Medium: Linux 7.3 is stable, so this released syscall test belongs in the
regular syscall runtest file rather than the staging-only suite.

> +static struct tst_test test = {
> +	.setup = setup,
> +	.test_all = run,
> +	.needs_root = 1,
> +	.needs_tmpdir = 1,
> +	.forks_child = 1,
> +};

Medium: Add `.min_kver = "7.3"`. On older kernels the direct syscall returns
ENOSYS and the test reports TFAIL instead of TCONF.

--- [PATCH 5/16] ---

> +fchroot02 fchroot02

Medium: Linux 7.3 is stable, so this entry belongs in the regular syscall
runtest file rather than the staging-only suite.

> +static struct tst_test test = {
> +	.test = run,
> +	.tcnt = ARRAY_SIZE(tcases),
> +	.setup = setup,
> +	.cleanup = cleanup,
> +	.needs_tmpdir = 1,
> +};

Medium: Add `.min_kver = "7.3"` so older kernels skip instead of reporting
TFAIL when the syscall returns ENOSYS.

--- [PATCH 6/16] ---

> +fchroot03 fchroot03

Medium: Linux 7.3 is stable, so this entry belongs in the regular syscall
runtest file rather than the staging-only suite.

> +static struct tst_test test = {
> +	.test = run,
> +	.tcnt = ARRAY_SIZE(tcases),
> +	.setup = setup,
> +	.needs_root = 1,
> +	.needs_tmpdir = 1,
> +	.forks_child = 1,
> +};

Medium: Add `.min_kver = "7.3"` so older kernels skip instead of reporting
TFAIL when the syscall returns ENOSYS.

--- [PATCH 7/16] ---

> +fchroot04 fchroot04

Medium: Linux 7.3 is stable, so this entry belongs in the regular syscall
runtest file rather than the staging-only suite.

> +static struct tst_test test = {
> +	.test_all = run,
> +	.needs_root = 1,
> +	.needs_tmpdir = 1,
> +	.forks_child = 1,
> +};

Medium: Add `.min_kver = "7.3"` so older kernels skip instead of reporting
TFAIL when the syscall returns ENOSYS.

--- [PATCH 8/16] ---

> +fchroot05 fchroot05

Medium: Linux 7.3 is stable, so this entry belongs in the regular syscall
runtest file rather than the staging-only suite.

> +static struct tst_test test = {
> +	.test_all = run,
> +	.needs_root = 1,
> +	.forks_child = 1,
> +};

Medium: Add `.min_kver = "7.3"` so older kernels skip instead of reporting
TFAIL when the syscall returns ENOSYS.

--- [PATCH 9/16] ---

> +fchroot06 fchroot06

Medium: Linux 7.3 is stable, so this entry belongs in the regular syscall
runtest file rather than the staging-only suite.

> +static struct tst_test test = {
> +	.setup = setup,
> +	.test_all = run,
> +	.needs_root = 1,
> +	.needs_tmpdir = 1,
> +	.forks_child = 1,
> +};

Medium: Add `.min_kver = "7.3"` so older kernels skip instead of reporting
TFAIL when the syscall returns ENOSYS.

--- [PATCH 10/16] ---

> +fchroot07 fchroot07

Medium: Linux 7.3 is stable, so this entry belongs in the regular syscall
runtest file rather than the staging-only suite.

> +static struct tst_test test = {
> +	.setup = setup,
> +	.test_all = run,
> +	.needs_root = 1,
> +	.forks_child = 1,
> +	.child_needs_reinit = 1,
> +};

Medium: Add `.min_kver = "7.3"` so older kernels skip instead of reporting
TFAIL when the syscall returns ENOSYS.

--- [PATCH 11/16] ---

> +fchroot08 fchroot08

Medium: Linux 7.3 is stable, so this entry belongs in the regular syscall
runtest file rather than the staging-only suite.

> +static struct tst_test test = {
> +	.test_all = run,
> +	.setup = setup,
> +	.needs_root = 1,
> +	.forks_child = 1,
> +	.needs_tmpdir = 1,
> +};

Medium: Add `.min_kver = "7.3"` so older kernels skip instead of reporting
TFAIL when the syscall returns ENOSYS.

--- [PATCH 12/16] ---

> +fchroot09 fchroot09

Medium: Linux 7.3 is stable, so this entry belongs in the regular syscall
runtest file rather than the staging-only suite.

> + * back out require ``CAP_SYS_CHROOT``. The remaining way out is a pre-opened
> + * mount namespace file descriptor: :manpage:`setns(2)` into it resets both the

Low: A pre-opened directory fd also permits a privileged process to escape
with `fchroot()`, or with `fchdir()` followed by `chroot(".")`. Describe
`setns()` as one escape mechanism rather than the remaining one.

> +static struct tst_test test = {
> +	.test_all = run,
> +	.setup = setup,
> +	.needs_root = 1,
> +	.forks_child = 1,
> +	.needs_tmpdir = 1,
> +};

Medium: Add `.min_kver = "7.3"` so older kernels skip instead of reporting
TFAIL when the syscall returns ENOSYS.

--- [PATCH 13/16] ---

> +fchroot10 fchroot10

Medium: Linux 7.3 is stable, so this entry belongs in the regular syscall
runtest file rather than the staging-only suite.

> +static struct tst_test test = {
> +	.setup = setup,
> +	.test_all = run,
> +	.needs_root = 1,
> +	.forks_child = 1,
> +};

Medium: Add `.min_kver = "7.3"` so older kernels skip instead of reporting
TFAIL when the syscall returns ENOSYS.

--- [PATCH 14/16] ---

> +fchroot11 fchroot11

Medium: Linux 7.3 is stable, so this entry belongs in the regular syscall
runtest file rather than the staging-only suite.

> +	TST_EXP_FAIL(unshare(CLONE_NEWUSER), EPERM,
> +		"user namespace creation blocked by the failfs root");

Medium: EPERM can also come from `security_create_user_ns()` or a policy that
disables unprivileged user namespaces, producing a false pass. First verify
in a separate child, before entering failfs, that this user can create a user
namespace; skip if it cannot.

> +static struct tst_test test = {
> +	.setup = setup,
> +	.test_all = run,
> +	.needs_root = 1,
> +	.forks_child = 1,
> +	.needs_kconfigs = (const char *[]) {
> +		"CONFIG_USER_NS=y",
> +		NULL,
> +	}
> +};

Medium: Add `.min_kver = "7.3"` so older kernels skip instead of reporting
TFAIL when the syscall returns ENOSYS.

--- [PATCH 15/16] ---

> +fchroot12 fchroot12

Medium: Linux 7.3 is stable, so this entry belongs in the regular syscall
runtest file rather than the staging-only suite.

> +static struct tst_test test = {
> +	.setup = setup,
> +	.test_all = run,
> +	.needs_root = 1,
> +	.forks_child = 1,
> +};

Medium: Add `.min_kver = "7.3"` so older kernels skip instead of reporting
TFAIL when the syscall returns ENOSYS.

--- [PATCH 16/16] ---

> +fchroot13 fchroot13

Medium: Linux 7.3 is stable, so this entry belongs in the regular syscall
runtest file rather than the staging-only suite.

> +static struct tst_test test = {
> +	.setup = setup,
> +	.test_all = run,
> +	.needs_root = 1,
> +	.needs_tmpdir = 1,
> +	.forks_child = 1,
> +};

Medium: Add `.min_kver = "7.3"` so older kernels skip instead of reporting
TFAIL when the syscall returns ENOSYS.

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