From nobody Fri Mar 28 02:40:47 2025 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 4ZP4Wz3St2z5sH31; Fri, 28 Mar 2025 02:40:47 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZP4Wz1yRHz3VwW; Fri, 28 Mar 2025 02:40:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743129647; 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=4ogCN+VvukchPrVm7HzCg8yoeKqLSgFd0yqzll8UFlU=; b=TPTSlO0K16Jf1SQUx356GrQeHeg/yBbBXhU//QYsRmkTcVqdNvbgTlm+lToelWhuPkMtse VfhVAdxJfDt4qCaWYr+hKwjlbgkbiEk74iqIbJQahtlOwXbshHgoLCEARrqp+bGt4My7lK doOx0SZ9WE2UyE8uvXlUyJM8Gq5pLHZBu0usYB2DhGy4PukZ+9uEcMbf+v7KP1wrKp7prf v71OvC8uvQkFBkvwgwzkEUl7F5FrLb7B7npRXl+flb5fHl2PUyW2qp+n+OHtLLSrLSD9GQ WlRP44O3UnN1mBPqOwU8XdIfdrCuyoe04cuADv6ce27RNkjxIgivHjWrJ5uvHA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1743129647; a=rsa-sha256; cv=none; b=V4QWUsd5nozwazxhMVk1AER9ezl9+VC1ceW+PAOEay9Nsv1FwBU3pIjriquLTvGFAUVg78 ZIQMz3GgVpX8lUMTVWAhZ1wJ6+AYE9xpJD2Ak5KumH1L2f1cX6OHujnHRu8wEt+WqXSTbb SsaiDW84fZH3IxjnDnBoxKlPzw8fPwJvdnuZ7JMs8QFVn8uegjnoDLe2hRZbmejmZay6y9 rAXxWYTfloVBsYenlyqMJkZpPxdNmWBze/41pumoHGaT5zcyKfNE3QeHtcn1OflNX0ynpL aEVu5ZIEzQVeeaVqFdK+S04K7mDHnres2JFJWodTHLXGQuqhXGODzTyua8zk7w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743129647; 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=4ogCN+VvukchPrVm7HzCg8yoeKqLSgFd0yqzll8UFlU=; b=BgLqbq2tSJsOv4FX9e6XbQm/BD2viskP0B+2jkwZBtfd7ePrjMt2wXOC9uvLB+Oq0pJRFV e6BA8k6xBoKuwrze8tXJHyIIhQh9Lf3HqutVdNM3o/wfJcHI4UK0PgnmjKWC8oDhow8L6i PKYBrznZRpxpGDxPNcuiJ5p5GYef15WsT4MbX4YsnAfEI7VFXSxwA/kDMjReirT3ckcufX AScIWuOtuS23W/OmgpL9do6MxhLWFbeuT/sQpGP6Dvdc54cUspTAUz7LiEFMwPTr+1FD9y +KFfyoCZ0AOq0fVjd2Nj3ERLzeQxuku888st5chWcfNcF8F7TnqjTJz5reQBlw== 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 4ZP4Wz1Syqz7dy; Fri, 28 Mar 2025 02:40:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 52S2elkf075915; Fri, 28 Mar 2025 02:40:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 52S2elHG075912; Fri, 28 Mar 2025 02:40:47 GMT (envelope-from git) Date: Fri, 28 Mar 2025 02:40:47 GMT Message-Id: <202503280240.52S2elHG075912@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Enji Cooper Subject: git: e24279e0f9e2 - main - Remove mentions of ENOSYS added in d97e44784bb5 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ngie X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e24279e0f9e28ba0c1920cb539fc357568790c0a Auto-Submitted: auto-generated The branch main has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=e24279e0f9e28ba0c1920cb539fc357568790c0a commit e24279e0f9e28ba0c1920cb539fc357568790c0a Author: Enji Cooper AuthorDate: 2025-03-27 19:26:59 +0000 Commit: Enji Cooper CommitDate: 2025-03-28 02:40:07 +0000 Remove mentions of ENOSYS added in d97e44784bb5 aio(4) is a hard requirement in the kernel as of f3215338ef82. The scenario that the patch was submitted for is no longer possible. This isn't a straight up revert since the previous change also addressed some minor issues. PR: 190942 Reported by: asomers MFC after: 2 weeks MFC with: d97e44784bb5 Fixes: d97e44784bb5 ("aio_*(2): mention ENOSYS under ERRORS") Differential Revision: https://reviews.freebsd.org/D49541 --- lib/libsys/aio_cancel.2 | 7 ------- lib/libsys/aio_error.2 | 7 ------- lib/libsys/aio_fsync.2 | 7 ------- lib/libsys/aio_mlock.2 | 7 ------- lib/libsys/aio_read.2 | 7 ------- lib/libsys/aio_return.2 | 7 ------- lib/libsys/aio_suspend.2 | 7 ------- lib/libsys/aio_waitcomplete.2 | 7 ------- lib/libsys/aio_write.2 | 7 ------- 9 files changed, 63 deletions(-) diff --git a/lib/libsys/aio_cancel.2 b/lib/libsys/aio_cancel.2 index 928a8b325e5f..42d074054716 100644 --- a/lib/libsys/aio_cancel.2 +++ b/lib/libsys/aio_cancel.2 @@ -80,13 +80,6 @@ The .Fa fildes argument is an invalid file descriptor. -.It Bq Er ENOSYS -The -.Fn aio_cancel -system call is not supported. -This can occur if -.Xr aio 4 -support is not present. .El .Sh SEE ALSO .Xr aio_error 2 , diff --git a/lib/libsys/aio_error.2 b/lib/libsys/aio_error.2 index 2579d2f33052..69eb7cd90ee2 100644 --- a/lib/libsys/aio_error.2 +++ b/lib/libsys/aio_error.2 @@ -72,13 +72,6 @@ The .Fa iocb argument does not reference an outstanding asynchronous I/O request. -.It Bq Er ENOSYS -The -.Fn aio_error -system call is not supported. -This can occur if -.Xr aio 4 -support is not present. .El .Sh SEE ALSO .Xr aio_cancel 2 , diff --git a/lib/libsys/aio_fsync.2 b/lib/libsys/aio_fsync.2 index 0b863773eaf2..46fc5d95bcfd 100644 --- a/lib/libsys/aio_fsync.2 +++ b/lib/libsys/aio_fsync.2 @@ -136,13 +136,6 @@ argument is not a valid descriptor. .It Bq Er EINVAL This implementation does not support synchronized I/O for this file. -.It Bq Er ENOSYS -The -.Fn aio_fsync -system call is not supported. -This can occur if -.Xr aio 4 -support is not present. .El .Pp If the request is successfully enqueued, but subsequently cancelled diff --git a/lib/libsys/aio_mlock.2 b/lib/libsys/aio_mlock.2 index f89ad10936aa..02d54304c631 100644 --- a/lib/libsys/aio_mlock.2 +++ b/lib/libsys/aio_mlock.2 @@ -98,13 +98,6 @@ The request was not queued because of system resource limitations. The asynchronous notification method in .Fa iocb->aio_sigevent.sigev_notify is invalid or not supported. -.It Bq Er ENOSYS -The -.Fn aio_mlock -system call is not supported. -This can occur if -.Xr aio 4 -support is not present. .El .Pp If the request is successfully enqueued, but subsequently cancelled diff --git a/lib/libsys/aio_read.2 b/lib/libsys/aio_read.2 index 811d0b234168..f7d8cdfd71b1 100644 --- a/lib/libsys/aio_read.2 +++ b/lib/libsys/aio_read.2 @@ -173,13 +173,6 @@ points outside the process's allocated address space. The asynchronous notification method in .Fa iocb->aio_sigevent.sigev_notify is invalid or not supported. -.It Bq Er ENOSYS -The -.Fn aio_read -system call is not supported. -This can occur if -.Xr aio 4 -support is not present. .It Bq Er EOPNOTSUPP Asynchronous read operations on the file descriptor .Fa iocb->aio_fildes diff --git a/lib/libsys/aio_return.2 b/lib/libsys/aio_return.2 index 49e1abf201ec..499b85ef20d8 100644 --- a/lib/libsys/aio_return.2 +++ b/lib/libsys/aio_return.2 @@ -79,13 +79,6 @@ The I/O operation was submitted with and the value of the .Fa aio_lio_opcode is invalid. -.It Bq Er ENOSYS -The -.Fn aio_return -system call is not supported. -This can occur if -.Xr aio 4 -support is not present. .El .Sh SEE ALSO .Xr aio_cancel 2 , diff --git a/lib/libsys/aio_suspend.2 b/lib/libsys/aio_suspend.2 index ebc3c15d059f..c46b0292c34e 100644 --- a/lib/libsys/aio_suspend.2 +++ b/lib/libsys/aio_suspend.2 @@ -89,13 +89,6 @@ contains more asynchronous I/O requests than the variable, or at least one of the requests is not valid. .It Bq Er EINTR the suspend was interrupted by a signal. -.It Bq Er ENOSYS -The -.Fn aio_suspend -system call is not supported. -This can occur if -.Xr aio 4 -support is not present. .El .Sh SEE ALSO .Xr aio_cancel 2 , diff --git a/lib/libsys/aio_waitcomplete.2 b/lib/libsys/aio_waitcomplete.2 index 0a38155d7c75..f14e05abaaf0 100644 --- a/lib/libsys/aio_waitcomplete.2 +++ b/lib/libsys/aio_waitcomplete.2 @@ -101,13 +101,6 @@ A signal was delivered before the timeout expired and before any asynchronous I/O requests completed. .It Bq Er EINVAL The specified time limit is invalid. -.It Bq Er ENOSYS -The -.Fn aio_waitcomplete -system call is not supported. -This can occur if -.Xr aio 4 -support is not present. .It Bq Er EWOULDBLOCK .It Bq Er EINPROGRESS The specified time limit expired before any asynchronous I/O requests diff --git a/lib/libsys/aio_write.2 b/lib/libsys/aio_write.2 index a7108a87e378..875b24fa160a 100644 --- a/lib/libsys/aio_write.2 +++ b/lib/libsys/aio_write.2 @@ -182,13 +182,6 @@ points outside the process's allocated address space. The asynchronous notification method in .Fa iocb->aio_sigevent.sigev_notify is invalid or not supported. -.It Bq Er ENOSYS -The -.Fn aio_write -system call is not supported. -This can occur if -.Xr aio 4 -support is not present. .It Bq Er EOPNOTSUPP Asynchronous write operations on the file descriptor .Fa iocb->aio_fildes