svn commit: r366946 - head/share/man/man9
Author: gbe (doc committer) Date: Thu Oct 22 18:45:49 2020 New Revision: 366946 URL: https://svnweb.freebsd.org/changeset/base/366946 Log: socket(9): Remove duplicate word 'is is' MFC after:1 week Modified: head/share/man/man9/socket.9 Modified: head/share/man/man9/socket.9 == --- head/share/man/man9/socket.9Thu Oct 22 18:00:07 2020 (r366945) +++ head/share/man/man9/socket.9Thu Oct 22 18:45:49 2020 (r366946) @@ -378,7 +378,7 @@ or A kernel system can use the .Fn sodtor_set function to set a destructor for a socket. -The destructor is called when the socket is is about to be freed. +The destructor is called when the socket is about to be freed. The destructor is called before the protocol detach routine. The destructor can serve as a callback to initiate additional cleanup actions. .Ss Socket I/O ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366947 - head/usr.sbin/nfsd
Author: gbe (doc committer) Date: Thu Oct 22 19:19:42 2020 New Revision: 366947 URL: https://svnweb.freebsd.org/changeset/base/366947 Log: pnfsserver(4): Fix some issues reported by mandoc - new sentence, new line Modified: head/usr.sbin/nfsd/pnfsserver.4 Modified: head/usr.sbin/nfsd/pnfsserver.4 == --- head/usr.sbin/nfsd/pnfsserver.4 Thu Oct 22 18:45:49 2020 (r366946) +++ head/usr.sbin/nfsd/pnfsserver.4 Thu Oct 22 19:19:42 2020 (r366947) @@ -248,11 +248,12 @@ after the DS failure or network partitioning occurs. the arguments for a LayoutReturn operation. .sp 3 - The system administrator can perform the pnfsdskill(8) command on the MDS -to disable it. If the system administrator does a pnfsdskill(8) and it fails -with ENXIO (Device not configured) that normally means the DS was already -disabled via #1 or #2. Since doing this is harmless, once a system -administrator knows that there is a problem with a mirrored DS, doing the -command is recommended. +to disable it. +If the system administrator does a pnfsdskill(8) and it fails with ENXIO +(Device not configured) that normally means the DS was already +disabled via #1 or #2. +Since doing this is harmless, once a system administrator knows that +there is a problem with a mirrored DS, doing the command is recommended. .sp Once a system administrator knows that a mirrored DS has malfunctioned or has been network partitioned, they should do the following as root/su @@ -266,9 +267,8 @@ Note that the must be the exac string used when the DS was mounted on the MDS. .Pp Once the mirrored DS has been disabled, the pNFS service should continue to -function, but file updates will only happen on the DS(s) -that have not been disabled. Assuming two way mirroring, that implies -the one DS of the pair stored in the +function, but file updates will only happen on the DS(s) that have not been disabled. +Assuming two way mirroring, that implies the one DS of the pair stored in the .Dq pnfsd.dsfile extended attribute for the file on the MDS, for files stored on the disabled DS. .Pp ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366949 - head/usr.sbin/nfsd
Author: gbe (doc committer) Date: Thu Oct 22 19:25:01 2020 New Revision: 366949 URL: https://svnweb.freebsd.org/changeset/base/366949 Log: stablerestart(5): Fix some issues reported by mandoc - New sentence, new line Modified: head/usr.sbin/nfsd/stablerestart.5 Modified: head/usr.sbin/nfsd/stablerestart.5 == --- head/usr.sbin/nfsd/stablerestart.5 Thu Oct 22 19:22:34 2020 (r366948) +++ head/usr.sbin/nfsd/stablerestart.5 Thu Oct 22 19:25:01 2020 (r366949) @@ -52,18 +52,18 @@ first record. The lease duration is used to set the grace period. The boot times are used to avoid the unlikely occurrence of a boot time being reused, -due to a TOD clock going backwards. This record and the previous boot times with this boot time added is re-written at the -end of the grace period. +due to a TOD clock going backwards. +This record and the previous boot times with this boot time +added is re-written at the end of the grace period. .Pp The rest of the file are appended records, as defined by -struct nfst_rec in /usr/include/fs/nfs/nfsrvstate.h and are used -represent one of two things. There are records which indicate that a +struct nfst_rec in /usr/include/fs/nfs/nfsrvstate.h and are used represent one of two things. +There are records which indicate that a client successfully acquired state and records that indicate a client's state was revoked. State revoke records indicate that state information for a client was discarded, due to lease expiry and an otherwise conflicting open or lock request being made by a different client. -These records can be used -to determine if clients might have done either of the +These records can be used to determine if clients might have done either of the edge conditions. .Pp If a client might have done either edge condition or this file is @@ -71,8 +71,8 @@ empty or corrupted, the server returns NFSERR_NOGRACE request from the client. .Pp For correct operation of the server, it must be ensured that the file -is written to stable storage by the time a write op with IO_SYNC specified -has returned. This might require hardware level caching to be disabled for +is written to stable storage by the time a write op with IO_SYNC specified has returned. +This might require hardware level caching to be disabled for a local disk drive that holds the file, or similar. .Sh FILES .Bl -tag -width /var/db/nfs-stablerestart.bak -compact @@ -86,12 +86,11 @@ backup copy of the file .Xr nfsd 8 .Sh BUGS If the file is empty, the NFSv4 server has no choice but to return -NFSERR_NOGRACE for all reclaim requests. Although correct, this is -a highly undesirable occurrence, so the file should not be lost if -at all possible. The backup copy of the file is maintained -and used by the +NFSERR_NOGRACE for all reclaim requests. +Although correct, this is a highly undesirable occurrence, so the file should not be lost if +at all possible. +The backup copy of the file is maintained and used by the .Xr nfsd 8 to minimize the risk of this occurring. -To move the file, you must edit -the nfsd sources and recompile it. This was done to discourage -accidental relocation of the file. +To move the file, you must edit the nfsd sources and recompile it. +This was done to discourage accidental relocation of the file. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367091 - in head/share/man: man4 man5
Author: gbe (doc committer) Date: Tue Oct 27 18:30:43 2020 New Revision: 367091 URL: https://svnweb.freebsd.org/changeset/base/367091 Log: Use my FreeBSD.org mail address in man pages I have written MFC after:3 days Modified: head/share/man/man4/smbios.4 head/share/man/man5/smbfs.5 head/share/man/man5/unionfs.5 Modified: head/share/man/man4/smbios.4 == --- head/share/man/man4/smbios.4Tue Oct 27 18:13:09 2020 (r367090) +++ head/share/man/man4/smbios.4Tue Oct 27 18:30:43 2020 (r367091) @@ -62,4 +62,4 @@ The device driver was written by .An Matthew N. Dodd Aq Mt win...@jurai.net . This manual page was written by -.An Gordon Bergling Aq Mt gbergl...@gmail.com . +.An Gordon Bergling Aq Mt g...@freebsd.org . Modified: head/share/man/man5/smbfs.5 == --- head/share/man/man5/smbfs.5 Tue Oct 27 18:13:09 2020(r367090) +++ head/share/man/man5/smbfs.5 Tue Oct 27 18:30:43 2020(r367091) @@ -76,4 +76,4 @@ The device driver was written by .An Boris Popov Aq Mt b...@freebsd.org . The manual page was contributed by -.An Gordon Bergling Aq Mt gbergl...@gmail.com . +.An Gordon Bergling Aq Mt g...@freebsd.org . Modified: head/share/man/man5/unionfs.5 == --- head/share/man/man5/unionfs.5 Tue Oct 27 18:13:09 2020 (r367090) +++ head/share/man/man5/unionfs.5 Tue Oct 27 18:30:43 2020 (r367091) @@ -78,7 +78,7 @@ and reimplemented the handling of the locking for .Fx 7.0 . The manual page was written by -.An Gordon Bergling Aq Mt gbergl...@gmail.com . +.An Gordon Bergling Aq Mt g...@freebsd.org . .Sh BUGS Please see the .Xr mount_unionfs 8 ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367197 - stable/12/share/man/man5
Author: gbe (doc committer) Date: Sat Oct 31 11:56:13 2020 New Revision: 367197 URL: https://svnweb.freebsd.org/changeset/base/367197 Log: MFC r358891, r358894, r359454, r359513, r359550 and r359556 elf(5) Updates: - start documenting ELF note sections - Remove extra Sy from table header - table markup fixes - add definitions of FreeBSD notes - minor update to FreeBSD ELF note descriptions - correct and expand NT_FREEBSD_NOINIT_TAG description - expand on NT_FREEBSD_FEATURE_CTL bit definitions Reviewed by: emaste Approved by: emaste Modified: stable/12/share/man/man5/elf.5 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man5/elf.5 == --- stable/12/share/man/man5/elf.5 Sat Oct 31 11:44:10 2020 (r367196) +++ stable/12/share/man/man5/elf.5 Sat Oct 31 11:56:13 2020 (r367197) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 18, 2005 +.Dd March 11, 2020 .Dt ELF 5 .Os .Sh NAME @@ -1275,6 +1275,55 @@ member. .It Dv r_addend This member specifies a constant addend used to compute the value to be stored into the relocatable field. +.El +.Ss Note Section +ELF note sections consist of entries with the following format: +.Bl -column -offset indent "namesz" "32 bits" "Null-terminated originator name" +.Sy Field Ta Sy SizeTa Sy Description +.It Va namesz Ta 32 bitsTa Size of "name" +.It Va descsz Ta 32 bitsTa Size of "desc" +.It Va type Ta 32 bitsTa OS-dependent note type +.It Va name Ta Va namesz Ta Null-terminated originator name +.It Va desc Ta Va descsz Ta OS-dependent note data +.El +.Pp +The +.Va name +and +.Va desc +fields are padded to ensure 4-byte alignemnt. +.Va namesz +and +.Va descsz +specify the unpadded length. +.Pp +.Fx +defines the following ELF note types +.Po with corresponding interpretation of +.Va desc Pc : +.Bl -tag -width 4n +.It Dv NT_FREEBSD_ABI_TAG Pq Value: 1 +Indicates the OS ABI version in a form of a 32-bit integer containing expected +ABI version +.Po i.e., +.Dv __FreeBSD_version Pc . +.It Dv NT_FREEBSD_NOINIT_TAG Pq Value: 2 +Indicates that the C startup does not call initialization routines, and thus +.Xr rtld 1 +must do so. +.Va desc +is ignored. +.It Dv NT_FREEBSD_ARCH_TAG Pq Value: 3 +Contains the MACHINE_ARCH that the executable was built for. +.It Dv NT_FREEBSD_FEATURE_CTL Pq Value: 4 +Contains a bitmask of mitigations and features to enable: +.Bl -column "NT_FREEBSD_FCTL_PROTMAX_DISABLE" "0x00" "Disable implicit PROT_MAX" +.Sy Name Ta Sy Value Ta Sy Description +.It NT_FREEBSD_FCTL_ASLR_DISABLETa 0x01 Ta Disable ASLR +.It NT_FREEBSD_FCTL_PROTMAX_DISABLE Ta 0x02 Ta Disable implicit PROT_MAX +.It NT_FREEBSD_FCTL_STKGAP_DISABLE Ta 0x04 Ta Disable stack gap +.It NT_FREEBSD_FCTL_WXNEEDEDTa 0x08 Ta Binary makes W+X mappings +.El .El .Sh SEE ALSO .Xr as 1 , ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367198 - stable/12/share/man/man5
Author: gbe (doc committer) Date: Sat Oct 31 12:05:00 2020 New Revision: 367198 URL: https://svnweb.freebsd.org/changeset/base/367198 Log: MFC r359608, r359611 elf(5) Updates - expand on NT_FREEBSD_FEATURE_CTL bit definitions - remove commented out leftovers Modified: stable/12/share/man/man5/elf.5 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man5/elf.5 == --- stable/12/share/man/man5/elf.5 Sat Oct 31 11:56:13 2020 (r367197) +++ stable/12/share/man/man5/elf.5 Sat Oct 31 12:05:00 2020 (r367198) @@ -1317,12 +1317,22 @@ is ignored. Contains the MACHINE_ARCH that the executable was built for. .It Dv NT_FREEBSD_FEATURE_CTL Pq Value: 4 Contains a bitmask of mitigations and features to enable: -.Bl -column "NT_FREEBSD_FCTL_PROTMAX_DISABLE" "0x00" "Disable implicit PROT_MAX" -.Sy Name Ta Sy Value Ta Sy Description -.It NT_FREEBSD_FCTL_ASLR_DISABLETa 0x01 Ta Disable ASLR -.It NT_FREEBSD_FCTL_PROTMAX_DISABLE Ta 0x02 Ta Disable implicit PROT_MAX -.It NT_FREEBSD_FCTL_STKGAP_DISABLE Ta 0x04 Ta Disable stack gap -.It NT_FREEBSD_FCTL_WXNEEDEDTa 0x08 Ta Binary makes W+X mappings +.Bl -tag -width 4n +.It NT_FREEBSD_FCTL_ASLR_DISABLE Pq Value: 0x01 +Request that address randomization (ASLR) not be performed. +See +.Xr security 7 . +.It NT_FREEBSD_FCTL_PROTMAX_DISABLE Pq Value: 0x02 +Request that +.Xr mmap 2 +calls not set PROT_MAX to the initial value of the +.Fa prot +argument. +.It NT_FREEBSD_FCTL_STKGAP_DISABLE Pq Value: 0x04 +Disable stack gap. +.It NT_FREEBSD_FCTL_WXNEEDED Pq Value: 0x08 +Indicate that the binary requires mappings that are simultaneously +writeable and executable. .El .El .Sh SEE ALSO ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367200 - stable/12/share/man/man5
Author: gbe (doc committer) Date: Sat Oct 31 12:36:08 2020 New Revision: 367200 URL: https://svnweb.freebsd.org/changeset/base/367200 Log: MFC r359731: Add a basic manpage for smbfs(5) Added: stable/12/share/man/man5/smbfs.5 - copied unchanged from r359731, head/share/man/man5/smbfs.5 Modified: stable/12/share/man/man5/Makefile Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man5/Makefile == --- stable/12/share/man/man5/Makefile Sat Oct 31 12:10:43 2020 (r367199) +++ stable/12/share/man/man5/Makefile Sat Oct 31 12:36:08 2020 (r367200) @@ -65,6 +65,7 @@ MAN= acct.5 \ resolver.5 \ services.5 \ shells.5 \ + smbfs.5 \ src.conf.5 \ stab.5 \ style.Makefile.5 \ Copied: stable/12/share/man/man5/smbfs.5 (from r359731, head/share/man/man5/smbfs.5) == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ stable/12/share/man/man5/smbfs.5Sat Oct 31 12:36:08 2020 (r367200, copy of r359731, head/share/man/man5/smbfs.5) @@ -0,0 +1,79 @@ +.\" Copyright (c) 2020 Gordon Bergling +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\"notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\"notice, this list of conditions and the following disclaimer in the +.\"documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd April 8, 2020 +.Dt SMBFS 5 +.Os +.Sh NAME +.Nm smbfs +.Nd "SMB FS" +.Sh SYNOPSIS +To compile this driver into the kernel, +place the following lines in your +kernel configuration file: +.Bd -ragged -offset indent +.Cd "option NETSMB" +.Ed +.Pp +Alternatively, to load the driver as a +module at boot time, place the following line in +.Xr loader.conf 5 : +.Bd -literal -offset indent +smbfs_load="YES" +.Ed +.Sh DESCRIPTION +The SMB driver is an implementation of the CIFS (Common Internet Filesystem) +network protocol. +.Sh SEE ALSO +.Xr smbutil 1 , +.Xr mount_smbfs 8 +.Sh STANDARDS +.Rs +.%U https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-cifs/ +.%T Common Internet File System (CIFS) Protocol +.%R MS-CIFS +.%D December 2018 +.Re +.Pp +.Rs +.%U https://tools.ietf.org/html/draft-heizer-cifs-v1-spec-00 +.%T Common Internet File System Protocol (CIFS/1.0) +.%D June 13, 1996 +.%A I. Heizer +.%A P. Leach +.%A D. Perry +.Re +.Sh HISTORY +The +.Nm +device driver first appeared in +.Fx 4.4 . +.Sh AUTHORS +The +.Nm +device driver was written by +.An Boris Popov Aq Mt b...@freebsd.org . +The manual page was contributed by +.An Gordon Bergling Aq Mt gbergl...@gmail.com . ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367201 - in stable/12/share/man: man4 man5
Author: gbe (doc committer) Date: Sat Oct 31 12:37:26 2020 New Revision: 367201 URL: https://svnweb.freebsd.org/changeset/base/367201 Log: MFC r367091: Use my FreeBSD.org mail address in man pages I have written Modified: stable/12/share/man/man4/smbios.4 stable/12/share/man/man5/smbfs.5 stable/12/share/man/man5/unionfs.5 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man4/smbios.4 == --- stable/12/share/man/man4/smbios.4 Sat Oct 31 12:36:08 2020 (r367200) +++ stable/12/share/man/man4/smbios.4 Sat Oct 31 12:37:26 2020 (r367201) @@ -62,4 +62,4 @@ The device driver was written by .An Matthew N. Dodd Aq Mt win...@jurai.net . This manual page was written by -.An Gordon Bergling Aq Mt gbergl...@gmail.com . +.An Gordon Bergling Aq Mt g...@freebsd.org . Modified: stable/12/share/man/man5/smbfs.5 == --- stable/12/share/man/man5/smbfs.5Sat Oct 31 12:36:08 2020 (r367200) +++ stable/12/share/man/man5/smbfs.5Sat Oct 31 12:37:26 2020 (r367201) @@ -76,4 +76,4 @@ The device driver was written by .An Boris Popov Aq Mt b...@freebsd.org . The manual page was contributed by -.An Gordon Bergling Aq Mt gbergl...@gmail.com . +.An Gordon Bergling Aq Mt g...@freebsd.org . Modified: stable/12/share/man/man5/unionfs.5 == --- stable/12/share/man/man5/unionfs.5 Sat Oct 31 12:36:08 2020 (r367200) +++ stable/12/share/man/man5/unionfs.5 Sat Oct 31 12:37:26 2020 (r367201) @@ -78,7 +78,7 @@ and reimplemented the handling of the locking for .Fx 7.0 . The manual page was written by -.An Gordon Bergling Aq Mt gbergl...@gmail.com . +.An Gordon Bergling Aq Mt g...@freebsd.org . .Sh BUGS Please see the .Xr mount_unionfs 8 ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367202 - stable/12/share/man/man9
Author: gbe (doc committer) Date: Sat Oct 31 12:39:22 2020 New Revision: 367202 URL: https://svnweb.freebsd.org/changeset/base/367202 Log: MFC r366946: socket(9): Remove duplicate word 'is is' Modified: stable/12/share/man/man9/socket.9 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man9/socket.9 == --- stable/12/share/man/man9/socket.9 Sat Oct 31 12:37:26 2020 (r367201) +++ stable/12/share/man/man9/socket.9 Sat Oct 31 12:39:22 2020 (r367202) @@ -378,7 +378,7 @@ or A kernel system can use the .Fn sodtor_set function to set a destructor for a socket. -The destructor is called when the socket is is about to be freed. +The destructor is called when the socket is about to be freed. The destructor is called before the protocol detach routine. The destructor can serve as a callback to initiate additional cleanup actions. .Ss Socket I/O ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r367321 - head/sys/amd64/linux
Shouldn't such a commit be approved by someone? And why you just abandoned the differential [1]? [1] https://reviews.freebsd.org/D25934 --Gordon On Wed, Nov 04, 2020 at 10:38:25AM +, Mateusz Piotrowski wrote: > Author: 0mp (doc,ports committer) > Date: Wed Nov 4 10:38:25 2020 > New Revision: 367321 > URL: https://svnweb.freebsd.org/changeset/base/367321 > > Log: > Fix a typo > > Modified: > head/sys/amd64/linux/linux_machdep.c > > Modified: head/sys/amd64/linux/linux_machdep.c > == > --- head/sys/amd64/linux/linux_machdep.c Wed Nov 4 10:21:30 2020 > (r367320) > +++ head/sys/amd64/linux/linux_machdep.c Wed Nov 4 10:38:25 2020 > (r367321) > @@ -126,7 +126,7 @@ linux_set_upcall_kse(struct thread *td, register_t sta > > /* >* The newly created Linux thread returns > - * to the user space by the same path that a parent do. > + * to the user space by the same path that a parent does. >*/ > td->td_frame->tf_rax = 0; > return (0); > ___ > svn-src-h...@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org" -- ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367679 - stable/12/share/man/man4
Author: gbe (doc committer) Date: Sat Nov 14 14:15:49 2020 New Revision: 367679 URL: https://svnweb.freebsd.org/changeset/base/367679 Log: MFC r366580: bpf(4): Update the man page to reflect reality PR: 131918 Submitted by: guy at alum dot mit dot edu Reviewed by: gnn, gbe Approved by: gnn Differential Revision:https://reviews.freebsd.org/D25993 Modified: stable/12/share/man/man4/bpf.4 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man4/bpf.4 == --- stable/12/share/man/man4/bpf.4 Sat Nov 14 13:07:41 2020 (r367678) +++ stable/12/share/man/man4/bpf.4 Sat Nov 14 14:15:49 2020 (r367679) @@ -49,7 +49,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 21, 2016 +.Dd October 9, 2020 .Dt BPF 4 .Os .Sh NAME @@ -73,12 +73,6 @@ ioctl. A given interface can be shared by multiple listeners, and the filter underlying each descriptor will see an identical packet stream. .Pp -A separate device file is required for each minor device. -If a file is in use, the open will fail and -.Va errno -will be set to -.Er EBUSY . -.Pp Associated with each open instance of a .Nm file is a user-settable packet filter. @@ -86,19 +80,6 @@ Whenever a packet is received by an interface, all file descriptors listening on that interface apply their filter. Each descriptor that accepts the packet receives its own copy. .Pp -The packet filter will support any link level protocol that has fixed length -headers. -Currently, only Ethernet, -.Tn SLIP , -and -.Tn PPP -drivers have been modified to interact with -.Nm . -.Pp -Since packet data is in network byte order, applications should use the -.Xr byteorder 3 -macros to extract multi-byte values. -.Pp A packet can be sent out on the network by writing to a .Nm file descriptor. @@ -313,7 +294,7 @@ with If the requested buffer size cannot be accommodated, the closest allowable size will be set and returned in the argument. A read call will result in -.Er EIO +.Er EINVAL if it is passed a buffer that is not this size. .It Dv BIOCGDLT .Pq Li u_int @@ -324,6 +305,43 @@ The device types, prefixed with .Dq Li DLT_ , are defined in .In net/bpf.h . +.It Dv BIOCGDLTLIST +.Pq Li "struct bpf_dltlist" +Returns an array of the available types of the data link layer +underlying the attached interface: +.Bd -literal -offset indent +struct bpf_dltlist { + u_int bfl_len; + u_int *bfl_list; +}; +.Ed +.Pp +The available types are returned in the array pointed to by the +.Va bfl_list +field while their length in u_int is supplied to the +.Va bfl_len +field. +.Er ENOMEM +is returned if there is not enough buffer space and +.Er EFAULT +is returned if a bad address is encountered. +The +.Va bfl_len +field is modified on return to indicate the actual length in u_int +of the array returned. +If +.Va bfl_list +is +.Dv NULL , +the +.Va bfl_len +field is set to indicate the required length of an array in u_int. +.It Dv BIOCSDLT +.Pq Li u_int +Changes the type of the data link layer underlying the attached interface. +.Er EINVAL +is returned if no interface has been specified or the specified +type is not available for the interface. .It Dv BIOCPROMISC Forces the interface into promiscuous mode. All packets, not just those destined for the local host, are processed. @@ -331,6 +349,9 @@ Since more than one file can be listening on a given i a listener that opened its interface non-promiscuously may receive packets promiscuously. This problem can be remedied with an appropriate filter. +.Pp +The interface remains in promiscuous mode until all files listening +promiscuously are closed. .It Dv BIOCFLUSH Flushes the buffer of incoming packets, and resets the statistics that are returned by BIOCGSTATS. @@ -344,7 +365,7 @@ structure. All other fields are undefined. .It Dv BIOCSETIF .Pq Li "struct ifreq" -Sets the hardware interface associate with the file. +Sets the hardware interface associated with the file. This command must be performed before any packets can be read. The device is indicated by name using the @@ -357,7 +378,7 @@ Additionally, performs the actions of .It Dv BIOCSRTIMEOUT .It Dv BIOCGRTIMEOUT .Pq Li "struct timeval" -Set or get the read timeout parameter. +Sets or gets the read timeout parameter. The argument specifies the length of time to wait before timing out on a read request. @@ -387,7 +408,7 @@ kernel because of buffer overflows .El .It Dv BIOCIMMEDIATE .Pq Li u_int -Enable or disable +Enables or disables .Dq immediate mode , based on the truth value of the argument. When immediate mode is enabled, reads return immediately upon packet @@ -407,7 +428,7 @@ An array of instructions and its length is passed in u the following structure: .Bd -literal struct bpf_program { - int bf_len; + u_int bf_len; struct bpf_insn *bf_insns; }; .Ed @@ -469,10 +490,18 @@ An inc
Re: svn commit: r367686 - head/lib/libutil
Hi Scott, this somehow breaks the build. - ===> lib/msun (obj,all,install) /tank/nfs_public/tiny/src/lib/libutil/getlocalbase.c:69:30: error: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'ssize_t' (aka 'long') [-Werror,-Wsign-compare] if ((tmplen < 0) || (tmplen >= (ssize_t)pathlen)) { ~~ ^ 1 error generated. --- getlocalbase.o --- *** [getlocalbase.o] Error code 1 . Got this on arm64 with the following src.conf: WITH_MALLOC_PRODUCTION=1 WITH_EXTRA_TCP_STACKS=1 WITH_BEARSSL=1 WITH_PIE=1 WITH_RETPOLINE=1 --Gordon On Sat, Nov 14, 2020 at 05:57:50PM +, Scott Long wrote: > Author: scottl > Date: Sat Nov 14 17:57:50 2020 > New Revision: 367686 > URL: https://svnweb.freebsd.org/changeset/base/367686 > > Log: > Add the library function getlocalbase and its manual page. This helps to > unify the retrieval of the various ways that the local software base > directory, > typically "/usr/local", is expressed in the system. > > Reviewed by:se > Differential Revision: https://reviews.freebsd.org/D27022 > > Added: > head/lib/libutil/getlocalbase.3 (contents, props changed) > head/lib/libutil/getlocalbase.c (contents, props changed) > Modified: > head/lib/libutil/Makefile > head/lib/libutil/libutil.h > > Modified: head/lib/libutil/Makefile > == > --- head/lib/libutil/Makefile Sat Nov 14 15:44:28 2020(r367685) > +++ head/lib/libutil/Makefile Sat Nov 14 17:57:50 2020(r367686) > @@ -12,7 +12,8 @@ PACKAGE=runtime > LIB= util > SHLIB_MAJOR= 9 > > -SRCS=_secure_path.c auth.c expand_number.c flopen.c fparseln.c > gr_util.c \ > +SRCS=_secure_path.c auth.c expand_number.c flopen.c fparseln.c \ > + getlocalbase.c gr_util.c \ > hexdump.c humanize_number.c kinfo_getfile.c \ > kinfo_getallproc.c kinfo_getproc.c kinfo_getvmmap.c \ > kinfo_getvmobject.c kld.c \ > @@ -30,7 +31,7 @@ CFLAGS+= -DINET6 > > CFLAGS+= -I${.CURDIR} -I${SRCTOP}/lib/libc/gen/ > > -MAN+=expand_number.3 flopen.3 fparseln.3 hexdump.3 \ > +MAN+=expand_number.3 flopen.3 fparseln.3 getlocalbase.3 hexdump.3 \ > humanize_number.3 kinfo_getallproc.3 kinfo_getfile.3 \ > kinfo_getproc.3 kinfo_getvmmap.3 kinfo_getvmobject.3 kld.3 \ > login_auth.3 login_cap.3 \ > > Added: head/lib/libutil/getlocalbase.3 > == > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/lib/libutil/getlocalbase.3 Sat Nov 14 17:57:50 2020 > (r367686) > @@ -0,0 +1,110 @@ > +.\" > +.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD > +.\" > +.\" Copyright 2020 Scott Long > +.\" > +.\" Redistribution and use in source and binary forms, with or without > +.\" modification, are permitted provided that the following conditions > +.\" are met: > +.\" 1. Redistributions of source code must retain the above copyright > +.\"notice, this list of conditions and the following disclaimer. > +.\" 2. Redistributions in binary form must reproduce the above copyright > +.\"notice, this list of conditions and the following disclaimer in the > +.\"documentation and/or other materials provided with the distribution. > +.\" > +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND > +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE > +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR > PURPOSE > +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE > +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR > CONSEQUENTIAL > +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS > +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) > +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, > STRICT > +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY > +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF > +.\" SUCH DAMAGE. > +.\" > +.\" $FreeBSD$ > +.\" > +.Dd Oct 28, 2020 > +.Dt GETLOCALBASE 3 > +.Os > +.Sh NAME > +.Nm getlocalbase > +.Nd "return the path to the local software directory" > +.Sh LIBRARY > +.Lb libutil > +.Sh SYNOPSIS > +.In libutil.h > +.Ft ssize_t > +.Fn getlocalbase "char *path" "size_t len" > +.Sh DESCRIPTION > +The > +.Fn getlocalbase > +function returns the path to the local software base directory. > +Normally this is the > +.Pa /usr/local > +directory. > +First the > +.Ev LOCALBASE > +environment variable is checked. > +If that doesn't exist then the > +.Va user.localbase > +sysctl is checked. > +If that also doesn't
Re: svn commit: r367686 - head/lib/libutil
Hi Scott, after r367689 the build was fixed, but on arm64 I get the following error, when I try to 'pkg upgrade': $ doas pkg upgrade Cannot determine local path $ Is this error somehow related to this change? --Gordon On Sat, Nov 14, 2020 at 11:44:29AM -0700, Scott Long wrote: > Hi, > > Yeah, I’m working on a fix, sorry. I made a last minute change that I > thought I > had tested, but apparently hadn’t. > > Scott > > > > On Nov 14, 2020, at 11:43 AM, Gordon Bergling wrote: > > > > Hi Scott, > > > > this somehow breaks the build. > > > > - > > ===> lib/msun (obj,all,install) > > /tank/nfs_public/tiny/src/lib/libutil/getlocalbase.c:69:30: error: > > comparison of integers of different signs: 'size_t' (aka 'unsigned long') > > and 'ssize_t' (aka 'long') [-Werror,-Wsign-compare] > >if ((tmplen < 0) || (tmplen >= (ssize_t)pathlen)) { > > ~~ ^ > > 1 error generated. > > --- getlocalbase.o --- > > *** [getlocalbase.o] Error code 1 > > . > > > > Got this on arm64 with the following src.conf: > > > > WITH_MALLOC_PRODUCTION=1 > > WITH_EXTRA_TCP_STACKS=1 > > WITH_BEARSSL=1 > > WITH_PIE=1 > > WITH_RETPOLINE=1 > > > > --Gordon > > > > On Sat, Nov 14, 2020 at 05:57:50PM +, Scott Long wrote: > >> Author: scottl > >> Date: Sat Nov 14 17:57:50 2020 > >> New Revision: 367686 > >> URL: https://svnweb.freebsd.org/changeset/base/367686 > >> > >> Log: > >> Add the library function getlocalbase and its manual page. This helps to > >> unify the retrieval of the various ways that the local software base > >> directory, > >> typically "/usr/local", is expressed in the system. > >> > >> Reviewed by: se > >> Differential Revision:https://reviews.freebsd.org/D27022 > >> > >> Added: > >> head/lib/libutil/getlocalbase.3 (contents, props changed) > >> head/lib/libutil/getlocalbase.c (contents, props changed) > >> Modified: > >> head/lib/libutil/Makefile > >> head/lib/libutil/libutil.h > >> > >> Modified: head/lib/libutil/Makefile > >> == > >> --- head/lib/libutil/Makefile Sat Nov 14 15:44:28 2020 > >> (r367685) > >> +++ head/lib/libutil/Makefile Sat Nov 14 17:57:50 2020 > >> (r367686) > >> @@ -12,7 +12,8 @@ PACKAGE= runtime > >> LIB= util > >> SHLIB_MAJOR= 9 > >> > >> -SRCS= _secure_path.c auth.c expand_number.c flopen.c fparseln.c > >> gr_util.c \ > >> +SRCS= _secure_path.c auth.c expand_number.c flopen.c fparseln.c \ > >> + getlocalbase.c gr_util.c \ > >>hexdump.c humanize_number.c kinfo_getfile.c \ > >>kinfo_getallproc.c kinfo_getproc.c kinfo_getvmmap.c \ > >>kinfo_getvmobject.c kld.c \ > >> @@ -30,7 +31,7 @@ CFLAGS+= -DINET6 > >> > >> CFLAGS+= -I${.CURDIR} -I${SRCTOP}/lib/libc/gen/ > >> > >> -MAN+= expand_number.3 flopen.3 fparseln.3 hexdump.3 \ > >> +MAN+= expand_number.3 flopen.3 fparseln.3 getlocalbase.3 hexdump.3 \ > >>humanize_number.3 kinfo_getallproc.3 kinfo_getfile.3 \ > >>kinfo_getproc.3 kinfo_getvmmap.3 kinfo_getvmobject.3 kld.3 \ > >>login_auth.3 login_cap.3 \ > >> > >> Added: head/lib/libutil/getlocalbase.3 > >> == > >> --- /dev/null 00:00:00 1970 (empty, because file is newly added) > >> +++ head/lib/libutil/getlocalbase.3Sat Nov 14 17:57:50 2020 > >> (r367686) > >> @@ -0,0 +1,110 @@ > >> +.\" > >> +.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD > >> +.\" > >> +.\" Copyright 2020 Scott Long > >> +.\" > >> +.\" Redistribution and use in source and binary forms, with or without > >> +.\" modification, are permitted provided that the following conditions > >> +.\" are met: > >> +.\" 1. Redistributions of source code must retain the above copyright > >> +.\"notice, this list of conditions and the following disclaimer. > >> +.\" 2. R
svn commit: r367889 - head/sbin/camcontrol
Author: gbe (doc committer) Date: Fri Nov 20 11:45:08 2020 New Revision: 367889 URL: https://svnweb.freebsd.org/changeset/base/367889 Log: camcontrol(8): Fix some warnings spotted by mandoc - skipping paragraph macro: Pp before Bl Modified: head/sbin/camcontrol/camcontrol.8 Modified: head/sbin/camcontrol/camcontrol.8 == --- head/sbin/camcontrol/camcontrol.8 Fri Nov 20 11:31:25 2020 (r367888) +++ head/sbin/camcontrol/camcontrol.8 Fri Nov 20 11:45:08 2020 (r367889) @@ -2276,7 +2276,6 @@ These zones must be written sequentially. If they are not written sequentially, starting at the write pointer, the command will fail. .El -.Pp .Bl -tag -width 12n .It Fl c Ar cmd Specify the zone subcommand: @@ -2831,7 +2830,6 @@ This will read and decode the attribute values from pa in tape drive sa0, and will display any .Tn SCSI errors that result. -.Pp .Bd -literal -offset indent camcontrol zone da0 -v -c rz -P summary .Ed @@ -2842,7 +2840,6 @@ summary of the zone parameters, and display any or .Tn ATA errors that result. -.Pp .Bd -literal -offset indent camcontrol zone da0 -v -c rz -o reset .Ed @@ -2853,7 +2850,6 @@ pointer reset from the disk da0, and display any or .Tn ATA errors that result. -.Pp .Bd -literal -offset indent camcontrol zone da0 -v -c rwp -l 0x2c8 .Ed @@ -2864,7 +2860,6 @@ that starts at LBA 0x2c8 and display any or .Tn ATA errors that result. -.Pp .Bd -literal -offset indent camcontrol epc ada0 -c timer -T 60.1 -p Idle_a -e -s .Ed @@ -2873,7 +2868,6 @@ Set the timer for the Idle_a power condition on drive .Pa ada0 to 60.1 seconds, enable that particular power condition, and save the timer value and the enabled state of the power condition. -.Pp .Bd -literal -offset indent camcontrol epc da4 -c goto -p Standby_z -H .Ed @@ -2885,7 +2879,6 @@ the drive's lowest power state) and hold in that state explicitly released by another .Cm goto command. -.Pp .Bd -literal -offset indent camcontrol epc da2 -c status -P .Ed @@ -2903,7 +2896,6 @@ to only send the .Tn ATA CHECK POWER MODE command, which should not trigger a change in the drive's power state. -.Pp .Bd -literal -offset indent camcontrol epc ada0 -c list .Ed @@ -2911,7 +2903,6 @@ camcontrol epc ada0 -c list Display the ATA Power Conditions log (Log Address 0x08) for drive .Pa ada0 . -.Pp .Bd -literal -offset indent camcontrol timestamp sa0 -s -f "%a, %d %b %Y %T %z" \e -T "Wed, 26 Oct 2016 21:43:57 -0600" ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367897 - head/sbin/devmatch
Author: gbe (doc committer) Date: Fri Nov 20 16:34:01 2020 New Revision: 367897 URL: https://svnweb.freebsd.org/changeset/base/367897 Log: devmatch(8): Fix section ordering - sections out of conventional order: Sh HISTORY Modified: head/sbin/devmatch/devmatch.8 Modified: head/sbin/devmatch/devmatch.8 == --- head/sbin/devmatch/devmatch.8 Fri Nov 20 15:21:10 2020 (r367896) +++ head/sbin/devmatch/devmatch.8 Fri Nov 20 16:34:01 2020 (r367897) @@ -69,6 +69,10 @@ Produce more verbose output. .Sh SEE ALSO .Xr devinfo 8 , .Xr MODULE_PNP_INFO 9 +.Sh HISTORY +.Nm +first appeared in +.Fx 12.0 . .Sh AUTHORS .An Warner Losh Aq Mt i...@freebsd.org .Sh BUGS @@ -94,7 +98,3 @@ logical equivalent in USB, PCI, and others. .Pp Many drivers currently lack proper PNP table decorations and need to be updated. -.Sh HISTORY -.Nm -first appeared in -.Fx 12.0 . ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367898 - head/usr.bin/iscsictl
Author: gbe (doc committer) Date: Fri Nov 20 16:41:32 2020 New Revision: 367898 URL: https://svnweb.freebsd.org/changeset/base/367898 Log: iscsi.conf(5): Fix a mandoc warning - new sentence, new line Modified: head/usr.bin/iscsictl/iscsi.conf.5 Modified: head/usr.bin/iscsictl/iscsi.conf.5 == --- head/usr.bin/iscsictl/iscsi.conf.5 Fri Nov 20 16:34:01 2020 (r367897) +++ head/usr.bin/iscsictl/iscsi.conf.5 Fri Nov 20 16:41:32 2020 (r367898) @@ -146,9 +146,9 @@ for iSCSI over RDMA, or Default is .Qq Ar iSCSI . .It Cm dscp -The DiffServ Codepoint used for sending data. The DSCP can be -set to numeric, or hexadecimal values directly, as well as the -well-defined +The DiffServ Codepoint used for sending data. +The DSCP can be set to numeric, or hexadecimal values directly, +as well as the well-defined .Qq Ar cs and .Qq Ar af ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367899 - head/usr.sbin/bsnmpd/modules/snmp_wlan
Author: gbe (doc committer) Date: Fri Nov 20 16:46:51 2020 New Revision: 367899 URL: https://svnweb.freebsd.org/changeset/base/367899 Log: snmp_wlan(3): Fix mandoc warnings - new sentence, new line Modified: head/usr.sbin/bsnmpd/modules/snmp_wlan/snmp_wlan.3 Modified: head/usr.sbin/bsnmpd/modules/snmp_wlan/snmp_wlan.3 == --- head/usr.sbin/bsnmpd/modules/snmp_wlan/snmp_wlan.3 Fri Nov 20 16:41:32 2020(r367898) +++ head/usr.sbin/bsnmpd/modules/snmp_wlan/snmp_wlan.3 Fri Nov 20 16:46:51 2020(r367899) @@ -41,8 +41,8 @@ The .Nm snmp_wlan module implements a private BEGEMOT-WIRELESS-MIB, which allows -management of virtual wireless interfaces. The MIB defines objects similar to the -state data and configuration capabilities of +management of virtual wireless interfaces. +The MIB defines objects similar to the state data and configuration capabilities of .Xr ifconfig 8 for configuring virtual wireless interfaces. Therefore one should consider adding write communities or loading the @@ -52,15 +52,15 @@ module on systems where security is crucial. A short description of the Tables and interesting objects in the MIB follows. .Bl -tag -width "X" .It Va wlanInterfaceTable -The table is used for creation and deletion of virtual wireless interfaces. To -add a new interface, a SET should be executed on the +The table is used for creation and deletion of virtual wireless interfaces. +To add a new interface, a SET should be executed on the .Va wlanIfaceName column with -value the desired name of the interface. Next the parent interface must be set -via +value the desired name of the interface. +Next the parent interface must be set via .Va wlanParentIfName -column. Any optional parameters may be set -via the +column. +Any optional parameters may be set via the .Va wlanIfaceOperatingMode , .Va wlanIfaceFlags , .Va wlanIfaceBssid @@ -78,9 +78,9 @@ The table contains information about the hardware capa a wireless interface. .It Va wlanIfaceConfigTable The table is used to get or set various configuration parameters for a virtual -wireless interface. Depending on the operating mode of the interface and the -hardware capabilities of the underlying hardware interface, not all parameters -and values may be supported. +wireless interface. +Depending on the operating mode of the interface and the hardware capabilities +of the underlying hardware interface, not all parameters and values may be supported. .It Va wlanIfacePeerTable The table contains information about the associated stations for interfaces operating as access points, or the stations identified as neighbors in the IBSS @@ -106,8 +106,9 @@ Access Control configuration for wireless interfaces o The table with Access Control MAC entries for which the configured Access Control Policy on wireless interfaces operating in Host AP mode is applied. .Va wlanMACAccessControlMACStatus -column is used to add or delete MAC ACL entries. A set with value createAndGo(4) -will add new entry, while with value destroy(6) will delete an existing one. +column is used to add or delete MAC ACL entries. +A set with value createAndGo(4) will add new entry, while with value destroy(6) +will delete an existing one. .It Va wlanMeshRoutingConfig The subtree contains system configuration related to Wireless Mesh Routing. .It Va wlanMeshInterfaceTable @@ -121,8 +122,9 @@ The mesh routing table for interfaces operating as mes forwarding packets on a mesh network. .Va wlanMeshRouteStatus column is used to add or delete entries in the mesh routing table for an -interface. A set with value createAndGo(4) will add new entry, while with value -destroy(6) will delete an existing one. +interface. +A set with value createAndGo(4) will add new entry, while with value destroy(6) +will delete an existing one. .It Va wlanMeshStatsTable Summary statistics for each virtual wireless interface operating as mesh point. .It Va wlanMeshHWMPConfig ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367900 - head/usr.sbin/syslogd
Author: gbe (doc committer) Date: Fri Nov 20 16:50:52 2020 New Revision: 367900 URL: https://svnweb.freebsd.org/changeset/base/367900 Log: syslog.conf(5): Fix a few mandoc warnings - new sentence, new line - skipping paragraph macro: Pp at the end of Sh Modified: head/usr.sbin/syslogd/syslog.conf.5 Modified: head/usr.sbin/syslogd/syslog.conf.5 == --- head/usr.sbin/syslogd/syslog.conf.5 Fri Nov 20 16:46:51 2020 (r367899) +++ head/usr.sbin/syslogd/syslog.conf.5 Fri Nov 20 16:50:52 2020 (r367900) @@ -245,7 +245,8 @@ specification is a line beginning with or .Ql \&: and the following blocks will be applied only when filter value -matches given filter propertie's value. See +matches given filter propertie's value. +See .Sx PROPERTY-BASED FILTERS section for more details. .Pp @@ -464,8 +465,8 @@ or .Ql \&: followed by three comma-separated fields .Em property , operator , \&"value\&" . -Value must be double-quoted. A double quote and backslash must be escaped by -a backslash. +Value must be double-quoted. +A double quote and backslash must be escaped by a backslash. .Pp Following .Em properties @@ -521,7 +522,6 @@ Operator may be prefixed by .Ql icase_ - to make comparison function case insensitive .El -.Pp .Sh IMPLEMENTATION NOTES The .Dq kern ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367901 - head/usr.sbin/wpa/hostapd
Author: gbe (doc committer) Date: Fri Nov 20 16:57:06 2020 New Revision: 367901 URL: https://svnweb.freebsd.org/changeset/base/367901 Log: hostapd.conf(5): Fix a mandoc warning - new sentence, new line Modified: head/usr.sbin/wpa/hostapd/hostapd.conf.5 Modified: head/usr.sbin/wpa/hostapd/hostapd.conf.5 == --- head/usr.sbin/wpa/hostapd/hostapd.conf.5Fri Nov 20 16:50:52 2020 (r367900) +++ head/usr.sbin/wpa/hostapd/hostapd.conf.5Fri Nov 20 16:57:06 2020 (r367901) @@ -67,8 +67,9 @@ The following parameters are recognized: Interface name. Should be set in .Dq hostap -mode. Make certain that there are no spaces after the interface name, -or hostapd will complain that the interface does not exist. +mode. +Make certain that there are no spaces after the interface name, or hostapd wil +complain that the interface does not exist. .It Va debug Debugging mode: 0 = no, 1 = minimal, 2 = verbose, 3 = msg dumps, 4 = excessive. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367902 - head/usr.sbin/crashinfo
Author: gbe (doc committer) Date: Fri Nov 20 16:59:51 2020 New Revision: 367902 URL: https://svnweb.freebsd.org/changeset/base/367902 Log: crashinfo(8): Fix a few mandoc warnings - new sentence, new line Modified: head/usr.sbin/crashinfo/crashinfo.8 Modified: head/usr.sbin/crashinfo/crashinfo.8 == --- head/usr.sbin/crashinfo/crashinfo.8 Fri Nov 20 16:57:06 2020 (r367901) +++ head/usr.sbin/crashinfo/crashinfo.8 Fri Nov 20 16:59:51 2020 (r367902) @@ -89,9 +89,11 @@ and The options are as follows: .Bl -tag -width indent .It Fl b -Run in batch mode. Write most messages to the +Run in batch mode. +Write most messages to the .Pa core.txt.XX -file instead of the terminal. This flag is used when +file instead of the terminal. +This flag is used when .Nm is run during boot. .It Fl d Ar crashdir ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367903 - head/usr.sbin/moused
Author: gbe (doc committer) Date: Fri Nov 20 17:04:49 2020 New Revision: 367903 URL: https://svnweb.freebsd.org/changeset/base/367903 Log: moused(8): Fix a few mandoc warnings - new sentence, new line Modified: head/usr.sbin/moused/moused.8 Modified: head/usr.sbin/moused/moused.8 == --- head/usr.sbin/moused/moused.8 Fri Nov 20 16:59:51 2020 (r367902) +++ head/usr.sbin/moused/moused.8 Fri Nov 20 17:04:49 2020 (r367903) @@ -147,7 +147,8 @@ is enabled, the option can be used to set the .Ar distance (in pixels) that the mouse must move before a scroll event -is generated. This effectively controls the scrolling speed. +is generated. +This effectively controls the scrolling speed. The default .Ar distance is 2 pixels. @@ -240,20 +241,21 @@ drive the pointer quickly across the screen. The .Ar exp value specifies the exponent, which is basically -the amount of acceleration. Useful values are in the -range 1.1 to 2.0, but it depends on your mouse hardware -and your personal preference. A value of 1.0 means no -exponential acceleration. A value of 2.0 means squared -acceleration (i.e. if you move the mouse twice as fast, -the pointer will move four times as fast on the screen). +the amount of acceleration. +Useful values are in the range 1.1 to 2.0, but it depends on +your mouse hardware and your personal preference. +A value of 1.0 means no exponential acceleration. +A value of 2.0 means squared acceleration (i.e. if +you move the mouse twice as fast, the pointer will move +four times as fast on the screen). Values beyond 2.0 are possible but not recommended. A good value to start is probably 1.5. .Pp The optional .Ar offset -value specifies the distance at which the acceleration -begins. The default is 1.0, which means that the -acceleration is applied to movements larger than one unit. +value specifies the distance at which the acceleration begins. +The default is 1.0, which means that the acceleration is applied +to movements larger than one unit. If you specify a larger value, it takes more speed for the acceleration to kick in, i.e. the speed range for small and accurate movements is wider. @@ -263,8 +265,8 @@ not satisfied with the behaviour, try a value of 2.0. Note that the .Fl A option interacts badly with the X server's own acceleration, -which doesn't work very well anyway. Therefore it is -recommended to switch it off if necessary: +which doesn't work very well anyway. +Therefore it is recommended to switch it off if necessary: .Dq xset m 1 . .It Fl a Ar X Ns Op , Ns Ar Y Accelerate or decelerate the mouse input. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367904 - head/usr.sbin/wpa/hostapd
Author: gbe (doc committer) Date: Fri Nov 20 17:13:13 2020 New Revision: 367904 URL: https://svnweb.freebsd.org/changeset/base/367904 Log: hostapd.conf(5): Add missing 'l' In r367901 I accidentally deleted the 'l' while fixing a few mandoc erros. Spotted by: Yuri Pankov Modified: head/usr.sbin/wpa/hostapd/hostapd.conf.5 Modified: head/usr.sbin/wpa/hostapd/hostapd.conf.5 == --- head/usr.sbin/wpa/hostapd/hostapd.conf.5Fri Nov 20 17:04:49 2020 (r367903) +++ head/usr.sbin/wpa/hostapd/hostapd.conf.5Fri Nov 20 17:13:13 2020 (r367904) @@ -68,7 +68,7 @@ Interface name. Should be set in .Dq hostap mode. -Make certain that there are no spaces after the interface name, or hostapd wil +Make certain that there are no spaces after the interface name, or hostapd will complain that the interface does not exist. .It Va debug Debugging mode: 0 = no, 1 = minimal, 2 = verbose, 3 = msg dumps, 4 = ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r368348 - head/sbin/ping
Author: gbe (doc committer) Date: Fri Dec 4 20:47:56 2020 New Revision: 368348 URL: https://svnweb.freebsd.org/changeset/base/368348 Log: ping(8): Fix a few mandoc related issues - new sentence, new line Modified: head/sbin/ping/ping.8 Modified: head/sbin/ping/ping.8 == --- head/sbin/ping/ping.8 Fri Dec 4 20:14:25 2020(r368347) +++ head/sbin/ping/ping.8 Fri Dec 4 20:47:56 2020(r368348) @@ -131,12 +131,11 @@ datagrams have an IPv6 header and .Tn ICMPv6 header formatted as documented in RFC 2463. .Pp -When invoked with a hostname, the version to which the target is -resolved first is used. In that case, the options and arguments used -must be valid for the specific IP version, otherwise +When invoked with a hostname, the version to which the target is resolved first is used. +In that case, the options and arguments used must be valid for the specific IP version, otherwise .Nm -exits with an error. If the target is resolved to both IPv4 and IPv6, -the specific IP version can be requested by +exits with an error. +If the target is resolved to both IPv4 and IPv6, the specific IP version can be requested by .Fl 4 or .Fl 6 @@ -210,15 +209,14 @@ option. .It Fl I Ar iface For an IPv4 target, .Ar iface -is an IP address indentifying an interface from which the packets will -be sent. This flag applies only if the ping target is a multicast -address. +is an IP address indentifying an interface from which the packets will be sent. +This flag applies only if the ping target is a multicast address. .Pp For an IPv6 target, .Ar iface -is a name of an interface (e.g. `em0') from which the packets will be -sent. This flag applies if the ping target is a multicast address, or -link-local/site-local unicast address. +is a name of an interface (e.g. `em0') from which the packets will be sent. +This flag applies if the ping target is a multicast address, or link-local/site-local +unicast address. .It Fl i Ar wait Wait .Ar wait ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r368368 - head/share/man/man9
Author: gbe (doc committer) Date: Sat Dec 5 11:18:37 2020 New Revision: 368368 URL: https://svnweb.freebsd.org/changeset/base/368368 Log: epoch(9): Fix a few mandoc related issues - sections out of conventional order: Sh EXAMPLES - sections out of conventional order: Sh SEE ALSO - skipping end of block that is not open: El Modified: head/share/man/man9/epoch.9 Modified: head/share/man/man9/epoch.9 == --- head/share/man/man9/epoch.9 Sat Dec 5 11:17:54 2020(r368367) +++ head/share/man/man9/epoch.9 Sat Dec 5 11:18:37 2020(r368368) @@ -210,20 +210,6 @@ This function can sleep and is not optimized for perfo .Sh RETURN VALUES .Fn in_epoch curepoch will return 1 if curthread is in curepoch, 0 otherwise. -.Sh CAVEATS -One must be cautious when using -.Fn epoch_wait_preempt . -Threads are pinned during epoch sections, so if a thread in a section is then -preempted by a higher priority compute bound thread on that CPU, it can be -prevented from leaving the section indefinitely. -.Pp -Epochs are not a straight replacement for read locks. -Callers must use safe list and tailq traversal routines in an epoch (see ck_queue). -When modifying a list referenced from an epoch section safe removal -routines must be used and the caller can no longer modify a list entry -in place. -An item to be modified must be handled with copy on write -and frees must be deferred until after a grace period has elapsed. .Sh EXAMPLES Async free example: Thread 1: @@ -280,12 +266,6 @@ free would have to follow a call to The .Nm kernel programming interface is under development and is subject to change. -.El -.Sh HISTORY -The -.Nm -framework first appeared in -.Fx 11.0 . .Sh SEE ALSO .Xr locking 9 , .Xr mtx_pool 9 , @@ -295,3 +275,22 @@ framework first appeared in .Xr sleep 9 , .Xr sx 9 , .Xr timeout 9 +.Sh HISTORY +The +.Nm +framework first appeared in +.Fx 11.0 . +.Sh CAVEATS +One must be cautious when using +.Fn epoch_wait_preempt . +Threads are pinned during epoch sections, so if a thread in a section is then +preempted by a higher priority compute bound thread on that CPU, it can be +prevented from leaving the section indefinitely. +.Pp +Epochs are not a straight replacement for read locks. +Callers must use safe list and tailq traversal routines in an epoch (see ck_queue). +When modifying a list referenced from an epoch section safe removal +routines must be used and the caller can no longer modify a list entry +in place. +An item to be modified must be handled with copy on write +and frees must be deferred until after a grace period has elapsed. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r368376 - in stable/12/usr.sbin: crashinfo moused syslogd
Author: gbe (doc committer) Date: Sun Dec 6 07:09:34 2020 New Revision: 368376 URL: https://svnweb.freebsd.org/changeset/base/368376 Log: MFC r367900, r367902, r367903 r367900: syslog.conf(5): Fix a few mandoc warnings - new sentence, new line - skipping paragraph macro: Pp at the end of Sh r367902: crashinfo(8): Fix a few mandoc warnings - new sentence, new line r367903: moused(8): Fix a few mandoc warnings - new sentence, new line Modified: stable/12/usr.sbin/crashinfo/crashinfo.8 stable/12/usr.sbin/moused/moused.8 stable/12/usr.sbin/syslogd/syslog.conf.5 Directory Properties: stable/12/ (props changed) Modified: stable/12/usr.sbin/crashinfo/crashinfo.8 == --- stable/12/usr.sbin/crashinfo/crashinfo.8Sun Dec 6 04:59:24 2020 (r368375) +++ stable/12/usr.sbin/crashinfo/crashinfo.8Sun Dec 6 07:09:34 2020 (r368376) @@ -89,9 +89,11 @@ and The options are as follows: .Bl -tag -width indent .It Fl b -Run in batch mode. Write most messages to the +Run in batch mode. +Write most messages to the .Pa core.txt.XX -file instead of the terminal. This flag is used when +file instead of the terminal. +This flag is used when .Nm is run during boot. .It Fl d Ar crashdir Modified: stable/12/usr.sbin/moused/moused.8 == --- stable/12/usr.sbin/moused/moused.8 Sun Dec 6 04:59:24 2020 (r368375) +++ stable/12/usr.sbin/moused/moused.8 Sun Dec 6 07:09:34 2020 (r368376) @@ -147,7 +147,8 @@ is enabled, the option can be used to set the .Ar distance (in pixels) that the mouse must move before a scroll event -is generated. This effectively controls the scrolling speed. +is generated. +This effectively controls the scrolling speed. The default .Ar distance is 2 pixels. @@ -240,20 +241,21 @@ drive the pointer quickly across the screen. The .Ar exp value specifies the exponent, which is basically -the amount of acceleration. Useful values are in the -range 1.1 to 2.0, but it depends on your mouse hardware -and your personal preference. A value of 1.0 means no -exponential acceleration. A value of 2.0 means squared -acceleration (i.e. if you move the mouse twice as fast, -the pointer will move four times as fast on the screen). +the amount of acceleration. +Useful values are in the range 1.1 to 2.0, but it depends on +your mouse hardware and your personal preference. +A value of 1.0 means no exponential acceleration. +A value of 2.0 means squared acceleration (i.e. if +you move the mouse twice as fast, the pointer will move +four times as fast on the screen). Values beyond 2.0 are possible but not recommended. A good value to start is probably 1.5. .Pp The optional .Ar offset -value specifies the distance at which the acceleration -begins. The default is 1.0, which means that the -acceleration is applied to movements larger than one unit. +value specifies the distance at which the acceleration begins. +The default is 1.0, which means that the acceleration is applied +to movements larger than one unit. If you specify a larger value, it takes more speed for the acceleration to kick in, i.e. the speed range for small and accurate movements is wider. @@ -263,8 +265,8 @@ not satisfied with the behaviour, try a value of 2.0. Note that the .Fl A option interacts badly with the X server's own acceleration, -which doesn't work very well anyway. Therefore it is -recommended to switch it off if necessary: +which doesn't work very well anyway. +Therefore it is recommended to switch it off if necessary: .Dq xset m 1 . .It Fl a Ar X Ns Op , Ns Ar Y Accelerate or decelerate the mouse input. Modified: stable/12/usr.sbin/syslogd/syslog.conf.5 == --- stable/12/usr.sbin/syslogd/syslog.conf.5Sun Dec 6 04:59:24 2020 (r368375) +++ stable/12/usr.sbin/syslogd/syslog.conf.5Sun Dec 6 07:09:34 2020 (r368376) @@ -245,7 +245,8 @@ specification is a line beginning with or .Ql \&: and the following blocks will be applied only when filter value -matches given filter propertie's value. See +matches given filter propertie's value. +See .Sx PROPERTY-BASED FILTERS section for more details. .Pp @@ -464,8 +465,8 @@ or .Ql \&: followed by three comma-separated fields .Em property , operator , \&"value\&" . -Value must be double-quoted. A double quote and backslash must be escaped by -a backslash. +Value must be double-quoted. +A double quote and backslash must be escaped by a backslash. .Pp Following .Em properties @@ -521,7 +522,6 @@ Operator may be prefixed by .Ql icase_ - to make comparison function case insensitive .El -.Pp .Sh IMPLEMENTATION NOTES The .Dq kern ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinf
svn commit: r368377 - in stable/12: usr.bin/iscsictl usr.sbin/bsnmpd/modules/snmp_wlan
Author: gbe (doc committer) Date: Sun Dec 6 07:22:38 2020 New Revision: 368377 URL: https://svnweb.freebsd.org/changeset/base/368377 Log: MFC r367898, r367899 r367898: iscsi.conf(5): Fix a mandoc warning - new sentence, new line r367899: snmp_wlan(3): Fix mandoc warnings - new sentence, new line Modified: stable/12/usr.bin/iscsictl/iscsi.conf.5 stable/12/usr.sbin/bsnmpd/modules/snmp_wlan/snmp_wlan.3 Directory Properties: stable/12/ (props changed) Modified: stable/12/usr.bin/iscsictl/iscsi.conf.5 == --- stable/12/usr.bin/iscsictl/iscsi.conf.5 Sun Dec 6 07:09:34 2020 (r368376) +++ stable/12/usr.bin/iscsictl/iscsi.conf.5 Sun Dec 6 07:22:38 2020 (r368377) @@ -146,9 +146,9 @@ for iSCSI over RDMA, or Default is .Qq Ar iSCSI . .It Cm dscp -The DiffServ Codepoint used for sending data. The DSCP can be -set to numeric, or hexadecimal values directly, as well as the -well-defined +The DiffServ Codepoint used for sending data. +The DSCP can be set to numeric, or hexadecimal values directly, +as well as the well-defined .Qq Ar cs and .Qq Ar af Modified: stable/12/usr.sbin/bsnmpd/modules/snmp_wlan/snmp_wlan.3 == --- stable/12/usr.sbin/bsnmpd/modules/snmp_wlan/snmp_wlan.3 Sun Dec 6 07:09:34 2020(r368376) +++ stable/12/usr.sbin/bsnmpd/modules/snmp_wlan/snmp_wlan.3 Sun Dec 6 07:22:38 2020(r368377) @@ -41,8 +41,8 @@ The .Nm snmp_wlan module implements a private BEGEMOT-WIRELESS-MIB, which allows -management of virtual wireless interfaces. The MIB defines objects similar to the -state data and configuration capabilities of +management of virtual wireless interfaces. +The MIB defines objects similar to the state data and configuration capabilities of .Xr ifconfig 8 for configuring virtual wireless interfaces. Therefore one should consider adding write communities or loading the @@ -52,15 +52,15 @@ module on systems where security is crucial. A short description of the Tables and interesting objects in the MIB follows. .Bl -tag -width "X" .It Va wlanInterfaceTable -The table is used for creation and deletion of virtual wireless interfaces. To -add a new interface, a SET should be executed on the +The table is used for creation and deletion of virtual wireless interfaces. +To add a new interface, a SET should be executed on the .Va wlanIfaceName column with -value the desired name of the interface. Next the parent interface must be set -via +value the desired name of the interface. +Next the parent interface must be set via .Va wlanParentIfName -column. Any optional parameters may be set -via the +column. +Any optional parameters may be set via the .Va wlanIfaceOperatingMode , .Va wlanIfaceFlags , .Va wlanIfaceBssid @@ -78,9 +78,9 @@ The table contains information about the hardware capa a wireless interface. .It Va wlanIfaceConfigTable The table is used to get or set various configuration parameters for a virtual -wireless interface. Depending on the operating mode of the interface and the -hardware capabilities of the underlying hardware interface, not all parameters -and values may be supported. +wireless interface. +Depending on the operating mode of the interface and the hardware capabilities +of the underlying hardware interface, not all parameters and values may be supported. .It Va wlanIfacePeerTable The table contains information about the associated stations for interfaces operating as access points, or the stations identified as neighbors in the IBSS @@ -106,8 +106,9 @@ Access Control configuration for wireless interfaces o The table with Access Control MAC entries for which the configured Access Control Policy on wireless interfaces operating in Host AP mode is applied. .Va wlanMACAccessControlMACStatus -column is used to add or delete MAC ACL entries. A set with value createAndGo(4) -will add new entry, while with value destroy(6) will delete an existing one. +column is used to add or delete MAC ACL entries. +A set with value createAndGo(4) will add new entry, while with value destroy(6) +will delete an existing one. .It Va wlanMeshRoutingConfig The subtree contains system configuration related to Wireless Mesh Routing. .It Va wlanMeshInterfaceTable @@ -121,8 +122,9 @@ The mesh routing table for interfaces operating as mes forwarding packets on a mesh network. .Va wlanMeshRouteStatus column is used to add or delete entries in the mesh routing table for an -interface. A set with value createAndGo(4) will add new entry, while with value -destroy(6) will delete an existing one. +interface. +A set with value createAndGo(4) will add new entry, while with value destroy(6) +will delete an existing one. .It Va wlanMeshStatsTable Summary statistics for each virtual wireless interface operating as mesh point. .It Va wlanMeshHWMPConfig ___
svn commit: r368378 - stable/12/sbin/fsck
Author: gbe (doc committer) Date: Sun Dec 6 07:38:58 2020 New Revision: 368378 URL: https://svnweb.freebsd.org/changeset/base/368378 Log: MFC r344922 (by wosch): explain ``fsck -f'' more in detail PR: 223491 Approved by: mckusick, 0mp, imp Differential Revision:https://reviews.freebsd.org/D19437 Modified: stable/12/sbin/fsck/fsck.8 Directory Properties: stable/12/ (props changed) Modified: stable/12/sbin/fsck/fsck.8 == --- stable/12/sbin/fsck/fsck.8 Sun Dec 6 07:22:38 2020(r368377) +++ stable/12/sbin/fsck/fsck.8 Sun Dec 6 07:38:58 2020(r368378) @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 5, 2016 +.Dd March 5, 2019 .Dt FSCK 8 .Os .Sh NAME @@ -142,8 +142,12 @@ only if .Nm is compiled to support it. .It Fl f -Force checking of file systems, even when they are marked clean (for file systems -that support this). +Force checking of file systems. +Running +.Dq Li fsck -f +ignores the journal and does a full +consistency check of the disk so will find and fix the errors about which the +journal is unaware. .It Fl n Causes .Nm ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r368379 - stable/12/usr.sbin/mountd
Author: gbe (doc committer) Date: Sun Dec 6 07:47:10 2020 New Revision: 368379 URL: https://svnweb.freebsd.org/changeset/base/368379 Log: MFC r344013 and r344015 (by cracauer) r344013: Clarify NFSv4 /etc/exports semantics, with working example. The existing wording has been confusing users for years. r344015: Bump .Dd for today's edit. Thank you Enji Cooper Modified: stable/12/usr.sbin/mountd/exports.5 Directory Properties: stable/12/ (props changed) Modified: stable/12/usr.sbin/mountd/exports.5 == --- stable/12/usr.sbin/mountd/exports.5 Sun Dec 6 07:38:58 2020 (r368378) +++ stable/12/usr.sbin/mountd/exports.5 Sun Dec 6 07:47:10 2020 (r368379) @@ -28,7 +28,7 @@ .\" @(#)exports.5 8.3 (Berkeley) 3/29/95 .\" $FreeBSD$ .\" -.Dd May 20, 2017 +.Dd Feb 11, 2019 .Dt EXPORTS 5 .Os .Sh NAME @@ -498,6 +498,40 @@ and any client within the 131.104.48 subnet is permitt operations on the server, so long as valid Kerberos credentials are provided. The machine grumpy.cis.uoguelph.ca is permitted to perform NFSv4 state operations on the server using AUTH_SYS credentials, as well as Kerberos ones. +.Pp +In the following example some directories are exported as NFSv3 and NFSv4: +.Bd -literal -offset indent +V4: /wingsdl/nfsv4 +/wingsdl/nfsv4/usr-ports -maproot=root -network 172.16.0.0 -mask 255.255.0.0 +/wingsdl/nfsv4/clasper -maproot=root clasper +.Ed +.Pp +Only one V4: line is needed or allowed to declare where NFSv4 is +rooted. The other lines declare specific exported directories with +their absolute paths given in /etc/exports. +.Pp +The exported directories' paths are used for both v3 and v4. +However, they are interpreted differently for v3 and v4. A client +mount command for usr-ports would use the server-absolute name when +using nfsv3: +.Bd -literal -offset indent +mount server:/wingsdl/nfsv4/usr-ports /mnt/tmp +.Ed +.Pp +A mount command using NFSv4 would use the path relative to the NFSv4 +root: +.Bd -literal -offset indent +mount server:/usr-ports /mnt/tmp +.Ed +.Pp +This also differentiates which version you want if the client can do +both v3 and v4. The former will only ever do a v3 mount and the +latter will only ever do a v4 mount. +.Pp +Note that due to different mount behavior between NFSv3 and NFSv4 a +NFSv4 mount request for a directory that the client does not have +permission for will succeed and read/write access will fail +afterwards, whereas NFSv3 rejects the mount request. .Sh SEE ALSO .Xr nfsv4 4 , .Xr netgroup 5 , ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r368380 - in stable/12: sbin/devmatch sbin/fsck sbin/mount_msdosfs usr.bin/chat usr.bin/du usr.bin/setchannel usr.bin/tftp usr.sbin/ctladm usr.sbin/extattrctl usr.sbin/i2c usr.sbin/moun...
Author: gbe (doc committer) Date: Sun Dec 6 07:50:15 2020 New Revision: 368380 URL: https://svnweb.freebsd.org/changeset/base/368380 Log: MFC r366572: Fix a few mandoc issues - no blank before trailing delimiter - whitespace at end of input line - sections out of conventional order - normalizing date format - AUTHORS section without An macro Modified: stable/12/sbin/devmatch/devmatch.8 stable/12/sbin/fsck/fsck.8 stable/12/sbin/mount_msdosfs/mount_msdosfs.8 stable/12/usr.bin/chat/chat.8 stable/12/usr.bin/du/du.1 stable/12/usr.bin/setchannel/setchannel.1 stable/12/usr.bin/tftp/tftp.1 stable/12/usr.sbin/ctladm/ctladm.8 stable/12/usr.sbin/extattrctl/extattrctl.8 stable/12/usr.sbin/i2c/i2c.8 stable/12/usr.sbin/mountd/exports.5 stable/12/usr.sbin/nfsuserd/nfsuserd.8 stable/12/usr.sbin/pmcstudy/pmcstudy.8 stable/12/usr.sbin/traceroute6/traceroute6.8 Directory Properties: stable/12/ (props changed) Modified: stable/12/sbin/devmatch/devmatch.8 == --- stable/12/sbin/devmatch/devmatch.8 Sun Dec 6 07:47:10 2020 (r368379) +++ stable/12/sbin/devmatch/devmatch.8 Sun Dec 6 07:50:15 2020 (r368380) @@ -69,6 +69,8 @@ Produce more verbose output. .Sh SEE ALSO .Xr devinfo 8 , .Xr MODULE_PNP_INFO 9 +.Sh AUTHORS +.An Warner Losh Aq Mt i...@freebsd.org .Sh BUGS The kernel has hints in it, but we exclude it from the list of modules to suggest for unmatched devices. @@ -92,5 +94,3 @@ logical equivalent in USB, PCI, and others. .Pp Many drivers currently lack proper PNP table decorations and need to be updated. -.Sh AUTHORS -.An Warner Losh Aq Mt i...@freebsd.org Modified: stable/12/sbin/fsck/fsck.8 == --- stable/12/sbin/fsck/fsck.8 Sun Dec 6 07:47:10 2020(r368379) +++ stable/12/sbin/fsck/fsck.8 Sun Dec 6 07:50:15 2020(r368380) @@ -143,7 +143,7 @@ only if is compiled to support it. .It Fl f Force checking of file systems. -Running +Running .Dq Li fsck -f ignores the journal and does a full consistency check of the disk so will find and fix the errors about which the Modified: stable/12/sbin/mount_msdosfs/mount_msdosfs.8 == --- stable/12/sbin/mount_msdosfs/mount_msdosfs.8Sun Dec 6 07:47:10 2020(r368379) +++ stable/12/sbin/mount_msdosfs/mount_msdosfs.8Sun Dec 6 07:50:15 2020(r368380) @@ -202,7 +202,7 @@ and first appeared in was renamed to the more aptly-named .Nm in -.Fx 5.0. +.Fx 5.0 . The character code conversion routine was added in 2003. .Sh AUTHORS Initial implementation as Modified: stable/12/usr.bin/chat/chat.8 == --- stable/12/usr.bin/chat/chat.8 Sun Dec 6 07:47:10 2020 (r368379) +++ stable/12/usr.bin/chat/chat.8 Sun Dec 6 07:50:15 2020 (r368380) @@ -291,7 +291,8 @@ The .Dv SAY strings could be used to give progress messages in sections of the script where you want to have 'ECHO OFF' but still let the user -know what is happening. An example is: +know what is happening. +An example is: .Bd -literal -offset indent ABORT BUSY ECHO OFF Modified: stable/12/usr.bin/du/du.1 == --- stable/12/usr.bin/du/du.1 Sun Dec 6 07:47:10 2020(r368379) +++ stable/12/usr.bin/du/du.1 Sun Dec 6 07:50:15 2020(r368380) @@ -63,7 +63,7 @@ Calculate block counts in .Ar blocksize byte blocks. This is different from the -.Fl h, k, m, +.Fl h , k , m , .Fl Fl si and .Fl g @@ -172,7 +172,7 @@ options override each other and the command's actions by the last one specified. .Pp The -.Fl h, k, m +.Fl h , k , m and .Fl Fl si options all override each other; the last one specified determines @@ -183,7 +183,7 @@ the block counts used. If the environment variable .Ev BLOCKSIZE is set, and the -.Fl h, k, m +.Fl h , k , m or .Fl Fl si options are not specified, the block counts will be displayed in units of @@ -191,7 +191,7 @@ that block size. If .Ev BLOCKSIZE is not set, and the -.Fl h, k, m +.Fl h , k , m or .Fl Fl si options are not specified, the block counts will be displayed in 512-byte Modified: stable/12/usr.bin/setchannel/setchannel.1 == --- stable/12/usr.bin/setchannel/setchannel.1 Sun Dec 6 07:47:10 2020 (r368379) +++ stable/12/usr.bin/setchannel/setchannel.1 Sun Dec 6 07:50:15 2020 (r368380) @@ -61,8 +61,8 @@ Select svideo input. .It Fl t Select tuner. .It Fl g Cm geom -Select geometry. The first resolution is for NTSC, the second for -PAL. +Select geometry. +The first resolution is for NTSC, the second for PAL. .Pp VCD: 352x240 or 35
svn commit: r368381 - stable/12/sbin/devmatch
Author: gbe (doc committer) Date: Sun Dec 6 07:55:12 2020 New Revision: 368381 URL: https://svnweb.freebsd.org/changeset/base/368381 Log: MFC r32 (by imp), r367897 r32: devmatch: First appeared in 12.0 Document that devmatch first appeared in FreeBSD 12.0. Also can't -> can not. But it doesn't help the sentence much. r367897: devmatch(8): Fix section ordering - sections out of conventional order: Sh HISTORY Modified: stable/12/sbin/devmatch/devmatch.8 Directory Properties: stable/12/ (props changed) Modified: stable/12/sbin/devmatch/devmatch.8 == --- stable/12/sbin/devmatch/devmatch.8 Sun Dec 6 07:50:15 2020 (r368380) +++ stable/12/sbin/devmatch/devmatch.8 Sun Dec 6 07:55:12 2020 (r368381) @@ -23,7 +23,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 16, 2018 +.Dd October 12, 2020 .Dt DEVMATCH 8 .Os .Sh NAME @@ -62,13 +62,17 @@ Parse and use a standard NOMATCH event from for matching instead of searching the device tree. .It Fl u Fl -unbound Attempt to produce a list of those drivers with PNP info whose driver -tables with that PNP info can't be found. +tables with that PNP info can not be found. .It Fl v Fl -verbose Produce more verbose output. .El .Sh SEE ALSO .Xr devinfo 8 , .Xr MODULE_PNP_INFO 9 +.Sh HISTORY +.Nm +first appeared in +.Fx 12.0 . .Sh AUTHORS .An Warner Losh Aq Mt i...@freebsd.org .Sh BUGS ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r368382 - stable/12/sbin/camcontrol
Author: gbe (doc committer) Date: Sun Dec 6 07:57:56 2020 New Revision: 368382 URL: https://svnweb.freebsd.org/changeset/base/368382 Log: MFC r367889: camcontrol(8): Fix some warnings spotted by mandoc - skipping paragraph macro: Pp before Bl Modified: stable/12/sbin/camcontrol/camcontrol.8 Directory Properties: stable/12/ (props changed) Modified: stable/12/sbin/camcontrol/camcontrol.8 == --- stable/12/sbin/camcontrol/camcontrol.8 Sun Dec 6 07:55:12 2020 (r368381) +++ stable/12/sbin/camcontrol/camcontrol.8 Sun Dec 6 07:57:56 2020 (r368382) @@ -2276,7 +2276,6 @@ These zones must be written sequentially. If they are not written sequentially, starting at the write pointer, the command will fail. .El -.Pp .Bl -tag -width 12n .It Fl c Ar cmd Specify the zone subcommand: @@ -2831,7 +2830,6 @@ This will read and decode the attribute values from pa in tape drive sa0, and will display any .Tn SCSI errors that result. -.Pp .Bd -literal -offset indent camcontrol zone da0 -v -c rz -P summary .Ed @@ -2842,7 +2840,6 @@ summary of the zone parameters, and display any or .Tn ATA errors that result. -.Pp .Bd -literal -offset indent camcontrol zone da0 -v -c rz -o reset .Ed @@ -2853,7 +2850,6 @@ pointer reset from the disk da0, and display any or .Tn ATA errors that result. -.Pp .Bd -literal -offset indent camcontrol zone da0 -v -c rwp -l 0x2c8 .Ed @@ -2864,7 +2860,6 @@ that starts at LBA 0x2c8 and display any or .Tn ATA errors that result. -.Pp .Bd -literal -offset indent camcontrol epc ada0 -c timer -T 60.1 -p Idle_a -e -s .Ed @@ -2873,7 +2868,6 @@ Set the timer for the Idle_a power condition on drive .Pa ada0 to 60.1 seconds, enable that particular power condition, and save the timer value and the enabled state of the power condition. -.Pp .Bd -literal -offset indent camcontrol epc da4 -c goto -p Standby_z -H .Ed @@ -2885,7 +2879,6 @@ the drive's lowest power state) and hold in that state explicitly released by another .Cm goto command. -.Pp .Bd -literal -offset indent camcontrol epc da2 -c status -P .Ed @@ -2903,7 +2896,6 @@ to only send the .Tn ATA CHECK POWER MODE command, which should not trigger a change in the drive's power state. -.Pp .Bd -literal -offset indent camcontrol epc ada0 -c list .Ed @@ -2911,7 +2903,6 @@ camcontrol epc ada0 -c list Display the ATA Power Conditions log (Log Address 0x08) for drive .Pa ada0 . -.Pp .Bd -literal -offset indent camcontrol timestamp sa0 -s -f "%a, %d %b %Y %T %z" \e -T "Wed, 26 Oct 2016 21:43:57 -0600" ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r368383 - stable/12/usr.sbin/wpa/hostapd
Author: gbe (doc committer) Date: Sun Dec 6 08:01:27 2020 New Revision: 368383 URL: https://svnweb.freebsd.org/changeset/base/368383 Log: MFC r367901 and r367904 r367901: hostapd.conf(5): Fix a mandoc warning -new sentence, new line r367904: hostapd.conf(5): Add missing 'l' In r367901 I accidentally deleted the 'l' while fixing a few mandoc erros. Spotted by: Yuri Pankov Modified: stable/12/usr.sbin/wpa/hostapd/hostapd.conf.5 Directory Properties: stable/12/ (props changed) Modified: stable/12/usr.sbin/wpa/hostapd/hostapd.conf.5 == --- stable/12/usr.sbin/wpa/hostapd/hostapd.conf.5 Sun Dec 6 07:57:56 2020(r368382) +++ stable/12/usr.sbin/wpa/hostapd/hostapd.conf.5 Sun Dec 6 08:01:27 2020(r368383) @@ -67,8 +67,9 @@ The following parameters are recognized: Interface name. Should be set in .Dq hostap -mode. Make certain that there are no spaces after the interface name, -or hostapd will complain that the interface does not exist. +mode. +Make certain that there are no spaces after the interface name, or hostapd will +complain that the interface does not exist. .It Va debug Debugging mode: 0 = no, 1 = minimal, 2 = verbose, 3 = msg dumps, 4 = excessive. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r368418 - in stable/12: sbin/mount share/man/man5
Author: gbe (doc committer) Date: Mon Dec 7 20:36:58 2020 New Revision: 368418 URL: https://svnweb.freebsd.org/changeset/base/368418 Log: MFC r350224 by sobomax: Allow "update" option to be used in the fstab(5). Document possible use case. Approved by: sobomax Differential Revision:https://reviews.freebsd.org/D18586 Modified: stable/12/sbin/mount/mount.c stable/12/share/man/man5/fstab.5 Directory Properties: stable/12/ (props changed) Modified: stable/12/sbin/mount/mount.c == --- stable/12/sbin/mount/mount.cMon Dec 7 18:58:08 2020 (r368417) +++ stable/12/sbin/mount/mount.cMon Dec 7 20:36:58 2020 (r368418) @@ -361,6 +361,7 @@ main(int argc, char *argv[]) else failok = 0; if (!(init_flags & MNT_UPDATE) && + !hasopt(fs->fs_mntops, "update") && ismounted(fs, mntbuf, mntsize)) continue; options = update_options(options, fs->fs_mntops, Modified: stable/12/share/man/man5/fstab.5 == --- stable/12/share/man/man5/fstab.5Mon Dec 7 18:58:08 2020 (r368417) +++ stable/12/share/man/man5/fstab.5Mon Dec 7 20:36:58 2020 (r368418) @@ -190,6 +190,32 @@ see the .Xr mount 8 manual page. .Pp +If the option +.Dq update +is specified, it indicates that the status of an already mounted file +system should be changed accordingly. +This allows, for example, file systems mounted read-only to be upgraded +read-write and vice-versa. +By default, an entry corresponding to a file systems that is already +mounted is going to be skipped over when processing +.Nm , +unless it's a root file system, in which case logic similar to +.Dq update +is applied automatically. +.Pp +The +.Dq update +option is typically used in conjuction with two +.Nm +files. +The first +.Nm +file is used to set up the initial set of file systems. +The second +.Nm +file is then run to update the initial set of file systems and +to add additional file systems. +.Pp The type of the mount is extracted from the .Fa fs_mntops field and stored separately in the ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362089 - in head: share/misc usr.bin/calendar/calendars
Author: gbe (doc committer) Date: Fri Jun 12 09:34:10 2020 New Revision: 362089 URL: https://svnweb.freebsd.org/changeset/base/362089 Log: Add myself (gbe) to committers-doc.dot and calendar.freebsd Reviewed by: bcr (mentor) Approved by: bcr (mentor) Differential Revision:https://reviews.freebsd.org/D25241 Modified: head/share/misc/committers-doc.dot head/usr.bin/calendar/calendars/calendar.freebsd Modified: head/share/misc/committers-doc.dot == --- head/share/misc/committers-doc.dot Fri Jun 12 07:36:32 2020 (r362088) +++ head/share/misc/committers-doc.dot Fri Jun 12 09:34:10 2020 (r362089) @@ -70,6 +70,7 @@ ebrandi [label="Edson Brandi\nebra...@freebsd.org\n201 gabor [label="Gabor Kovesdan\nga...@freebsd.org\n2007/02/02"] ganbold [label="Ganbold Tsagaankhuu\nganb...@freebsd.org\n2008/02/26"] gavin [label="Gavin Atkinson\nga...@freebsd.org\n2011/07/18"] +gbe [label="Gordon Bergling\n...@freebsd.org\n2020/06/08"] gjb [label="Glen Barber\n...@freebsd.org\n2010/09/01"] hrs [label="Hiroki Sato\n...@freebsd.org\n2000/07/06"] issyl0 [label="Isabell Long\niss...@freebsd.org\n2012/04/25"] @@ -115,6 +116,7 @@ bcr -> dexter bcr -> sg bcr -> carlavilla bcr -> "0mp" +bcr -> gbe blackend -> ale Modified: head/usr.bin/calendar/calendars/calendar.freebsd == --- head/usr.bin/calendar/calendars/calendar.freebsdFri Jun 12 07:36:32 2020(r362088) +++ head/usr.bin/calendar/calendars/calendar.freebsdFri Jun 12 09:34:10 2020(r362089) @@ -357,6 +357,7 @@ 09/09 Yoshio Mita born in Hiroshima, Japan, 1972 09/09 Steven Hartland born in Wordsley, United Kingdom, 1973 09/10 Wesley R. Peters born in Hartford, Alabama, United States, 1961 +09/11 Gordon Bergling born in Magdeburg, Germany, 1981 09/12 Weongyo Jeong born in Haman, Korea, 1980 09/12 Benedict Christopher Reuschling born in Darmstadt, Germany, 1981 09/12 William C. Fumerola II born in Detroit, Michigan, United States, 1981 ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362165 - head/contrib/tzcode/stdtime
Author: gbe (doc committer) Date: Sun Jun 14 05:08:15 2020 New Revision: 362165 URL: https://svnweb.freebsd.org/changeset/base/362165 Log: Add a HISTORY section to ctime(3) Reviewed by: bcr (mentor) Approved by: bcr (mentor) Obtained from:OpenBSD MFC after:7 days Differential Revision:https://reviews.freebsd.org/D24635 Modified: head/contrib/tzcode/stdtime/ctime.3 Modified: head/contrib/tzcode/stdtime/ctime.3 == --- head/contrib/tzcode/stdtime/ctime.3 Sun Jun 14 01:22:19 2020 (r362164) +++ head/contrib/tzcode/stdtime/ctime.3 Sun Jun 14 05:08:15 2020 (r362165) @@ -335,6 +335,33 @@ the time package contributed to Berkeley by .An Arthur Olson and which appeared in .Bx 4.3 . +.Pp +The functions +.Fn asctime , +.Fn gmtime , +and +.Fn localtime +first appeared in +.At v5 , +.Fn difftime +and +.Fn mktime +in +.Bx 4.3 Reno , +and +.Fn timegm +and +.Fn timelocal +in SunOS 4.0. +.Pp +The functions +.Fn asctime_r , +.Fn ctime_r , +.Fn gmtime_r , +and +.Fn localtime_r +have been available since +.Fx 8.0 . .Sh BUGS Except for .Fn difftime , ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362169 - head/lib/libutil
Author: gbe (doc committer) Date: Sun Jun 14 05:35:02 2020 New Revision: 362169 URL: https://svnweb.freebsd.org/changeset/base/362169 Log: libutil: Document function HISTORY within the manpages Reviewed by: bcr (mentor) Approved by: bcr (mentor) MFC after:7 days Differential Revision:https://reviews.freebsd.org/D24795 Modified: head/lib/libutil/_secure_path.3 head/lib/libutil/hexdump.3 head/lib/libutil/kinfo_getallproc.3 head/lib/libutil/kinfo_getfile.3 head/lib/libutil/kinfo_getproc.3 head/lib/libutil/kinfo_getvmmap.3 head/lib/libutil/kinfo_getvmobject.3 head/lib/libutil/login.conf.5 head/lib/libutil/login_auth.3 head/lib/libutil/login_cap.3 head/lib/libutil/login_class.3 head/lib/libutil/login_ok.3 head/lib/libutil/login_times.3 head/lib/libutil/login_tty.3 head/lib/libutil/pidfile.3 head/lib/libutil/pw_util.3 head/lib/libutil/realhostname.3 head/lib/libutil/trimdomain.3 head/lib/libutil/uucplock.3 Modified: head/lib/libutil/_secure_path.3 == --- head/lib/libutil/_secure_path.3 Sun Jun 14 05:33:25 2020 (r362168) +++ head/lib/libutil/_secure_path.3 Sun Jun 14 05:35:02 2020 (r362169) @@ -19,7 +19,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 2, 1997 +.Dd May 10, 2020 .Dt _SECURE_PATH 3 .Os .Sh NAME @@ -69,6 +69,10 @@ reason, at LOG_ERR priority. Code from which this function was derived was contributed to the .Fx project by Berkeley Software Design, Inc. +The function +.Fn _secure_path +first appeared in +.Fx 2.2.5 . .Sh BUGS The checks carried out are rudimentary and no attempt is made to eliminate race conditions between use of this function and Modified: head/lib/libutil/hexdump.3 == --- head/lib/libutil/hexdump.3 Sun Jun 14 05:33:25 2020(r362168) +++ head/lib/libutil/hexdump.3 Sun Jun 14 05:35:02 2020(r362169) @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 21, 2017 +.Dd May 8, 2020 .Dt HEXDUMP 3 .Os .Sh NAME @@ -83,6 +83,11 @@ Do not print the character values on each line. .Sh SEE ALSO .Xr ascii 7 , .Xr sbuf_hexdump 9 +.Sh HISTORY +The +.Fn hexdump +function first appeared in +.Fx 6.4 . .Sh AUTHORS This manual page was written by .An Scott Long . Modified: head/lib/libutil/kinfo_getallproc.3 == --- head/lib/libutil/kinfo_getallproc.3 Sun Jun 14 05:33:25 2020 (r362168) +++ head/lib/libutil/kinfo_getallproc.3 Sun Jun 14 05:35:02 2020 (r362169) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 27, 2015 +.Dd May 8, 2020 .Dt KINFO_GETALLPROC 3 .Os .Sh NAME @@ -73,3 +73,8 @@ function returns .Xr free 3 , .Xr malloc 3 , .Xr sysctl 3 +.Sh HISTORY +The +.Fn kinfo_getallproc +function first appeared in +.Fx 8.3 . Modified: head/lib/libutil/kinfo_getfile.3 == --- head/lib/libutil/kinfo_getfile.3Sun Jun 14 05:33:25 2020 (r362168) +++ head/lib/libutil/kinfo_getfile.3Sun Jun 14 05:35:02 2020 (r362169) @@ -78,3 +78,8 @@ function returns .Xr kinfo_getvmmap 3 , .Xr malloc 3 , .Xr sysctl 3 +.Sh HISTORY +The +.Fn kinfo_getfile +function first appeared in +.Fx 7.0 . Modified: head/lib/libutil/kinfo_getproc.3 == --- head/lib/libutil/kinfo_getproc.3Sun Jun 14 05:33:25 2020 (r362168) +++ head/lib/libutil/kinfo_getproc.3Sun Jun 14 05:35:02 2020 (r362169) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 27, 2015 +.Dd May 10, 2020 .Dt KINFO_GETPROC 3 .Os .Sh NAME @@ -72,3 +72,8 @@ function returns .Xr free 3 , .Xr malloc 3 , .Xr sysctl 3 +.Sh HISTORY +The +.Fn kinfo_getproc +function first appeared in +.Fx 7.0 . Modified: head/lib/libutil/kinfo_getvmmap.3 == --- head/lib/libutil/kinfo_getvmmap.3 Sun Jun 14 05:33:25 2020 (r362168) +++ head/lib/libutil/kinfo_getvmmap.3 Sun Jun 14 05:35:02 2020 (r362169) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 18, 2017 +.Dd May 10, 2020 .Dt KINFO_GETVMMAP 3 .Os .Sh NAME @@ -84,3 +84,8 @@ function returns .Xr free 3 , .Xr kinfo_getfile 3 , .Xr malloc 3 +.Sh HISTORY +The +.Fn kinfo_getvmmap +function first appeared in +.Fx 7.0 . Modified: head/lib/libutil/kinfo_getvmobject.3 == --- head/lib/libutil/kinfo_getvmobject.3Sun Jun 14 05:33:25 2020 (r362168) +++ head/lib/libutil/kinfo_getvmobject.3Sun Jun 14 05:35:02 2020 (r362169) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 27, 2015 +.Dd May 20, 2020 .Dt KINFO_GETVMOBJECT 3 .Os .Sh NAME @@ -71,3 +71,8 @@ function returns .Xr free 3 ,
svn commit: r362170 - in head/cddl/contrib/opensolaris/cmd: dtrace lockstat zdb zfs zpool zstreamdump
Author: gbe (doc committer) Date: Sun Jun 14 05:50:28 2020 New Revision: 362170 URL: https://svnweb.freebsd.org/changeset/base/362170 Log: Add HISTORY sections to ZFS and dtrace manpage Reviewed by: bcr (mentor) Approved by: bcr (mentor) MFC after:7 days Differential Revision:https://reviews.freebsd.org/D23833 Modified: head/cddl/contrib/opensolaris/cmd/dtrace/dtrace.1 head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1 head/cddl/contrib/opensolaris/cmd/zdb/zdb.8 head/cddl/contrib/opensolaris/cmd/zfs/zfs.8 head/cddl/contrib/opensolaris/cmd/zpool/zpool.8 head/cddl/contrib/opensolaris/cmd/zstreamdump/zstreamdump.1 Modified: head/cddl/contrib/opensolaris/cmd/dtrace/dtrace.1 == --- head/cddl/contrib/opensolaris/cmd/dtrace/dtrace.1 Sun Jun 14 05:35:02 2020(r362169) +++ head/cddl/contrib/opensolaris/cmd/dtrace/dtrace.1 Sun Jun 14 05:50:28 2020(r362170) @@ -20,7 +20,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 30, 2018 +.Dd February 25, 2020 .Dt DTRACE 1 .Os .Sh NAME @@ -776,6 +776,11 @@ failed or that the specified request could not be sati .It 2 Invalid command line options or arguments were specified. .El +.Sh HISTORY +The +.Nm +utility first appeared in +.Fx 7.1 . .Sh SEE ALSO .Xr cpp 1 , .Xr elf 5 , Modified: head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1 == --- head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1 Sun Jun 14 05:35:02 2020(r362169) +++ head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1 Sun Jun 14 05:50:28 2020(r362170) @@ -21,7 +21,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 29, 2015 +.Dd February 25, 2020 .Dt LOCKSTAT 1 .Os .Sh NAME @@ -366,6 +366,11 @@ Count indv cuml rcnt nsec Lock C .Xr dtrace 1 , .Xr ksyms 4 , .Xr locking 9 +.Sh HISTORY +The +.Nm +utility first appeared in +.Fx 7.1 . .Sh NOTES Tail-call elimination can affect call sites. For example, if Modified: head/cddl/contrib/opensolaris/cmd/zdb/zdb.8 == --- head/cddl/contrib/opensolaris/cmd/zdb/zdb.8 Sun Jun 14 05:35:02 2020 (r362169) +++ head/cddl/contrib/opensolaris/cmd/zdb/zdb.8 Sun Jun 14 05:50:28 2020 (r362170) @@ -13,7 +13,7 @@ .\" Copyright (c) 2012, 2018 by Delphix. All rights reserved. .\" Copyright 2017 Nexenta Systems, Inc. .\" -.Dd October 06, 2017 +.Dd February 25, 2020 .Dt ZDB 8 .Os .Sh NAME @@ -407,3 +407,8 @@ dedup = 1.11, compress = 1.80, copies = 1.00, dedup * .Sh SEE ALSO .Xr zfs 8 , .Xr zpool 8 +.Sh HISTORY +The +.Nm +utility first appeared in +.Fx 7.0 . Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs.8 == --- head/cddl/contrib/opensolaris/cmd/zfs/zfs.8 Sun Jun 14 05:35:02 2020 (r362169) +++ head/cddl/contrib/opensolaris/cmd/zfs/zfs.8 Sun Jun 14 05:50:28 2020 (r362170) @@ -3949,6 +3949,11 @@ M F /tank/test/modified .Xr umount 8 , .Xr zfs-program 8 , .Xr zpool 8 +.Sh HISTORY +The +.Nm +utility first appeared in +.Fx 7.0 . .Sh AUTHORS This manual page is a .Xr mdoc 7 Modified: head/cddl/contrib/opensolaris/cmd/zpool/zpool.8 == --- head/cddl/contrib/opensolaris/cmd/zpool/zpool.8 Sun Jun 14 05:35:02 2020(r362169) +++ head/cddl/contrib/opensolaris/cmd/zpool/zpool.8 Sun Jun 14 05:50:28 2020(r362170) @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 7, 2019 +.Dd February 25, 2020 .Dt ZPOOL 8 .Os .Sh NAME @@ -2462,6 +2462,11 @@ Discarded approximately 29 seconds of transactions. .Xr zpool-features 7 , .Xr zfs 8 , .Xr zfsd 8 +.Sh HISTORY +The +.Nm +utility first appeared in +.Fx 7.0 . .Sh AUTHORS This manual page is a .Xr mdoc 7 Modified: head/cddl/contrib/opensolaris/cmd/zstreamdump/zstreamdump.1 == --- head/cddl/contrib/opensolaris/cmd/zstreamdump/zstreamdump.1 Sun Jun 14 05:35:02 2020(r362169) +++ head/cddl/contrib/opensolaris/cmd/zstreamdump/zstreamdump.1 Sun Jun 14 05:50:28 2020(r362170) @@ -22,7 +22,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 31, 2013 +.Dd February 25, 2020 .Dt ZSTREAMDUMP 8 .Os .Sh NAME @@ -52,6 +52,11 @@ Verbose. Dump all headers, not only begin and end head .El .Sh SEE ALSO .Xr zfs 8 +.Sh HISTORY +The +.Nm +utility first appeared in +.Fx 7.0 . .Sh AUTHORS This manual page is a .Xr mdoc 7 ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362171 - in head/lib/libc: stdio string sys
Author: gbe (doc committer) Date: Sun Jun 14 05:59:30 2020 New Revision: 362171 URL: https://svnweb.freebsd.org/changeset/base/362171 Log: libc manpages: various improvements from NetBSD - Add STANDARDS and HISTORY sections within the appropriate manpages - Mention two USENIX papers within kqueue(2) and strlcpy(3) Reviewed by: bcr (mentor) Approved by: bcr (mentor) Obtained from:NetBSD MFC after:7 days Differential Revision: https://reviews.freebsd.org/D24650 Modified: head/lib/libc/stdio/fflush.3 head/lib/libc/stdio/fopen.3 head/lib/libc/stdio/setbuf.3 head/lib/libc/string/strlcpy.3 head/lib/libc/sys/getgid.2 head/lib/libc/sys/getitimer.2 head/lib/libc/sys/kqueue.2 Modified: head/lib/libc/stdio/fflush.3 == --- head/lib/libc/stdio/fflush.3Sun Jun 14 05:50:28 2020 (r362170) +++ head/lib/libc/stdio/fflush.3Sun Jun 14 05:59:30 2020 (r362171) @@ -32,7 +32,7 @@ .\" @(#)fflush.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd January 23, 2020 +.Dd May 1, 2020 .Dt FFLUSH 3 .Os .Sh NAME @@ -125,3 +125,12 @@ The function conforms to .St -isoC . +.Sh HISTORY +The +.Fn fflush +function first appeared in +.At v4 . +The +.Fn fpurge +function first appeared in +.Bx 4.4 . Modified: head/lib/libc/stdio/fopen.3 == --- head/lib/libc/stdio/fopen.3 Sun Jun 14 05:50:28 2020(r362170) +++ head/lib/libc/stdio/fopen.3 Sun Jun 14 05:59:30 2020(r362171) @@ -32,7 +32,7 @@ .\" @(#)fopen.38.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd January 30, 2013 +.Dd May 1, 2020 .Dt FOPEN 3 .Os .Sh NAME @@ -356,3 +356,8 @@ The .Dq Li b mode does not conform to any standard but is also supported by glibc. +.Sh HISTORY +An +.Fn fopen +function appeared in +.At v1 . Modified: head/lib/libc/stdio/setbuf.3 == --- head/lib/libc/stdio/setbuf.3Sun Jun 14 05:50:28 2020 (r362170) +++ head/lib/libc/stdio/setbuf.3Sun Jun 14 05:59:30 2020 (r362171) @@ -32,7 +32,7 @@ .\" @(#)setbuf.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd February 18, 2013 +.Dd May 1, 2020 .Dt SETBUF 3 .Os .Sh NAME @@ -195,6 +195,23 @@ and functions conform to .St -isoC . +.Sh HISTORY +The +.Fn setbuf +function first appeared in +.At v7 . +The +.Fn setbuffer +function first appeared in +.Bx 4.1c . +The +.Fn setlinebuf +function first appeared in +.Bx 4.2 . +The +.Fn setvbuf +function first appeared in +.Bx 4.4 . .Sh BUGS .Fn setbuf usually uses a suboptimal buffer size and should be avoided. Modified: head/lib/libc/string/strlcpy.3 == --- head/lib/libc/string/strlcpy.3 Sun Jun 14 05:50:28 2020 (r362170) +++ head/lib/libc/string/strlcpy.3 Sun Jun 14 05:59:30 2020 (r362171) @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 26, 2016 +.Dd May 1, 2020 .Dt STRLCPY 3 .Os .Sh NAME @@ -189,6 +189,16 @@ As a matter of fact, the first version of this manual .Xr strncat 3 , .Xr strncpy 3 , .Xr wcslcpy 3 +.Rs +.%A Todd C. Miller +.%A Theo de Raadt +.%T strlcpy and strlcat -- Consistent, Safe, String Copy and Concatenation +.%I USENIX Association +.%B Proceedings of the FREENIX Track: 1999 USENIX Annual Technical Conference +.%D June 6-11, 1999 +.%U http://www.usenix.org/publications/library/proceedings/usenix99/ +.%U full_papers/millert/millert.pdf +.Re .Sh HISTORY The .Fn strlcpy Modified: head/lib/libc/sys/getgid.2 == --- head/lib/libc/sys/getgid.2 Sun Jun 14 05:50:28 2020(r362170) +++ head/lib/libc/sys/getgid.2 Sun Jun 14 05:59:30 2020(r362171) @@ -28,7 +28,7 @@ .\" @(#)getgid.2 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd December 15, 2015 +.Dd May 1, 2020 .Dt GETGID 2 .Os .Sh NAME @@ -78,3 +78,8 @@ and .Fn getegid system calls are expected to conform to .St -p1003.1-90 . +.Sh HISTORY +The +.Fn getgid +function appeared in +.At v4 . Modified: head/lib/libc/sys/getitimer.2 == --- head/lib/libc/sys/getitimer.2 Sun Jun 14 05:50:28 2020 (r362170) +++ head/lib/libc/sys/getitimer.2 Sun Jun 14 05:59:30 2020 (r362171) @@ -28,7 +28,7 @@ .\" @(#)getitimer.28.3 (Berkeley) 5/16/95 .\" $FreeBSD$ .\" -.Dd May 16, 1995 +.Dd May 1, 2020 .Dt GETITIMER 2 .Os .Sh NAME @@ -173,6 +173,21 @@ to be handled. .Xr select 2 , .Xr sigaction 2 , .Xr clocks 7 +.Sh STANDARDS +The +.Fn getitimer +and +.Fn setitimer +functions conform to +.St -p1003.1-2001 . +The later +.St -p1003.1-2008 +revision however marked both functions as obsolescent, +recommending the use of +.Xr timer_
svn commit: r362230 - in head/lib: libc/capability libc/gen libc/sys libcasper/libcasper libcasper/services/cap_dns libcasper/services/cap_fileargs libcasper/services/cap_grp libcasper/services/cap...
Author: gbe (doc committer) Date: Tue Jun 16 16:48:52 2020 New Revision: 362230 URL: https://svnweb.freebsd.org/changeset/base/362230 Log: libcasper(3): Document HISTORY within the manpages Reviewed by: bcr (mentor) Approved by: bcr (mentor) MFC after:7 days Differential Revision:https://reviews.freebsd.org/D24695 Modified: head/lib/libc/capability/cap_rights_init.3 head/lib/libc/gen/cap_rights_get.3 head/lib/libc/gen/cap_sandboxed.3 head/lib/libc/sys/cap_enter.2 head/lib/libc/sys/cap_fcntls_limit.2 head/lib/libc/sys/cap_ioctls_limit.2 head/lib/libc/sys/cap_rights_limit.2 head/lib/libcasper/libcasper/libcasper.3 head/lib/libcasper/libcasper/libcasper_service.3 head/lib/libcasper/services/cap_dns/cap_dns.3 head/lib/libcasper/services/cap_fileargs/cap_fileargs.3 head/lib/libcasper/services/cap_grp/cap_grp.3 head/lib/libcasper/services/cap_pwd/cap_pwd.3 head/lib/libcasper/services/cap_sysctl/cap_sysctl.3 head/lib/libcasper/services/cap_syslog/cap_syslog.3 Modified: head/lib/libc/capability/cap_rights_init.3 == --- head/lib/libc/capability/cap_rights_init.3 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libc/capability/cap_rights_init.3 Tue Jun 16 16:48:52 2020 (r362230) @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 27, 2014 +.Dd May 5, 2020 .Dt CAP_RIGHTS_INIT 3 .Os .Sh NAME @@ -232,6 +232,18 @@ if (cap_rights_limit(fd, &rights) < 0 && errno != ENOS .Xr capsicum 4 , .Xr rights 4 .Sh HISTORY +The functions +.Fn cap_rights_init , +.Fn cap_rights_set , +.Fn cap_rights_clear , +.Fn cap_rights_is_set , +.Fn cap_rights_is_valid , +.Fn cap_rights_merge , +.Fn cap_rights_remove +and +.Fn cap_rights_contains +first appeared in +.Fx 8.3 . Support for capabilities and capabilities mode was developed as part of the .Tn TrustedBSD Project. Modified: head/lib/libc/gen/cap_rights_get.3 == --- head/lib/libc/gen/cap_rights_get.3 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libc/gen/cap_rights_get.3 Tue Jun 16 16:48:52 2020 (r362230) @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 27, 2014 +.Dd May 5, 2020 .Dt CAP_RIGHTS_GET 3 .Os .Sh NAME @@ -110,6 +110,10 @@ argument points at an invalid address. .Xr capsicum 4 , .Xr rights 4 .Sh HISTORY +The +.Fn cap_rights_get +function first appeared in +.Fx 9.2 . Support for capabilities and capabilities mode was developed as part of the .Tn TrustedBSD Project. Modified: head/lib/libc/gen/cap_sandboxed.3 == --- head/lib/libc/gen/cap_sandboxed.3 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libc/gen/cap_sandboxed.3 Tue Jun 16 16:48:52 2020 (r362230) @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 27, 2014 +.Dd May 5, 2020 .Dt CAP_SANDBOXED 3 .Os .Sh NAME @@ -65,6 +65,11 @@ or .Sh SEE ALSO .Xr cap_enter 2 , .Xr capsicum 4 +.Sh HISTORY +The +.Fn cap_sandboxed +function first appeared in +.Fx 9.2 . .Sh AUTHORS This function was implemented and manual page was written by .An Pawel Jakub Dawidek Aq Mt pa...@dawidek.net Modified: head/lib/libc/sys/cap_enter.2 == --- head/lib/libc/sys/cap_enter.2 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libc/sys/cap_enter.2 Tue Jun 16 16:48:52 2020 (r362230) @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 23, 2017 +.Dd May 5, 2020 .Dt CAP_ENTER 2 .Os .Sh NAME @@ -150,6 +150,10 @@ points outside the process's allocated address space. .Xr capsicum 4 , .Xr sysctl 9 .Sh HISTORY +The +.Fn cap_getmode +system call first appeared in +.Fx 8.3 . Support for capabilities and capabilities mode was developed as part of the .Tn TrustedBSD Project. Modified: head/lib/libc/sys/cap_fcntls_limit.2 == --- head/lib/libc/sys/cap_fcntls_limit.2Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libc/sys/cap_fcntls_limit.2Tue Jun 16 16:48:52 2020 (r362230) @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 27, 2014 +.Dd May 5, 2020 .Dt CAP_FCNTLS_LIMIT 2 .Os .Sh NAME @@ -117,6 +117,12 @@ argument points at an invalid address. .Xr cap_rights_limit 2 , .Xr fcntl 2 .Sh HISTORY +The +.Fn cap_fcntls_get +and +.Fn cap_fcntls_limit +system calls first appeared in +.Fx 8.3 . Support for capabilities and capabilities mode was developed as part of the .Tn TrustedBSD Project. Modified: head/lib/libc/sys/cap_ioctls_limit.2 == --- head/lib/libc/sys/cap_ioctls_limit.2Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libc/sys/cap_ioctls_limit.2Tue Jun 16 16:48:52
svn commit: r362274 - head/contrib/tzcode/stdtime
Author: gbe (doc committer) Date: Wed Jun 17 11:57:48 2020 New Revision: 362274 URL: https://svnweb.freebsd.org/changeset/base/362274 Log: ctime(3): Bump .Dd after r362165 Reported by: bcr (mentor) Reviewed by: bcr (mentor) Approved by: bcr (mentor) X-MFC-With: r362165 Modified: head/contrib/tzcode/stdtime/ctime.3 Modified: head/contrib/tzcode/stdtime/ctime.3 == --- head/contrib/tzcode/stdtime/ctime.3 Wed Jun 17 11:56:10 2020 (r362273) +++ head/contrib/tzcode/stdtime/ctime.3 Wed Jun 17 11:57:48 2020 (r362274) @@ -30,7 +30,7 @@ .\" From: @(#)ctime.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd May 22, 2020 +.Dd June 14, 2020 .Dt CTIME 3 .Os .Sh NAME ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362326 - head/lib/libc/stdio
Author: gbe (doc committer) Date: Thu Jun 18 13:13:04 2020 New Revision: 362326 URL: https://svnweb.freebsd.org/changeset/base/362326 Log: fgetln(3): Add a Caveats Section Reviewed by: yuripv, bcr (mentor) Approved by: bcr (mentror) Obtained from:OpenBSD MFC after:7 days Differential Revision:https://reviews.freebsd.org/D24916 Modified: head/lib/libc/stdio/fgetln.3 Modified: head/lib/libc/stdio/fgetln.3 == --- head/lib/libc/stdio/fgetln.3Thu Jun 18 12:29:24 2020 (r362325) +++ head/lib/libc/stdio/fgetln.3Thu Jun 18 13:13:04 2020 (r362326) @@ -28,7 +28,7 @@ .\" @(#)fgetln.3 8.3 (Berkeley) 4/19/94 .\" $FreeBSD$ .\" -.Dd February 15, 2016 +.Dd June 11, 2020 .Dt FGETLN 3 .Os .Sh NAME @@ -126,3 +126,33 @@ The .Fn fgetln function first appeared in .Bx 4.4 . +.Sh CAVEATS +Since the returned buffer is not a C string (it is not NUL terminated), a +common practice is to replace the newline character with +.Sq \e0 . +However, if the last line in a file does not contain a newline, +the returned text won't contain a newline either. +The following code demonstrates how to deal with this problem by allocating a +temporary buffer: +.Bd -literal + char *buf, *lbuf; + size_t len; + + lbuf = NULL; + while ((buf = fgetln(fp, &len)) != NULL) { + if (buf[len - 1] == '\en') + buf[len - 1] = '\e0'; + else { + /* EOF without EOL, copy and add the NUL */ + if ((lbuf = malloc(len + 1)) == NULL) + err(1, NULL); + memcpy(lbuf, buf, len); + lbuf[len] = '\e0'; + buf = lbuf; + } + printf("%s\en", buf); + } + free(lbuf); + if (ferror(fp)) + err(1, "fgetln"); +.Ed ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362327 - in head/usr.bin: banner basename limits vmstat
Author: gbe (doc committer) Date: Thu Jun 18 13:19:56 2020 New Revision: 362327 URL: https://svnweb.freebsd.org/changeset/base/362327 Log: Add HISTORY sections to banner(6), basename(1), limits(1) and vmstat(8) Reviewed by: bcr (mentor) Approved by: bcr (mentor) MFC after:7 days Differential Revision:https://reviews.freebsd.org/D25019 Modified: head/usr.bin/banner/banner.6 head/usr.bin/basename/basename.1 head/usr.bin/limits/limits.1 head/usr.bin/vmstat/vmstat.8 Modified: head/usr.bin/banner/banner.6 == --- head/usr.bin/banner/banner.6Thu Jun 18 13:13:04 2020 (r362326) +++ head/usr.bin/banner/banner.6Thu Jun 18 13:19:56 2020 (r362327) @@ -28,7 +28,7 @@ .\"From: @(#)banner.6 8.2 (Berkeley) 4/29/95 .\" $FreeBSD$ .\" -.Dd January 26, 2005 +.Dd May 26, 2020 .Dt BANNER 6 .Os .Sh NAME @@ -60,6 +60,11 @@ Change the output from a width of 132 to .Ar width , suitable for a narrow terminal. .El +.Sh HISTORY +The +.Nm +utility first appeared in +.Bx 4.4 . .Sh AUTHORS .An Mark Horton .Sh BUGS Modified: head/usr.bin/basename/basename.1 == --- head/usr.bin/basename/basename.1Thu Jun 18 13:13:04 2020 (r362326) +++ head/usr.bin/basename/basename.1Thu Jun 18 13:19:56 2020 (r362327) @@ -31,7 +31,7 @@ .\" @(#)basename.1 8.2 (Berkeley) 4/18/94 .\" $FreeBSD$ .\" -.Dd April 18, 1994 +.Dd May 26, 2020 .Dt BASENAME 1 .Os .Sh NAME @@ -111,3 +111,10 @@ and utilities are expected to be .St -p1003.2 compatible. +.Sh HISTORY +The +.Nm +and +.Nm dirname +utilities first appeared in +.Bx 4.4 . Modified: head/usr.bin/limits/limits.1 == --- head/usr.bin/limits/limits.1Thu Jun 18 13:13:04 2020 (r362326) +++ head/usr.bin/limits/limits.1Thu Jun 18 13:19:56 2020 (r362327) @@ -19,7 +19,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 13, 2018 +.Dd May 26, 2020 .Dt LIMITS 1 .Os .Sh NAME @@ -387,6 +387,16 @@ will be whatever the executed program returns. .Xr login.conf 5 , .Xr rctl 8 , .Xr sysctl 8 +.Sh HISTORY +The +.Nm +utility first appeared in +.Fx 2.1.7 . +.Sh AUTHORS +The +.Nm +utility was written by +.An David Nugent Aq Mt dav...@freebsd.org . .Sh BUGS The .Nm Modified: head/usr.bin/vmstat/vmstat.8 == --- head/usr.bin/vmstat/vmstat.8Thu Jun 18 13:13:04 2020 (r362326) +++ head/usr.bin/vmstat/vmstat.8Thu Jun 18 13:19:56 2020 (r362327) @@ -28,7 +28,7 @@ .\"@(#)vmstat.88.1 (Berkeley) 6/6/93 .\" $FreeBSD$ .\" -.Dd January 18, 2018 +.Dd May 26, 2020 .Dt VMSTAT 8 .Os .Sh NAME @@ -385,6 +385,11 @@ statistics every second. .Pp The sections starting with ``Interpreting system activity'' in .%T "Installing and Operating 4.3BSD" . +.Sh HISTORY +The +.Nm +utility first appeared in +.Bx 4.3 . .Sh BUGS The .Fl c ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365417 - stable/12/share/man/man4
Author: gbe (doc committer) Date: Mon Sep 7 14:38:38 2020 New Revision: 365417 URL: https://svnweb.freebsd.org/changeset/base/365417 Log: MFC r365008: vtnet(4): improve the wording PR: 247936 Submitted by: PauAmma Reported by: PauAmma Differential Revision:https://reviews.freebsd.org/D26244 Modified: stable/12/share/man/man4/vtnet.4 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man4/vtnet.4 == --- stable/12/share/man/man4/vtnet.4Mon Sep 7 14:22:27 2020 (r365416) +++ stable/12/share/man/man4/vtnet.4Mon Sep 7 14:38:38 2020 (r365417) @@ -49,7 +49,7 @@ The .Nm device driver provides support for VirtIO Ethernet devices. .Pp -If the hypervisor advertises the appreciate features, the +If the hypervisor advertises the appropriate features, the .Nm driver supports TCP/UDP checksum offload for both transmit and receive, TCP segmentation offload (TSO), TCP large receive offload (LRO), ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365418 - stable/12/usr.bin/fortune/datfiles
Author: gbe (doc committer) Date: Mon Sep 7 14:40:33 2020 New Revision: 365418 URL: https://svnweb.freebsd.org/changeset/base/365418 Log: MFC r365328: fortune(6): Grammar fix for a hint on searching ports PR: 249078 Submitted by: PauAmma Reported by: PauAmma Modified: stable/12/usr.bin/fortune/datfiles/freebsd-tips Directory Properties: stable/12/ (props changed) Modified: stable/12/usr.bin/fortune/datfiles/freebsd-tips == --- stable/12/usr.bin/fortune/datfiles/freebsd-tips Mon Sep 7 14:38:38 2020(r365417) +++ stable/12/usr.bin/fortune/datfiles/freebsd-tips Mon Sep 7 14:40:33 2020(r365418) @@ -304,8 +304,8 @@ been replaced with other messages, look at /var/run/dm Want colour in your directory listings? Use "ls -G". "ls -F" is also useful, and they can be combined as "ls -FG". % -Want to find a specific port, just type the following under /usr/ports -or one its subdirectories: +Want to find a specific port? Just type the following under /usr/ports +or one of its subdirectories: make search name= or ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365458 - head/usr.bin/sort
Author: gbe (doc committer) Date: Tue Sep 8 15:01:49 2020 New Revision: 365458 URL: https://svnweb.freebsd.org/changeset/base/365458 Log: sort(1): Remove duplicate option check Reviewed by: lwhsu, emaste Approved by: emaste Obtained from:DragonFlyBSD MFC after:1 week Differential Revision:https://reviews.freebsd.org/D23892 Modified: head/usr.bin/sort/file.c Modified: head/usr.bin/sort/file.c == --- head/usr.bin/sort/file.cTue Sep 8 14:54:10 2020(r365457) +++ head/usr.bin/sort/file.cTue Sep 8 15:01:49 2020(r365458) @@ -1236,7 +1236,7 @@ sort_list_to_file(struct sort_list *list, const char * { struct sort_mods *sm = &(keys[0].sm); - if (!(sm->Mflag) && !(sm->Rflag) && !(sm->Vflag) && !(sm->Vflag) && + if (!(sm->Mflag) && !(sm->Rflag) && !(sm->Vflag) && !(sm->gflag) && !(sm->hflag) && !(sm->nflag)) { if ((sort_opts_vals.sort_method == SORT_DEFAULT) && byte_sort) sort_opts_vals.sort_method = SORT_RADIXSORT; ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365640 - in head: share/man/man5 share/man/man7 tools/build/options
Author: gbe (doc committer) Date: Fri Sep 11 18:09:49 2020 New Revision: 365640 URL: https://svnweb.freebsd.org/changeset/base/365640 Log: Improvements for the src.conf(5) and build(7) man pages PR: 203863 (based on) Submitted by: Russell Haley Reviewed by: bcr, imp Approved by: imp MFC after:1 week Differential Revision:https://reviews.freebsd.org/D26343 Modified: head/share/man/man5/src.conf.5 head/share/man/man7/build.7 head/tools/build/options/makeman Modified: head/share/man/man5/src.conf.5 == --- head/share/man/man5/src.conf.5 Fri Sep 11 17:05:09 2020 (r365639) +++ head/share/man/man5/src.conf.5 Fri Sep 11 18:09:49 2020 (r365640) @@ -1,6 +1,6 @@ .\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman. .\" $FreeBSD$ -.Dd September 8, 2020 +.Dd September 11, 2020 .Dt SRC.CONF 5 .Os .Sh NAME @@ -9,7 +9,8 @@ .Sh DESCRIPTION The .Nm -file contains settings that will apply to every build involving the +file contains variables that control what components will be generated during +the build process of the .Fx source tree; see .Xr build 7 . Modified: head/share/man/man7/build.7 == --- head/share/man/man7/build.7 Fri Sep 11 17:05:09 2020(r365639) +++ head/share/man/man7/build.7 Fri Sep 11 18:09:49 2020(r365640) @@ -24,12 +24,12 @@ .\" .\" $FreeBSD$ .\" -.Dd August 5, 2020 +.Dd September 11, 2020 .Dt BUILD 7 .Os .Sh NAME .Nm build -.Nd information on how to build the system +.Nd General instructions on how to build the system .Sh DESCRIPTION The sources for the .Fx @@ -66,10 +66,11 @@ command is used in each of these directories to build things in that directory. Issuing the .Xr make 1 -command in any directory or -subdirectory of those directories has the same effect as issuing the -same command in all subdirectories of that directory. -With no target specified, the things in that directory are just built. +command in any directory issues the +.Xr make 1 +command recursively in all subdirectories. +With no target specified, the items in the directories are built +and no further action is taken. .Pp A source tree is allowed to be read-only. As described in @@ -93,6 +94,14 @@ variables described in the section below, and by the variables documented in .Xr make.conf 5 . .Pp +The default components included in the build are specified in the file +.Pa /etc/src.conf +in the source tree. +To override the default file, include the SRCCONF option in the make steps, +pointing to a custom src.conf file. +For more information see +.Xr src.conf 5 . +.Pp The following list provides the names and actions for the targets supported by the build system: .Bl -tag -width ".Cm cleandepend" @@ -583,6 +592,12 @@ process. .Bd -literal -offset indent make PORTS_MODULES=emulators/kqemu-kmod kernel .Ed +.It Va SRCCONF +Specify a file to override the default +.Pa /etc/src.conf . +The src.conf file controls the components to build. +See +.Xr src.conf 5 .It Va STRIPBIN Command to use at install time when stripping binaries. Be sure to add any additional tools required to run Modified: head/tools/build/options/makeman == --- head/tools/build/options/makemanFri Sep 11 17:05:09 2020 (r365639) +++ head/tools/build/options/makemanFri Sep 11 18:09:49 2020 (r365640) @@ -154,7 +154,8 @@ main() .Sh DESCRIPTION The .Nm -file contains settings that will apply to every build involving the +file contains variables that control what components will be generated during +the build process of the .Fx source tree; see .Xr build 7 . ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r365640 - in head: share/man/man5 share/man/man7 tools/build/options
Hi Niclas, On Sat, Sep 12, 2020 at 09:13:33PM +0200, Niclas Zeising wrote: > On 2020-09-11 20:09, Gordon Bergling wrote: > > Author: gbe (doc committer) > > Date: Fri Sep 11 18:09:49 2020 > > New Revision: 365640 > > URL: https://svnweb.freebsd.org/changeset/base/365640 > > > > Log: > >Improvements for the src.conf(5) and build(7) man pages > > > >PR: 203863 (based on) > >Submitted by:Russell Haley > >Reviewed by: bcr, imp > >Approved by: imp > >MFC after: 1 week > >Differential Revision: https://reviews.freebsd.org/D26343 > > > > Modified: > >head/share/man/man5/src.conf.5 > >head/share/man/man7/build.7 > >head/tools/build/options/makeman > > > > Modified: head/share/man/man5/src.conf.5 > > == > > --- head/share/man/man5/src.conf.5 Fri Sep 11 17:05:09 2020 > > (r365639) > > +++ head/share/man/man5/src.conf.5 Fri Sep 11 18:09:49 2020 > > (r365640) > > @@ -1,6 +1,6 @@ > > .\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman. > > As the comment above hints, this file is generated by a tool, and should > not be edited directly. This will be overwritten the next time someone > regenerates the manual page. You have to update the template in > tools/build/options/makeman and regenerate the manual from there. I did updated 'tools/build/options/makeman' with this commit. I justed commited the newly generated src.conf.5 alongside and not with a separate commit. > > .\" $FreeBSD$ > > -.Dd September 8, 2020 > > +.Dd September 11, 2020 > > .Dt SRC.CONF 5 > > .Os > > .Sh NAME > > @@ -9,7 +9,8 @@ > > .Sh DESCRIPTION > > The > > .Nm > > -file contains settings that will apply to every build involving the > > +file contains variables that control what components will be generated > > during > > +the build process of the > > .Fx > > source tree; see > > .Xr build 7 . > > > > Regards > -- > Niclas Zeising -- Gordon ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365747 - stable/12/usr.bin/sort
Author: gbe (doc committer) Date: Tue Sep 15 09:27:01 2020 New Revision: 365747 URL: https://svnweb.freebsd.org/changeset/base/365747 Log: MFC r365458: sort(1): Remove duplicate option check Reviewed by: lwhsu, emaste Approved by: emaste Obtained from:DragonFlyBSD Differential Revision:https://reviews.freebsd.org/D23892 Modified: stable/12/usr.bin/sort/file.c Directory Properties: stable/12/ (props changed) Modified: stable/12/usr.bin/sort/file.c == --- stable/12/usr.bin/sort/file.c Tue Sep 15 08:54:00 2020 (r365746) +++ stable/12/usr.bin/sort/file.c Tue Sep 15 09:27:01 2020 (r365747) @@ -1236,7 +1236,7 @@ sort_list_to_file(struct sort_list *list, const char * { struct sort_mods *sm = &(keys[0].sm); - if (!(sm->Mflag) && !(sm->Rflag) && !(sm->Vflag) && !(sm->Vflag) && + if (!(sm->Mflag) && !(sm->Rflag) && !(sm->Vflag) && !(sm->gflag) && !(sm->hflag) && !(sm->nflag)) { if ((sort_opts_vals.sort_method == SORT_DEFAULT) && byte_sort) sort_opts_vals.sort_method = SORT_RADIXSORT; ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365850 - head/share/man/man9
Author: gbe (doc committer) Date: Thu Sep 17 20:25:31 2020 New Revision: 365850 URL: https://svnweb.freebsd.org/changeset/base/365850 Log: bus_dma(9): Some markup fixes - new sentence, new line - no blank before trailing delimiter - whitespace at end of input line MFC after:3 days Modified: head/share/man/man9/bus_dma.9 Modified: head/share/man/man9/bus_dma.9 == --- head/share/man/man9/bus_dma.9 Thu Sep 17 19:47:41 2020 (r365849) +++ head/share/man/man9/bus_dma.9 Thu Sep 17 20:25:31 2020 (r365850) @@ -63,8 +63,8 @@ .Nm bus_dma_template_init , .Nm bus_dma_template_tag , .Nm bus_dma_template_clone , -.Nm bus_dma_template_fill, -.Nm BUS_DMA_TEMPLATE_FILL, +.Nm bus_dma_template_fill , +.Nm BUS_DMA_TEMPLATE_FILL , .Nm bus_dmamap_create , .Nm bus_dmamap_destroy , .Nm bus_dmamap_load , @@ -707,11 +707,13 @@ on success. .It Fn bus_dma_template_init "*template" "parent" Initializes a .Fa bus_dma_template_t -structure. If the -.Fa parent +structure. +If the +.Fa parent argument is non-NULL, this parent tag is associated with the template and -will be compiled into the dma tag that is later created. The values -of the parent are not copied into the template. During tag creation in +will be compiled into the dma tag that is later created. +The values of the parent are not copied into the template. +During tag creation in .Fn bus_dma_tag_template , any parameters from the parent tag that are more restrictive than what is in the provided template will overwrite what goes into the new tag. @@ -724,21 +726,24 @@ The template is not modified by this function, and can freed upon return. .It Fn bus_dma_template_clone "*template" "dmat" Copies the fields from an existing tag to a template. -The template does not need to be initialized first. All of its fields will -be overwritten by the values contained in the tag. When paired with +The template does not need to be initialized first. +All of its fields will be overwritten by the values contained in the tag. +When paired with .Fn bus_dma_template_tag , this function is useful for creating copies of tags. .It Fn bus_dma_template_fill "*template" "params[]" "count" Fills in the selected fields of the template with the keyed values from the .Fa params -array. This is not meant to be called directly, use +array. +This is not meant to be called directly, use .Fn BUS_DMA_TEMPLATE_FILL instead. .It Fn BUS_DMA_TEMPLATE_FILL "*template" "param ..." Fills in the selected fields of the template with a variable number of -key-value parameters. The macros listed below take an argument of the -specified type and encapsulate it into a key-value structure that is directly -usable as a parameter argument. Muliple parameters may be provided at once. +key-value parameters. +The macros listed below take an argument of the specified type and encapsulate +it into a key-value structure that is directly usable as a parameter argument. +Muliple parameters may be provided at once. .Bd -literal BD_PARENT() void * BD_ALIGNMENT() uintmax_t @@ -752,7 +757,6 @@ usable as a parameter argument. Muliple parameters ma BD_LOCKFUNC() void * BD_LOCKFUNCARG() void * .Ed -.Pp .It Fn bus_dmamap_create "dmat" "flags" "*mapp" Allocates and initializes a DMA map. Arguments are as follows: ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365851 - head/share/man/man9
Author: gbe (doc committer) Date: Thu Sep 17 20:32:10 2020 New Revision: 365851 URL: https://svnweb.freebsd.org/changeset/base/365851 Log: rmlock(9): Some markup fixes - new sentence, new line MFC after:3 days Modified: head/share/man/man9/rmlock.9 Modified: head/share/man/man9/rmlock.9 == --- head/share/man/man9/rmlock.9Thu Sep 17 20:25:31 2020 (r365850) +++ head/share/man/man9/rmlock.9Thu Sep 17 20:32:10 2020 (r365851) @@ -138,13 +138,14 @@ to It changes lock ordering rules to the same as for .Xr sx 9 locks. -They do not propagate priority to writers, but they do propagate priority to -readers. Note that readers are not permitted to sleep regardless of the flag. +They do not propagate priority to writers, but they do propagate priority to readers. +Note that readers are not permitted to sleep regardless of the flag. .Pp Sleepable read-mostly locks (created with .Fn rms_init ) allow sleeping for both readers and writers, but don't do priority propagation -for either. They follow +for either. +They follow .Xr sx 9 lock ordering. .Ss Macros and Functions @@ -350,8 +351,7 @@ lock must be unlocked. .Xr sleep 9 , .Xr sx 9 .Sh HISTORY -These -functions appeared in +These functions appeared in .Fx 7.0 . .Sh AUTHORS .An -nosplit ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365853 - head/share/man/man9
Author: gbe (doc committer) Date: Thu Sep 17 20:37:54 2020 New Revision: 365853 URL: https://svnweb.freebsd.org/changeset/base/365853 Log: domainset(9): Some markup fixes - new sentence, new line - whitespace at end of input line MFC after:3 days Modified: head/share/man/man9/domainset.9 Modified: head/share/man/man9/domainset.9 == --- head/share/man/man9/domainset.9 Thu Sep 17 20:35:45 2020 (r365852) +++ head/share/man/man9/domainset.9 Thu Sep 17 20:37:54 2020 (r365853) @@ -88,8 +88,9 @@ memory is accessed from many CPUs that are not in the .It Dv DOMAINSET_POLICY_PREFER Memory is allocated from the node in the .Vt prefer -member. The preferred node must be set in the allowed mask. -If the preferred node is out of memory the allocation falls back to +member. +The preferred node must be set in the allowed mask. +If the preferred node is out of memory the allocation falls back to round-robin among allowed sets. .It Dv DOMAINSET_POLICY_INTERLEAVE Memory is allocated in a striped fashion with multiple pages @@ -128,8 +129,7 @@ function takes a partially filled in domainset as a ke valid domainset or NULL. It is critical that consumers not use domainsets that have not been returned by this function. -.Vt -domainset +.Vt domainset is an immutable type that is shared among all matching keys and must not be modified after return. .Pp @@ -138,9 +138,8 @@ The function is provided as a convenience for modifying or viewing domainsets that are not accessible via .Xr cpuset 2 . -It is intended for use with +It is intended for use with .Xr sysctl 9 . -.Pp .Sh SEE ALSO .Xr cpuset 1 , .Xr cpuset 2 , ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365854 - head/share/man/man9
Author: gbe (doc committer) Date: Thu Sep 17 20:42:41 2020 New Revision: 365854 URL: https://svnweb.freebsd.org/changeset/base/365854 Log: VOP_INACTIVE(9): Remove trailing whitespace MFC after:3 days Modified: head/share/man/man9/VOP_INACTIVE.9 Modified: head/share/man/man9/VOP_INACTIVE.9 == --- head/share/man/man9/VOP_INACTIVE.9 Thu Sep 17 20:37:54 2020 (r365853) +++ head/share/man/man9/VOP_INACTIVE.9 Thu Sep 17 20:42:41 2020 (r365854) @@ -57,7 +57,7 @@ to exclusive without sleeping. This may be because the reference count reaches zero or it may be that the file system is being forcibly unmounted while there are open files. -It can be used to reclaim space on the last close of an +It can be used to reclaim space on the last close of an .Sq open but deleted file. .Pp ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365855 - head/share/man/man9
Author: gbe (doc committer) Date: Thu Sep 17 20:50:02 2020 New Revision: 365855 URL: https://svnweb.freebsd.org/changeset/base/365855 Log: crypto_buffer(9): Sort the SEE ALSO section MFC after:3 days Modified: head/share/man/man9/crypto_buffer.9 Modified: head/share/man/man9/crypto_buffer.9 == --- head/share/man/man9/crypto_buffer.9 Thu Sep 17 20:42:41 2020 (r365854) +++ head/share/man/man9/crypto_buffer.9 Thu Sep 17 20:50:02 2020 (r365855) @@ -198,7 +198,7 @@ A scatter/gather list of kernel buffers as described i A network memory buffer as described in .Xr mbuf 9 . .It Dv CRYPTO_BUF_VMPAGE -A scatter/gather list of +A scatter/gather list of .Vt vm_page_t structures describing pages in the kernel's address space. This buffer type is only available if @@ -317,11 +317,10 @@ returns the length in bytes of a contiguous segment. returns true if the request uses a separate output buffer. .Sh SEE ALSO .Xr ipsec 4 , -.Xr bus_dma 9 , .Xr crypto 7 , .Xr crypto 9 , -.Xr crypto_request 9 , .Xr crypto_driver 9 , +.Xr crypto_request 9 , .Xr crypto_session 9 , -.Xr mbuf 9 +.Xr mbuf 9 , .Xr uio 9 ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365856 - head/share/man/man9
Author: gbe (doc committer) Date: Thu Sep 17 20:53:24 2020 New Revision: 365856 URL: https://svnweb.freebsd.org/changeset/base/365856 Log: mbuf(9): Some markup fixes - whitespace at end of input line - no blank before trailing delimiter: Dv MJUM16BYTES MFC after:3 days Modified: head/share/man/man9/mbuf.9 Modified: head/share/man/man9/mbuf.9 == --- head/share/man/man9/mbuf.9 Thu Sep 17 20:50:02 2020(r365855) +++ head/share/man/man9/mbuf.9 Thu Sep 17 20:53:24 2020(r365856) @@ -574,7 +574,7 @@ for non-critical paths. Allocate an .Vt mbuf with enough space to hold specified amount of data. -If the size is is larger than +If the size is is larger than .Dv MJUMPAGESIZE , NULL will be returned. .It Fn m_getm orig len how type @@ -640,7 +640,7 @@ but the specified of the cluster to be allocated must be one of .Dv MCLBYTES , MJUMPAGESIZE , MJUM9BYTES , or -.Dv MJUM16BYTES. +.Dv MJUM16BYTES . .It Fn m_free mbuf Frees .Vt mbuf . ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365857 - head/share/man/man9
Author: gbe (doc committer) Date: Thu Sep 17 20:55:42 2020 New Revision: 365857 URL: https://svnweb.freebsd.org/changeset/base/365857 Log: pwmbus(9): some markup fixes - whitespace at end of input line MFC after:3 days Modified: head/share/man/man9/pwmbus.9 Modified: head/share/man/man9/pwmbus.9 == --- head/share/man/man9/pwmbus.9Thu Sep 17 20:53:24 2020 (r365856) +++ head/share/man/man9/pwmbus.9Thu Sep 17 20:55:42 2020 (r365857) @@ -68,11 +68,11 @@ argument is the duration in nanoseconds of the on port .Pp Some PWM hardware is organized as a single controller with multiple channels. Channel numbers count up from zero. -When multiple channels are present, they sometimes share a common clock or +When multiple channels are present, they sometimes share a common clock or other resources. -In such cases, changing the period or duty cycle of any one channel may affect +In such cases, changing the period or duty cycle of any one channel may affect other channels within the hardware which share the same resources. -Consult the documentation for the underlying PWM hardware device driver for +Consult the documentation for the underlying PWM hardware device driver for details on channels that share resources. .Sh INTERFACE .Bl -tag -width indent ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365858 - head/share/man/man9
Author: gbe (doc committer) Date: Thu Sep 17 21:08:11 2020 New Revision: 365858 URL: https://svnweb.freebsd.org/changeset/base/365858 Log: man(9): Some markup fixes - whitespace at end of input line - skipping paragraph macro: Pp after Sh MFC after:3 days Modified: head/share/man/man9/EVENTHANDLER.9 head/share/man/man9/OF_node_from_xref.9 head/share/man/man9/ieee80211.9 head/share/man/man9/socket.9 head/share/man/man9/tcp_functions.9 head/share/man/man9/ucred.9 Modified: head/share/man/man9/EVENTHANDLER.9 == --- head/share/man/man9/EVENTHANDLER.9 Thu Sep 17 20:55:42 2020 (r365857) +++ head/share/man/man9/EVENTHANDLER.9 Thu Sep 17 21:08:11 2020 (r365858) @@ -299,7 +299,7 @@ Callback invoked when an interfance has been removed f .It Vt ifaddr_event Callbacks invoked when an address is set up on a network interface. .It Vt ifaddr_event_ext -Callback invoked when an address has been added or removed from an interface. +Callback invoked when an address has been added or removed from an interface. .It Vt if_clone_event Callbacks invoked when an interface is cloned. .It Vt iflladdr_event Modified: head/share/man/man9/OF_node_from_xref.9 == --- head/share/man/man9/OF_node_from_xref.9 Thu Sep 17 20:55:42 2020 (r365857) +++ head/share/man/man9/OF_node_from_xref.9 Thu Sep 17 21:08:11 2020 (r365858) @@ -64,7 +64,7 @@ the values of "phandle" properties. and .Fn OF_xref_from_node are used to perform conversion between these two kinds of node -identifiers. +identifiers. .Pp .Fn OF_node_from_xref returns the kernel phandle for the effective phandle Modified: head/share/man/man9/ieee80211.9 == --- head/share/man/man9/ieee80211.9 Thu Sep 17 20:55:42 2020 (r365857) +++ head/share/man/man9/ieee80211.9 Thu Sep 17 21:08:11 2020 (r365858) @@ -706,7 +706,7 @@ and were later ported to This man page was updated with the information from .Nx .Nm -man page. +man page. .Sh AUTHORS .An -nosplit The original Modified: head/share/man/man9/socket.9 == --- head/share/man/man9/socket.9Thu Sep 17 20:55:42 2020 (r365857) +++ head/share/man/man9/socket.9Thu Sep 17 21:08:11 2020 (r365858) @@ -56,7 +56,7 @@ .Fn sodisconnect "struct socket *so" .Ft void .Fo sodtor_set -.Fa "struct socket *so" +.Fa "struct socket *so" .Fa "void (*func)(struct socket *)" .Fc .Ft struct sockaddr * Modified: head/share/man/man9/tcp_functions.9 == --- head/share/man/man9/tcp_functions.9 Thu Sep 17 20:55:42 2020 (r365857) +++ head/share/man/man9/tcp_functions.9 Thu Sep 17 21:08:11 2020 (r365858) @@ -281,8 +281,9 @@ for that socket, the kernel will call the function poi .Va tfb_tcp_handoff_ok field. The function should return 0 if the user is allowed to switch the socket to use -the TCP stack. Otherwise, the function should return an error code, which will -be returned to the user. +the TCP stack. +Otherwise, the function should return an error code, which will be returned to +the user. If the .Va tfb_tcp_handoff_ok field is Modified: head/share/man/man9/ucred.9 == --- head/share/man/man9/ucred.9 Thu Sep 17 20:55:42 2020(r365857) +++ head/share/man/man9/ucred.9 Thu Sep 17 21:08:11 2020(r365858) @@ -143,7 +143,6 @@ and appropriately sets fields in the latter that are n the former (e.g., .Va cr_version ) . -.Pp .Sh RETURN VALUES .Fn crget , .Fn crhold , ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365859 - head/share/man/man7
Author: gbe (doc committer) Date: Thu Sep 17 21:24:11 2020 New Revision: 365859 URL: https://svnweb.freebsd.org/changeset/base/365859 Log: arch(7): Some markup fixes - no blank before trailing delimiter MFC after:3 days Modified: head/share/man/man7/arch.7 Modified: head/share/man/man7/arch.7 == --- head/share/man/man7/arch.7 Thu Sep 17 21:08:11 2020(r365858) +++ head/share/man/man7/arch.7 Thu Sep 17 21:24:11 2020(r365859) @@ -86,7 +86,6 @@ This table shows the first .Fx release to support each architecture, and, for discontinued architectures, the final release. -.Pp .Bl -column -offset indent "Architecture" "Initial Release" "Final Release" .It Sy Architecture Ta Sy Initial Release Ta Sy Final Release .It aarch64 Ta 11.0 @@ -341,24 +340,24 @@ Architecture-specific macros: .Bl -column -offset indent "Architecture" "Predefined macros" .It Sy Architecture Ta Sy Predefined macros .It aarch64 Ta Dv __aarch64__ -.It amd64 Ta Dv __amd64__, Dv __x86_64__ -.It armv6 Ta Dv __arm__, Dv __ARM_ARCH >= 6 -.It armv7 Ta Dv __arm__, Dv __ARM_ARCH >= 7 +.It amd64 Ta Dv __amd64__ , Dv __x86_64__ +.It armv6 Ta Dv __arm__ , Dv __ARM_ARCH >= 6 +.It armv7 Ta Dv __arm__ , Dv __ARM_ARCH >= 7 .It i386Ta Dv __i386__ -.It mipsTa Dv __mips__, Dv __MIPSEB__, Dv __mips_o32 -.It mipsel Ta Dv __mips__, Dv __mips_o32 -.It mipselhfTa Dv __mips__, Dv __mips_o32 -.It mipshf Ta Dv __mips__, Dv __MIPSEB__, Dv __mips_o32 -.It mipsn32 Ta Dv __mips__, Dv __MIPSEB__, Dv __mips_n32 -.It mips64 Ta Dv __mips__, Dv __MIPSEB__, Dv __mips_n64 -.It mips64elTa Dv __mips__, Dv __mips_n64 -.It mips64elhf Ta Dv __mips__, Dv __mips_n64 -.It mips64hfTa Dv __mips__, Dv __MIPSEB__, Dv __mips_n64 +.It mipsTa Dv __mips__ , Dv __MIPSEB__ , Dv __mips_o32 +.It mipsel Ta Dv __mips__ , Dv __mips_o32 +.It mipselhfTa Dv __mips__ , Dv __mips_o32 +.It mipshf Ta Dv __mips__ , Dv __MIPSEB__ , Dv __mips_o32 +.It mipsn32 Ta Dv __mips__ , Dv __MIPSEB__ , Dv __mips_n32 +.It mips64 Ta Dv __mips__ , Dv __MIPSEB__ , Dv __mips_n64 +.It mips64elTa Dv __mips__ , Dv __mips_n64 +.It mips64elhf Ta Dv __mips__ , Dv __mips_n64 +.It mips64hfTa Dv __mips__ , Dv __MIPSEB__ , Dv __mips_n64 .It powerpc Ta Dv __powerpc__ -.It powerpcspe Ta Dv __powerpc__, Dv __SPE__ -.It powerpc64 Ta Dv __powerpc__, Dv __powerpc64__ -.It riscv64 Ta Dv __riscv, Dv __riscv_xlen == 64 -.It riscv64sf Ta Dv __riscv, Dv __riscv_xlen == 64, Dv __riscv_float_abi_soft +.It powerpcspe Ta Dv __powerpc__ , Dv __SPE__ +.It powerpc64 Ta Dv __powerpc__ , Dv __powerpc64__ +.It riscv64 Ta Dv __riscv , Dv __riscv_xlen == 64 +.It riscv64sf Ta Dv __riscv , Dv __riscv_xlen == 64 , Dv __riscv_float_abi_soft .El .Pp Compilers may define additional variants of architecture-specific macros. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r365855 - head/share/man/man9
On Thu, Sep 17, 2020 at 03:40:48PM -0700, John Baldwin wrote: > On 9/17/20 1:50 PM, Gordon Bergling wrote: > > Author: gbe (doc committer) > > Date: Thu Sep 17 20:50:02 2020 > > New Revision: 365855 > > URL: https://svnweb.freebsd.org/changeset/base/365855 > > > > Log: > > crypto_buffer(9): Sort the SEE ALSO section > > > > MFC after:3 days > > This manpage isn't in stable FWIW. I wasn't aware the crypto_buffer(9) isn't in -STABLE, so I will not MFC this. > > Modified: > > head/share/man/man9/crypto_buffer.9 > > > > Modified: head/share/man/man9/crypto_buffer.9 > > == > > --- head/share/man/man9/crypto_buffer.9 Thu Sep 17 20:42:41 2020 > > (r365854) > > +++ head/share/man/man9/crypto_buffer.9 Thu Sep 17 20:50:02 2020 > > (r365855) > > @@ -317,11 +317,10 @@ returns the length in bytes of a contiguous segment. > > returns true if the request uses a separate output buffer. > > .Sh SEE ALSO > > .Xr ipsec 4 , > > -.Xr bus_dma 9 , > > Did you mean to lose this one? (Rest looks fine) No, that is a mistake. I correct it in a few minutes. --Gordon ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365875 - head/share/man/man9
Author: gbe (doc committer) Date: Fri Sep 18 11:04:16 2020 New Revision: 365875 URL: https://svnweb.freebsd.org/changeset/base/365875 Log: crypto_buffer(9): Bring back the reference for bus_dma(9) The reference was accidentally deleted in r365855. Reported by: jhb Pointy hat to:gbe Modified: head/share/man/man9/crypto_buffer.9 Modified: head/share/man/man9/crypto_buffer.9 == --- head/share/man/man9/crypto_buffer.9 Fri Sep 18 07:27:01 2020 (r365874) +++ head/share/man/man9/crypto_buffer.9 Fri Sep 18 11:04:16 2020 (r365875) @@ -318,6 +318,7 @@ returns true if the request uses a separate output buf .Sh SEE ALSO .Xr ipsec 4 , .Xr crypto 7 , +.Xr bus_dma 9 , .Xr crypto 9 , .Xr crypto_driver 9 , .Xr crypto_request 9 , ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365903 - head/tools/build/options
Author: gbe (doc committer) Date: Sat Sep 19 14:49:31 2020 New Revision: 365903 URL: https://svnweb.freebsd.org/changeset/base/365903 Log: src.conf(5): Fix some mandoc issues in source files - new sentence, new line - blank line in fill mode Event:September 2020 Bugathon MFC after:1 week Modified: head/tools/build/options/WITH_LOADER_FIREWIRE head/tools/build/options/WITH_LOADER_VERBOSE head/tools/build/options/WITH_NVME Modified: head/tools/build/options/WITH_LOADER_FIREWIRE == --- head/tools/build/options/WITH_LOADER_FIREWIRE Sat Sep 19 13:55:26 2020(r365902) +++ head/tools/build/options/WITH_LOADER_FIREWIRE Sat Sep 19 14:49:31 2020(r365903) @@ -1,3 +1,3 @@ .\" $FreeBSD$ -Enable firewire support in /boot/loader on x86. This option is a nop -on all other platforms. +Enable firewire support in /boot/loader on x86. +This option is a nop on all other platforms. Modified: head/tools/build/options/WITH_LOADER_VERBOSE == --- head/tools/build/options/WITH_LOADER_VERBOSESat Sep 19 13:55:26 2020(r365902) +++ head/tools/build/options/WITH_LOADER_VERBOSESat Sep 19 14:49:31 2020(r365903) @@ -2,4 +2,3 @@ Set to build with extra verbose debugging in the loader. May explode already nearly too large loader over the limit. Use with care. - Modified: head/tools/build/options/WITH_NVME == --- head/tools/build/options/WITH_NVME Sat Sep 19 13:55:26 2020 (r365902) +++ head/tools/build/options/WITH_NVME Sat Sep 19 14:49:31 2020 (r365903) @@ -1,3 +1,2 @@ .\" $FreeBSD$ Set to build nvme related tools and kernel modules. - ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365904 - head/share/man/man7
Author: gbe (doc committer) Date: Sat Sep 19 15:08:57 2020 New Revision: 365904 URL: https://svnweb.freebsd.org/changeset/base/365904 Log: crypto(7): Correct Sections out of conventional order error Event:September 2020 Bugathon MFC after:1 week Modified: head/share/man/man7/crypto.7 Modified: head/share/man/man7/crypto.7 == --- head/share/man/man7/crypto.7Sat Sep 19 14:49:31 2020 (r365903) +++ head/share/man/man7/crypto.7Sat Sep 19 15:08:57 2020 (r365904) @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 04, 2020 +.Dd June 4, 2020 .Dt CRYPTO 7 .Os .Sh NAME @@ -166,13 +166,13 @@ This algorithm implements Cipher Block Chaining. 16 or 32 .El .El +.Sh SEE ALSO +.Xr crypto 4 , +.Xr crypto 9 .Sh HISTORY The .Nm manpage first appeared in .Fx 10.1 . -.Sh SEE ALSO -.Xr crypto 4 , -.Xr crypto 9 .Sh BUGS Not all the implemented algorithms are listed. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365905 - head/share/man/man8
Author: gbe (doc committer) Date: Sat Sep 19 15:10:17 2020 New Revision: 365905 URL: https://svnweb.freebsd.org/changeset/base/365905 Log: diskless(8): Correct Sections out of conventional order error Event:September 2020 Bugathon MFC after:1 week Modified: head/share/man/man8/diskless.8 Modified: head/share/man/man8/diskless.8 == --- head/share/man/man8/diskless.8 Sat Sep 19 15:08:57 2020 (r365904) +++ head/share/man/man8/diskless.8 Sat Sep 19 15:10:17 2020 (r365905) @@ -453,11 +453,6 @@ Be warned that using unencrypted to mount root and user partitions may expose information such as encryption keys. -.Sh HISTORY -The -.Nm -environment first appeared in -.Fx 2.2.5 . .Sh SEE ALSO .Xr ethers 5 , .Xr exports 5 , @@ -470,6 +465,11 @@ environment first appeared in .Xr tftpd 8 .Pp .Pa ports/net/etherboot +.Sh HISTORY +The +.Nm +environment first appeared in +.Fx 2.2.5 . .Sh BUGS This manpage is probably incomplete. .Pp ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366006 - stable/12/share/man/man9
Author: gbe (doc committer) Date: Tue Sep 22 17:28:32 2020 New Revision: 366006 URL: https://svnweb.freebsd.org/changeset/base/366006 Log: MFC r365857: pwmbus(9): some markup fixes - whitespace at end of input line Modified: stable/12/share/man/man9/pwmbus.9 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man9/pwmbus.9 == --- stable/12/share/man/man9/pwmbus.9 Tue Sep 22 17:05:01 2020 (r366005) +++ stable/12/share/man/man9/pwmbus.9 Tue Sep 22 17:28:32 2020 (r366006) @@ -68,11 +68,11 @@ argument is the duration in nanoseconds of the on port .Pp Some PWM hardware is organized as a single controller with multiple channels. Channel numbers count up from zero. -When multiple channels are present, they sometimes share a common clock or +When multiple channels are present, they sometimes share a common clock or other resources. -In such cases, changing the period or duty cycle of any one channel may affect +In such cases, changing the period or duty cycle of any one channel may affect other channels within the hardware which share the same resources. -Consult the documentation for the underlying PWM hardware device driver for +Consult the documentation for the underlying PWM hardware device driver for details on channels that share resources. .Sh INTERFACE .Bl -tag -width indent ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366007 - stable/12/share/man/man9
Author: gbe (doc committer) Date: Tue Sep 22 17:29:44 2020 New Revision: 366007 URL: https://svnweb.freebsd.org/changeset/base/366007 Log: MFC r365854: VOP_INACTIVE(9): Remove trailing whitespace Modified: stable/12/share/man/man9/VOP_INACTIVE.9 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man9/VOP_INACTIVE.9 == --- stable/12/share/man/man9/VOP_INACTIVE.9 Tue Sep 22 17:28:32 2020 (r366006) +++ stable/12/share/man/man9/VOP_INACTIVE.9 Tue Sep 22 17:29:44 2020 (r366007) @@ -57,7 +57,7 @@ to exclusive without sleeping. This may be because the reference count reaches zero or it may be that the file system is being forcibly unmounted while there are open files. -It can be used to reclaim space on the last close of an +It can be used to reclaim space on the last close of an .Sq open but deleted file. .Pp ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366008 - stable/12/share/man/man9
Author: gbe (doc committer) Date: Tue Sep 22 17:30:53 2020 New Revision: 366008 URL: https://svnweb.freebsd.org/changeset/base/366008 Log: MFC r365853: domainset(9): Some markup fixes - new sentence, new line - whitespace at end of input line Modified: stable/12/share/man/man9/domainset.9 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man9/domainset.9 == --- stable/12/share/man/man9/domainset.9Tue Sep 22 17:29:44 2020 (r366007) +++ stable/12/share/man/man9/domainset.9Tue Sep 22 17:30:53 2020 (r366008) @@ -88,8 +88,9 @@ memory is accessed from many CPUs that are not in the .It Dv DOMAINSET_POLICY_PREFER Memory is allocated from the node in the .Vt prefer -member. The preferred node must be set in the allowed mask. -If the preferred node is out of memory the allocation falls back to +member. +The preferred node must be set in the allowed mask. +If the preferred node is out of memory the allocation falls back to round-robin among allowed sets. .It Dv DOMAINSET_POLICY_INTERLEAVE Memory is allocated in a striped fashion with multiple pages @@ -128,8 +129,7 @@ function takes a partially filled in domainset as a ke valid domainset or NULL. It is critical that consumers not use domainsets that have not been returned by this function. -.Vt -domainset +.Vt domainset is an immutable type that is shared among all matching keys and must not be modified after return. .Pp @@ -138,9 +138,8 @@ The function is provided as a convenience for modifying or viewing domainsets that are not accessible via .Xr cpuset 2 . -It is intended for use with +It is intended for use with .Xr sysctl 9 . -.Pp .Sh SEE ALSO .Xr cpuset 1 , .Xr cpuset 2 , ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r365984 - head/usr.bin/calendar/calendars
On Tue, Sep 22, 2020 at 09:01:46PM +0300, Andriy Gapon wrote: > On 22/09/2020 06:06, Conrad Meyer wrote: > > Big ol plus one from me. > > > > On Mon, Sep 21, 2020 at 4:16 PM Cy Schubert > > wrote: > >> > >> In message <202009212255.08lmtpsp078...@repo.freebsd.org>, Greg Lehey > >> writes: > >>> Author: grog > >>> Date: Mon Sep 21 22:55:51 2020 > >>> New Revision: 365984 > >>> URL: https://svnweb.freebsd.org/changeset/base/365984 > >>> > >>> Log: > >>> Remove claim that Allied Forces created "West Germany" in 1953. I can > >>> find no historic substantiation for such a claim. The Federal > >>> Republic of Germany was created by Germans on 23 May 1949, as also > >>> noted in this file. > >>> > >>> Modified: > >>> head/usr.bin/calendar/calendars/calendar.history > >>> > >>> Modified: head/usr.bin/calendar/calendars/calendar.history > >>> = > >>> = > >>> --- head/usr.bin/calendar/calendars/calendar.history Mon Sep 21 22:52:57 > >>> 202 > >>> 0 (r365983) > >>> +++ head/usr.bin/calendar/calendars/calendar.history Mon Sep 21 22:55:51 > >>> 202 > >>> 0 (r365984) > >>> @@ -521,7 +521,6 @@ > >>> 09/20Magellan leaves Spain on the first Round the World passage, > >>> 151 > >>> 9 > >>> 09/20The Roxy Theater opens in Hollywood, 1973 > >>> 09/21J. R. R. Tolkien's The Hobbit is published, 1937 > >>> -09/22Allied forces form the independent nation West Germany, 1953 > >>> 09/22US President Lincoln issues the Emancipation Proclamation, > >>> 1862 > >>> 09/22Special prosecutor Leon Jeworski subpoenas US President > >>> Nixon, > >>> 1974 > >>> 09/22The first Soviet atomic bomb explodes, 1949 > >>> > >> > >> Does this file still need to be in FreeBSD? It may have been a novelty back > >> in the day but IMO calendar.history has nothing to do with BSD, computers > >> or anything else of interest to FreeBSD. At the very least this file should > >> be moved to ports or better yet, removed entirely. I simply don't see the > >> point of it being in the tree and distributed with an O/S, any O/S. > > I think that the only reason for this file's existence in the source tree is > for > Greg's staving off the commit bit reaper. > No offense meant. > > P.S. > And occasional flame wars, it seems. We already had a similar discussion in march 2020 after r358561 [1]. In the short, the calendar utility has it's historic place, even it's just more a kind of tradition, like adding yourself as a FreeBSD committer to calendar.freebsd. [1] https://lists.freebsd.org/pipermail/svn-src-all/2020-March/thread.html -- Gordon ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366092 - stable/12/share/man/man9
Author: gbe (doc committer) Date: Wed Sep 23 19:40:03 2020 New Revision: 366092 URL: https://svnweb.freebsd.org/changeset/base/366092 Log: MFC r365858: man(9): Some markup fixes - whitespace at end of input line - skipping paragraph macro: Pp after Sh Modified: stable/12/share/man/man9/EVENTHANDLER.9 stable/12/share/man/man9/OF_node_from_xref.9 stable/12/share/man/man9/ieee80211.9 stable/12/share/man/man9/socket.9 stable/12/share/man/man9/tcp_functions.9 stable/12/share/man/man9/ucred.9 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man9/EVENTHANDLER.9 == --- stable/12/share/man/man9/EVENTHANDLER.9 Wed Sep 23 19:36:07 2020 (r366091) +++ stable/12/share/man/man9/EVENTHANDLER.9 Wed Sep 23 19:40:03 2020 (r366092) @@ -299,7 +299,7 @@ Callback invoked when an interfance has been removed f .It Vt ifaddr_event Callbacks invoked when an address is set up on a network interface. .It Vt ifaddr_event_ext -Callback invoked when an address has been added or removed from an interface. +Callback invoked when an address has been added or removed from an interface. .It Vt if_clone_event Callbacks invoked when an interface is cloned. .It Vt iflladdr_event Modified: stable/12/share/man/man9/OF_node_from_xref.9 == --- stable/12/share/man/man9/OF_node_from_xref.9Wed Sep 23 19:36:07 2020(r366091) +++ stable/12/share/man/man9/OF_node_from_xref.9Wed Sep 23 19:40:03 2020(r366092) @@ -64,7 +64,7 @@ the values of "phandle" properties. and .Fn OF_xref_from_node are used to perform conversion between these two kinds of node -identifiers. +identifiers. .Pp .Fn OF_node_from_xref returns the kernel phandle for the effective phandle Modified: stable/12/share/man/man9/ieee80211.9 == --- stable/12/share/man/man9/ieee80211.9Wed Sep 23 19:36:07 2020 (r366091) +++ stable/12/share/man/man9/ieee80211.9Wed Sep 23 19:40:03 2020 (r366092) @@ -706,7 +706,7 @@ and were later ported to This man page was updated with the information from .Nx .Nm -man page. +man page. .Sh AUTHORS .An -nosplit The original Modified: stable/12/share/man/man9/socket.9 == --- stable/12/share/man/man9/socket.9 Wed Sep 23 19:36:07 2020 (r366091) +++ stable/12/share/man/man9/socket.9 Wed Sep 23 19:40:03 2020 (r366092) @@ -56,7 +56,7 @@ .Fn sodisconnect "struct socket *so" .Ft void .Fo sodtor_set -.Fa "struct socket *so" +.Fa "struct socket *so" .Fa "void (*func)(struct socket *)" .Fc .Ft struct sockaddr * Modified: stable/12/share/man/man9/tcp_functions.9 == --- stable/12/share/man/man9/tcp_functions.9Wed Sep 23 19:36:07 2020 (r366091) +++ stable/12/share/man/man9/tcp_functions.9Wed Sep 23 19:40:03 2020 (r366092) @@ -281,8 +281,9 @@ for that socket, the kernel will call the function poi .Va tfb_tcp_handoff_ok field. The function should return 0 if the user is allowed to switch the socket to use -the TCP stack. Otherwise, the function should return an error code, which will -be returned to the user. +the TCP stack. +Otherwise, the function should return an error code, which will be returned to +the user. If the .Va tfb_tcp_handoff_ok field is Modified: stable/12/share/man/man9/ucred.9 == --- stable/12/share/man/man9/ucred.9Wed Sep 23 19:36:07 2020 (r366091) +++ stable/12/share/man/man9/ucred.9Wed Sep 23 19:40:03 2020 (r366092) @@ -143,7 +143,6 @@ and appropriately sets fields in the latter that are n the former (e.g., .Va cr_version ) . -.Pp .Sh RETURN VALUES .Fn crget , .Fn crhold , ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366123 - head/share/man/man9
Author: gbe (doc committer) Date: Thu Sep 24 16:50:14 2020 New Revision: 366123 URL: https://svnweb.freebsd.org/changeset/base/366123 Log: crypto_buffer(9): Add a HISTORY and a AUTHORS section Reviewed by: jhb Approved by: jhb Differential Revision:https://reviews.freebsd.org/D26487 Modified: head/share/man/man9/crypto_buffer.9 Modified: head/share/man/man9/crypto_buffer.9 == --- head/share/man/man9/crypto_buffer.9 Thu Sep 24 16:42:17 2020 (r366122) +++ head/share/man/man9/crypto_buffer.9 Thu Sep 24 16:50:14 2020 (r366123) @@ -30,7 +30,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 12, 2020 +.Dd September 24, 2020 .Dt CRYPTO_BUFFER 9 .Os .Sh NAME @@ -325,3 +325,13 @@ returns true if the request uses a separate output buf .Xr crypto_session 9 , .Xr mbuf 9 , .Xr uio 9 +.Sh HISTORY +The +.Nm +functions first appeared in +.Fx 13 . +.Sh AUTHORS +The +.Nm +functions and this manual page were written by +.An John Baldwin Aq Mt j...@freebsd.org . ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366127 - head/share/man/man4
Author: gbe (doc committer) Date: Thu Sep 24 19:33:48 2020 New Revision: 366127 URL: https://svnweb.freebsd.org/changeset/base/366127 Log: Add a manual page for TCP BBR Reviewed by: bcr Approved by: bcr Differential Revision:https://reviews.freebsd.org/D24915 Modified: head/share/man/man4/Makefile Modified: head/share/man/man4/Makefile == --- head/share/man/man4/MakefileThu Sep 24 19:12:03 2020 (r366126) +++ head/share/man/man4/MakefileThu Sep 24 19:33:48 2020 (r366127) @@ -524,6 +524,7 @@ MAN=aac.4 \ tap.4 \ targ.4 \ tcp.4 \ + tcp_bbr.4 \ tdfx.4 \ terasic_mtl.4 \ termios.4 \ ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366128 - head/share/man/man4
Author: gbe (doc committer) Date: Thu Sep 24 19:35:34 2020 New Revision: 366128 URL: https://svnweb.freebsd.org/changeset/base/366128 Log: Add missing file (tcp_bbr.4) from r366127 Reviewed by: bcr Approved by: bcr Differential Revision:https://reviews.freebsd.org/D24915 Added: head/share/man/man4/tcp_bbr.4 (contents, props changed) Added: head/share/man/man4/tcp_bbr.4 == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/tcp_bbr.4 Thu Sep 24 19:35:34 2020 (r366128) @@ -0,0 +1,168 @@ +.\" +.\" Copyright (c) 2020, Gordon Bergling +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\"notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\"notice, this list of conditions and the following disclaimer in the +.\"documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR +.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd September 24, 2020 +.Dt TCP_BBR 4 +.Os +.Sh NAME +.Nm tcp_bbr +.Nd TCP Bottleneck Bandwidth and Round-Trip Time Algorithm +.Sh SYNOPSIS +To use this TCP stack you have to place the following line in your +kernel configuration file: +.Bd -ragged -offset indent +.Cd "options TCPHPTS" +.Ed +.Pp +To load the driver as a module at boot time, place the following line in +.Xr loader.conf 5 : +.Bd -literal -offset indent +tcp_bbr_load="YES" +.Ed +.Pp +To enable the TCP stack you must place the following line in the +.Xr sysctl.conf 5 : +.Bd -literal -offset indent +net.inet.tcp.functions_default=bbr +.Ed +.Sh DESCRIPTION +Bottleneck bandwidth and round-trip time (BBR) is a congestion control algorithm which +seeks high throughput with a small queue by probing BW and RTT. +It is a round-up redesign of congestion control, which is not loss-based, delay-based, +ECN-based or AIMD-based. +.Pp +The core design of BBR is about creating a model graph of the network path by +estimating the maximum BW and minimum RTT on each ACK. +.Sh MIB Variables +The algorithm exposes the following scopes in the +.Va net.inet.tcp.bbr +branch of the +.Xr sysctl 3 +MIB: +.Bl -tag -width ".Va exp_backoff_scale" +.It Va cwnd +Cwnd controls, for example "target cwnd rtt measurment" and "BBR initial window". +.It Va measure +Measurement controls. +.It Va pacing +Connection pacing controls. +.It Va policer +Policer controls, for example "false detection threshold" and "loss threshold". +.It Va probertt +Probe RTT controls. +.It Va startup +Startup controls. +.It Va states +State controls. +.It Va timeout +Time out controls. +.El +.Pp +Besides the variables within the above scopes the following +variables are also exposed in the +.Va net.inet.tcp.bbr +branch: +.Bl -tag -width ".Va exp_backoff_scale" +.It Va clrlost +Clear lost counters. +.It Va software_pacing +Total number of software paced flows. +.It Va hdwr_pacing +Total number of hardware paced flows. +.It Va enob_no_hdwr_pacing +Total number of enobufs for non-hardware paced flows. +.It Va enob_hdwr_pacing +Total number of enobufs for hardware paced flows. +.It Va rtt_tlp_thresh +What divisor for TLP rtt/retran will be added (1=rtt, 2=1/2 rtt etc). +.It Va reorder_fade +Does reorder detection fade, if so how many ms (0 means never). +.It Va reorder_thresh +What factor for rack will be added when seeing reordering (shift right). +.It Va bb_verbose +Should BBR black box logging be verbose. +.It Va sblklimit +When do we start ignoring small sack blocks. +.It Va resend_use_tso +Can resends use TSO? +.It Va data_after_close +Do we hold off sending a RST until all pending data is ack'd. +.It Va kill_paceout +When we hit this many errors in a row, kill the s
svn commit: r366129 - head/share/man/man4
Author: gbe (doc committer) Date: Thu Sep 24 19:59:29 2020 New Revision: 366129 URL: https://svnweb.freebsd.org/changeset/base/366129 Log: tcp(4): Add a reference for tcp_bbr(4) man page Modified: head/share/man/man4/tcp.4 Modified: head/share/man/man4/tcp.4 == --- head/share/man/man4/tcp.4 Thu Sep 24 19:35:34 2020(r366128) +++ head/share/man/man4/tcp.4 Thu Sep 24 19:59:29 2020(r366129) @@ -773,6 +773,7 @@ when trying to use a TCP function block that is not av .Xr mod_cc 4 , .Xr siftr 4 , .Xr syncache 4 , +.Xr tcp_bbr 4 , .Xr setkey 8 , .Xr tcp_functions 9 .Rs ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366191 - stable/12/share/man/man8
Author: gbe (doc committer) Date: Sun Sep 27 08:39:38 2020 New Revision: 366191 URL: https://svnweb.freebsd.org/changeset/base/366191 Log: MFC r365905: diskless(8): Correct Sections out of conventional order error Event:September 2020 Bugathon Modified: stable/12/share/man/man8/diskless.8 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man8/diskless.8 == --- stable/12/share/man/man8/diskless.8 Sun Sep 27 02:59:28 2020 (r366190) +++ stable/12/share/man/man8/diskless.8 Sun Sep 27 08:39:38 2020 (r366191) @@ -465,6 +465,11 @@ encryption keys. .Xr tftpd 8 .Pp .Pa ports/net/etherboot +.Sh HISTORY +The +.Nm +environment first appeared in +.Fx 2.2.5 . .Sh BUGS This manpage is probably incomplete. .Pp ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366399 - in stable/12: share/man/man5 share/man/man7 tools/build/options
Author: gbe (doc committer) Date: Sat Oct 3 14:45:17 2020 New Revision: 366399 URL: https://svnweb.freebsd.org/changeset/base/366399 Log: MFC r365640: Improvements for the src.conf(5) and build(7) man pages PR: 203863 (based on) Submitted by: Russell Haley Reviewed by: bcr, imp Approved by: imp Differential Revision:https://reviews.freebsd.org/D26343 Modified: stable/12/share/man/man5/src.conf.5 stable/12/share/man/man7/build.7 stable/12/tools/build/options/makeman Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man5/src.conf.5 == --- stable/12/share/man/man5/src.conf.5 Sat Oct 3 14:37:54 2020 (r366398) +++ stable/12/share/man/man5/src.conf.5 Sat Oct 3 14:45:17 2020 (r366399) @@ -9,7 +9,8 @@ .Sh DESCRIPTION The .Nm -file contains settings that will apply to every build involving the +file contains variables that control what components will be generated during +the build process of the .Fx source tree; see .Xr build 7 . Modified: stable/12/share/man/man7/build.7 == --- stable/12/share/man/man7/build.7Sat Oct 3 14:37:54 2020 (r366398) +++ stable/12/share/man/man7/build.7Sat Oct 3 14:45:17 2020 (r366399) @@ -24,12 +24,12 @@ .\" .\" $FreeBSD$ .\" -.Dd November 10, 2018 +.Dd September 11, 2020 .Dt BUILD 7 .Os .Sh NAME .Nm build -.Nd information on how to build the system +.Nd General instructions on how to build the system .Sh DESCRIPTION The sources for the .Fx @@ -68,10 +68,11 @@ command is used in each of these directories to build things in that directory. Issuing the .Xr make 1 -command in any directory or -subdirectory of those directories has the same effect as issuing the -same command in all subdirectories of that directory. -With no target specified, the things in that directory are just built. +command in any directory issues the +.Xr make 1 +command recursively in all subdirectories. +With no target specified, the items in the directories are built +and no further action is taken. .Pp A source tree is allowed to be read-only. As described in @@ -95,6 +96,14 @@ variables described in the section below, and by the variables documented in .Xr make.conf 5 . .Pp +The default components included in the build are specified in the file +.Pa /etc/src.conf +in the source tree. +To override the default file, include the SRCCONF option in the make steps, +pointing to a custom src.conf file. +For more information see +.Xr src.conf 5 . +.Pp The following list provides the names and actions for the targets supported by the build system: .Bl -tag -width ".Cm cleandepend" @@ -573,6 +582,12 @@ process. .Bd -literal -offset indent make PORTS_MODULES=emulators/kqemu-kmod kernel .Ed +.It Va SRCCONF +Specify a file to override the default +.Pa /etc/src.conf . +The src.conf file controls the components to build. +See +.Xr src.conf 5 .It Va STRIPBIN Command to use at install time when stripping binaries. Be sure to add any additional tools required to run Modified: stable/12/tools/build/options/makeman == --- stable/12/tools/build/options/makeman Sat Oct 3 14:37:54 2020 (r366398) +++ stable/12/tools/build/options/makeman Sat Oct 3 14:45:17 2020 (r366399) @@ -154,7 +154,8 @@ main() .Sh DESCRIPTION The .Nm -file contains settings that will apply to every build involving the +file contains variables that control what components will be generated during +the build process of the .Fx source tree; see .Xr build 7 . ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366400 - stable/12/tools/build/options
Author: gbe (doc committer) Date: Sat Oct 3 14:51:15 2020 New Revision: 366400 URL: https://svnweb.freebsd.org/changeset/base/366400 Log: MFC r365903: src.conf(5): Fix some mandoc issues in source files - new sentence, new line - blank line in fill mode Event:September 2020 Bugathon Modified: stable/12/tools/build/options/WITH_LOADER_FIREWIRE stable/12/tools/build/options/WITH_NVME Directory Properties: stable/12/ (props changed) Modified: stable/12/tools/build/options/WITH_LOADER_FIREWIRE == --- stable/12/tools/build/options/WITH_LOADER_FIREWIRE Sat Oct 3 14:45:17 2020(r366399) +++ stable/12/tools/build/options/WITH_LOADER_FIREWIRE Sat Oct 3 14:51:15 2020(r366400) @@ -1,3 +1,3 @@ .\" $FreeBSD$ -Enable firewire support in /boot/loader on x86. This option is a nop -on all other platforms. +Enable firewire support in /boot/loader on x86. +This option is a nop on all other platforms. Modified: stable/12/tools/build/options/WITH_NVME == --- stable/12/tools/build/options/WITH_NVME Sat Oct 3 14:45:17 2020 (r366399) +++ stable/12/tools/build/options/WITH_NVME Sat Oct 3 14:51:15 2020 (r366400) @@ -1,3 +1,2 @@ .\" $FreeBSD$ Set to build nvme related tools and kernel modules. - ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366401 - stable/12/share/man/man7
Author: gbe (doc committer) Date: Sat Oct 3 15:06:47 2020 New Revision: 366401 URL: https://svnweb.freebsd.org/changeset/base/366401 Log: MFC r365904: crypto(7): Correct Sections out of conventional order error Event:September 2020 Bugathon Modified: stable/12/share/man/man7/crypto.7 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man7/crypto.7 == --- stable/12/share/man/man7/crypto.7 Sat Oct 3 14:51:15 2020 (r366400) +++ stable/12/share/man/man7/crypto.7 Sat Oct 3 15:06:47 2020 (r366401) @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 2, 2015 +.Dd June 4, 2020 .Dt CRYPTO 7 .Os .Sh NAME @@ -137,5 +137,10 @@ in the cipher mode section. .Sh SEE ALSO .Xr crypto 4 , .Xr crypto 9 +.Sh HISTORY +The +.Nm +manpage first appeared in +.Fx 10.1 . .Sh BUGS Not all the implemented algorithms are listed. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366402 - head/sbin/ipfw
Author: gbe (doc committer) Date: Sat Oct 3 18:30:01 2020 New Revision: 366402 URL: https://svnweb.freebsd.org/changeset/base/366402 Log: ipfw(8): Bugfixes for some issues reported by mandoc - whitespace at end of input line - new sentence, new line - skipping paragraph macro: Pp before Pp MFC after:1 week Modified: head/sbin/ipfw/ipfw.8 Modified: head/sbin/ipfw/ipfw.8 == --- head/sbin/ipfw/ipfw.8 Sat Oct 3 15:06:47 2020(r366401) +++ head/sbin/ipfw/ipfw.8 Sat Oct 3 18:30:01 2020(r366402) @@ -527,9 +527,9 @@ ipfw add 10 skipto 4000 all from any to any layer2 out ether_demux and bdg_forward). .Pp Also note that only actions -.Cm allow, -.Cm deny, -.Cm netgraph, +.Cm allow , +.Cm deny , +.Cm netgraph , .Cm ngtee and related to .Cm dummynet @@ -682,7 +682,7 @@ to simulate the effect of multiple paths leading to ou packet delivery. .Pp Note: this condition is checked before any other condition, including -ones such as +ones such as .Cm keep-state or .Cm check-state @@ -991,7 +991,8 @@ It is possible to use the .Cm tablearg keyword with a skipto for a .Em computed -skipto. Skipto may work either in O(log(N)) or in O(1) depending +skipto. +Skipto may work either in O(log(N)) or in O(1) depending on amount of memory and/or sysctl variables. See the .Sx SYSCTL VARIABLES @@ -1454,7 +1455,7 @@ or a hostname) and the mask of .Ar mask , specified as allowed by -.Xr inet_pton. +.Xr inet_pton . As an example, fe::640:0:0/::::0:0 will match fe:*:*:*:0:640:*:*. This form is advised only for non-contiguous @@ -1528,7 +1529,8 @@ Alias for .Cm layer2 . .It Cm defer-immediate-action | defer-action A rule with this option will not perform normal action -upon a match. This option is intended to be used with +upon a match. +This option is intended to be used with .Cm record-state or .Cm keep-state @@ -1539,8 +1541,9 @@ Rules with both and .Cm defer-immediate-action create a dynamic rule and continue with the next rule without actually -performing the action part of this rule. When the rule is later activated -via the state table, the action is performed as usual. +performing the action part of this rule. +When the rule is later activated via the state table, the action is +performed as usual. .It Cm diverted Matches only packets generated by a divert socket. .It Cm diverted-loopback @@ -1604,7 +1607,7 @@ Matches IPv6 packets containing any of the flow labels is a comma separated list of numeric flow labels. .It Cm frag Ar spec Matches IPv4 packets whose -.Cm ip_off +.Cm ip_off field contains the comma separated list of IPv4 fragmentation options specified in .Ar spec . @@ -1793,7 +1796,8 @@ packet is found. The .Ar :flowname is used to assign additional to addresses, ports and protocol parameter -to dynamic rule. It can be used for more accurate matching by +to dynamic rule. +It can be used for more accurate matching by .Cm check-state rule. The @@ -2212,8 +2216,8 @@ One or more entries can be added to a table at once us command. Addition of all items are performed atomically. By default, error in addition of one entry does not influence -addition of other entries. However, non-zero error code is returned -in that case. +addition of other entries. +However, non-zero error code is returned in that case. Special .Cm atomic keyword may be specified before @@ -2224,8 +2228,8 @@ One or more entries can be removed from a table at onc .Cm delete command. By default, error in removal of one entry does not influence -removing of other entries. However, non-zero error code is returned -in that case. +removing of other entries. +However, non-zero error code is returned in that case. .Pp It may be possible to check what entry will be found on particular .Ar table-key @@ -2983,10 +2987,12 @@ and are integer numbers specifying thresholds for queue management (thresholds are computed in bytes if the queue has been defined in bytes, in slots otherwise). -The two parameters can also be of the same value if needed. The +The two parameters can also be of the same value if needed. +The .Nm dummynet also supports the gentle RED variant (gred) and ECN (Explicit Congestion -Notification) as optional. Three +Notification) as optional. +Three .Xr sysctl 8 variables can be used to control the RED behaviour: .Bl -tag -width indent @@ -3266,7 +3272,7 @@ Skip instance in case of global state lookup (see belo .El .Pp Some specials value can be supplied instead of -.Va nat_number: +.Va nat_number : .Bl -tag -width indent .It Cm global Looks up translation state in all configured nat instances. @@ -3370,7 +3376,7 @@ Thus translator host should be configured as IPv4 and Also this means, that a packet is handled by firewall twice. First time an original packet is handled and consumed by translator, and then it is handled again as translated pa
svn commit: r366403 - head/bin/ls
Author: gbe (doc committer) Date: Sat Oct 3 18:34:24 2020 New Revision: 366403 URL: https://svnweb.freebsd.org/changeset/base/366403 Log: ls(1): Bugfix for an issue reported by mandoc - no blank before trailing delimiter MFC after:1 week Modified: head/bin/ls/ls.1 Modified: head/bin/ls/ls.1 == --- head/bin/ls/ls.1Sat Oct 3 18:30:01 2020(r366402) +++ head/bin/ls/ls.1Sat Oct 3 18:34:24 2020(r366403) @@ -40,7 +40,7 @@ .Nd list directory contents .Sh SYNOPSIS .Nm -.Op Fl ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1, +.Op Fl ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1 , .Op Fl -color Ns = Ns Ar when .Op Fl D Ar format .Op Ar ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366404 - head/bin/cp
Author: gbe (doc committer) Date: Sat Oct 3 18:36:22 2020 New Revision: 366404 URL: https://svnweb.freebsd.org/changeset/base/366404 Log: cp(1): Bugfixes for some issues reported by mandoc - no blank before trailing delimiter MFC after:1 week Modified: head/bin/cp/cp.1 Modified: head/bin/cp/cp.1 == --- head/bin/cp/cp.1Sat Oct 3 18:34:24 2020(r366403) +++ head/bin/cp/cp.1Sat Oct 3 18:36:22 2020(r366404) @@ -300,9 +300,9 @@ differ as they copy special files as normal files while recreating a hierarchy. .Pp The -.Fl l, -.Fl s, -.Fl v, +.Fl l , +.Fl s , +.Fl v , .Fl x and .Fl n ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366405 - head/sbin/devd
Author: gbe (doc committer) Date: Sat Oct 3 18:37:59 2020 New Revision: 366405 URL: https://svnweb.freebsd.org/changeset/base/366405 Log: devd.conf(5): Bugfix for an issue reported by mandoc - whitespace at end of input line MFC after:1 week Modified: head/sbin/devd/devd.conf.5 Modified: head/sbin/devd/devd.conf.5 == --- head/sbin/devd/devd.conf.5 Sat Oct 3 18:36:22 2020(r366404) +++ head/sbin/devd/devd.conf.5 Sat Oct 3 18:37:59 2020(r366405) @@ -530,7 +530,7 @@ keyboard has been pressed. A brightness level change has been requested. Direction is in the $notify variable. .It Li PMU Ta Li keys Ta mute Ta -The mute key +The mute key .It Li PMU Ta Li keys Ta volume Ta A volume level change has been requested. Direction is in the $notify variable. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366406 - head/sbin/camcontrol
Author: gbe (doc committer) Date: Sat Oct 3 18:40:02 2020 New Revision: 366406 URL: https://svnweb.freebsd.org/changeset/base/366406 Log: camcontrol(8): Bugfixes for some issues reported by mandoc - new sentence, new line MFC after:1 week Modified: head/sbin/camcontrol/camcontrol.8 Modified: head/sbin/camcontrol/camcontrol.8 == --- head/sbin/camcontrol/camcontrol.8 Sat Oct 3 18:37:59 2020 (r366405) +++ head/sbin/camcontrol/camcontrol.8 Sat Oct 3 18:40:02 2020 (r366406) @@ -1511,10 +1511,10 @@ user. This option can be combined with other options such as .Fl e Em pwd .Pp -A master password may be set in a addition to the user password. The purpose of -the master password is to allow an administrator to establish a password that -is kept secret from the user, and which may be used to unlock the device if the -user password is lost. +A master password may be set in a addition to the user password. +The purpose of the master password is to allow an administrator to establish +a password that is kept secret from the user, and which may be used to unlock +the device if the user password is lost. .Pp .Em Note: Setting the master password does not enable device security. @@ -2528,7 +2528,8 @@ whether it is enabled and what the timer value is. .It Ic timestamp Issue REPORT TIMESTAMP or SET TIMESTAMP .Tn SCSI -commands. Either the +commands. +Either the .Fl r option or the .Fl s @@ -2552,7 +2553,8 @@ time, but override the system time zone and use UTC in .El .Bl -tag -width 6n .It Fl s -Set the device's timestamp. Either the +Set the device's timestamp. +Either the .Fl f and .Fl T ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366407 - head/sbin/dhclient
Author: gbe (doc committer) Date: Sat Oct 3 18:42:15 2020 New Revision: 366407 URL: https://svnweb.freebsd.org/changeset/base/366407 Log: dhclient(8): Bugfixes for some issues reported by mandoc - no blank before trailing delimiter - new sentence, new line MFC after:1 week Modified: head/sbin/dhclient/dhclient.leases.5 head/sbin/dhclient/dhcp-options.5 Modified: head/sbin/dhclient/dhclient.leases.5 == --- head/sbin/dhclient/dhclient.leases.5Sat Oct 3 18:40:02 2020 (r366406) +++ head/sbin/dhclient/dhclient.leases.5Sat Oct 3 18:42:15 2020 (r366407) @@ -54,7 +54,7 @@ the last one in the file is used. The file is written as a log, so this is not an unusual occurrence. .Pp The lease file is named -.Pa dhclient.leases. Ns Ar IFNAME , +.Pa dhclient.leases . Ns Ar IFNAME , where .Ar IFNAME represents the network interface the DHCP client acquired the lease on. @@ -70,7 +70,7 @@ The format of the lease declarations is described in .Xr dhclient.conf 5 . .Sh FILES .Bl -tag -width ".Pa /var/db/dhclient.leases. Ns Ar IFNAME" -.It Pa /var/db/dhclient.leases. Ns Ar IFNAME +.It Pa /var/db/dhclient.leases . Ns Ar IFNAME Current lease file. .El .Sh SEE ALSO Modified: head/sbin/dhclient/dhcp-options.5 == --- head/sbin/dhclient/dhcp-options.5 Sat Oct 3 18:40:02 2020 (r366406) +++ head/sbin/dhclient/dhcp-options.5 Sat Oct 3 18:42:15 2020 (r366407) @@ -267,8 +267,8 @@ This option specifies the domain name that the client resolving hostnames via the Domain Name System. .It Ic option domain-search Ar string ; This option specifies a list of domain names that the client should use -when resolving hostnames via the Domain Name System. This option is -defined in RFC 3397. +when resolving hostnames via the Domain Name System. +This option is defined in RFC 3397. .It Ic option swap-server Ar ip-address ; This specifies the IP address of the client's swap server. .It Ic option root-path Ar string ; ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366408 - head/sbin/fsdb
Author: gbe (doc committer) Date: Sat Oct 3 18:44:13 2020 New Revision: 366408 URL: https://svnweb.freebsd.org/changeset/base/366408 Log: fsdb(8): Fix an issue reported by mandoc - whitespace at end of input line MFC after:1 week Modified: head/sbin/fsdb/fsdb.8 Modified: head/sbin/fsdb/fsdb.8 == --- head/sbin/fsdb/fsdb.8 Sat Oct 3 18:42:15 2020(r366407) +++ head/sbin/fsdb/fsdb.8 Sat Oct 3 18:44:13 2020(r366408) @@ -251,7 +251,7 @@ appeared in written by .An John T. Kohl . It first appeared in -.Fx 2.1.5 +.Fx 2.1.5 ported by Peter Wemm. .Sh BUGS Manipulation of ``short'' symlinks has no effect. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366409 - head/sbin/veriexec
Author: gbe (doc committer) Date: Sat Oct 3 18:46:42 2020 New Revision: 366409 URL: https://svnweb.freebsd.org/changeset/base/366409 Log: veriexec(8): Bugfix for an issue reported by mandoc - consider using OS macro: Nx MFC after:1 week Modified: head/sbin/veriexec/veriexec.8 Modified: head/sbin/veriexec/veriexec.8 == --- head/sbin/veriexec/veriexec.8 Sat Oct 3 18:44:13 2020 (r366408) +++ head/sbin/veriexec/veriexec.8 Sat Oct 3 18:46:42 2020 (r366409) @@ -138,9 +138,8 @@ they are provided for the use of other .Xr mac 4 modules. .Sh HISTORY -The Verified Exec system first appeared in NetBSD. +The Verified Exec system first appeared in +.Nx . This utility derrives from the one found in Junos. The key difference is the requirement that manifest files be digitally signed. - - ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366410 - head/sbin/mdmfs
Author: gbe (doc committer) Date: Sat Oct 3 18:47:50 2020 New Revision: 366410 URL: https://svnweb.freebsd.org/changeset/base/366410 Log: mdmfs(8): Fix an issue reported by mandoc - whitespace at end of input line MFC after:1 week Modified: head/sbin/mdmfs/mdmfs.8 Modified: head/sbin/mdmfs/mdmfs.8 == --- head/sbin/mdmfs/mdmfs.8 Sat Oct 3 18:46:42 2020(r366409) +++ head/sbin/mdmfs/mdmfs.8 Sat Oct 3 18:47:50 2020(r366410) @@ -70,7 +70,7 @@ Based on .Ar md-device , the .Nm -utility either creates a +utility either creates a .Xr tmpfs 5 filesystem, or it configures an .Xr md 4 ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366411 - head/sbin/gvinum
Author: gbe (doc committer) Date: Sat Oct 3 18:49:00 2020 New Revision: 366411 URL: https://svnweb.freebsd.org/changeset/base/366411 Log: gvinum(8): Fix an issue reported by mandoc - new sentence, new line MFC after:1 week Modified: head/sbin/gvinum/gvinum.8 Modified: head/sbin/gvinum/gvinum.8 == --- head/sbin/gvinum/gvinum.8 Sat Oct 3 18:47:50 2020(r366410) +++ head/sbin/gvinum/gvinum.8 Sat Oct 3 18:49:00 2020(r366411) @@ -202,8 +202,8 @@ Terminate access to the objects, or stop .Nm if no parameters are specified. .It Ic stripe Oo Fl fv Oc Oo Fl n Ar name Oc Ar drives -Create a striped volume from the specified drives. If no name is specified, -a unique name will be set by +Create a striped volume from the specified drives. +If no name is specified, a unique name will be set by .Ic gvinum . This organization requires at least two drives. .El ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366414 - head/usr.bin/cpuset
Author: gbe (doc committer) Date: Sat Oct 3 19:10:54 2020 New Revision: 366414 URL: https://svnweb.freebsd.org/changeset/base/366414 Log: cpuset(1): Fix some issues reported by mandoc - whitespace at end of input line - new sentence, new line MFC after:1 week Modified: head/usr.bin/cpuset/cpuset.1 Modified: head/usr.bin/cpuset/cpuset.1 == --- head/usr.bin/cpuset/cpuset.1Sat Oct 3 19:05:13 2020 (r366413) +++ head/usr.bin/cpuset/cpuset.1Sat Oct 3 19:10:54 2020 (r366414) @@ -34,24 +34,24 @@ .Sh SYNOPSIS .Nm .Op Fl l Ar cpu-list -.Op Fl n Ar policy:domain-list +.Op Fl n Ar policy:domain-list .Op Fl s Ar setid .Ar cmd ... .Nm .Op Fl l Ar cpu-list -.Op Fl n Ar policy:domain-list +.Op Fl n Ar policy:domain-list .Op Fl s Ar setid .Fl p Ar pid .Nm .Op Fl c .Op Fl l Ar cpu-list -.Op Fl n Ar policy:domain-list +.Op Fl n Ar policy:domain-list .Fl C .Fl p Ar pid .Nm .Op Fl c .Op Fl l Ar cpu-list -.Op Fl n Ar policy:domain-list +.Op Fl n Ar policy:domain-list .Op Fl j Ar jail | Fl p Ar pid | Fl t Ar tid | Fl s Ar setid | Fl x Ar irq .Nm .Fl g @@ -97,8 +97,8 @@ This last set is the list of all possible CPUs in the queried using .Fl r . .Pp -Most sets include NUMA memory domain and policy information. This can be -inspected with +Most sets include NUMA memory domain and policy information. +This can be inspected with .Fl g and set with .Fl n . @@ -124,8 +124,8 @@ Create a new cpuset and assign the target process to t The requested operation should reference the cpuset available via the target specifier. .It Fl d Ar domain -Specifies a NUMA domain id as the target of the operation. This can only -be used to query the cpus visible in each numberd domain. +Specifies a NUMA domain id as the target of the operation. +This can only be used to query the cpus visible in each numberd domain. .It Fl g Causes .Nm @@ -146,8 +146,8 @@ A special list of .Dq all may be specified in which case the list includes all CPUs from the root set. .It Fl n Ar policy:domain-list -Specifies a list of domains and allocation policy to apply to a target. Ranges -may be specified as in +Specifies a list of domains and allocation policy to apply to a target. +Ranges may be specified as in .Fl l . Valid policies include first-touch (ft), round-robin (rr), prefer and interleave (il). ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r366403 - head/bin/ls
On Sat, Oct 03, 2020 at 09:47:48PM +0300, xto...@hotmail.com wrote: > Gordon Bergling wrote: > > Author: gbe (doc committer) > > Date: Sat Oct 3 18:34:24 2020 > > New Revision: 366403 > > URL: https://svnweb.freebsd.org/changeset/base/366403 > > > > Log: > >ls(1): Bugfix for an issue reported by mandoc > > > >- no blank before trailing delimiter > > > >MFC after: 1 week > > > > Modified: > >head/bin/ls/ls.1 > > > > Modified: head/bin/ls/ls.1 > > == > > --- head/bin/ls/ls.1Sat Oct 3 18:30:01 2020(r366402) > > +++ head/bin/ls/ls.1Sat Oct 3 18:34:24 2020(r366403) > > @@ -40,7 +40,7 @@ > > .Nd list directory contents > > .Sh SYNOPSIS > > .Nm > > -.Op Fl ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1, > > +.Op Fl ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1 , > > This makes the "," appear after the "]", how about using the following > instead: > > .Op Fl ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1\&, The comma is appearing right before the ']', like it was before. I'll check the recommended syntax regarding '\&' tomorrow. Thank you, Gordon Bergling ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r366403 - head/bin/ls
On Sat, Oct 03, 2020 at 10:33:28PM +0300, xto...@hotmail.com wrote: > Gordon Bergling wrote: > > On Sat, Oct 03, 2020 at 09:47:48PM +0300, xto...@hotmail.com wrote: > >> Gordon Bergling wrote: > >>> Author: gbe (doc committer) > >>> Date: Sat Oct 3 18:34:24 2020 > >>> New Revision: 366403 > >>> URL: https://svnweb.freebsd.org/changeset/base/366403 > >>> > >>> Log: > >>> ls(1): Bugfix for an issue reported by mandoc > >>> > >>> - no blank before trailing delimiter > >>> > >>> MFC after:1 week > >>> > >>> Modified: > >>> head/bin/ls/ls.1 > >>> > >>> Modified: head/bin/ls/ls.1 > >>> == > >>> --- head/bin/ls/ls.1 Sat Oct 3 18:30:01 2020(r366402) > >>> +++ head/bin/ls/ls.1 Sat Oct 3 18:34:24 2020(r366403) > >>> @@ -40,7 +40,7 @@ > >>>.Nd list directory contents > >>>.Sh SYNOPSIS > >>>.Nm > >>> -.Op Fl ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1, > >>> +.Op Fl ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1 , > >> > >> This makes the "," appear after the "]", how about using the following > >> instead: > >> > >> .Op Fl ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1\&, > > > > The comma is appearing right before the ']', like it was before. I'll check > > the recommended syntax regarding '\&' tomorrow. > > That's not what I'm seeing: > > polaris:xtouqh:/usr/src$ svnlite info bin/ls/ls.1 > Path: bin/ls/ls.1 > Name: ls.1 > Working Copy Root Path: /usr/src > URL: svn://svn.freebsd.org/base/head/bin/ls/ls.1 > Relative URL: ^/head/bin/ls/ls.1 > Repository Root: svn://svn.freebsd.org/base > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f > Revision: 366414 > Node Kind: file > Schedule: normal > Last Changed Author: gbe > Last Changed Rev: 366403 > Last Changed Date: 2020-10-03 18:34:24 + (Sat, 03 Oct 2020) > Text Last Updated: 2020-10-03 18:51:31 + (Sat, 03 Oct 2020) > Checksum: 72fe092ab2b5ac3363ea0681cfda216876d24fcd > > $ man bin/ls/ls.1 | head > LS(1) FreeBSD General Commands Manual > LS(1) > > NAME > ls – list directory contents > > SYNOPSIS > ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1], [--color=when] [-D > format] > [file ...] > > DESCRIPTION That is strange. I have checked the output from mandoc and man, and with r366403 applied, it is always the following: --- LS(1) FreeBSD General Commands Manual LS(1) NAME ls – list directory contents SYNOPSIS ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1,] [--color=when] [-D format] [file ...] DESCRIPTION --- --Gordon ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366481 - head/share/man/man3
Author: gbe (doc committer) Date: Tue Oct 6 10:51:47 2020 New Revision: 366481 URL: https://svnweb.freebsd.org/changeset/base/366481 Log: intro(3): Update the list of included libraries - Extend the list of main libraries of section 3 - Extend the library functions that are included in the libc MFC after:2 weeks Submitted by: Naga Chaitanya Vellanki Approved by: gbe Differential Revision:https://reviews.freebsd.org/D26476 Modified: head/share/man/man3/intro.3 Modified: head/share/man/man3/intro.3 == --- head/share/man/man3/intro.3 Tue Oct 6 10:41:04 2020(r366480) +++ head/share/man/man3/intro.3 Tue Oct 6 10:51:47 2020(r366481) @@ -28,12 +28,17 @@ .\" @(#)intro.38.1 (Berkeley) 6/5/93 .\" $FreeBSD$ .\" -.Dd March 22, 2017 +.Dd October 6, 2020 .Dt INTRO 3 .Os .Sh NAME .Nm intro .Nd introduction to the C libraries +.Sh SYNOPSIS +.Nm cc +.Op Ar flags +.Ar +.Op Fl llibrary .Sh DESCRIPTION This section provides an overview of the C library functions, their error returns and other @@ -47,7 +52,11 @@ must be indicated at compile time with the option of the compiler. .Pp The various libraries (followed by the loader flag): -.Bl -tag -width "libc (-lc)" +.Bl -tag -width "libbluetooth (-lbluetooth)" +.It Em libbluetooth Pq Fl l Ns Ar bluetooth +The bluetooth library. +See +.Xr bluetooth 3 . .It Em libc Pq Fl l Ns Ar c Standard C library functions. When using the C compiler @@ -57,21 +66,58 @@ to supply the loader flag .Fl l Ns Ar c for these functions. There are several `libraries' or groups of functions included inside of -.Em libc -: the standard -.Tn I/O -routines, -database routines, -bit operators, -string operators, -character tests and character operators, -des encryption routines, -storage allocation, time functions, signal handling and more. +.Em libc : +.Bl -tag -width "XX" +.It standard I/O routines +see +.Xr stdio 3 +.It database routines +see +.Xr db 3 +.It bit operators +see +.Xr bitstring 3 +.It string operators +see +.Xr string 3 +.It character tests and character operators +.It storage allocation +see +.Xr mpool 3 +.It regular-expressions +see +.Xr regex 3 +.It remote procedure calls (RPC) +see +.Xr rpc 3 +.It time functions +see +.Xr time 3 +.It signal handling +see +.Xr signal 3 +.El +.It Em libcalendar Pq Fl l Ns Ar calendar +The calendar arithmetic library. +See +.Xr calendar 3 . +.It Em libcam Pq Fl l Ns Ar cam +The common access method user library. +See +.Xr cam 3 . +.It Em libcrypt Pq Fl l Ns Ar crypt +The crypt library. +See +.Xr crypt 3 . .It Em libcurses Pq Fl l Ns Ar curses Fl l Ns Ar termcap Terminal independent screen management routines for two dimensional non-bitmap display terminals. -(See -.Xr ncurses 3 . ) +See +.Xr ncurses 3 . +.It Em libcuse Pq Fl l Ns Ar cuse +The userland character device library. +See +.Xr cuse 3 . .It Em libcompat Pq Fl l Ns Ar compat Functions which are obsolete but are available for compatibility with .Bx 4.3 . @@ -82,32 +128,106 @@ have been included for source code compatibility. Use of these routines should, for the most part, be avoided. The manual page entry for each compatibility routine indicates the proper interface to use. +.It Em libdevinfo Pq Fl l Ns Ar devinfo +The Device and Resource Information Utility library. +See +.Xr devinfo 3 . +.It Em libdevstat Pq Fl l Ns Ar devstat +The Device Statistics library. +See +.Xr devstat 3 . +.It Em libdwarf Pq Fl l Ns Ar dwarf +The DWARF access library. +See +.Xr dwarf 3 . +.It Em libelf Pq Fl l Ns Ar elf +The ELF access library. +See +.Xr elf 3 . +.It Em libfetch Pq Fl l Ns Ar fetch +The file transfer library. +See +.Xr fetch 3 . +.It Em libfigpar Pq Fl l Ns Ar figpar +The configuration file parsing library. +See +.Xr figpar 3 . +.It Em libgpio Pq Fl l Ns Ar gpio +The general-purpose input output library (GPIO). +See +.Xr gpio 3 . +.It Em libgssapi Pq Fl l Ns Ar gssapi +The generic security service application programming +interface. +See +.Xr gssapi 3 . +.It Em libjail Pq Fl l Ns Ar jail +The jail library. +See +.Xr jail 3 . .It Em libkvm Pq Fl l Ns Ar kvm Functions used to access kernel memory are in this library. They can be used against both a running system and a crash dump. -(See -.Xr kvm 3 . ) +See +.Xr kvm 3 . .It Em libl Pq Fl l Ns Ar l The library for .Xr lex 1 . .It Em libm Pq Fl l Ns Ar m -The math library, -.Em libm . -The math library is loaded as needed by the Pascal compiler, -but not by the C compiler which requires the -.Fl l Ns Ar m -flag. -(See -.Xr math 3 . ) +The math library. +See +.Xr math 3 . +.It Em libmd Pq Fl l Ns Ar md +The message digest library. +See +.Xr md4 3 , +.Xr md5 3 , +.Xr sha 3 , +.Xr sha256 3 , +.Xr sha512 3 , +.Xr ripemd 3 , +.Xr skein 3 . .It Em libmp Pq Fl l Ns Ar mp +.It Em libpam Pq Fl l Ns Ar pam +The pluggable authentication module library. +See +.Xr pam 3 . +.It Em libpcap Pq Fl
svn commit: r366572 - in head: sbin/devmatch sbin/fsck sbin/ifconfig sbin/mount_msdosfs usr.bin/chat usr.bin/du usr.bin/setchannel usr.bin/tftp usr.sbin/ctladm usr.sbin/extattrctl usr.sbin/i2c usr....
Author: gbe (doc committer) Date: Fri Oct 9 14:03:45 2020 New Revision: 366572 URL: https://svnweb.freebsd.org/changeset/base/366572 Log: Fix a few mandoc issues - no blank before trailing delimiter - whitespace at end of input line - sections out of conventional order - normalizing date format - AUTHORS section without An macro Modified: head/sbin/devmatch/devmatch.8 head/sbin/fsck/fsck.8 head/sbin/ifconfig/ifconfig.8 head/sbin/mount_msdosfs/mount_msdosfs.8 head/usr.bin/chat/chat.8 head/usr.bin/du/du.1 head/usr.bin/setchannel/setchannel.1 head/usr.bin/tftp/tftp.1 head/usr.sbin/ctladm/ctladm.8 head/usr.sbin/extattrctl/extattrctl.8 head/usr.sbin/i2c/i2c.8 head/usr.sbin/mountd/exports.5 head/usr.sbin/nfsuserd/nfsuserd.8 head/usr.sbin/pmcstudy/pmcstudy.8 head/usr.sbin/traceroute6/traceroute6.8 Modified: head/sbin/devmatch/devmatch.8 == --- head/sbin/devmatch/devmatch.8 Fri Oct 9 13:11:14 2020 (r366571) +++ head/sbin/devmatch/devmatch.8 Fri Oct 9 14:03:45 2020 (r366572) @@ -69,6 +69,8 @@ Produce more verbose output. .Sh SEE ALSO .Xr devinfo 8 , .Xr MODULE_PNP_INFO 9 +.Sh AUTHORS +.An Warner Losh Aq Mt i...@freebsd.org .Sh BUGS The kernel has hints in it, but we exclude it from the list of modules to suggest for unmatched devices. @@ -92,5 +94,3 @@ logical equivalent in USB, PCI, and others. .Pp Many drivers currently lack proper PNP table decorations and need to be updated. -.Sh AUTHORS -.An Warner Losh Aq Mt i...@freebsd.org Modified: head/sbin/fsck/fsck.8 == --- head/sbin/fsck/fsck.8 Fri Oct 9 13:11:14 2020(r366571) +++ head/sbin/fsck/fsck.8 Fri Oct 9 14:03:45 2020(r366572) @@ -143,7 +143,7 @@ only if is compiled to support it. .It Fl f Force checking of file systems. -Running +Running .Dq Li fsck -f ignores the journal and does a full consistency check of the disk so will find and fix the errors about which the Modified: head/sbin/ifconfig/ifconfig.8 == --- head/sbin/ifconfig/ifconfig.8 Fri Oct 9 13:11:14 2020 (r366571) +++ head/sbin/ifconfig/ifconfig.8 Fri Oct 9 14:03:45 2020 (r366572) @@ -592,7 +592,7 @@ Note that this must be configured on a physical interf not on a .Xr vlan 4 interface itself. -.It Fl vlanmtu , vlanhwtag, vlanhwfilter, vlanhwtso +.It Fl vlanmtu , vlanhwtag , vlanhwfilter , vlanhwtso If the driver offers user-configurable VLAN support, disable reception of extended frames, tag processing in hardware, frame filtering in hardware, or TSO on VLAN, Modified: head/sbin/mount_msdosfs/mount_msdosfs.8 == --- head/sbin/mount_msdosfs/mount_msdosfs.8 Fri Oct 9 13:11:14 2020 (r366571) +++ head/sbin/mount_msdosfs/mount_msdosfs.8 Fri Oct 9 14:03:45 2020 (r366572) @@ -202,7 +202,7 @@ and first appeared in was renamed to the more aptly-named .Nm in -.Fx 5.0. +.Fx 5.0 . The character code conversion routine was added in 2003. .Sh AUTHORS Initial implementation as Modified: head/usr.bin/chat/chat.8 == --- head/usr.bin/chat/chat.8Fri Oct 9 13:11:14 2020(r366571) +++ head/usr.bin/chat/chat.8Fri Oct 9 14:03:45 2020(r366572) @@ -291,7 +291,8 @@ The .Dv SAY strings could be used to give progress messages in sections of the script where you want to have 'ECHO OFF' but still let the user -know what is happening. An example is: +know what is happening. +An example is: .Bd -literal -offset indent ABORT BUSY ECHO OFF Modified: head/usr.bin/du/du.1 == --- head/usr.bin/du/du.1Fri Oct 9 13:11:14 2020(r366571) +++ head/usr.bin/du/du.1Fri Oct 9 14:03:45 2020(r366572) @@ -63,7 +63,7 @@ Calculate block counts in .Ar blocksize byte blocks. This is different from the -.Fl h, k, m, +.Fl h , k , m , .Fl Fl si and .Fl g @@ -172,7 +172,7 @@ options override each other and the command's actions by the last one specified. .Pp The -.Fl h, k, m +.Fl h , k , m and .Fl Fl si options all override each other; the last one specified determines @@ -183,7 +183,7 @@ the block counts used. If the environment variable .Ev BLOCKSIZE is set, and the -.Fl h, k, m +.Fl h , k , m or .Fl Fl si options are not specified, the block counts will be displayed in units of @@ -191,7 +191,7 @@ that block size. If .Ev BLOCKSIZE is not set, and the -.Fl h, k, m +.Fl h , k , m or .Fl Fl si options are not specified, the block counts will be displayed in 512-byte Modified: head/usr.bin/setchannel/setchannel.1 =
svn commit: r366575 - in head: libexec/rtld-elf share/man/man4 share/man/man4/man4.i386 share/man/man4/man4.powerpc stand/defaults stand/forth tools/tools/ether_reflect tools/tools/vimage
Author: gbe (doc committer) Date: Fri Oct 9 15:14:19 2020 New Revision: 366575 URL: https://svnweb.freebsd.org/changeset/base/366575 Log: Fix a few mandoc issues - whitespace at end of input line - skipping paragraph macro: Pp at the end of Sh - new sentence, new line - consider using OS macro: Fx - AUTHORS section without An macro - skipping paragraph macro: Pp before Ss Modified: head/libexec/rtld-elf/rtld.1 head/share/man/man4/acpi_ibm.4 head/share/man/man4/man4.i386/glxiic.4 head/share/man/man4/man4.powerpc/smu.4 head/share/man/man4/ng_checksum.4 head/stand/defaults/loader.conf.5 head/stand/forth/beastie.4th.8 head/stand/forth/brand.4th.8 head/tools/tools/ether_reflect/ether_reflect.1 head/tools/tools/vimage/vimage.8 Modified: head/libexec/rtld-elf/rtld.1 == --- head/libexec/rtld-elf/rtld.1Fri Oct 9 14:45:41 2020 (r366574) +++ head/libexec/rtld-elf/rtld.1Fri Oct 9 15:14:19 2020 (r366575) @@ -360,7 +360,7 @@ In the direct execution mode, .Nm emulates verification of the binary execute permission for the current user. -This is done to avoid breaking user expectations in naively restricted +This is done to avoid breaking user expectations in naively restricted execution environments. The verification only uses Unix .Dv DACs , Modified: head/share/man/man4/acpi_ibm.4 == --- head/share/man/man4/acpi_ibm.4 Fri Oct 9 14:45:41 2020 (r366574) +++ head/share/man/man4/acpi_ibm.4 Fri Oct 9 15:14:19 2020 (r366575) @@ -274,7 +274,7 @@ Speaker volume. .It Va dev.acpi_ibm.0.mute Indicates, whether the speakers are muted or not. .It Va dev.acpi_ibm.0.mic_mute -Indicates, whether the microphone led (present on some model) is on or not. +Indicates, whether the microphone led (present on some model) is on or not. Note that this does not mean that the microphone input is muted. .It Va dev.acpi_ibm.0.thinklight Indicates, whether the ThinkLight keyboard light is activated or not. @@ -452,8 +452,8 @@ case ${NOTIFY} in if [ $LEVEL -eq 0 ]; then sysctl dev.acpi_ibm.0.mic_led=1 mixer rec 0 - fi - if [ $LEVEL -eq 1 ]; then + fi + if [ $LEVEL -eq 1 ]; then sysctl dev.acpi_ibm.0.mic_led=0 mixer rec 30 fi Modified: head/share/man/man4/man4.i386/glxiic.4 == --- head/share/man/man4/man4.i386/glxiic.4 Fri Oct 9 14:45:41 2020 (r366574) +++ head/share/man/man4/man4.i386/glxiic.4 Fri Oct 9 15:14:19 2020 (r366575) @@ -50,8 +50,8 @@ glxiic_load="YES" The .Nm driver supports the System Management Bus controller of the Geode LX -series CS5536 Companion Device. The Geode LX is a member of the AMD -Geode family of integrated x86 system chips. +series CS5536 Companion Device. +The Geode LX is a member of the AMD Geode family of integrated x86 system chips. .Pp Although AMD refers to this device as a System Management Bus (SMBus) controller, it is really an I2C controller (it lacks SMBus ALERT# and @@ -70,17 +70,18 @@ and tunable: .Bl -tag -width indent .It Va dev.glxiic.0.timeout -This variable controls the I2C bus timeout in milliseconds. The -default timeout is 35 milliseconds. A value of zero disables the -timeout. +This variable controls the I2C bus timeout in milliseconds. +The default timeout is 35 milliseconds. +A value of zero disables the timeout. .El .Sh CAVEAT The .Nm driver uses the interrupt line number configured by the board firmware -by default. If no interrupt line number has been configured by the -board firmware (or to override the interrupt line number configured by -board firmware), place the following line in +by default. +If no interrupt line number has been configured by the board firmware +(or to override the interrupt line number configured by board firmware), +place the following line in .Xr device.hints 5 : .Bd -ragged -offset indent hint.glxiic.0.irq="10" Modified: head/share/man/man4/man4.powerpc/smu.4 == --- head/share/man/man4/man4.powerpc/smu.4 Fri Oct 9 14:45:41 2020 (r366574) +++ head/share/man/man4/man4.powerpc/smu.4 Fri Oct 9 15:14:19 2020 (r366575) @@ -60,45 +60,47 @@ Apple System Management Unit .Sh THERMAL MANAGEMENT The .Nm -driver provides basic automatic thermal management. Without a userspace -daemon providing more advanced control, the driver will attempt to maintain -system temperatures in a conservative range through coarse-grained control of -system cooling devices (see below). Automatic kernel-level thermal control -wi
svn commit: r366580 - head/share/man/man4
Author: gbe (doc committer) Date: Fri Oct 9 15:50:50 2020 New Revision: 366580 URL: https://svnweb.freebsd.org/changeset/base/366580 Log: bpf(4): Update the man page to reflect reality PR: 131918 Submitted by: guy at alum dot mit dot edu Reviewed by: gnn, gbe Approved by: gnn MFC after:2 weeks Differential Revision:https://reviews.freebsd.org/D25993 Modified: head/share/man/man4/bpf.4 Modified: head/share/man/man4/bpf.4 == --- head/share/man/man4/bpf.4 Fri Oct 9 15:45:34 2020(r366579) +++ head/share/man/man4/bpf.4 Fri Oct 9 15:50:50 2020(r366580) @@ -49,7 +49,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 21, 2016 +.Dd October 9, 2020 .Dt BPF 4 .Os .Sh NAME @@ -73,12 +73,6 @@ ioctl. A given interface can be shared by multiple listeners, and the filter underlying each descriptor will see an identical packet stream. .Pp -A separate device file is required for each minor device. -If a file is in use, the open will fail and -.Va errno -will be set to -.Er EBUSY . -.Pp Associated with each open instance of a .Nm file is a user-settable packet filter. @@ -86,19 +80,6 @@ Whenever a packet is received by an interface, all file descriptors listening on that interface apply their filter. Each descriptor that accepts the packet receives its own copy. .Pp -The packet filter will support any link level protocol that has fixed length -headers. -Currently, only Ethernet, -.Tn SLIP , -and -.Tn PPP -drivers have been modified to interact with -.Nm . -.Pp -Since packet data is in network byte order, applications should use the -.Xr byteorder 3 -macros to extract multi-byte values. -.Pp A packet can be sent out on the network by writing to a .Nm file descriptor. @@ -313,7 +294,7 @@ with If the requested buffer size cannot be accommodated, the closest allowable size will be set and returned in the argument. A read call will result in -.Er EIO +.Er EINVAL if it is passed a buffer that is not this size. .It Dv BIOCGDLT .Pq Li u_int @@ -324,6 +305,43 @@ The device types, prefixed with .Dq Li DLT_ , are defined in .In net/bpf.h . +.It Dv BIOCGDLTLIST +.Pq Li "struct bpf_dltlist" +Returns an array of the available types of the data link layer +underlying the attached interface: +.Bd -literal -offset indent +struct bpf_dltlist { + u_int bfl_len; + u_int *bfl_list; +}; +.Ed +.Pp +The available types are returned in the array pointed to by the +.Va bfl_list +field while their length in u_int is supplied to the +.Va bfl_len +field. +.Er ENOMEM +is returned if there is not enough buffer space and +.Er EFAULT +is returned if a bad address is encountered. +The +.Va bfl_len +field is modified on return to indicate the actual length in u_int +of the array returned. +If +.Va bfl_list +is +.Dv NULL , +the +.Va bfl_len +field is set to indicate the required length of an array in u_int. +.It Dv BIOCSDLT +.Pq Li u_int +Changes the type of the data link layer underlying the attached interface. +.Er EINVAL +is returned if no interface has been specified or the specified +type is not available for the interface. .It Dv BIOCPROMISC Forces the interface into promiscuous mode. All packets, not just those destined for the local host, are processed. @@ -331,6 +349,9 @@ Since more than one file can be listening on a given i a listener that opened its interface non-promiscuously may receive packets promiscuously. This problem can be remedied with an appropriate filter. +.Pp +The interface remains in promiscuous mode until all files listening +promiscuously are closed. .It Dv BIOCFLUSH Flushes the buffer of incoming packets, and resets the statistics that are returned by BIOCGSTATS. @@ -344,7 +365,7 @@ structure. All other fields are undefined. .It Dv BIOCSETIF .Pq Li "struct ifreq" -Sets the hardware interface associate with the file. +Sets the hardware interface associated with the file. This command must be performed before any packets can be read. The device is indicated by name using the @@ -357,7 +378,7 @@ Additionally, performs the actions of .It Dv BIOCSRTIMEOUT .It Dv BIOCGRTIMEOUT .Pq Li "struct timeval" -Set or get the read timeout parameter. +Sets or gets the read timeout parameter. The argument specifies the length of time to wait before timing out on a read request. @@ -387,7 +408,7 @@ kernel because of buffer overflows .El .It Dv BIOCIMMEDIATE .Pq Li u_int -Enable or disable +Enables or disables .Dq immediate mode , based on the truth value of the argument. When immediate mode is enabled, reads return immediately upon packet @@ -407,7 +428,7 @@ An array of instructions and its length is passed in u the following structure: .Bd -literal struct bpf_program { - int bf_len; + u_int bf_len; struct bpf_insn *bf_insns; }; .Ed @@ -469,10 +490,18 @@ An incompatible filter may result in undefined behavior (most likely, an er
svn commit: r366583 - in head: lib/libc/capability lib/libc/sys lib/libgssapi lib/libmd lib/libmt lib/libpathconv lib/libpmc lib/libradius lib/librpcsec_gss lib/libsysdecode lib/libusb lib/libutil ...
Author: gbe (doc committer) Date: Fri Oct 9 19:12:44 2020 New Revision: 366583 URL: https://svnweb.freebsd.org/changeset/base/366583 Log: Fix a few mandoc issues - skipping paragraph macro: Pp after Sh - sections out of conventional order: Sh EXAMPLES - whitespace at end of input line - normalizing date format Modified: head/lib/libc/capability/cap_rights_init.3 head/lib/libc/sys/cpuset_getaffinity.2 head/lib/libc/sys/cpuset_getdomain.2 head/lib/libc/sys/fhlink.2 head/lib/libc/sys/getitimer.2 head/lib/libc/sys/getsockopt.2 head/lib/libgssapi/gss_accept_sec_context.3 head/lib/libmd/mdX.3 head/lib/libmd/ripemd.3 head/lib/libmd/sha.3 head/lib/libmd/sha256.3 head/lib/libmd/sha512.3 head/lib/libmd/skein.3 head/lib/libmt/mt.3 head/lib/libpathconv/abs2rel.3 head/lib/libpmc/pmc.sandybridge.3 head/lib/libpmc/pmc.sandybridgeuc.3 head/lib/libradius/libradius.3 head/lib/librpcsec_gss/rpc_gss_set_callback.3 head/lib/libsysdecode/sysdecode_mask.3 head/lib/libusb/libusb20.3 head/lib/libutil/login_ok.3 head/lib/msun/man/sincos.3 head/share/man/man4/fdt_pinctrl.4 head/share/man/man4/ig4.4 head/share/man/man4/man4.i386/ce.4 head/share/man/man4/mlx5io.4 head/share/man/man4/mrsas.4 head/share/man/man4/ng_pppoe.4 head/share/man/man4/qlxgbe.4 head/share/man/man4/rtwn.4 head/share/man/man4/sa.4 head/share/man/man4/smartpqi.4 head/share/man/man4/spigen.4 head/share/man/man4/syscons.4 head/share/man/man4/udbp.4 head/share/man/man9/OF_finddevice.9 head/share/man/man9/backlight.9 head/share/man/man9/vnet.9 head/usr.bin/dpv/dpv.1 head/usr.bin/indent/indent.1 head/usr.bin/localedef/localedef.1 head/usr.bin/mkimg/mkimg.1 head/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.1 head/usr.sbin/camdd/camdd.8 head/usr.sbin/mlx5tool/mlx5tool.8 head/usr.sbin/nfsd/pnfsserver.4 head/usr.sbin/zonectl/zonectl.8 Modified: head/lib/libc/capability/cap_rights_init.3 == --- head/lib/libc/capability/cap_rights_init.3 Fri Oct 9 19:10:00 2020 (r366582) +++ head/lib/libc/capability/cap_rights_init.3 Fri Oct 9 19:12:44 2020 (r366583) @@ -239,7 +239,7 @@ The functions .Fn cap_rights_is_set , .Fn cap_rights_is_valid , .Fn cap_rights_merge , -.Fn cap_rights_remove +.Fn cap_rights_remove and .Fn cap_rights_contains first appeared in Modified: head/lib/libc/sys/cpuset_getaffinity.2 == --- head/lib/libc/sys/cpuset_getaffinity.2 Fri Oct 9 19:10:00 2020 (r366582) +++ head/lib/libc/sys/cpuset_getaffinity.2 Fri Oct 9 19:12:44 2020 (r366583) @@ -149,7 +149,7 @@ was either preposterously large or smaller than the ke The calling process did not have the credentials required to complete the operation. .It Bq Er ECAPMODE -The calling process attempted to act on a process other than itself, while +The calling process attempted to act on a process other than itself, while in capability mode. See .Xr capsicum 4 . Modified: head/lib/libc/sys/cpuset_getdomain.2 == --- head/lib/libc/sys/cpuset_getdomain.2Fri Oct 9 19:10:00 2020 (r366582) +++ head/lib/libc/sys/cpuset_getdomain.2Fri Oct 9 19:12:44 2020 (r366583) @@ -119,7 +119,8 @@ Memory is allocated on a round-robin basis by cycling .Fa mask . .It Dv DOMAINSET_POLICY_FIRSTTOUCH Memory is allocated on the domain local to the CPU the requesting thread is -running on. Failure to allocate from this domain will fallback to round-robin. +running on. +Failure to allocate from this domain will fallback to round-robin. .It Dv DOMAINSET_POLICY_PREFER Memory is allocated preferentially from the single domain specified in the mask. If memory is unavailable the domains listed in the parent cpuset will be @@ -167,7 +168,7 @@ was either preposterously large or smaller than the ke The calling process did not have the credentials required to complete the operation. .It Bq Er ECAPMODE -The calling process attempted to act on a process other than itself, while +The calling process attempted to act on a process other than itself, while in capability mode. See .Xr capsicum 4 . Modified: head/lib/libc/sys/fhlink.2 == --- head/lib/libc/sys/fhlink.2 Fri Oct 9 19:10:00 2020(r366582) +++ head/lib/libc/sys/fhlink.2 Fri Oct 9 19:12:44 2020(r366583) @@ -178,7 +178,7 @@ The link count of the file pointed at by .Fa fhp would exceed 32767. .It Bq Er EACCES -A component of +A component of .Fa to prefix denies search permission. .It Bq Er EACCES Modified: head/lib/libc/sys/getitimer.2 == --- head/lib/libc/sys/getitimer.2 Fri Oct 9 19:10
svn commit: r366602 - stable/12/usr.bin/cpuset
Author: gbe (doc committer) Date: Sat Oct 10 09:40:03 2020 New Revision: 366602 URL: https://svnweb.freebsd.org/changeset/base/366602 Log: MFC r366414: cpuset(1): Fix some issues reported by mandoc - whitespace at end of input line - new sentence, new line Modified: stable/12/usr.bin/cpuset/cpuset.1 Directory Properties: stable/12/ (props changed) Modified: stable/12/usr.bin/cpuset/cpuset.1 == --- stable/12/usr.bin/cpuset/cpuset.1 Sat Oct 10 08:02:23 2020 (r366601) +++ stable/12/usr.bin/cpuset/cpuset.1 Sat Oct 10 09:40:03 2020 (r366602) @@ -34,24 +34,24 @@ .Sh SYNOPSIS .Nm .Op Fl l Ar cpu-list -.Op Fl n Ar policy:domain-list +.Op Fl n Ar policy:domain-list .Op Fl s Ar setid .Ar cmd ... .Nm .Op Fl l Ar cpu-list -.Op Fl n Ar policy:domain-list +.Op Fl n Ar policy:domain-list .Op Fl s Ar setid .Fl p Ar pid .Nm .Op Fl c .Op Fl l Ar cpu-list -.Op Fl n Ar policy:domain-list +.Op Fl n Ar policy:domain-list .Fl C .Fl p Ar pid .Nm .Op Fl c .Op Fl l Ar cpu-list -.Op Fl n Ar policy:domain-list +.Op Fl n Ar policy:domain-list .Op Fl j Ar jail | Fl p Ar pid | Fl t Ar tid | Fl s Ar setid | Fl x Ar irq .Nm .Fl g @@ -97,8 +97,8 @@ This last set is the list of all possible CPUs in the queried using .Fl r . .Pp -Most sets include NUMA memory domain and policy information. This can be -inspected with +Most sets include NUMA memory domain and policy information. +This can be inspected with .Fl g and set with .Fl n . @@ -124,8 +124,8 @@ Create a new cpuset and assign the target process to t The requested operation should reference the cpuset available via the target specifier. .It Fl d Ar domain -Specifies a NUMA domain id as the target of the operation. This can only -be used to query the cpus visible in each numberd domain. +Specifies a NUMA domain id as the target of the operation. +This can only be used to query the cpus visible in each numberd domain. .It Fl g Causes .Nm @@ -146,8 +146,8 @@ A special list of .Dq all may be specified in which case the list includes all CPUs from the root set. .It Fl n Ar policy:domain-list -Specifies a list of domains and allocation policy to apply to a target. Ranges -may be specified as in +Specifies a list of domains and allocation policy to apply to a target. +Ranges may be specified as in .Fl l . Valid policies include first-touch (ft), round-robin (rr), prefer and interleave (il). ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366603 - stable/12/sbin/camcontrol
Author: gbe (doc committer) Date: Sat Oct 10 09:41:20 2020 New Revision: 366603 URL: https://svnweb.freebsd.org/changeset/base/366603 Log: MFC r366406: camcontrol(8): Bugfixes for some issues reported by mandoc - new sentence, new line Modified: stable/12/sbin/camcontrol/camcontrol.8 Directory Properties: stable/12/ (props changed) Modified: stable/12/sbin/camcontrol/camcontrol.8 == --- stable/12/sbin/camcontrol/camcontrol.8 Sat Oct 10 09:40:03 2020 (r366602) +++ stable/12/sbin/camcontrol/camcontrol.8 Sat Oct 10 09:41:20 2020 (r366603) @@ -1511,10 +1511,10 @@ user. This option can be combined with other options such as .Fl e Em pwd .Pp -A master password may be set in a addition to the user password. The purpose of -the master password is to allow an administrator to establish a password that -is kept secret from the user, and which may be used to unlock the device if the -user password is lost. +A master password may be set in a addition to the user password. +The purpose of the master password is to allow an administrator to establish +a password that is kept secret from the user, and which may be used to unlock +the device if the user password is lost. .Pp .Em Note: Setting the master password does not enable device security. @@ -2528,7 +2528,8 @@ whether it is enabled and what the timer value is. .It Ic timestamp Issue REPORT TIMESTAMP or SET TIMESTAMP .Tn SCSI -commands. Either the +commands. +Either the .Fl r option or the .Fl s @@ -2552,7 +2553,8 @@ time, but override the system time zone and use UTC in .El .Bl -tag -width 6n .It Fl s -Set the device's timestamp. Either the +Set the device's timestamp. +Either the .Fl f and .Fl T ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366604 - stable/12/sbin/veriexec
Author: gbe (doc committer) Date: Sat Oct 10 09:42:24 2020 New Revision: 366604 URL: https://svnweb.freebsd.org/changeset/base/366604 Log: MFC r366409: veriexec(8): Bugfix for an issue reported by mandoc - consider using OS macro: Nx Modified: stable/12/sbin/veriexec/veriexec.8 Directory Properties: stable/12/ (props changed) Modified: stable/12/sbin/veriexec/veriexec.8 == --- stable/12/sbin/veriexec/veriexec.8 Sat Oct 10 09:41:20 2020 (r366603) +++ stable/12/sbin/veriexec/veriexec.8 Sat Oct 10 09:42:24 2020 (r366604) @@ -138,9 +138,8 @@ they are provided for the use of other .Xr mac 4 modules. .Sh HISTORY -The Verified Exec system first appeared in NetBSD. +The Verified Exec system first appeared in +.Nx . This utility derrives from the one found in Junos. The key difference is the requirement that manifest files be digitally signed. - - ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366605 - stable/12/bin/cp
Author: gbe (doc committer) Date: Sat Oct 10 09:43:35 2020 New Revision: 366605 URL: https://svnweb.freebsd.org/changeset/base/366605 Log: MFC 366404: cp(1): Bugfixes for some issues reported by mandoc - no blank before trailing delimiter Modified: stable/12/bin/cp/cp.1 Directory Properties: stable/12/ (props changed) Modified: stable/12/bin/cp/cp.1 == --- stable/12/bin/cp/cp.1 Sat Oct 10 09:42:24 2020(r366604) +++ stable/12/bin/cp/cp.1 Sat Oct 10 09:43:35 2020(r366605) @@ -300,9 +300,9 @@ differ as they copy special files as normal files while recreating a hierarchy. .Pp The -.Fl l, -.Fl s, -.Fl v, +.Fl l , +.Fl s , +.Fl v , .Fl x and .Fl n ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366606 - stable/12/sbin/gvinum
Author: gbe (doc committer) Date: Sat Oct 10 09:44:56 2020 New Revision: 366606 URL: https://svnweb.freebsd.org/changeset/base/366606 Log: MFC r366411: gvinum(8): Fix an issue reported by mandoc - new sentence, new line Modified: stable/12/sbin/gvinum/gvinum.8 Directory Properties: stable/12/ (props changed) Modified: stable/12/sbin/gvinum/gvinum.8 == --- stable/12/sbin/gvinum/gvinum.8 Sat Oct 10 09:43:35 2020 (r366605) +++ stable/12/sbin/gvinum/gvinum.8 Sat Oct 10 09:44:56 2020 (r366606) @@ -202,8 +202,8 @@ Terminate access to the objects, or stop .Nm if no parameters are specified. .It Ic stripe Oo Fl fv Oc Oo Fl n Ar name Oc Ar drives -Create a striped volume from the specified drives. If no name is specified, -a unique name will be set by +Create a striped volume from the specified drives. +If no name is specified, a unique name will be set by .Ic gvinum . This organization requires at least two drives. .El ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366607 - in stable/12/sbin: devd fsdb mdmfs
Author: gbe (doc committer) Date: Sat Oct 10 09:50:09 2020 New Revision: 366607 URL: https://svnweb.freebsd.org/changeset/base/366607 Log: MFC r366408, r366410, r366405 fsdb(8): Fix an issue reported by mandoc mdmfs(8): Fix an issue reported by mandoc devd.conf(5): Bugfix for an issue reported by mandoc - whitespace at end of input line Modified: stable/12/sbin/devd/devd.conf.5 stable/12/sbin/fsdb/fsdb.8 stable/12/sbin/mdmfs/mdmfs.8 Directory Properties: stable/12/ (props changed) Modified: stable/12/sbin/devd/devd.conf.5 == --- stable/12/sbin/devd/devd.conf.5 Sat Oct 10 09:44:56 2020 (r366606) +++ stable/12/sbin/devd/devd.conf.5 Sat Oct 10 09:50:09 2020 (r366607) @@ -532,7 +532,7 @@ keyboard has been pressed. A brightness level change has been requested. Direction is in the $notify variable. .It Li PMU Ta Li keys Ta mute Ta -The mute key +The mute key .It Li PMU Ta Li keys Ta volume Ta A volume level change has been requested. Direction is in the $notify variable. Modified: stable/12/sbin/fsdb/fsdb.8 == --- stable/12/sbin/fsdb/fsdb.8 Sat Oct 10 09:44:56 2020(r366606) +++ stable/12/sbin/fsdb/fsdb.8 Sat Oct 10 09:50:09 2020(r366607) @@ -251,7 +251,7 @@ appeared in written by .An John T. Kohl . It first appeared in -.Fx 2.1.5 +.Fx 2.1.5 ported by Peter Wemm. .Sh BUGS Manipulation of ``short'' symlinks has no effect. Modified: stable/12/sbin/mdmfs/mdmfs.8 == --- stable/12/sbin/mdmfs/mdmfs.8Sat Oct 10 09:44:56 2020 (r366606) +++ stable/12/sbin/mdmfs/mdmfs.8Sat Oct 10 09:50:09 2020 (r366607) @@ -70,7 +70,7 @@ Based on .Ar md-device , the .Nm -utility either creates a +utility either creates a .Xr tmpfs 5 filesystem, or it configures an .Xr md 4 ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366608 - in stable/12: bin/ls sbin/dhclient
Author: gbe (doc committer) Date: Sat Oct 10 09:52:41 2020 New Revision: 366608 URL: https://svnweb.freebsd.org/changeset/base/366608 Log: MFC r366407, r366403 ls(1): Bugfix for an issue reported by mandoc dhclient(8): Bugfixes for some issues reported by mandoc - no blank before trailing delimiter - new sentence, new line Modified: stable/12/bin/ls/ls.1 stable/12/sbin/dhclient/dhclient.leases.5 stable/12/sbin/dhclient/dhcp-options.5 Directory Properties: stable/12/ (props changed) Modified: stable/12/bin/ls/ls.1 == --- stable/12/bin/ls/ls.1 Sat Oct 10 09:50:09 2020(r366607) +++ stable/12/bin/ls/ls.1 Sat Oct 10 09:52:41 2020(r366608) @@ -40,7 +40,7 @@ .Nd list directory contents .Sh SYNOPSIS .Nm -.Op Fl ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1, +.Op Fl ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1 , .Op Fl -color Ns = Ns Ar when .Op Fl D Ar format .Op Ar Modified: stable/12/sbin/dhclient/dhclient.leases.5 == --- stable/12/sbin/dhclient/dhclient.leases.5 Sat Oct 10 09:50:09 2020 (r366607) +++ stable/12/sbin/dhclient/dhclient.leases.5 Sat Oct 10 09:52:41 2020 (r366608) @@ -54,7 +54,7 @@ the last one in the file is used. The file is written as a log, so this is not an unusual occurrence. .Pp The lease file is named -.Pa dhclient.leases. Ns Ar IFNAME , +.Pa dhclient.leases . Ns Ar IFNAME , where .Ar IFNAME represents the network interface the DHCP client acquired the lease on. @@ -70,7 +70,7 @@ The format of the lease declarations is described in .Xr dhclient.conf 5 . .Sh FILES .Bl -tag -width ".Pa /var/db/dhclient.leases. Ns Ar IFNAME" -.It Pa /var/db/dhclient.leases. Ns Ar IFNAME +.It Pa /var/db/dhclient.leases . Ns Ar IFNAME Current lease file. .El .Sh SEE ALSO Modified: stable/12/sbin/dhclient/dhcp-options.5 == --- stable/12/sbin/dhclient/dhcp-options.5 Sat Oct 10 09:50:09 2020 (r366607) +++ stable/12/sbin/dhclient/dhcp-options.5 Sat Oct 10 09:52:41 2020 (r366608) @@ -267,8 +267,8 @@ This option specifies the domain name that the client resolving hostnames via the Domain Name System. .It Ic option domain-search Ar string ; This option specifies a list of domain names that the client should use -when resolving hostnames via the Domain Name System. This option is -defined in RFC 3397. +when resolving hostnames via the Domain Name System. +This option is defined in RFC 3397. .It Ic option swap-server Ar ip-address ; This specifies the IP address of the client's swap server. .It Ic option root-path Ar string ; ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"