Do not allow '.' or '..' to be specified as the last path component when
[dragonfly.git] / usr.sbin / mrouted / pathnames.h
1 /*
2  * The mrouted program is covered by the license in the accompanying file
3  * named "LICENSE".  Use of the mrouted program represents acceptance of
4  * the terms and conditions listed in that file.
5  *
6  * The mrouted program is COPYRIGHT 1989 by The Board of Trustees of
7  * Leland Stanford Junior University.
8  *
9  *
10  * $FreeBSD: src/usr.sbin/mrouted/pathnames.h,v 1.7 1999/08/28 01:17:07 peter Exp $
11  * $DragonFly: src/usr.sbin/mrouted/pathnames.h,v 1.2 2003/06/17 04:29:57 dillon Exp $
12  * pathnames.h,v 3.8 1995/11/29 22:36:57 fenner Rel
13  */
14
15 #define _PATH_MROUTED_CONF      "/etc/mrouted.conf"
16
17 #if (defined(BSD) && (BSD >= 199103))
18 #define _PATH_MROUTED_PID       "/var/run/mrouted.pid"
19 #define _PATH_MROUTED_GENID     "/var/run/mrouted.genid"
20 #define _PATH_MROUTED_DUMP      "/var/tmp/mrouted.dump"
21 #define _PATH_MROUTED_CACHE     "/var/tmp/mrouted.cache"
22 #else
23 #define _PATH_MROUTED_PID       "/etc/mrouted.pid"
24 #define _PATH_MROUTED_GENID     "/etc/mrouted.genid"
25 #define _PATH_MROUTED_DUMP      "/usr/tmp/mrouted.dump"
26 #define _PATH_MROUTED_CACHE     "/usr/tmp/mrouted.cache"
27 #endif