From 1721d77e423e622f2a9d018651a15c36a5f3a17e Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Tue, 30 Oct 2012 18:39:45 +0000 Subject: Nuke dhclient-script and dhclient.conf 'script' directive. Do all interface and route configuration via ioctl's and routing sockets. This will break configurations using local enhancements of dhclient-script, which will now require alternate arrangements. Committing early to allow time to identify and develop required alternatives. Several proddings by deraadt@. --- sbin/dhclient/privsep.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'sbin/dhclient/privsep.h') diff --git a/sbin/dhclient/privsep.h b/sbin/dhclient/privsep.h index b81a37db666..59300e00f53 100644 --- a/sbin/dhclient/privsep.h +++ b/sbin/dhclient/privsep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: privsep.h,v 1.5 2007/02/13 21:54:22 stevesk Exp $ */ +/* $OpenBSD: privsep.h,v 1.6 2012/10/30 18:39:44 krw Exp $ */ /* * Copyright (c) 2004 Henning Brauer @@ -27,10 +27,11 @@ struct buf { enum imsg_code { IMSG_NONE, - IMSG_SCRIPT_INIT, - IMSG_SCRIPT_WRITE_PARAMS, - IMSG_SCRIPT_GO, - IMSG_SCRIPT_GO_RET + IMSG_DELETE_ADDRESS, + IMSG_ADD_ADDRESS, + IMSG_FLUSH_ROUTES, + IMSG_ADD_DEFAULT_ROUTE, + IMSG_NEW_RESOLV_CONF }; struct imsg_hdr { -- cgit v1.2.3