summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/cvsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/cvsd.h')
-rw-r--r--usr.bin/cvs/cvsd.h22
1 files changed, 9 insertions, 13 deletions
diff --git a/usr.bin/cvs/cvsd.h b/usr.bin/cvs/cvsd.h
index 29a7f37876e..4a271478c26 100644
--- a/usr.bin/cvs/cvsd.h
+++ b/usr.bin/cvs/cvsd.h
@@ -1,16 +1,16 @@
-/* $OpenBSD: cvsd.h,v 1.6 2004/11/09 20:51:33 krapht Exp $ */
+/* $OpenBSD: cvsd.h,v 1.7 2004/12/07 17:10:56 tedu Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
- * All rights reserved.
+ * All rights reserved.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ * 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.
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
* 2. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
+ * derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
@@ -21,7 +21,7 @@
* 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.
+ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef CVSD_H
@@ -48,7 +48,6 @@
#define CVSD_CHILD_DEFMAX 5
-
#define CVSD_FPERM (S_IRUSR | S_IWUSR)
#define CVSD_DPERM (S_IRWXU)
@@ -91,7 +90,6 @@
#define CVSD_ST_STOPPED 4
-
/* message structure to pass data between the parent and the chrooted child */
struct cvsd_msg {
u_int8_t cm_type;
@@ -129,12 +127,10 @@ struct cvsd_child {
};
-
extern uid_t cvsd_uid;
extern gid_t cvsd_gid;
-
int cvsd_set (int, ...);
int cvsd_checkperms (const char *);
int cvsd_child_fork (struct cvsd_child **);