[Midnightbsd-cvs] src [10491] U trunk/lib/libutil: tag

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Jun 6 21:31:02 EDT 2018


Revision: 10491
          http://svnweb.midnightbsd.org/src/?rev=10491
Author:   laffer1
Date:     2018-06-06 21:31:02 -0400 (Wed, 06 Jun 2018)
Log Message:
-----------
tag

Modified Paths:
--------------
    trunk/lib/libutil/_secure_path.3
    trunk/lib/libutil/efun.3
    trunk/lib/libutil/expand_number.3
    trunk/lib/libutil/flopen.3
    trunk/lib/libutil/fparseln.3
    trunk/lib/libutil/hexdump.3
    trunk/lib/libutil/humanize_number.3
    trunk/lib/libutil/kinfo_getallproc.3
    trunk/lib/libutil/kinfo_getfile.3
    trunk/lib/libutil/kinfo_getproc.3
    trunk/lib/libutil/kinfo_getvmmap.3
    trunk/lib/libutil/kld.3
    trunk/lib/libutil/login_auth.3
    trunk/lib/libutil/login_cap.3
    trunk/lib/libutil/login_class.3
    trunk/lib/libutil/login_ok.3
    trunk/lib/libutil/login_times.3
    trunk/lib/libutil/login_tty.3
    trunk/lib/libutil/pidfile.3
    trunk/lib/libutil/property.3
    trunk/lib/libutil/pty.3
    trunk/lib/libutil/quotafile.3
    trunk/lib/libutil/realhostname.3

Added Paths:
-----------
    trunk/lib/libutil/kinfo_getvmobject.3
    trunk/lib/libutil/pw_util.3

Property Changed:
----------------
    trunk/lib/libutil/_secure_path.3
    trunk/lib/libutil/efun.3
    trunk/lib/libutil/expand_number.3
    trunk/lib/libutil/flopen.3
    trunk/lib/libutil/fparseln.3
    trunk/lib/libutil/hexdump.3
    trunk/lib/libutil/humanize_number.3
    trunk/lib/libutil/kinfo_getallproc.3
    trunk/lib/libutil/kinfo_getfile.3
    trunk/lib/libutil/kinfo_getproc.3
    trunk/lib/libutil/kinfo_getvmmap.3
    trunk/lib/libutil/kld.3
    trunk/lib/libutil/login_auth.3
    trunk/lib/libutil/login_cap.3
    trunk/lib/libutil/login_class.3
    trunk/lib/libutil/login_ok.3
    trunk/lib/libutil/login_times.3
    trunk/lib/libutil/login_tty.3
    trunk/lib/libutil/pidfile.3
    trunk/lib/libutil/property.3
    trunk/lib/libutil/pty.3
    trunk/lib/libutil/quotafile.3
    trunk/lib/libutil/realhostname.3
    trunk/lib/libutil/realhostname_sa.3

Modified: trunk/lib/libutil/_secure_path.3
===================================================================
--- trunk/lib/libutil/_secure_path.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/_secure_path.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1997 David Nugent <davidn at blaze.net.au>
 .\" All rights reserved.
 .\"
@@ -17,7 +18,7 @@
 .\" 5. Modifications may be freely made to this file providing the above
 .\"    conditions are met.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/_secure_path.3 206622 2010-04-14 19:08:06Z uqs $
 .\"
 .Dd May 2, 1997
 .Dt _SECURE_PATH 3


Property changes on: trunk/lib/libutil/_secure_path.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/efun.3
===================================================================
--- trunk/lib/libutil/efun.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/efun.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"     $NetBSD: efun.3,v 1.4 2006/10/20 17:40:18 christos Exp $
 .\"
 .\" Copyright (c) 2006 The NetBSD Foundation, Inc.


Property changes on: trunk/lib/libutil/efun.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/expand_number.3
===================================================================
--- trunk/lib/libutil/expand_number.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/expand_number.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2007 Eric Anderson <anderson at FreeBSD.org>
 .\" Copyright (c) 2007 Pawel Jakub Dawidek <pjd at FreeBSD.org>
 .\" All rights reserved.
@@ -23,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/expand_number.3 211343 2010-08-15 18:32:06Z des $
 .\"
 .Dd August 15, 2010
 .Dt EXPAND_NUMBER 3


Property changes on: trunk/lib/libutil/expand_number.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/flopen.3
===================================================================
--- trunk/lib/libutil/flopen.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/flopen.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,5 +1,6 @@
+.\" $MidnightBSD$
 .\"-
-.\" Copyright (c) 2007 Dag-Erling Co\xEFdan Sm\xF8rgrav
+.\" Copyright (c) 2007 Dag-Erling Coïdan Smørgrav
 .\" All rights reserved.
 .\"
 .\" Redistribution and use in source and binary forms, with or without
@@ -23,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/flopen.3 229784 2012-01-07 16:13:56Z uqs $
 .\"
 .Dd June 6, 2009
 .Dt FLOPEN 3


Property changes on: trunk/lib/libutil/flopen.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/fparseln.3
===================================================================
--- trunk/lib/libutil/fparseln.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/fparseln.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,5 +1,6 @@
+.\" $MidnightBSD$
 .\"	$NetBSD: fparseln.3,v 1.7 1999/07/02 15:49:12 simonb Exp $
-.\" $FreeBSD: src/lib/libutil/fparseln.3,v 1.11 2005/01/11 20:50:50 ru Exp $
+.\" $FreeBSD: stable/10/lib/libutil/fparseln.3 140081 2005-01-11 20:50:51Z ru $
 .\"
 .\" Copyright (c) 1997 Christos Zoulas.  All rights reserved.
 .\"


Property changes on: trunk/lib/libutil/fparseln.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/hexdump.3
===================================================================
--- trunk/lib/libutil/hexdump.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/hexdump.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" -*- nroff -*-
 .\"
 .\" Copyright (c) 2003 Scott Long
@@ -26,9 +27,9 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/hexdump.3 325845 2017-11-15 12:19:11Z bapt $
 .\"
-.Dd July 1, 2008
+.Dd March 21, 2017
 .Dt HEXDUMP 3
 .Os
 .Sh NAME
@@ -42,14 +43,9 @@
 The
 .Fn hexdump
 function prints an array of bytes to standard out in hexadecimal form,
-along with the
-.Tn ASCII
-representation of the bytes, if possible.
-By default, each line of
-output will start with an offset count, followed by 16 hexadecimal values,
-followed by 16
-.Tn ASCII
-characters.
+along with the ASCII representation of the bytes, if possible.
+By default, each line of output will start with an offset count, followed by 16
+hexadecimal values, followed by 16 ASCII characters.
 .Bl -tag -width indent
 .It Fa ptr
 Pointer to the array of bytes to print.
@@ -73,12 +69,10 @@
 Integer value of the number of bytes to display on each line.
 A value of 0 implies that the default value of 16 will be used.
 .It Bits 8-15
-Character
-.Tn ASCII
-value to use as the separator for the hexadecimal output.
+Character ASCII value to use as the separator for the hexadecimal output.
 A value of 0 implies that the default value of 32
-.Tn ( ASCII
-space) will be used.
+.Pq ASCII space
+will be used.
 .It Dv HD_OMIT_COUNT
 Do not print the offset column at the beginning of each line.
 .It Dv HD_OMIT_HEX
@@ -88,7 +82,8 @@
 .El
 .El
 .Sh SEE ALSO
-.Xr ascii 7
+.Xr ascii 7 ,
+.Xr sbuf_hexdump 9
 .Sh AUTHORS
 This manual page was written by
 .An Scott Long .


Property changes on: trunk/lib/libutil/hexdump.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/humanize_number.3
===================================================================
--- trunk/lib/libutil/humanize_number.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/humanize_number.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,5 +1,6 @@
+.\" $MidnightBSD$
 .\"	$NetBSD: humanize_number.3,v 1.4 2003/04/16 13:34:37 wiz Exp $
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/humanize_number.3 256130 2013-10-07 22:22:57Z jmg $
 .\"
 .\" Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -28,7 +29,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd Apr 12, 2011
+.Dd October 7, 2013
 .Dt HUMANIZE_NUMBER 3
 .Os
 .Sh NAME
@@ -140,7 +141,7 @@
 .Fa flags :
 .Bl -tag -width ".Dv HN_DIVISOR_1000" -offset indent
 .It Dv HN_DECIMAL
-If the final result is less than 10, display it using one digit.
+If the final result is less than 10, display it using one decimal place.
 .It Dv HN_NOSPACE
 Do not put a space between
 .Fa number
@@ -160,13 +161,18 @@
 is also specified.
 .El
 .Sh RETURN VALUES
-The
-.Fn humanize_number
-function returns the number of characters stored in
+Upon success, the
+.Nm
+function returns the number of characters that would have been stored in
 .Fa buf
 (excluding the terminating
 .Dv NUL )
-upon success, or \-1 upon failure.
+if
+.Fa buf
+was large enough, or \-1 upon failure.
+Even upon failure, the contents of
+.Fa buf
+may be modified.
 If
 .Dv HN_GETSCALE
 is specified, the prefix index number will be returned instead.


Property changes on: trunk/lib/libutil/humanize_number.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/kinfo_getallproc.3
===================================================================
--- trunk/lib/libutil/kinfo_getallproc.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/kinfo_getallproc.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2009 Ulf Lilleengen
 .\" All rights reserved.
@@ -23,11 +24,11 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/kinfo_getallproc.3 287439 2015-09-03 18:23:07Z jhb $
 .\"
-.Dd July 9, 2009
+.Dd May 27, 2015
+.Dt KINFO_GETALLPROC 3
 .Os
-.Dt KINFO_GETALLPROC 3
 .Sh NAME
 .Nm kinfo_getallproc
 .Nd function for getting process information of all processes from kernel
@@ -35,6 +36,7 @@
 .Lb libutil
 .Sh SYNOPSIS
 .In sys/types.h
+.In sys/user.h
 .In libutil.h
 .Ft struct kinfo_proc *
 .Fn kinfo_getallproc "int *cntp"


Property changes on: trunk/lib/libutil/kinfo_getallproc.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/kinfo_getfile.3
===================================================================
--- trunk/lib/libutil/kinfo_getfile.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/kinfo_getfile.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2008 Peter Wemm
 .\" All rights reserved.
@@ -23,9 +24,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/kinfo_getfile.3 287439 2015-09-03 18:23:07Z jhb $
 .\"
-.Dd December 6, 2008
+.Dd May 27, 2015
 .Dt KINFO_GETFILE 3
 .Os
 .Sh NAME
@@ -35,6 +36,7 @@
 .Lb libutil
 .Sh SYNOPSIS
 .In sys/types.h
+.In sys/user.h
 .In libutil.h
 .Ft struct kinfo_file *
 .Fn kinfo_getfile "pid_t pid" "int *cntp"
@@ -48,7 +50,7 @@
 This should be the a process that you have privilege to access.
 The
 .Ar cntp
-field is allows the caller to know how many records are returned.
+field allows the caller to know how many records are returned.
 .Pp
 This function is a wrapper around
 .Xr sysctl 3


Property changes on: trunk/lib/libutil/kinfo_getfile.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/kinfo_getproc.3
===================================================================
--- trunk/lib/libutil/kinfo_getproc.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/kinfo_getproc.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2009 Ulf Lilleengen
 .\" All rights reserved.
@@ -23,11 +24,11 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/kinfo_getproc.3 287439 2015-09-03 18:23:07Z jhb $
 .\"
-.Dd March 1, 2013
+.Dd May 27, 2015
+.Dt KINFO_GETPROC 3
 .Os
-.Dt KINFO_GETPROC 3
 .Sh NAME
 .Nm kinfo_getproc
 .Nd function for getting process information from kernel
@@ -35,6 +36,7 @@
 .Lb libutil
 .Sh SYNOPSIS
 .In sys/types.h
+.In sys/user.h
 .In libutil.h
 .Ft struct kinfo_proc *
 .Fn kinfo_getproc "pid_t pid"


Property changes on: trunk/lib/libutil/kinfo_getproc.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/kinfo_getvmmap.3
===================================================================
--- trunk/lib/libutil/kinfo_getvmmap.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/kinfo_getvmmap.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2008 Peter Wemm
 .\" All rights reserved.
@@ -23,9 +24,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/kinfo_getvmmap.3 331517 2018-03-25 01:33:51Z sevan $
 .\"
-.Dd December 6, 2008
+.Dd August 18, 2017
 .Dt KINFO_GETVMMAP 3
 .Os
 .Sh NAME
@@ -35,6 +36,7 @@
 .Lb libutil
 .Sh SYNOPSIS
 .In sys/types.h
+.In sys/user.h
 .In libutil.h
 .Ft struct kinfo_vmentry *
 .Fn kinfo_getvmmap "pid_t pid" "int *cntp"
@@ -57,6 +59,13 @@
 mib.
 While the kernel returns a packed structure, this function expands the
 data into a fixed record format.
+.Sh CAVEAT
+.Fn kinfo_getvmmap
+calls can cause significant CPU consumption because calculating the residency
+counts requires iterating over all memory pages of the process.
+Setting the sysctl variable
+.Va kern.proc_vmmap_skip_resident_count
+to 1 prevents this calculation.
 .Sh RETURN VALUES
 On success the
 .Fn kinfo_getvmmap


Property changes on: trunk/lib/libutil/kinfo_getvmmap.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: trunk/lib/libutil/kinfo_getvmobject.3
===================================================================
--- trunk/lib/libutil/kinfo_getvmobject.3	                        (rev 0)
+++ trunk/lib/libutil/kinfo_getvmobject.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -0,0 +1,75 @@
+.\" $MidnightBSD$
+.\"
+.\" Copyright (c) 2015 John Baldwin <jhb at FreeBSD.org>
+.\" All rights reserved.
+.\"
+.\" 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: stable/10/lib/libutil/kinfo_getvmobject.3 288453 2015-10-01 17:09:20Z jhb $
+.\"
+.Dd May 27, 2015
+.Dt KINFO_GETVMOBJECT 3
+.Os
+.Sh NAME
+.Nm kinfo_getvmobject
+.Nd function for getting system-wide memory information
+.Sh LIBRARY
+.Lb libutil
+.Sh SYNOPSIS
+.In sys/types.h
+.In sys/user.h
+.In libutil.h
+.Ft struct kinfo_vmobject *
+.Fn kinfo_getvmobject "int *cntp"
+.Sh DESCRIPTION
+This function is used to obtain information about the objects using memory
+in the system.
+.Pp
+The
+.Ar cntp
+argument allows the caller to know how many records are returned.
+.Pp
+This function is a wrapper around the
+.Dq vm.objects
+.Xr sysctl 3
+MIB.
+While the kernel returns a packed structure, this function expands the
+data into a fixed record format.
+.Sh RETURN VALUES
+On success the
+.Fn kinfo_getvmobject
+function returns a pointer to an array of
+.Vt struct kinfo_vmobject
+structures as defined by
+.In sys/user.h .
+The array is allocated by an internal call to
+.Xr malloc 3
+and must be freed by the caller with a call to
+.Xr free 3 .
+On failure the
+.Fn kinfo_getvmobject
+function returns
+.Dv NULL .
+.Sh SEE ALSO
+.Xr free 3 ,
+.Xr kinfo_getvmmap 3 ,
+.Xr malloc 3


Property changes on: trunk/lib/libutil/kinfo_getvmobject.3
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/lib/libutil/kld.3
===================================================================
--- trunk/lib/libutil/kld.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/kld.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,5 +1,6 @@
+.\" $MidnightBSD$
 .\"-
-.\" Copyright (c) 2006 Dag-Erling Co\xEFdan Sm\xF8rgrav
+.\" Copyright (c) 2006 Dag-Erling Coïdan Smørgrav
 .\" All rights reserved.
 .\"
 .\" Redistribution and use in source and binary forms, with or without
@@ -23,12 +24,11 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/lib/libutil/kld.3,v 1.4 2007/09/28 15:31:44 obrien Exp $
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/kld.3 229784 2012-01-07 16:13:56Z uqs $
 .\"
-.Dd May 16, 2008
+.Dd February 18, 2006
+.Dt KLD 3
 .Os
-.Dt KLD 3
 .Sh NAME
 .Nm kld_isloaded ,
 .Nm kld_load


Property changes on: trunk/lib/libutil/kld.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/login_auth.3
===================================================================
--- trunk/lib/libutil/login_auth.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/login_auth.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1995 David Nugent <davidn at blaze.net.au>
 .\" All rights reserved.
 .\"
@@ -17,7 +18,7 @@
 .\" 5. Modifications may be freely made to this file providing the above
 .\"    conditions are met.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/login_auth.3 206622 2010-04-14 19:08:06Z uqs $
 .\"
 .Dd December 29, 1996
 .Dt LOGIN_AUTH 3


Property changes on: trunk/lib/libutil/login_auth.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/login_cap.3
===================================================================
--- trunk/lib/libutil/login_cap.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/login_cap.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1995 David Nugent <davidn at blaze.net.au>
 .\" All rights reserved.
 .\"
@@ -17,7 +18,7 @@
 .\" 5. Modifications may be freely made to this file providing the above
 .\"    conditions are met.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/login_cap.3 233648 2012-03-29 05:02:12Z eadler $
 .\"
 .Dd June 14, 2007
 .Dt LOGIN_CAP 3


Property changes on: trunk/lib/libutil/login_cap.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/login_class.3
===================================================================
--- trunk/lib/libutil/login_class.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/login_class.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1995 David Nugent <davidn at blaze.net.au>
 .\" All rights reserved.
 .\"
@@ -17,7 +18,7 @@
 .\" 5. Modifications may be freely made to this file providing the above
 .\"    conditions are met.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/login_class.3 219963 2011-03-24 16:06:57Z pluknet $
 .\"
 .Dd March 24, 2011
 .Dt LOGIN_CLASS 3
@@ -118,7 +119,6 @@
 vmemoryuse       RLIMIT_VMEM
 pseudoterminals  RLIMIT_NPTS
 swapuse          RLIMIT_SWAP
-kqueues          RLIMIT_KQUEUES
 .Ed
 .It LOGIN_SETPRIORITY
 Set the scheduling priority for the current process based on the


Property changes on: trunk/lib/libutil/login_class.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/login_ok.3
===================================================================
--- trunk/lib/libutil/login_ok.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/login_ok.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1995 David Nugent <davidn at blaze.net.au>
 .\" All rights reserved.
 .\"
@@ -17,7 +18,7 @@
 .\" 5. Modifications may be freely made to this file providing the above
 .\"    conditions are met.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/login_ok.3 206622 2010-04-14 19:08:06Z uqs $
 .\"
 .Dd January 2, 1997
 .Dt LOGIN_OK 3


Property changes on: trunk/lib/libutil/login_ok.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/login_times.3
===================================================================
--- trunk/lib/libutil/login_times.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/login_times.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1995 David Nugent <davidn at blaze.net.au>
 .\" All rights reserved.
 .\"
@@ -17,7 +18,7 @@
 .\" 5. Modifications may be freely made to this file providing the above
 .\"    conditions are met.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/login_times.3 206622 2010-04-14 19:08:06Z uqs $
 .\"
 .Dd October 20, 2008
 .Dt LOGIN_TIMES 3


Property changes on: trunk/lib/libutil/login_times.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/login_tty.3
===================================================================
--- trunk/lib/libutil/login_tty.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/login_tty.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 1996 Joerg Wunsch
 .\"
@@ -23,7 +24,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/login_tty.3 206622 2010-04-14 19:08:06Z uqs $
 .\" "
 .Dd December 29, 1996
 .Dt LOGIN_TTY 3


Property changes on: trunk/lib/libutil/login_tty.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/pidfile.3
===================================================================
--- trunk/lib/libutil/pidfile.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/pidfile.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2005 Pawel Jakub Dawidek <pjd at FreeBSD.org>
 .\" All rights reserved.
 .\"
@@ -22,9 +23,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/pidfile.3 231193 2012-02-08 08:49:30Z pjd $
 .\"
-.Dd October 20, 2008
+.Dd February 8, 2012
 .Dt PIDFILE 3
 .Os
 .Sh NAME
@@ -36,7 +37,6 @@
 .Sh LIBRARY
 .Lb libutil
 .Sh SYNOPSIS
-.In sys/param.h
 .In libutil.h
 .Ft "struct pidfh *"
 .Fn pidfile_open "const char *path" "mode_t mode" "pid_t *pidptr"
@@ -61,11 +61,14 @@
 function opens (or creates) a file specified by the
 .Fa path
 argument and locks it.
-If a file can not be locked, a PID of an already running daemon is returned in
-the
+If
 .Fa pidptr
-argument (if it is not
-.Dv NULL ) .
+argument is not
+.Dv NULL
+and file can not be locked, the function will use it to store a PID of an
+already running daemon or
+.Li -1
+in case daemon did not write its PID yet.
 The function does not write process' PID into the file here, so it can be
 used before
 .Fn fork Ns ing
@@ -76,10 +79,16 @@
 .Dv NULL ,
 .Pa /var/run/ Ns Ao Va progname Ac Ns Pa .pid
 file will be used.
+The
+.Fn pidfile_open
+function sets the O_CLOEXEC close-on-exec flag when opening the pidfile.
 .Pp
 The
 .Fn pidfile_write
 function writes process' PID into a previously opened file.
+The file is truncated before write, so calling the
+.Fn pidfile_write
+function multiple times is supported.
 .Pp
 The
 .Fn pidfile_close
@@ -142,6 +151,11 @@
 	}
 	/* If we cannot create pidfile from other reasons, only warn. */
 	warn("Cannot open or create pidfile");
+	/*
+	 * Eventhough pfh is NULL we can continue, as the other pidfile_*
+	 * function can handle such situation by doing nothing except setting
+	 * errno to EDOOFUS.
+	 */
 }
 
 if (daemon(0, 0) == -1) {
@@ -180,16 +194,18 @@
 .It Bq Er EEXIST
 Some process already holds the lock on the given pidfile, meaning that a
 daemon is already running.
+If
+.Fa pidptr
+argument is not
+.Dv NULL
+the function will use it to store a PID of an already running daemon or
+.Li -1
+in case daemon did not write its PID yet.
 .It Bq Er ENAMETOOLONG
 Specified pidfile's name is too long.
 .It Bq Er EINVAL
 Some process already holds the lock on the given pidfile, but PID read
 from there is invalid.
-.It Bq Er EAGAIN
-Some process already holds the lock on the given pidfile, but the file
-is truncated.
-Most likely, the existing daemon is writing new PID into
-the file.
 .El
 .Pp
 The


Property changes on: trunk/lib/libutil/pidfile.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/property.3
===================================================================
--- trunk/lib/libutil/property.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/property.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,5 +1,5 @@
+.\" $MidnightBSD$
 .\"
-.\" Copyright (c) 2011 Lucas Holt
 .\" Copyright (c) 1998 Jordan Hubbard
 .\"
 .\" All rights reserved.
@@ -24,22 +24,19 @@
 .\" (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: src/lib/libutil/property.3,v 1.18 2005/01/20 09:17:07 ru Exp $
-.\" $MidnightBSD: src/lib/libutil/property.3,v 1.3 2011/03/19 19:30:28 laffer1 Exp $
-.\"
-.Dd March 15, 2011
+.\" $FreeBSD: stable/10/lib/libutil/property.3 236965 2012-06-12 17:02:53Z des $
+.\" "
+.Dd October 7, 1998
+.Dt PROPERTIES 3
 .Os
-.Dt PROPERTIES 3
 .Sh NAME
 .Nm properties_read ,
 .Nm property_find ,
-.Nm properties_free ,
-.Nm property_count
+.Nm properties_free
 .Nd "functions to allow creating simple property lists from ASCII file data"
 .Sh LIBRARY
 .Lb libutil
 .Sh SYNOPSIS
-.In sys/types.h
 .In libutil.h
 .Ft properties
 .Fn properties_read "int fd"
@@ -47,8 +44,6 @@
 .Fn property_find "properties list" "const char *name"
 .Ft void
 .Fn properties_free "properties list"
-.Ft int
-.Fn properties_count "properties list"
 .Sh DESCRIPTION
 .Bd -literal
 typedef struct _properties {
@@ -90,21 +85,12 @@
 is an alphanumeric string (and any punctuation not including the `=' character)
 and
 .Fa value
-is an arbitary string of text terminated by a newline character.
+is an arbitrary string of text terminated by a newline character.
 If newlines
 are desired, the entire value should be enclosed in { } (curly-bracket)
 characters.
 Any line beginning with a # or ; character is assumed to
 be a comment and will be ignored.
-.Pp
-The
-.Fn property_count
-function is used to determine the number of properties present in the
-list.
-The return value will be zero if the list is NULL or the number of
-items in the list.
-.Sh SEE ALSO
-.Xr auth_getval 3
 .Sh AUTHORS
 .An Jordan Hubbard
 .Sh BUGS


Property changes on: trunk/lib/libutil/property.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/pty.3
===================================================================
--- trunk/lib/libutil/pty.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/pty.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 1996 Joerg Wunsch
 .\"
@@ -23,9 +24,9 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/pty.3 290735 2015-11-13 01:01:16Z smh $
 .\" "
-.Dd December 29, 1996
+.Dd November 11, 2015
 .Dt PTY 3
 .Os
 .Sh NAME
@@ -120,7 +121,7 @@
 .Dv errno
 for any of the errors specified for the
 .Xr grantpt 3 ,
-.Xr posix_openpt 3 ,
+.Xr posix_openpt 2 ,
 .Xr ptsname 3 ,
 and
 .Xr unlockpt 3


Property changes on: trunk/lib/libutil/pty.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: trunk/lib/libutil/pw_util.3
===================================================================
--- trunk/lib/libutil/pw_util.3	                        (rev 0)
+++ trunk/lib/libutil/pw_util.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -0,0 +1,288 @@
+.\" $MidnightBSD$
+.\" Copyright (c) 2012 Baptiste Daroussin <bapt at FreeBSD.org>
+.\" All rights reserved.
+.\"
+.\" 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 AUTHORS 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 AUTHORS 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: stable/10/lib/libutil/pw_util.3 285205 2015-07-06 13:01:01Z garga $
+.\"
+.Dd July 02, 2015
+.Dt PW_UTIL 3
+.Os
+.Sh NAME
+.Nm pw_copy ,
+.Nm pw_dup ,
+.Nm pw_edit ,
+.Nm pw_equal ,
+.Nm pw_fini ,
+.Nm pw_init ,
+.Nm pw_make ,
+.Nm pw_make_v7 ,
+.Nm pw_mkdb ,
+.Nm pw_lock ,
+.Nm pw_scan ,
+.Nm pw_tempname ,
+.Nm pw_tmp
+.Nd "functions for passwd file handling"
+.Sh LIBRARY
+.Lb libutil
+.Sh SYNOPSIS
+.In pwd.h
+.In libutil.h
+.Ft int
+.Fn pw_copy "int ffd" "int tfd" "const struct passwd *pw" "struct passwd *oldpw"
+.Ft "struct passwd *"
+.Fn pw_dup "const struct passwd *pw"
+.Ft int
+.Fn pw_edit "int nosetuid"
+.Ft int
+.Fn pw_equal "const struct passwd *pw1" "const struct passwd *pw2"
+.Ft void
+.Fn pw_fini "void"
+.Ft int
+.Fn pw_init "const char *dir" const char *master"
+.Ft "char *"
+.Fn pw_make "const struct passwd *pw"
+.Ft "char *"
+.Fn pw_make_v7 "const struct passwd *pw"
+.Ft int
+.Fn pw_mkdb "const char *user"
+.Ft int
+.Fn pw_lock "void"
+.Ft "struct passwd *"
+.Fn pw_scan "const char *line" "int flags"
+.Ft "const char *"
+.Fn pw_tempname "void"
+.Ft int
+.Fn pw_tmp "int mfd"
+.Sh DESCRIPTION
+The
+.Fn pw_copy
+function reads a password file from
+.Vt ffd
+and writes it back out to
+.Vt tfd
+possibly with modifications:
+.Bl -dash
+.It
+If
+.Fa pw
+is
+.Dv NULL
+and
+.Fa oldpw
+is not
+.Dv NULL ,
+then the record represented by
+.Fa oldpw
+will not be copied (corresponding to user deletion).
+.It
+If
+.Fa pw
+and
+.Fa oldpw
+are not
+.Dv NULL
+then the record corresponding to
+.Fa pw
+will be replaced by the record corresponding to
+.Fa oldpw .
+.It
+If
+.Vt pw
+is set and
+.Vt oldpw
+is
+.Dv NULL
+then the record corresponding to
+.Vt pw
+will be appended (corresponding to user addition).
+.El
+.Pp
+The
+.Fn pw_copy
+function returns -1 in case of failure otherwise 0.
+.Pp
+The
+.Fn pw_dup
+function duplicates the
+.Vt struct passwd
+pointed to by
+.Fa pw
+and returns a pointer to the copy, or
+.Dv NULL
+in case of failure.
+The new
+.Vt struct passwd
+is allocated with
+.Xr malloc 3 ,
+and it is the caller's responsibility to free it with
+.Xr free 3 .
+.Pp
+The
+.Fn pw_edit
+function invokes the command specified by the
+.Ev EDITOR
+environment variable (or
+.Pa /usr/bin/vi
+if
+.Ev EDITOR
+is not defined)
+on a temporary copy of the master password file created by
+.Fn pw_tmp .
+If the file was modified,
+.Fn pw_edit
+installs it and regenerates the password database.
+The
+.Fn pw_edit
+function returns -1 in case of failure, 0 if the file was not modified,
+and a non-zero positive number if the file was modified and successfully
+installed.
+.Pp
+The
+.Fn pw_equal
+function compares two
+.Vt struct passwd
+and returns 0 if they are equal.
+.Pp
+The
+.Fn pw_fini
+function destroy the temporary file created by
+.Fn pw_tmp
+if any,
+kills any running instance of
+.Ev EDITOR
+executed by
+.Fn pw_edit
+if any,
+and closes the lock created by
+.Fn pw_lock
+if any.
+.Pp
+The
+.Fn pw_init
+initialize the static variable representing the path a password file.
+.Fa dir
+is the directory where the password file is located.
+If set to
+.Dv NULL ,
+it will default to
+.Pa /etc .
+.Fa master
+is the name of the password file.
+If set to
+.Dv NULL?
+it will default to
+.Pa master.passwd
+.Pp
+The
+.Fn pw_make
+function creates a properly formatted
+.Bx
+.Xr passwd 5
+line from a
+.Vt struct passwd ,
+and returns a pointer to the resulting string.
+The string is allocated with
+.Xr malloc 3 ,
+and it is the caller's responsibility to free it with
+.Xr free 3 .
+.Pp
+The
+.Fn pw_make_v7
+function creates a properly formatted
+.Ux V7
+.Xr passwd 5
+line from a
+.Vt struct passwd ,
+and returns a pointer to the resulting string.
+The string is allocated with
+.Xr malloc 3 ,
+and it is the caller's responsibility to free it with
+.Xr free 3 .
+.Pp
+The
+.Fn pw_mkdb
+function regenerates the password database by running
+.Xr pw_mkdb 8 .
+If
+.Fa user
+only the record corresponding to that user will be updated.
+The
+.Fn pw_mkdb
+function returns 0 in case of success and -1 in case of failure.
+.Pp
+The
+.Fn pw_lock
+function locks the master password file.
+It returns a file descriptor to the master password file on success
+and -1 on failure.
+.Pp
+The
+.Fn pw_scan
+function is a wrapper around the internal libc function
+.Fn __pw_scan .
+It scans the master password file for a line corresponding to the
+.Fa line
+provided and return a
+.Vt struct passwd
+if it matched an existing record.
+In case of failure, it returns
+.Dv NULL .
+Otherwise, it returns a pointer to a
+.Vt struct passwd
+containing the matching record.
+The
+.Vt struct passwd
+is allocated with
+.Xr malloc 3 ,
+and it is the caller's responsibility to free it with
+.Xr free 3 .
+.Pp
+The
+.Fn pw_tempname
+function returns the temporary name of the masterfile created via
+.Fn pw_tmp .
+.Pp
+The
+.Fn pw_tmp
+creates and opens a presumably safe temporary password file.
+If
+.Fa mfd
+is a file descriptor to an open password file, it will be read and
+written back to the temporary password file.
+Otherwise if should be set -1.
+The
+.Fn pw_tmp
+returns an open file descriptor to the temporary password file or -1 in case of
+failure.
+.Sh AUTHORS
+Portions of this software were developed for the
+.Fx
+Project by ThinkSec AS and Network Associates Laboratories, the
+Security Research Division of Network Associates, Inc.\& under
+DARPA/SPAWAR contract N66001-01-C-8035
+.Pq Dq CBOSS ,
+as part of the DARPA CHATS research program.
+.Pp
+This manual page was written by
+.An Baptiste Daroussin Aq bapt at FreeBSD.org .


Property changes on: trunk/lib/libutil/pw_util.3
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/lib/libutil/quotafile.3
===================================================================
--- trunk/lib/libutil/quotafile.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/quotafile.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"-
 .\" Copyright (c) 2009 Dag-Erling Coïdan Smørgrav and
 .\" Marshall Kirk McKusick. All rights reserved.
@@ -23,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/quotafile.3 233648 2012-03-29 05:02:12Z eadler $
 .\"
 .Dd December 28, 2009
 .Dt QUOTAFILE 3


Property changes on: trunk/lib/libutil/quotafile.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libutil/realhostname.3
===================================================================
--- trunk/lib/libutil/realhostname.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/realhostname.3	2018-06-07 01:31:02 UTC (rev 10491)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1999 Brian Somers <brian at Awfulhak.org>
 .\" All rights reserved.
 .\"
@@ -23,6 +24,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/libutil/realhostname.3 230234 2012-01-16 21:25:41Z ghelmer $
 .\"
 .Dd April 6, 1999
 .Dt REALHOSTNAME 3
@@ -33,8 +35,6 @@
 .Sh LIBRARY
 .Lb libutil
 .Sh SYNOPSIS
-.In sys/types.h
-.In netinet/in.h
 .In libutil.h
 .Ft int
 .Fn realhostname "char *host" "size_t hsize" "const struct in_addr *ip"


Property changes on: trunk/lib/libutil/realhostname.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Index: trunk/lib/libutil/realhostname_sa.3
===================================================================
--- trunk/lib/libutil/realhostname_sa.3	2018-06-07 01:30:47 UTC (rev 10490)
+++ trunk/lib/libutil/realhostname_sa.3	2018-06-07 01:31:02 UTC (rev 10491)

Property changes on: trunk/lib/libutil/realhostname_sa.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list