From nobody Wed Sep 24 04:43:21 2025 X-Original-To: dev-commits-src-branches@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 4cWkkL1dypz68SJF; Wed, 24 Sep 2025 04:43:22 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cWkkL0Twlz3RxX; Wed, 24 Sep 2025 04:43:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758689002; 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=1WEQTC3dIIKdRbY8wt9/yPa2DyNQY7L2jGHiWq3Q/js=; b=BDLzZKoIpBxJLsVKJxEtKYMhCY+lQ0uh0C6TxBjpB014TZSdeHFiG4dN3raDgF8pRWKS6J W54zHnKFuXA2XMshL/kspEpAMU+LBabxevSDnQDFlfx/x8ffn3TNRPqhW0zVbmWGFbVnM1 EQkyCJ8JMfH7wBWefJwSwOw1VGR8r4Ww1tFUbNG/qbzlKwVvhNjxlhjj+nF++BU1k2kNDU h+EOJ4scTN2uxdrW45f2hv3hV/Z4R/3JZkOs3sOfrFT7sexmleaS6eQFdjA7SqywWlvwxL Z91tSg8wLIMqf09LIFhQI8I7NhNQye+V/kS4GF80ZhZynfqdMkujmNsG7l12iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758689002; 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=1WEQTC3dIIKdRbY8wt9/yPa2DyNQY7L2jGHiWq3Q/js=; b=h3bScMiUzPFR+HQHNB7eBMXNizNMXsT2WFJoN0ovEhdyDFeZn5xggWUYx7XuJ/GDHYTwBA RsHNs3/xPo3+Zz0ZAXV+w37aQsgn07HyXvmzzsGV9+GPN2U+RaOt3AHmiyFXe6imgQJj1b cUIlUMuUfaXTQVkW4gRQm1RczrnGQU3YhxGcK6QB8ZbnsLgoNgpz3n+0kr09nK3nshCTtP fT/B1smhQ3CCPdf2/nQtI8hgoOJocayXuk5Ey15xNA9YPutK9Ve0/EUzIfyU92A0dAdgh5 hXPfNFkSqHCl27JMguPwxXWUt6ZOWwekD6VuTAH3HDtiXK8STFwTp0TK0bFwiw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758689002; a=rsa-sha256; cv=none; b=aEGAHbnmFsC+UlPruAFp8BmGBenCBj9IJekfcLF0NwSRfcjr5kWtsbuS18PLflg3qS3bwi j+y5n1D1KSTUoHL2SD7BX4v0owSf1s6uC5mkwWHMy3dtWw1xjAwiK7yTzZCELiADQ9jtQH 4wi7tBMa0gTjCfO5h43LdTSb3TH0GSHGaFXo90OCguEnzmMFXtccgnuFzFkdV1ig+8uFgL crwI6ZMtORgjBrAUrK6+hpwrVIgE698bwpC4SOcVNQ+9nzbELXR+4AsoKF9WeRL3YpEKL8 ndlXTm+8wXl1sdBrD3EmQfuZQqMKC6p/eROSL/NeEDYQ69zM2wk7G/vQ1NqeMw== 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 4cWkkL02S3z1qv; Wed, 24 Sep 2025 04:43:22 +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 58O4hLDb091561; Wed, 24 Sep 2025 04:43:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58O4hLZk091558; Wed, 24 Sep 2025 04:43:21 GMT (envelope-from git) Date: Wed, 24 Sep 2025 04:43:21 GMT Message-Id: <202509240443.58O4hLZk091558@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Enji Cooper Subject: git: e4b1597b428c - stable/14 - Remove mentions of ENOSYS added in d97e44784bb5 List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/14 X-Git-Reftype: branch X-Git-Commit: e4b1597b428c8cfa555c7f0753f3b5f073169fcf Auto-Submitted: auto-generated The branch stable/14 has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=e4b1597b428c8cfa555c7f0753f3b5f073169fcf commit e4b1597b428c8cfa555c7f0753f3b5f073169fcf Author: Enji Cooper AuthorDate: 2025-03-27 19:26:59 +0000 Commit: Enji Cooper CommitDate: 2025-09-24 04:42:51 +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 (cherry picked from commit e24279e0f9e28ba0c1920cb539fc357568790c0a) --- lib/libc/sys/aio_cancel.2 | 7 ------- lib/libc/sys/aio_error.2 | 7 ------- lib/libc/sys/aio_fsync.2 | 7 ------- lib/libc/sys/aio_mlock.2 | 7 ------- lib/libc/sys/aio_read.2 | 7 ------- lib/libc/sys/aio_return.2 | 7 ------- lib/libc/sys/aio_suspend.2 | 7 ------- lib/libc/sys/aio_waitcomplete.2 | 7 ------- lib/libc/sys/aio_write.2 | 7 ------- 9 files changed, 63 deletions(-) diff --git a/lib/libc/sys/aio_cancel.2 b/lib/libc/sys/aio_cancel.2 index 928a8b325e5f..42d074054716 100644 --- a/lib/libc/sys/aio_cancel.2 +++ b/lib/libc/sys/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/libc/sys/aio_error.2 b/lib/libc/sys/aio_error.2 index 2579d2f33052..69eb7cd90ee2 100644 --- a/lib/libc/sys/aio_error.2 +++ b/lib/libc/sys/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/libc/sys/aio_fsync.2 b/lib/libc/sys/aio_fsync.2 index 0b863773eaf2..46fc5d95bcfd 100644 --- a/lib/libc/sys/aio_fsync.2 +++ b/lib/libc/sys/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/libc/sys/aio_mlock.2 b/lib/libc/sys/aio_mlock.2 index f89ad10936aa..02d54304c631 100644 --- a/lib/libc/sys/aio_mlock.2 +++ b/lib/libc/sys/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/libc/sys/aio_read.2 b/lib/libc/sys/aio_read.2 index 811d0b234168..f7d8cdfd71b1 100644 --- a/lib/libc/sys/aio_read.2 +++ b/lib/libc/sys/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/libc/sys/aio_return.2 b/lib/libc/sys/aio_return.2 index 49e1abf201ec..499b85ef20d8 100644 --- a/lib/libc/sys/aio_return.2 +++ b/lib/libc/sys/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/libc/sys/aio_suspend.2 b/lib/libc/sys/aio_suspend.2 index ebc3c15d059f..c46b0292c34e 100644 --- a/lib/libc/sys/aio_suspend.2 +++ b/lib/libc/sys/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/libc/sys/aio_waitcomplete.2 b/lib/libc/sys/aio_waitcomplete.2 index 0a38155d7c75..f14e05abaaf0 100644 --- a/lib/libc/sys/aio_waitcomplete.2 +++ b/lib/libc/sys/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/libc/sys/aio_write.2 b/lib/libc/sys/aio_write.2 index a7108a87e378..875b24fa160a 100644 --- a/lib/libc/sys/aio_write.2 +++ b/lib/libc/sys/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