diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-02-10 23:10:24 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-02-10 23:10:24 +0000 |
commit | cdff644cf8c0b0b4f53e6bd7a0f9cb7bd3dd5d54 (patch) | |
tree | bae2582802d0264fb27bbfb8acea6122fe204296 /usr.sbin/bgpd/bgpd.h | |
parent | 18249894734f5a95ee65b8eff5bd3413e879d422 (diff) |
enforce config file secrecy (correct owner, no rights for group/world)
help and ok theo
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index 6a0cdfc768c..9331768ddc4 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.93 2004/02/09 01:46:34 henning Exp $ */ +/* $OpenBSD: bgpd.h,v 1.94 2004/02/10 23:10:23 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -386,6 +386,9 @@ const char *log_addr(const struct bgpd_addr *); /* parse.y */ int cmdline_symset(char *); +/* config.c */ +int check_file_secrecy(int fd, const char *fname); + /* imsg.c */ void imsg_init(struct imsgbuf *, int); int imsg_read(struct imsgbuf *); |