Correct use of .Nm. Spelling. Add rcsid and remove unused #includes.
This commit is contained in:
parent
7b353f1aca
commit
e37a54892b
@ -35,20 +35,19 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)activate.c 8.3 (Berkeley) 4/28/95
|
* @(#)activate.c 8.3 (Berkeley) 4/28/95
|
||||||
*
|
|
||||||
* $Id: activate.c,v 1.3 1997/02/22 14:32:53 peter Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#ifndef lint
|
||||||
#include <stdlib.h>
|
static const char rcsid[] =
|
||||||
#include <unistd.h>
|
"$Id$";
|
||||||
#include <string.h>
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <signal.h>
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/un.h>
|
|
||||||
#include <sys/syslog.h>
|
#include <sys/syslog.h>
|
||||||
#include <sys/uio.h>
|
#include <sys/uio.h>
|
||||||
|
|
||||||
|
@ -35,16 +35,19 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)conf.c 8.2 (Berkeley) 3/27/94
|
* @(#)conf.c 8.2 (Berkeley) 3/27/94
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#ifndef lint
|
||||||
#include <stdlib.h>
|
static const char rcsid[] =
|
||||||
#include <unistd.h>
|
"$Id$";
|
||||||
#include <string.h>
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <regex.h>
|
#include <regex.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" @(#)mount_portal.8 8.3 (Berkeley) 3/27/94
|
.\" @(#)mount_portal.8 8.3 (Berkeley) 3/27/94
|
||||||
.\"
|
.\" $Id$
|
||||||
.\"
|
.\"
|
||||||
.Dd March 27, 1994
|
.Dd March 27, 1994
|
||||||
.Dt MOUNT_PORTAL 8
|
.Dt MOUNT_PORTAL 8
|
||||||
@ -50,12 +50,12 @@
|
|||||||
.Ar mount_point
|
.Ar mount_point
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm mount_portal
|
.Nm
|
||||||
command attaches an instance of the portal daemon
|
command attaches an instance of the portal daemon
|
||||||
to the global filesystem namespace.
|
to the global filesystem namespace.
|
||||||
The conventional mount point is
|
The conventional mount point is
|
||||||
.Pa /p .
|
.Pa /p .
|
||||||
.PA /dev .
|
.\" .PA /dev .
|
||||||
This command is normally executed by
|
This command is normally executed by
|
||||||
.Xr mount 8
|
.Xr mount 8
|
||||||
at boot time.
|
at boot time.
|
||||||
@ -132,6 +132,6 @@ fs/ file fs/
|
|||||||
This filesystem may not be NFS-exported.
|
This filesystem may not be NFS-exported.
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm mount_portal
|
.Nm
|
||||||
utility first appeared in
|
utility first appeared in
|
||||||
.Bx 4.4 .
|
.Bx 4.4 .
|
||||||
|
@ -41,24 +41,23 @@ char copyright[] =
|
|||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
/*
|
#if 0
|
||||||
static char sccsid[] = "@(#)mount_portal.c 8.6 (Berkeley) 4/26/95";
|
static char sccsid[] = "@(#)mount_portal.c 8.6 (Berkeley) 4/26/95";
|
||||||
*/
|
#endif
|
||||||
static const char rcsid[] =
|
static const char rcsid[] =
|
||||||
"$Id: mount_portal.c,v 1.11 1997/03/24 05:53:12 imp Exp $";
|
"$Id$";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <sys/time.h>
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
#include <sys/syslog.h>
|
#include <sys/syslog.h>
|
||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
|
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <signal.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -35,10 +35,13 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)pt_conf.c 8.1 (Berkeley) 6/5/93
|
* @(#)pt_conf.c 8.1 (Berkeley) 6/5/93
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef lint
|
||||||
|
static const char rcsid[] =
|
||||||
|
"$Id$";
|
||||||
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include "portald.h"
|
#include "portald.h"
|
||||||
|
@ -35,17 +35,16 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)pt_exec.c 8.1 (Berkeley) 6/5/93
|
* @(#)pt_exec.c 8.1 (Berkeley) 6/5/93
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#ifndef lint
|
||||||
#include <unistd.h>
|
static const char rcsid[] =
|
||||||
#include <stdlib.h>
|
"$Id$";
|
||||||
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/syslog.h>
|
|
||||||
|
|
||||||
#include "portald.h"
|
#include "portald.h"
|
||||||
|
|
||||||
|
@ -35,16 +35,17 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)pt_file.c 8.3 (Berkeley) 7/3/94
|
* @(#)pt_file.c 8.3 (Berkeley) 7/3/94
|
||||||
*
|
|
||||||
* $Id: pt_file.c,v 1.5 1997/02/22 14:32:56 peter Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#ifndef lint
|
||||||
#include <unistd.h>
|
static const char rcsid[] =
|
||||||
#include <stdlib.h>
|
"$Id$";
|
||||||
#include <string.h>
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/syslog.h>
|
#include <sys/syslog.h>
|
||||||
|
@ -35,15 +35,17 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)pt_tcp.c 8.5 (Berkeley) 4/28/95
|
* @(#)pt_tcp.c 8.5 (Berkeley) 4/28/95
|
||||||
*
|
|
||||||
* $Id: pt_tcp.c,v 1.5 1997/03/11 12:35:00 peter Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#ifndef lint
|
||||||
#include <unistd.h>
|
static const char rcsid[] =
|
||||||
#include <stdlib.h>
|
"$Id$";
|
||||||
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/syslog.h>
|
#include <sys/syslog.h>
|
||||||
@ -59,7 +61,7 @@
|
|||||||
* Create a TCP socket connected to the
|
* Create a TCP socket connected to the
|
||||||
* requested host and port.
|
* requested host and port.
|
||||||
* Some trailing suffix values have special meanings.
|
* Some trailing suffix values have special meanings.
|
||||||
* An unrecognised suffix is an error.
|
* An unrecognized suffix is an error.
|
||||||
*/
|
*/
|
||||||
int portal_tcp(pcr, key, v, kso, fdp)
|
int portal_tcp(pcr, key, v, kso, fdp)
|
||||||
struct portal_cred *pcr;
|
struct portal_cred *pcr;
|
||||||
|
@ -35,20 +35,19 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)activate.c 8.3 (Berkeley) 4/28/95
|
* @(#)activate.c 8.3 (Berkeley) 4/28/95
|
||||||
*
|
|
||||||
* $Id: activate.c,v 1.3 1997/02/22 14:32:53 peter Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#ifndef lint
|
||||||
#include <stdlib.h>
|
static const char rcsid[] =
|
||||||
#include <unistd.h>
|
"$Id$";
|
||||||
#include <string.h>
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <signal.h>
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/un.h>
|
|
||||||
#include <sys/syslog.h>
|
#include <sys/syslog.h>
|
||||||
#include <sys/uio.h>
|
#include <sys/uio.h>
|
||||||
|
|
||||||
|
@ -35,16 +35,19 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)conf.c 8.2 (Berkeley) 3/27/94
|
* @(#)conf.c 8.2 (Berkeley) 3/27/94
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#ifndef lint
|
||||||
#include <stdlib.h>
|
static const char rcsid[] =
|
||||||
#include <unistd.h>
|
"$Id$";
|
||||||
#include <string.h>
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <regex.h>
|
#include <regex.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" @(#)mount_portal.8 8.3 (Berkeley) 3/27/94
|
.\" @(#)mount_portal.8 8.3 (Berkeley) 3/27/94
|
||||||
.\"
|
.\" $Id$
|
||||||
.\"
|
.\"
|
||||||
.Dd March 27, 1994
|
.Dd March 27, 1994
|
||||||
.Dt MOUNT_PORTAL 8
|
.Dt MOUNT_PORTAL 8
|
||||||
@ -50,12 +50,12 @@
|
|||||||
.Ar mount_point
|
.Ar mount_point
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm mount_portal
|
.Nm
|
||||||
command attaches an instance of the portal daemon
|
command attaches an instance of the portal daemon
|
||||||
to the global filesystem namespace.
|
to the global filesystem namespace.
|
||||||
The conventional mount point is
|
The conventional mount point is
|
||||||
.Pa /p .
|
.Pa /p .
|
||||||
.PA /dev .
|
.\" .PA /dev .
|
||||||
This command is normally executed by
|
This command is normally executed by
|
||||||
.Xr mount 8
|
.Xr mount 8
|
||||||
at boot time.
|
at boot time.
|
||||||
@ -132,6 +132,6 @@ fs/ file fs/
|
|||||||
This filesystem may not be NFS-exported.
|
This filesystem may not be NFS-exported.
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm mount_portal
|
.Nm
|
||||||
utility first appeared in
|
utility first appeared in
|
||||||
.Bx 4.4 .
|
.Bx 4.4 .
|
||||||
|
@ -41,24 +41,23 @@ char copyright[] =
|
|||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
/*
|
#if 0
|
||||||
static char sccsid[] = "@(#)mount_portal.c 8.6 (Berkeley) 4/26/95";
|
static char sccsid[] = "@(#)mount_portal.c 8.6 (Berkeley) 4/26/95";
|
||||||
*/
|
#endif
|
||||||
static const char rcsid[] =
|
static const char rcsid[] =
|
||||||
"$Id: mount_portal.c,v 1.11 1997/03/24 05:53:12 imp Exp $";
|
"$Id$";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <sys/time.h>
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
#include <sys/syslog.h>
|
#include <sys/syslog.h>
|
||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
|
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <signal.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -35,10 +35,13 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)pt_conf.c 8.1 (Berkeley) 6/5/93
|
* @(#)pt_conf.c 8.1 (Berkeley) 6/5/93
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef lint
|
||||||
|
static const char rcsid[] =
|
||||||
|
"$Id$";
|
||||||
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include "portald.h"
|
#include "portald.h"
|
||||||
|
@ -35,17 +35,16 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)pt_exec.c 8.1 (Berkeley) 6/5/93
|
* @(#)pt_exec.c 8.1 (Berkeley) 6/5/93
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#ifndef lint
|
||||||
#include <unistd.h>
|
static const char rcsid[] =
|
||||||
#include <stdlib.h>
|
"$Id$";
|
||||||
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/syslog.h>
|
|
||||||
|
|
||||||
#include "portald.h"
|
#include "portald.h"
|
||||||
|
|
||||||
|
@ -35,16 +35,17 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)pt_file.c 8.3 (Berkeley) 7/3/94
|
* @(#)pt_file.c 8.3 (Berkeley) 7/3/94
|
||||||
*
|
|
||||||
* $Id: pt_file.c,v 1.5 1997/02/22 14:32:56 peter Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#ifndef lint
|
||||||
#include <unistd.h>
|
static const char rcsid[] =
|
||||||
#include <stdlib.h>
|
"$Id$";
|
||||||
#include <string.h>
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/syslog.h>
|
#include <sys/syslog.h>
|
||||||
|
@ -35,15 +35,17 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)pt_tcp.c 8.5 (Berkeley) 4/28/95
|
* @(#)pt_tcp.c 8.5 (Berkeley) 4/28/95
|
||||||
*
|
|
||||||
* $Id: pt_tcp.c,v 1.5 1997/03/11 12:35:00 peter Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#ifndef lint
|
||||||
#include <unistd.h>
|
static const char rcsid[] =
|
||||||
#include <stdlib.h>
|
"$Id$";
|
||||||
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/syslog.h>
|
#include <sys/syslog.h>
|
||||||
@ -59,7 +61,7 @@
|
|||||||
* Create a TCP socket connected to the
|
* Create a TCP socket connected to the
|
||||||
* requested host and port.
|
* requested host and port.
|
||||||
* Some trailing suffix values have special meanings.
|
* Some trailing suffix values have special meanings.
|
||||||
* An unrecognised suffix is an error.
|
* An unrecognized suffix is an error.
|
||||||
*/
|
*/
|
||||||
int portal_tcp(pcr, key, v, kso, fdp)
|
int portal_tcp(pcr, key, v, kso, fdp)
|
||||||
struct portal_cred *pcr;
|
struct portal_cred *pcr;
|
||||||
|
@ -35,20 +35,19 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)activate.c 8.3 (Berkeley) 4/28/95
|
* @(#)activate.c 8.3 (Berkeley) 4/28/95
|
||||||
*
|
|
||||||
* $Id: activate.c,v 1.3 1997/02/22 14:32:53 peter Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#ifndef lint
|
||||||
#include <stdlib.h>
|
static const char rcsid[] =
|
||||||
#include <unistd.h>
|
"$Id$";
|
||||||
#include <string.h>
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <signal.h>
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/un.h>
|
|
||||||
#include <sys/syslog.h>
|
#include <sys/syslog.h>
|
||||||
#include <sys/uio.h>
|
#include <sys/uio.h>
|
||||||
|
|
||||||
|
@ -35,16 +35,19 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)conf.c 8.2 (Berkeley) 3/27/94
|
* @(#)conf.c 8.2 (Berkeley) 3/27/94
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#ifndef lint
|
||||||
#include <stdlib.h>
|
static const char rcsid[] =
|
||||||
#include <unistd.h>
|
"$Id$";
|
||||||
#include <string.h>
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <regex.h>
|
#include <regex.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" @(#)mount_portal.8 8.3 (Berkeley) 3/27/94
|
.\" @(#)mount_portal.8 8.3 (Berkeley) 3/27/94
|
||||||
.\"
|
.\" $Id$
|
||||||
.\"
|
.\"
|
||||||
.Dd March 27, 1994
|
.Dd March 27, 1994
|
||||||
.Dt MOUNT_PORTAL 8
|
.Dt MOUNT_PORTAL 8
|
||||||
@ -50,12 +50,12 @@
|
|||||||
.Ar mount_point
|
.Ar mount_point
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm mount_portal
|
.Nm
|
||||||
command attaches an instance of the portal daemon
|
command attaches an instance of the portal daemon
|
||||||
to the global filesystem namespace.
|
to the global filesystem namespace.
|
||||||
The conventional mount point is
|
The conventional mount point is
|
||||||
.Pa /p .
|
.Pa /p .
|
||||||
.PA /dev .
|
.\" .PA /dev .
|
||||||
This command is normally executed by
|
This command is normally executed by
|
||||||
.Xr mount 8
|
.Xr mount 8
|
||||||
at boot time.
|
at boot time.
|
||||||
@ -132,6 +132,6 @@ fs/ file fs/
|
|||||||
This filesystem may not be NFS-exported.
|
This filesystem may not be NFS-exported.
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm mount_portal
|
.Nm
|
||||||
utility first appeared in
|
utility first appeared in
|
||||||
.Bx 4.4 .
|
.Bx 4.4 .
|
||||||
|
@ -41,24 +41,23 @@ char copyright[] =
|
|||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
/*
|
#if 0
|
||||||
static char sccsid[] = "@(#)mount_portal.c 8.6 (Berkeley) 4/26/95";
|
static char sccsid[] = "@(#)mount_portal.c 8.6 (Berkeley) 4/26/95";
|
||||||
*/
|
#endif
|
||||||
static const char rcsid[] =
|
static const char rcsid[] =
|
||||||
"$Id: mount_portal.c,v 1.11 1997/03/24 05:53:12 imp Exp $";
|
"$Id$";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <sys/time.h>
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
#include <sys/syslog.h>
|
#include <sys/syslog.h>
|
||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
|
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <signal.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -35,10 +35,13 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)pt_conf.c 8.1 (Berkeley) 6/5/93
|
* @(#)pt_conf.c 8.1 (Berkeley) 6/5/93
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef lint
|
||||||
|
static const char rcsid[] =
|
||||||
|
"$Id$";
|
||||||
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include "portald.h"
|
#include "portald.h"
|
||||||
|
@ -35,17 +35,16 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)pt_exec.c 8.1 (Berkeley) 6/5/93
|
* @(#)pt_exec.c 8.1 (Berkeley) 6/5/93
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#ifndef lint
|
||||||
#include <unistd.h>
|
static const char rcsid[] =
|
||||||
#include <stdlib.h>
|
"$Id$";
|
||||||
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/syslog.h>
|
|
||||||
|
|
||||||
#include "portald.h"
|
#include "portald.h"
|
||||||
|
|
||||||
|
@ -35,16 +35,17 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)pt_file.c 8.3 (Berkeley) 7/3/94
|
* @(#)pt_file.c 8.3 (Berkeley) 7/3/94
|
||||||
*
|
|
||||||
* $Id: pt_file.c,v 1.5 1997/02/22 14:32:56 peter Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#ifndef lint
|
||||||
#include <unistd.h>
|
static const char rcsid[] =
|
||||||
#include <stdlib.h>
|
"$Id$";
|
||||||
#include <string.h>
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/syslog.h>
|
#include <sys/syslog.h>
|
||||||
|
@ -35,15 +35,17 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)pt_tcp.c 8.5 (Berkeley) 4/28/95
|
* @(#)pt_tcp.c 8.5 (Berkeley) 4/28/95
|
||||||
*
|
|
||||||
* $Id: pt_tcp.c,v 1.5 1997/03/11 12:35:00 peter Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#ifndef lint
|
||||||
#include <unistd.h>
|
static const char rcsid[] =
|
||||||
#include <stdlib.h>
|
"$Id$";
|
||||||
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/syslog.h>
|
#include <sys/syslog.h>
|
||||||
@ -59,7 +61,7 @@
|
|||||||
* Create a TCP socket connected to the
|
* Create a TCP socket connected to the
|
||||||
* requested host and port.
|
* requested host and port.
|
||||||
* Some trailing suffix values have special meanings.
|
* Some trailing suffix values have special meanings.
|
||||||
* An unrecognised suffix is an error.
|
* An unrecognized suffix is an error.
|
||||||
*/
|
*/
|
||||||
int portal_tcp(pcr, key, v, kso, fdp)
|
int portal_tcp(pcr, key, v, kso, fdp)
|
||||||
struct portal_cred *pcr;
|
struct portal_cred *pcr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user