Blame SOURCES/ntp-4.2.6p5-cve-2016-9310.patch

5bc849
diff -up ntp-4.2.6p5/ntpd/ntp_control.c.cve-2016-9310 ntp-4.2.6p5/ntpd/ntp_control.c
5bc849
--- ntp-4.2.6p5/ntpd/ntp_control.c.cve-2016-9310	2016-11-21 16:30:56.826396891 +0100
5bc849
+++ ntp-4.2.6p5/ntpd/ntp_control.c	2016-11-21 16:31:54.171830390 +0100
5bc849
@@ -88,9 +88,9 @@ static	struct ctl_proc control_codes[] =
5bc849
 	{ CTL_OP_READVAR,	NOAUTH, read_variables },
5bc849
 	{ CTL_OP_WRITEVAR,	AUTH,	write_variables },
5bc849
 	{ CTL_OP_READCLOCK,	NOAUTH, read_clock_status },
5bc849
-	{ CTL_OP_WRITECLOCK,	NOAUTH, write_clock_status },
5bc849
-	{ CTL_OP_SETTRAP,	NOAUTH, set_trap },
5bc849
-	{ CTL_OP_UNSETTRAP,	NOAUTH, unset_trap },
5bc849
+	{ CTL_OP_WRITECLOCK,	AUTH,   write_clock_status },
5bc849
+	{ CTL_OP_SETTRAP,	AUTH,   set_trap },
5bc849
+	{ CTL_OP_UNSETTRAP,	AUTH,   unset_trap },
5bc849
 	{ CTL_OP_SAVECONFIG,	AUTH,	save_config },
5bc849
 	{ CTL_OP_CONFIGURE,	AUTH,	configure },
5bc849
 	{ NO_REQUEST,		0 }