From nobody Fri Aug 4 13:04:56 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RHQt03fT0z4kRCr; Fri, 4 Aug 2023 13:04:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RHQt031crz4bsx; Fri, 4 Aug 2023 13:04:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691154296; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HI4wK0Xpw5NQnOMkwIThWrQbc/yGTAuO+n8DtVxJL/c=; b=RwZcrlHOJrs5vF0pVgZFkHc0j8ml1eBopguVjwRx2ylZNVAHSobUfmhWTYqSMa7pNGAggG rmV7WU2cLHY/YR4u1RXSNcgd3nd/G6Ba6YvZaK506s/PM6AntWYWy9OsGhlNLX0RtdeABz kJVbIUSV9cxqKEfAZZgBfmrP0MPvGVPM4qeshuXnJ5PiOC95aPS1vQWAR61BaK7l34PTUt mUzKjo43jpcvgoS4LbvcuZRb/fgIgqEKCV9dtK9MCpRCKV/4McnDYqK/Pax+hfd+5SoLun /9Rz5V2xA3DqSHYWYl64siR1TA74zOfoHyHZZyx6AnDqbFvEIQ0NUy+37eO0Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691154296; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HI4wK0Xpw5NQnOMkwIThWrQbc/yGTAuO+n8DtVxJL/c=; b=XwdXLlry5vH5PjQg/0YqKCP2MdZn1PWR23iec+E8o3JsdS+Ez+r6i8VQ/xj/3dgRgmyBea CJ2nCLrjSwPWyobiSdET8kWPsz8z5MMpvCJGbQqEtSkvA0C6TcJZ5mjChnNpfdpPIjKGYc 22HVs4gJfBFajDmGKA6rW6Jin6JgnjO3haSIx61kZqHyXLKmUPUhWpT5GObfPfZPibW5Es 9NsBNdir+HTSCGlCt8U18QpNkGm2rQogt5zTWhPoYDaYAX9f4YXfOoQiFqUOli8XpuYtqB vjqyyRnS2qm3ioWVeX2o0o6eGYugM6D+IC9qj7hdgFMj7p1F4j5RdxyhYUOJvA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691154296; a=rsa-sha256; cv=none; b=TiPa/jpzzZXPdDc1xaJj4HyO9/eI0ssk4ENhsJgJeylGH7mJbqadsBhk5A/j5r3opG1nTG I6l1Z3eYtHcuZIlPqCvCidoxMU0lWJtIW4cjqdRjL8pVDpkXtvJ+RAiBJ4rBUu5TW3vmSh 9rC2G9CiEkTMtmhDOu3jv9cjyHG8/Uxe1PreniPNGXNa1emT+i1qsKHGjdHrqVkIAzAw3c oMWPHiC3QSTMr/3WQ2xPUHSX9JdHgW/NMehLihd6OHfJnvxocaMRZ6TiVQ+xJhInqG8Lt5 HhL7KIWKbDnXZIKqfmXdEE1aeOYBlIQEJefsbLHeRzWEG4bDq4R00r56Bjs6kA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RHQt026QXz13Np; Fri, 4 Aug 2023 13:04:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 374D4uvv086774; Fri, 4 Aug 2023 13:04:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 374D4ud4086773; Fri, 4 Aug 2023 13:04:56 GMT (envelope-from git) Date: Fri, 4 Aug 2023 13:04:56 GMT Message-Id: <202308041304.374D4ud4086773@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dmitry Chagin Subject: git: 1c83154e4936 - main - linux(4): Modify ioprio syscalls to match Linux List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1c83154e493615389f51813447d1b7f89774c5e2 Auto-Submitted: auto-generated The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=1c83154e493615389f51813447d1b7f89774c5e2 commit 1c83154e493615389f51813447d1b7f89774c5e2 Author: Dmitry Chagin AuthorDate: 2023-08-04 13:03:55 +0000 Commit: Dmitry Chagin 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);