diff options
author | brian <brian@FreeBSD.org> | 1997-12-27 19:23:13 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-12-27 19:23:13 +0000 |
commit | c15231d3d82a392faccd7b0a0b4b3f21df3c4469 (patch) | |
tree | ce07fc9ebe98b9c3bc31f16580bea55095e2f9db /usr.sbin/ppp/id.h | |
parent | 9eec71e4627db28802c11ebba87b942c601ff60d (diff) | |
download | FreeBSD-src-c15231d3d82a392faccd7b0a0b4b3f21df3c4469.zip FreeBSD-src-c15231d3d82a392faccd7b0a0b4b3f21df3c4469.tar.gz |
Write to the routing socket as uid 0. It's not good enough
to just open it as uid 0 under OpenBSD.
Diffstat (limited to 'usr.sbin/ppp/id.h')
-rw-r--r-- | usr.sbin/ppp/id.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/id.h b/usr.sbin/ppp/id.h index 015a416..121e8da 100644 --- a/usr.sbin/ppp/id.h +++ b/usr.sbin/ppp/id.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: id.h,v 1.2 1997/12/21 12:11:05 brian Exp $ */ extern void ID0init(void); @@ -33,5 +33,6 @@ extern int ID0unlink(const char *); extern int ID0socket(int, int, int); extern FILE *ID0fopen(const char *, const char *); extern int ID0open(const char *, int); +extern int ID0write(int, const void *, size_t); extern int ID0uu_lock(const char *); extern int ID0uu_unlock(const char *); |