Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src pullup, approved by releng-1-5



details:   https://anonhg.NetBSD.org/src/rev/0ce10724f655
branches:  netbsd-1-5
changeset: 488463:0ce10724f655
user:      itojun <itojun%NetBSD.org@localhost>
date:      Fri Jul 07 16:22:15 2000 +0000

description:
pullup, approved by releng-1-5
rename securepath.3 into secure_path.3, as the function is named secure_path().
it is too hard to guess...

basesrc/distrib/sets/lists/comp/mi 1.243 -> 1.244
basesrc/distrib/sets/lists/comp/obsolete.mi 1.23 -> 1.24
basesrc/lib/libutil/Makefile 1.26 -> 1.27

diffstat:

 distrib/sets/lists/comp/mi          |   6 +-
 distrib/sets/lists/comp/obsolete.mi |   4 +-
 lib/libutil/Makefile                |   4 +-
 lib/libutil/secure_path.3           |  63 +++++++++++++++++++++++++++++++++++++
 lib/libutil/securepath.3            |  63 -------------------------------------
 5 files changed, 71 insertions(+), 69 deletions(-)

diffs (204 lines):

diff -r 1b4fde976d34 -r 0ce10724f655 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Fri Jul 07 12:15:42 2000 +0000
+++ b/distrib/sets/lists/comp/mi        Fri Jul 07 16:22:15 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: mi,v 1.231.2.2 2000/06/21 06:40:36 thorpej Exp $
+#      $NetBSD: mi,v 1.231.2.3 2000/07/07 16:22:15 itojun Exp $
 ./sys                  comp-sysutil-root
 ./usr/bin/addr2line    comp-miscutil-bin
 ./usr/bin/ar           comp-util-bin
@@ -2361,7 +2361,7 @@
 ./usr/share/man/cat3/scalbnf.0 comp-c-catman
 ./usr/share/man/cat3/scandir.0 comp-c-catman
 ./usr/share/man/cat3/scanf.0   comp-c-catman
-./usr/share/man/cat3/securepath.0      comp-c-catman
+./usr/share/man/cat3/secure_path.0     comp-c-catman
 ./usr/share/man/cat3/seed48.0  comp-c-catman
 ./usr/share/man/cat3/seekdir.0 comp-c-catman
 ./usr/share/man/cat3/setbuf.0  comp-c-catman
@@ -3963,7 +3963,7 @@
 ./usr/share/man/man3/scalbnf.3         comp-c-man
 ./usr/share/man/man3/scandir.3         comp-c-man
 ./usr/share/man/man3/scanf.3           comp-c-man
-./usr/share/man/man3/securepath.3              comp-c-man
+./usr/share/man/man3/secure_path.3             comp-c-man
 ./usr/share/man/man3/seed48.3          comp-c-man
 ./usr/share/man/man3/seekdir.3         comp-c-man
 ./usr/share/man/man3/setbuf.3          comp-c-man
diff -r 1b4fde976d34 -r 0ce10724f655 distrib/sets/lists/comp/obsolete.mi
--- a/distrib/sets/lists/comp/obsolete.mi       Fri Jul 07 12:15:42 2000 +0000
+++ b/distrib/sets/lists/comp/obsolete.mi       Fri Jul 07 16:22:15 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: obsolete.mi,v 1.19.2.1 2000/06/21 06:41:21 thorpej Exp $
+# $NetBSD: obsolete.mi,v 1.19.2.2 2000/07/07 16:22:16 itojun Exp $
 /usr/bin/genclass
 /usr/include/bfd/ansidecl.h
 /usr/include/bfd/bfd.h
@@ -339,6 +339,7 @@
 /usr/share/man/cat2/swapon.0
 /usr/share/man/cat3/getpw.0
 /usr/share/man/cat3/regsterrpc.0
+/usr/share/man/cat3/securepath.0
 /usr/share/man/cat3/setgrfile.0
 /usr/share/man/cat3/setpwfile.0
 /usr/share/man/cat3/setregid.0
@@ -352,6 +353,7 @@
 /usr/share/man/cat9/vsunlock.0
 /usr/share/man/man3/getpw.3
 /usr/share/man/man3/regsterrpc.3
+/usr/share/man/man3/securepath.3
 /usr/share/man/man3/svc_getreg.3
 /usr/share/man/man3/svc_getregset.3
 /usr/share/man/man3/vlimit.3
diff -r 1b4fde976d34 -r 0ce10724f655 lib/libutil/Makefile
--- a/lib/libutil/Makefile      Fri Jul 07 12:15:42 2000 +0000
+++ b/lib/libutil/Makefile      Fri Jul 07 16:22:15 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.25 2000/05/12 18:31:55 mjl Exp $
+#      $NetBSD: Makefile,v 1.25.4.1 2000/07/07 16:22:18 itojun Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/4/93
 
 LIB=   util
@@ -11,7 +11,7 @@
 MAN=   fparseln.3 getmaxpartitions.3 getrawpartition.3 \
        login.3 login_cap.3 opendisk.3 \
        openpty.3 pidfile.3 pidlock.3 pw_init.3 pw_lock.3 \
-       securepath.3 ttyaction.3 ttymsg.3
+       secure_path.3 ttyaction.3 ttymsg.3
 
 .PATH: ${.CURDIR}/../libc/gen
 
diff -r 1b4fde976d34 -r 0ce10724f655 lib/libutil/secure_path.3
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/libutil/secure_path.3 Fri Jul 07 16:22:15 2000 +0000
@@ -0,0 +1,63 @@
+.\"    $NetBSD: secure_path.3,v 1.1.2.2 2000/07/07 16:22:18 itojun Exp $
+.\"
+.\" Copyright (c) 1996,1997 Berkeley Software Design, Inc. 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.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by Berkeley Software Design,
+.\"    Inc.
+.\" 4. The name of Berkeley Software Design, Inc.  may not be used to endorse
+.\"    or promote products derived from this software without specific prior
+.\"    written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY BERKELEY SOFTWARE DESIGN, INC. ``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 BERKELEY SOFTWARE DESIGN, INC. 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.
+.\"
+.\" BSDI login_cap.3,v 1.4 1997/11/07 16:22:27 jch Exp
+.\"
+.Dd "July 16, 1996"
+.Dt SECURE_PATH 3 
+.Os
+.Sh NAME
+.Nm secure_path
+.Nd determine if a file appears to be secure
+.Sh LIBRARY
+.Lb libutil
+.Sh SYNOPSIS
+.Fd #include <util.h>
+.Ft int
+.Fn secure_path "char *path"
+.Sh DESCRIPTION
+The
+.Fn secure_path
+function takes a path name and returns 0 if the path name is secure, -1
+if not.
+To be secure a path must
+exist,
+be a regular file (and not a directory),
+owned by root,
+and only writable by the owner (root).
+.Sh HISTORY
+The 
+.Nm 
+function is based on the BSD/OS implementation of same
+and appeared in
+.Nx 1.5
+by kind permission.
diff -r 1b4fde976d34 -r 0ce10724f655 lib/libutil/securepath.3
--- a/lib/libutil/securepath.3  Fri Jul 07 12:15:42 2000 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-.\" $NetBSD: securepath.3,v 1.3 2000/03/08 00:02:54 mjl Exp $
-.\"
-.\" Copyright (c) 1996,1997 Berkeley Software Design, Inc. 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.
-.\" 3. All advertising materials mentioning features or use of this software
-.\"    must display the following acknowledgement:
-.\"    This product includes software developed by Berkeley Software Design,
-.\"    Inc.
-.\" 4. The name of Berkeley Software Design, Inc.  may not be used to endorse
-.\"    or promote products derived from this software without specific prior
-.\"    written permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY BERKELEY SOFTWARE DESIGN, INC. ``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 BERKELEY SOFTWARE DESIGN, INC. 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.
-.\"
-.\" BSDI login_cap.3,v 1.4 1997/11/07 16:22:27 jch Exp
-.\"
-.Dd "July 16, 1996"
-.Dt SECUREPATH 3 
-.Os
-.Sh NAME
-.Nm secure_path ,
-.Nd determine if a file appears to be secure
-.Sh LIBRARY
-.Lb libutil
-.Sh SYNOPSIS
-.Fd #include <util.h>
-.Ft int
-.Fn secure_path "char *path"
-.Sh DESCRIPTION
-The
-.Fn secure_path
-function takes a path name and returns 0 if the path name is secure, -1
-if not.
-To be secure a path must
-exist,
-be a regular file (and not a directory),
-owned by root,
-and only writable by the owner (root).
-.Sh HISTORY
-The 
-.Nm 
-function is based on the BSD/OS implementation of same
-and appeared in
-.Nx 1.5
-by kind permission.



Home | Main Index | Thread Index | Old Index