From nobody Mon Apr 11 02:07:39 2022 X-Original-To: dev-commits-src-main@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 763A01A92547; Mon, 11 Apr 2022 02:07:40 +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 4KcC180RGjz3L5K; Mon, 11 Apr 2022 02:07:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649642860; 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=jzdI2tNuqs0rbGW3ntMM6PlGFjhFCxrAJ0EVmZ+49lA=; b=IjZK4SLdP9BDNnMPMxsctVPA8JPCSuBO3qtsIluLOy8AB8iQoYbv116NKGRXBI2TqBjx06 7yGClzin6l56gDry9D9er3/1+B88oHTXuNG5BH12UTmC0zrKUVJsw67C+1y2xZYuX756I/ hQMTdDs2bT44pjC1ZHSxYzE9Ufq563BA8Z94sVsjj/OC7QACcCeUVW7X8CPIxpFLElniZ0 kguI7A4La7uq0QDTBBGwWCmbWNX/EQt/NWU9jxvNJKDitf8OUw8/A1Ut6pxZumo+26DsHv 8w2m9fEO3GXQrdYmY+Ss2SG3TNNvoVJ1hLBY59ppakqn2JP6vGLQnIyL8ZuhjA== 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 C291A1A421; Mon, 11 Apr 2022 02:07:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23B27diW086235; Mon, 11 Apr 2022 02:07:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23B27dpK086234; Mon, 11 Apr 2022 02:07:39 GMT (envelope-from git) Date: Mon, 11 Apr 2022 02:07:39 GMT Message-Id: <202204110207.23B27dpK086234@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Enji Cooper Subject: git: 389d0259ed16 - stable/12 - extattr_get_file(2): sort syscalls alphabetically List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/12 X-Git-Reftype: branch X-Git-Commit: 389d0259ed163628b67d625577c6ee435feeddc0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649642860; 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=jzdI2tNuqs0rbGW3ntMM6PlGFjhFCxrAJ0EVmZ+49lA=; b=wX3G//URXtxyi6UMo5ez1HIST4CorigSUSZhvJuFYxU5nMgTuttiy+L7FMJq7Kbpowlhfi swhw5p/TXDmtZazxablPXfhnAlt2lAe6zrR/nYZfrHt3KKcomJYhUmf7f8spDMqPwFt1Wq ag1be6h09/qmF8/vmGihZFbwoSLaynUC8bor4naOS/InbD+A8Pk60Ijin4v+bi+Y1z1Izd 4OSlEphDtpcxhH+PL5Ddzu70wMmQ4Rqkw/Jdro6Toj+QK3zMvcJnIJ+SIEVq+w2guP263Z SYUEMGlzK4BfuEYtpK+v96qo9xivSNVBKVKXI5MyNaaMIVn2RWrK9gjr9r76XA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649642860; a=rsa-sha256; cv=none; b=OBA2i0Lk98XOJGjrQIBIG1usgJc6xyEl63lRcUz4w8Sc8T4akpgbYTgmVn4IxWuFNBO594 PiPzu9qCqALvEYLigFkFNlcUIJVU6UW+fzBswyKNjQry4F2CoAcfQMLj9O8ua6wr5ruI5I 1rPl0VUN4to9SKcmWEKq/0uP0CTx/5/11zr2YaSPqodtITSZg8VgDclZe1EcQptInWB/Di pCVw4nTCtfmaui/KLOddZp7R/Wkm0vg+j1WytQGe6SIpuMvq9r6clmSA+/Bkz6AsyVFhEb quG8F2LVNSoHaTCKT5G+M0VktwjV4sNSmT1PMxGzZBZCqLXav5zNuW2U06oCBQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=389d0259ed163628b67d625577c6ee435feeddc0 commit 389d0259ed163628b67d625577c6ee435feeddc0 Author: Enji Cooper AuthorDate: 2020-12-08 04:01:03 +0000 Commit: Enji Cooper CommitDate: 2022-04-11 01:23:36 +0000 extattr_get_file(2): sort syscalls alphabetically Although some sections of the manpage sort the syscalls alphabetically, many core areas of the manpage do not. Sort the syscalls so it is easier to pick out functional changes and to improve manpage readability. This formatting change is also being done to make future functional changes easier to spot. MFC after: 1 week Sponsored by: DellEMC Isilon (cherry picked from commit e8e0f91b8bb273684fa7d11eb514681c45edbf06) --- lib/libc/sys/extattr_get_file.2 | 44 ++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/lib/libc/sys/extattr_get_file.2 b/lib/libc/sys/extattr_get_file.2 index d9d09591f965..10718cd65132 100644 --- a/lib/libc/sys/extattr_get_file.2 +++ b/lib/libc/sys/extattr_get_file.2 @@ -30,48 +30,48 @@ .Dt EXTATTR 2 .Os .Sh NAME -.Nm extattr_get_fd , -.Nm extattr_set_fd , .Nm extattr_delete_fd , -.Nm extattr_list_fd , -.Nm extattr_get_file , -.Nm extattr_set_file , .Nm extattr_delete_file , -.Nm extattr_list_file , -.Nm extattr_get_link , -.Nm extattr_set_link , .Nm extattr_delete_link , -.Nm extattr_list_link +.Nm extattr_get_fd , +.Nm extattr_get_file , +.Nm extattr_get_link , +.Nm extattr_list_fd , +.Nm extattr_list_file , +.Nm extattr_list_link , +.Nm extattr_set_fd , +.Nm extattr_set_file , +.Nm extattr_set_link .Nd system calls to manipulate VFS extended attributes .Sh LIBRARY .Lb libc .Sh SYNOPSIS .In sys/types.h .In sys/extattr.h -.Ft ssize_t -.Fn extattr_get_fd "int fd" "int attrnamespace" "const char *attrname" "void *data" "size_t nbytes" -.Ft ssize_t -.Fn extattr_set_fd "int fd" "int attrnamespace" "const char *attrname" "const void *data" "size_t nbytes" .Ft int .Fn extattr_delete_fd "int fd" "int attrnamespace" "const char *attrname" +.Ft int +.Fn extattr_delete_file "const char *path" "int attrnamespace" "const char *attrname" +.Ft int +.Fn extattr_delete_link "const char *path" "int attrnamespace" "const char *attrname" .Ft ssize_t -.Fn extattr_list_fd "int fd" "int attrnamespace" "void *data" "size_t nbytes" +.Fn extattr_get_fd "int fd" "int attrnamespace" "const char *attrname" "void *data" "size_t nbytes" .Ft ssize_t .Fn extattr_get_file "const char *path" "int attrnamespace" "const char *attrname" "void *data" "size_t nbytes" .Ft ssize_t -.Fn extattr_set_file "const char *path" "int attrnamespace" "const char *attrname" "const void *data" "size_t nbytes" -.Ft int -.Fn extattr_delete_file "const char *path" "int attrnamespace" "const char *attrname" +.Fn extattr_get_link "const char *path" "int attrnamespace" "const char *attrname" "void *data" "size_t nbytes" +.Ft ssize_t +.Fn extattr_list_fd "int fd" "int attrnamespace" "void *data" "size_t nbytes" .Ft ssize_t .Fn extattr_list_file "const char *path" "int attrnamespace" "void *data" "size_t nbytes" .Ft ssize_t -.Fn extattr_get_link "const char *path" "int attrnamespace" "const char *attrname" "void *data" "size_t nbytes" +.Fn extattr_list_link "const char *path" "int attrnamespace" "void *data" "size_t nbytes" .Ft ssize_t -.Fn extattr_set_link "const char *path" "int attrnamespace" "const char *attrname" "const void *data" "size_t nbytes" -.Ft int -.Fn extattr_delete_link "const char *path" "int attrnamespace" "const char *attrname" +.Fn extattr_set_fd "int fd" "int attrnamespace" "const char *attrname" "const void *data" "size_t nbytes" .Ft ssize_t -.Fn extattr_list_link "const char *path" "int attrnamespace" "void *data" "size_t nbytes" +.Fn extattr_set_file "const char *path" "int attrnamespace" "const char *attrname" "const void *data" "size_t nbytes" +.Ft ssize_t +.Fn extattr_set_link "const char *path" "int attrnamespace" "const char *attrname" "const void *data" "size_t nbytes" .Sh DESCRIPTION Named extended attributes are meta-data associated with vnodes representing files and directories.