Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Aug 2023 13:04:56 GMT
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1c83154e4936 - main - linux(4): Modify ioprio syscalls to match Linux
Message-ID:  <202308041304.374D4ud4086773@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dchagin:

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

commit 1c83154e493615389f51813447d1b7f89774c5e2
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2023-08-04 13:03:55 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-08-04 13:03:55 +0000

    linux(4): Modify ioprio syscalls to match Linux
    
    MFC after:              1 month
---
 sys/amd64/linux/syscalls.master   | 15 +++++++++++----
 sys/amd64/linux32/syscalls.master | 15 +++++++++++----
 sys/arm64/linux/syscalls.master   | 15 +++++++++++----
 sys/i386/linux/syscalls.master    | 15 +++++++++++----
 4 files changed, 44 insertions(+), 16 deletions(-)

diff --git a/sys/amd64/linux/syscalls.master b/sys/amd64/linux/syscalls.master
index 6d8e4102d6fc..929c42fc4056 100644
--- a/sys/amd64/linux/syscalls.master
+++ b/sys/amd64/linux/syscalls.master
@@ -1465,11 +1465,18 @@
 250	AUE_NULL	STD {
 		int linux_keyctl(void);
 	}
-251	AUE_NULL	STD {
-		int linux_ioprio_set(void);
+251	AUE_SETPRIORITY	STD	{
+		int linux_ioprio_set(
+		    l_int which,
+		    l_int who,
+		    l_int ioprio
+		);
 	}
-252	AUE_NULL	STD {
-		int linux_ioprio_get(void);
+252	AUE_GETPRIORITY	STD	{
+		int linux_ioprio_get(
+		    l_int which,
+		    l_int who
+		);
 	}
 253	AUE_NULL	STD {
 		int linux_inotify_init(void);
diff --git a/sys/amd64/linux32/syscalls.master b/sys/amd64/linux32/syscalls.master
index e871f6fdbfc8..d1eb57a8295a 100644
--- a/sys/amd64/linux32/syscalls.master
+++ b/sys/amd64/linux32/syscalls.master
@@ -1577,11 +1577,18 @@
 		int linux_keyctl(void);
 	}
 ; Linux 2.6.13:
-289	AUE_NULL	STD {
-		int linux_ioprio_set(void);
+289	AUE_SETPRIORITY	STD	{
+		int linux_ioprio_set(
+		    l_int which,
+		    l_int who,
+		    l_int ioprio
+		);
 	}
-290	AUE_NULL	STD {
-		int linux_ioprio_get(void);
+290	AUE_GETPRIORITY	STD	{
+		int linux_ioprio_get(
+		    l_int which,
+		    l_int who
+		);
 	}
 291	AUE_NULL	STD {
 		int linux_inotify_init(void);
diff --git a/sys/arm64/linux/syscalls.master b/sys/arm64/linux/syscalls.master
index 04748e30182c..da2ad24997ce 100644
--- a/sys/arm64/linux/syscalls.master
+++ b/sys/arm64/linux/syscalls.master
@@ -187,11 +187,18 @@
 		    l_ulong arg
 		);
 	}
-30	AUE_NULL	STD	{
-		int linux_ioprio_set(void);
+30	AUE_SETPRIORITY	STD	{
+		int linux_ioprio_set(
+		    l_int which,
+		    l_int who,
+		    l_int ioprio
+		);
 	}
-31	AUE_NULL	STD	{
-		int linux_ioprio_get(void);
+31	AUE_GETPRIORITY	STD	{
+		int linux_ioprio_get(
+		    l_int which,
+		    l_int who
+		);
 	}
 32	AUE_FLOCK	NOPROTO	{
 		int flock(
diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master
index 614731ee2cfe..1fd02302ae37 100644
--- a/sys/i386/linux/syscalls.master
+++ b/sys/i386/linux/syscalls.master
@@ -1594,11 +1594,18 @@
 		int linux_keyctl(void);
 	}
 ; Linux 2.6.13:
-289	AUE_NULL	STD {
-		int linux_ioprio_set(void);
+289	AUE_SETPRIORITY	STD	{
+		int linux_ioprio_set(
+		    l_int which,
+		    l_int who,
+		    l_int ioprio
+		);
 	}
-290	AUE_NULL	STD {
-		int linux_ioprio_get(void);
+290	AUE_GETPRIORITY	STD	{
+		int linux_ioprio_get(
+		    l_int which,
+		    l_int who
+		);
 	}
 291	AUE_NULL	STD {
 		int linux_inotify_init(void);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308041304.374D4ud4086773>