From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27947 invoked from network); 26 Oct 2020 23:23:56 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 26 Oct 2020 23:23:56 -0000 Received: (qmail 7843 invoked by uid 550); 26 Oct 2020 23:23:52 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 5137 invoked from network); 26 Oct 2020 23:21:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=z+9IxNMpsijatLEbNV67i4bcVXURqR5gmMYLEBYKB48=; b=RTv/4B4ivoCmujSiczKA//SI9s2kru5nHH7KHrhNnIrZDrt8i85SuOz4P10bPOX9EY +69NQVp9buJsVBCEE5Kdx48CBlR2kp0/iW45fgarbmjyVng8oz2GVisDOlDtm15k2VI6 A3jE55OGy00eMhHJPxcvpY2opHCIq8pvaLs0hd5bVKVAUHtZQwCtL1pg2jQkDdMKKRYL 3kIFlPKLik4qqdrgqGpPANMxuC2H75XrIOABF0TwE6InDWixqAQqGuDwVHv92VDviDN7 +FNdYt4WV6c07K4GOocztutegJdyxWm3/Z5jdhOd0em5UOqxcHgW+FanVRnDICIvaPy4 k2FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z+9IxNMpsijatLEbNV67i4bcVXURqR5gmMYLEBYKB48=; b=Iu4qeDvYOkUg4GKdjpXAh5Pk2c5h+C3OJHtuvSPqLRrmkmjJcU3LhdSW7TFx/Yg54W nN0NlST5losnDYBZCDW4mFkkurAZncVkoEZhy89jkYqBCWq/fvL/2EQGpacfm5btBPcz x+KkDhLQSTOd39VERQ5LH7Ex+dugKHqtzWKVNpDYyqFdVwtjgHB5YG5I4Gmts5PrSJFu UxRnYWaaMwI+wcP3+eWzF25gDe8TKyA7wSm+WyY0IwHejQOFfjXsKwL7NV13ZfAqRORC Au45yTtMa9yHOFR96SMj8JHHH90cQb/gjOZy0hXKhBRVbEhPekRHB6ALq7MGOT5fZSQD sd7g== X-Gm-Message-State: AOAM532EIYa6waiFdzfzQOjC85uW9uMq+ZjMuOx5/EcgY3kPTKu4GmJe GBqxnN8VxrNkEQ13gh2VVmlhrUFULJAJWEaQa1A= X-Google-Smtp-Source: ABdhPJwmfcTfe65P/1nMPM9JdCMMfTarQcS4E1nQI13cckEeAglarW2Df9TJCvLVDEA/AUh+4wpogWed97tF4wu7oFI= X-Received: by 2002:a17:90a:a389:: with SMTP id x9mr17906608pjp.99.1603754489579; Mon, 26 Oct 2020 16:21:29 -0700 (PDT) MIME-Version: 1.0 References: <20200913141808.GM3265@brightrain.aerifal.cx> In-Reply-To: From: =?UTF-8?B?w4lyaWNvIFJvbGlt?= Date: Mon, 26 Oct 2020 20:21:18 -0300 Message-ID: To: mtk.manpages@gmail.com Cc: linux-man@vger.kernel.org, musl@lists.openwall.com, ericonr@disroot.org Content-Type: text/plain; charset="UTF-8" Subject: [musl] Re: [PATCH v3] posix_fallocate.3: add EOPNOTSUPP error code. As can be seen in https://git.musl-libc.org/cgit/musl/tree/src/fcntl/posix_fallocate.c?id=73cc775bee53300c7cf759f37580220b18ac13d3 musl libc returns the syscall's errors directly, which means it doesn't perform the same emulation as glibc, and can return EOPNOTSUPP to an application, which isnt't listed in ERRORS. --- Made a small correction to the formatting for fd. man3/posix_fallocate.3 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/man3/posix_fallocate.3 b/man3/posix_fallocate.3 index 3152dd54f..8ea37261a 100644 --- a/man3/posix_fallocate.3 +++ b/man3/posix_fallocate.3 @@ -98,6 +98,13 @@ There is not enough space left on the device containing the file referred to by .IR fd . .TP +.B EOPNOTSUPP +The filesystem containing the file referred to by +.I fd +does not support this operation. +This error code can be returned by libc's that don't perform the +emulation shown in NOTES, such as musl libc. +.TP .B ESPIPE .I fd refers to a pipe. -- 2.29.0