git: 1c27dce1f897 - main - linux(4): Modify close_range syscall to match Linux

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Tue, 04 Apr 2023 20:24:18 UTC
The branch main has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=1c27dce1f8979e7bbe3ca51f4f2db38b202042a0

commit 1c27dce1f8979e7bbe3ca51f4f2db38b202042a0
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2023-04-04 20:23:24 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-04-04 20:23:24 +0000

    linux(4): Modify close_range syscall to match Linux
    
    MFC after:              2 weeks
---
 sys/amd64/linux/syscalls.master   | 8 ++++++--
 sys/amd64/linux32/syscalls.master | 8 ++++++--
 sys/arm64/linux/syscalls.master   | 8 ++++++--
 sys/i386/linux/syscalls.master    | 8 ++++++--
 4 files changed, 24 insertions(+), 8 deletions(-)

diff --git a/sys/amd64/linux/syscalls.master b/sys/amd64/linux/syscalls.master
index 896bbcc5e652..90476b15433f 100644
--- a/sys/amd64/linux/syscalls.master
+++ b/sys/amd64/linux/syscalls.master
@@ -2097,8 +2097,12 @@
 		    l_size_t usize
 		);
 	}
-436    AUE_NULL		STD {
-		int linux_close_range(void);
+436    AUE_CLOSERANGE	STD {
+		int linux_close_range(
+		    l_uint first,
+		    l_uint last,
+		    l_uint flags
+		);
 	}
 437    AUE_NULL		STD {
 		int linux_openat2(void);
diff --git a/sys/amd64/linux32/syscalls.master b/sys/amd64/linux32/syscalls.master
index 935f44d5b34f..4561667dc3cc 100644
--- a/sys/amd64/linux32/syscalls.master
+++ b/sys/amd64/linux32/syscalls.master
@@ -2524,8 +2524,12 @@
 		    l_size_t usize
 		);
 	}
-436    AUE_NULL		STD {
-		int linux_close_range(void);
+436	AUE_CLOSERANGE	STD {
+		int linux_close_range(
+		    l_uint first,
+		    l_uint last,
+		    l_uint flags
+		);
 	}
 437    AUE_NULL		STD {
 		int linux_openat2(void);
diff --git a/sys/arm64/linux/syscalls.master b/sys/arm64/linux/syscalls.master
index c31e85956ca2..647fd0262e8c 100644
--- a/sys/arm64/linux/syscalls.master
+++ b/sys/arm64/linux/syscalls.master
@@ -1771,8 +1771,12 @@
 		    l_size_t usize
 		);
 	}
-436    AUE_NULL		STD {
-		int linux_close_range(void);
+436	AUE_CLOSERANGE	STD {
+		int linux_close_range(
+		    l_uint first,
+		    l_uint last,
+		    l_uint flags
+		);
 	}
 437    AUE_NULL		STD {
 		int linux_openat2(void);
diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master
index d0e23e90cc38..a5b246c0822a 100644
--- a/sys/i386/linux/syscalls.master
+++ b/sys/i386/linux/syscalls.master
@@ -2542,8 +2542,12 @@
 		    l_size_t usize
 		);
 	}
-436    AUE_NULL		STD {
-		int linux_close_range(void);
+436	AUE_CLOSERANGE	STD {
+		int linux_close_range(
+		    l_uint first,
+		    l_uint last,
+		    l_uint flags
+		);
 	}
 437    AUE_NULL		STD {
 		int linux_openat2(void);