diff --git a/.gitignore b/.gitignore index 556ac28..6974e61 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/man-pages-overrides-8.3.0.2.tar.xz +SOURCES/man-pages-overrides-8.5.0.0.tar.xz diff --git a/.man-pages-overrides.metadata b/.man-pages-overrides.metadata index 1e922db..35e51d9 100644 --- a/.man-pages-overrides.metadata +++ b/.man-pages-overrides.metadata @@ -1 +1 @@ -931700b9aab847aff4c80fa2e8ccc73c1cfad189 SOURCES/man-pages-overrides-8.3.0.2.tar.xz +01c71a443d15d00f0413a091e869aa7a7cec1594 SOURCES/man-pages-overrides-8.5.0.0.tar.xz diff --git a/SOURCES/1899552-mpo-8.5.0.0-statx.2.patch b/SOURCES/1899552-mpo-8.5.0.0-statx.2.patch new file mode 100644 index 0000000..bd538fb --- /dev/null +++ b/SOURCES/1899552-mpo-8.5.0.0-statx.2.patch @@ -0,0 +1,53 @@ +From d06094d4469258a722c94f8bb5bc25b5c9711718 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Nikola=20Forr=C3=B3?= +Date: Fri, 9 Jul 2021 18:34:34 +0200 +Subject: [PATCH 1/2] statx.2: add STATX_ATTR_DAX + +--- + man-pages/man2/statx.2 | 30 ++++++++++++++++++++++++++++++ + 1 file changed, 30 insertions(+) + +diff --git a/man-pages/man2/statx.2 b/man-pages/man2/statx.2 +index bb04455..686edc8 100644 +--- a/man-pages/man2/statx.2 ++++ b/man-pages/man2/statx.2 +@@ -462,6 +462,36 @@ See + .TP + .B STATX_ATTR_ENCRYPTED + A key is required for the file to be encrypted by the filesystem. ++.TP ++.BR STATX_ATTR_DAX " (since Linux 5.8)" ++The file is in the DAX (cpu direct access) state. ++DAX state attempts to ++minimize software cache effects for both I/O and memory mappings of this file. ++It requires a file system which has been configured to support DAX. ++.IP ++DAX generally assumes all accesses are via CPU load / store instructions ++which can minimize overhead for small accesses, ++but may adversely affect CPU utilization for large transfers. ++.IP ++File I/O is done directly to/from user-space buffers and memory mapped I/O may ++be performed with direct memory mappings that bypass the kernel page cache. ++.IP ++While the DAX property tends to result in data being transferred synchronously, ++it does not give the same guarantees as the ++.B O_SYNC ++flag (see ++.BR open (2)), ++where data and the necessary metadata are transferred together. ++.IP ++A DAX file may support being mapped with the ++.B MAP_SYNC ++flag, which enables a ++program to use CPU cache flush instructions to persist CPU store operations ++without an explicit ++.BR fsync (2). ++See ++.BR mmap (2) ++for more information. + .SH RETURN VALUE + On success, zero is returned. + On error, \-1 is returned, and +-- +2.31.1 + diff --git a/SOURCES/1928160-mpo-8.5.0.0-resolv.conf.5.patch b/SOURCES/1928160-mpo-8.5.0.0-resolv.conf.5.patch new file mode 100644 index 0000000..65718c4 --- /dev/null +++ b/SOURCES/1928160-mpo-8.5.0.0-resolv.conf.5.patch @@ -0,0 +1,94 @@ +From 900812481ed9f7bd425301399ab22196aa9d1324 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Nikola=20Forr=C3=B3?= +Date: Fri, 9 Jul 2021 17:45:37 +0200 +Subject: [PATCH 2/2] resolv.conf.5: update information about search list and + attempt to clarify domain/search interaction + +--- + man-pages/man5/resolv.conf.5 | 47 +++++++++++++++++++----------------- + 1 file changed, 25 insertions(+), 22 deletions(-) + +diff --git a/man-pages/man5/resolv.conf.5 b/man-pages/man5/resolv.conf.5 +index 93c6b47..a14e0ca 100644 +--- a/man-pages/man5/resolv.conf.5 ++++ b/man-pages/man5/resolv.conf.5 +@@ -39,10 +39,9 @@ The configuration file is considered a trusted source of DNS information + (e.g., DNSSEC AD-bit information will be returned unmodified from this + source). + .PP +-If this file does not exist, +-only the name server on the local machine will be queried; +-the domain name is determined from the hostname +-and the domain search path is constructed from the domain name. ++If this file does not exist, only the name server on the local machine ++will be queried, and the search list contains the local domain name ++determined from the hostname. + .PP + The different configuration options are: + .TP +@@ -63,20 +62,15 @@ try the next, until out of name servers, + then repeat trying all the name servers + until a maximum number of retries are made.) + .TP +-\fBdomain\fP Local domain name. +-Most queries for names within this domain can use short names +-relative to the local domain. +-If set to \(aq.\(aq, the root domain is considered. +-If no \fBdomain\fP entry is present, the domain is determined +-from the local hostname returned by +-.BR gethostname (2); +-the domain part is taken to be everything after the first \(aq.\(aq. +-Finally, if the hostname does not contain a domain part, the root +-domain is assumed. +-.TP + \fBsearch\fP Search list for host-name lookup. +-The search list is normally determined from the local domain name; +-by default, it contains only the local domain name. ++By default, the search list contains one entry, the local domain name. ++It is determined from the local hostname returned by ++.BR gethostname (2); ++the local domain name is taken to be everything after the first ++\(aq.\(aq. ++Finally, if the hostname does not contain a \(aq.\(aq, the ++root domain is assumed as the local domain name. ++.IP + This may be changed by listing the desired domain search path + following the \fIsearch\fP keyword with spaces or tabs separating + the names. +@@ -104,8 +98,21 @@ traffic if the servers for the listed domains are not local, + and that queries will time out if no server is available + for one of the domains. + .IP +-The search list is currently limited to six domains ++If there are multiple ++.B search ++directives, only the search list from the last instance is used. ++.IP ++In glibc 2.25 and earlier, the search list is limited to six domains + with a total of 256 characters. ++Since glibc 2.26, ++.\" glibc commit 3f853f22c87f0b671c0366eb290919719fa56c0e ++the search list is unlimited. ++.IP ++The ++.B domain ++directive is an obsolete name for the ++.B search ++directive that handles one search list entry only. + .TP + \fBsortlist\fP + This option allows addresses returned by +@@ -312,10 +319,6 @@ in + This option disables automatic reloading of a changed configuration file. + .RE + .PP +-The \fIdomain\fP and \fIsearch\fP keywords are mutually exclusive. +-If more than one instance of these keywords is present, +-the last instance wins. +-.PP + The \fIsearch\fP keyword of a system's \fIresolv.conf\fP file can be + overridden on a per-process basis by setting the environment variable + .B LOCALDOMAIN +-- +2.31.1 + diff --git a/SPECS/man-pages-overrides.spec b/SPECS/man-pages-overrides.spec index d828e48..11dffa2 100644 --- a/SPECS/man-pages-overrides.spec +++ b/SPECS/man-pages-overrides.spec @@ -2,8 +2,8 @@ Summary: Complementary and updated manual pages Name: man-pages-overrides -Version: 8.3.0.2 -Release: 2%{?dist} +Version: 8.5.0.0 +Release: 1%{?dist} # license is the same as for the man-pages package License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE Group: Documentation @@ -17,6 +17,8 @@ Patch3: 1828296-mpo-8.3.0.0-xattr.7.patch Patch4: 1829031-mpo-8.3.0.0-execve.2.patch Patch5: 1731058-mpo-8.3.0.1-radvd.8.patch Patch6: 1850065-mpo-8.3.0.2-sgdisk.8.patch +Patch7: 1899552-mpo-8.5.0.0-statx.2.patch +Patch8: 1928160-mpo-8.5.0.0-resolv.conf.5.patch BuildArch: noarch @@ -65,6 +67,14 @@ done %{_mandir}/overrides/ %changelog +* Fri Jul 09 2021 Nikola Forró - 8.5.0.0-1 +- Upload new tarball +- statx.2: add STATX_ATTR_DAX + resolves: #1899552 +- resolv.conf.5: update information about search list and + attempt to clarify domain/search interaction + resolves: #1928160 + * Thu Aug 20 2020 Nikola Forró - 8.3.0.2-2 - xattr.7: add attr(1) and selinux(8) as relevant pages to SEE ALSO related: #1828296