Patch-ID# 100328-14
Keywords: x25 and x29 patch
Synopsis: X.25 7.0: Fixes x25 and x29 bugs
Date: Mar/19/93

SunOS Release: 4.1.1, 4.1.2, 4.1.3

Unbundled Product: SunNet X.25

Unbundled Release: 7.0

Topic: 4.1.x fixes for x25 and x29 bugs

BugId's fixed with this patch: 1056816 1050333 1063855 1050333 1056816 1063435 1063855 1065813 1068201 1071945 1072300 1072303 1074914 1074624 1073781 1073750 1073747 1069430 1073562 1073125 1073395 1066370 1063073 1073548 1071945 1074473 1076801 1076801 1075624 1096285 1095889 1103398 1095889 1086872 1096285 1098574 1100200 1103185 1104535 1092094 1109624 1101156 1106806 1108979 1109481 1109613 1112696 1112945 1109612

Changes incorporated in this version: See Description section below.

Architectures for which this patch is available: Sun3, Sun3x, Sun4, Sun4c, Sun4m

Obsoleted by: 

Problem Description:
			  
			  *** PLEASE READ THIS CAREFULLY ***


The X.25-patch-14 includes both corrections and enhancements, in
the user space only.

1) corrected bugs:

    In addition to the bugs fixed in previous patches, this one
    solves the followings:

	User space:
		The function setuppty under x29.c has put into the wrong
		version under previous patch release. 
	

2) previous jumbo patches included:

	PATCH 100328-13 changes for bugs: 1092094 1109624 1101156 1106806 
	1108979 1109481 1109613 1112696 1112945 1109612
	-------------------------------------------------------------------

	PATCH 100328-12 for Bug 1095889 1086872 1096285 1098574 1100200
				1103185 1104535, Enhancements and ISO 7776,
				ISO 8208 Conformance
        -------------------------------------------------------------------

	PATCH 100328-11 for Bug 1103398
	-------------------------------

	PATCH 100328-10 for Bug 1095889 1096285
	---------------------------------------

	PATCH 100328-09 for Bug 1075624
	-------------------------------

	PATCH 100328-08 
	---------------

        PATCH 100328-07 for Bug 1076801
	-------------------------------

        PATCH 100328-06 for Bug 1071945 1074473 1076801
        -----------------------------------------------


	PATCH 100328-05 for Bug 1074914 1074624 1073781 1073750 1073747 
				1069430 1073562 1073125 1073395 1066370 
				1063073 1073548
        ---------------------------------------------------------------

	PATCH 100328-04 for Bug 1050333 1056816 1063435 1063855 1065813
				1068201 1071945 1072300 1072303
	---------------------------------------------------------------
        
	PATCH 100328-02 for Bug  1063855
	--------------------------------

	PATCH 100328-01 for Bug 1056816 Rfe 1050333
	-------------------------------------------


Install instructions:


As root,

Save old files:

mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_fact.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_fact.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_in.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_in.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_init.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_init.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_ioctl.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_ioctl.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_kernel.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_kernel.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_lcn.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_lcn.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_listen.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_listen.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_llc2.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_llc2.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_out.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_out.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_proto.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_proto.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_pvc.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_pvc.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_route.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_route.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_stats.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_stats.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_std.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_std.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_timer.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_timer.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_tty.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_tty.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_usrreq.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_usrreq.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ/x25_util.o /usr/sunlink/x25/sys/`arch`/OBJ/x25_util.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/hdlc_ctl.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/hdlc_ctl.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/hdlc_in.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/hdlc_in.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/hdlc_out.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/hdlc_out.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/if_hdlc.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/if_hdlc.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/if_llc.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/if_llc.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/if_iip.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/if_iip.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/llc_input.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/llc_input.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/llc_pcb.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/llc_pcb.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/llc_proto.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/llc_proto.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/llc_usrreq.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/llc_usrreq.o.orig
mv /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/llc_register.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc/llc_register.o.orig
mv /usr/sunlink/x25/man/man8 /usr/sunlink/x25/man/man8.orig
mv /usr/sunlink/x25/pad /usr/sunlink/x25/pad.orig
mv /usr/sunlink/x25/hdlcconf /usr/sunlink/x25/hdlcconf.orig
mv /usr/sunlink/x25/x25config /usr/sunlink/x25/x25config.orig
mv /usr/sunlink/x25/x25mgr /usr/sunlink/x25/x25mgr.orig
mv /usr/sunlink/x25/x25route /usr/sunlink/x25/x25route.orig
mv /usr/sunlink/x25/x25trace /usr/sunlink/x25/x25trace.orig
mv /usr/sunlink/x25/x29 /usr/sunlink/x25/x29.orig
mv /usr/sunlink/x25/install.x25 /usr/sunlink/x25/install.x25.orig


mv /usr/sunlink/x25/sys/netdlc/hdlc.h /usr/sunlink/x25/sys/netdlc/hdlc.h.orig
mv /usr/sunlink/x25/sys/netdlc/hdlc_ctl.h /usr/sunlink/x25/sys/netdlc/hdlc_ctl.h.orig
mv /usr/sunlink/x25/sys/netdlc/hdlc_ioctl.h /usr/sunlink/x25/sys/netdlc/hdlc_ioctl.h.orig
mv /usr/sunlink/x25/sys/netdlc/if_llc.h /usr/sunlink/x25/sys/netdlc/if_llc.h.orig
mv /usr/sunlink/x25/sys/netdlc/llc_pcb.h /usr/sunlink/x25/sys/netdlc/llc_pcb.h.orig
mv /usr/sunlink/x25/sys/netdlc/llc_usrreq.h /usr/sunlink/x25/sys/netdlc/llc_usrreq.h.orig
mv /usr/sunlink/x25/sys/netdlc/llct.h /usr/sunlink/x25/sys/netdlc/llct.h.orig


mv /usr/sunlink/x25/sys/netx25/x25_ctl.h /usr/sunlink/x25/x25_ctl.h.orig
mv /usr/sunlink/x25/sys/netx25/x25_ioctl.h /usr/sunlink/x25/x25_ioctl.h.orig
mv /usr/sunlink/x25/sys/netx25/x25_pk.h /usr/sunlink/x25/x25_pk.h.orig
mv /usr/sunlink/x25/sys/netx25/x25_sys.h /usr/sunlink/x25/x25_sys.h.orig

Install the new files:

cp `arch`/x25_in.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/x25_init.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/x25_fact.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/x25_ioctl.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/x25_kernel.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/x25_lcn.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/x25_listen.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/x25_llc2.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/x25_out.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/x25_proto.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/x25_pvc.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/x25_route.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/x25_stats.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/x25_std.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/x25_timer.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/x25_tty.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/x25_usrreq.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/x25_util.o /usr/sunlink/x25/sys/`arch`/OBJ
cp `arch`/hdlc_ctl.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc
cp `arch`/hdlc_in.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc
cp `arch`/hdlc_out.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc
cp `arch`/if_hdlc.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc
cp `arch`/if_llc.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc
cp `arch`/if_iip.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc
cp `arch`/llc_input.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc
cp `arch`/llc_pcb.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc
cp `arch`/llc_usrreq.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc
cp `arch`/llc_proto.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc
cp `arch`/llc_register.o /usr/sunlink/x25/sys/`arch`/OBJ.netdlc
cp man8/na.x25.8 /usr/sunlink/x25/man/man8
cp `arch`/{install.x25,hdlcconf,pad,x25config,x25mgr,x25route,x25trace,x29} /usr/sunlink/x25
cp `arch`/{hdlc.h,hdlc_ctl.h,hdlc_ioctl.h,if_llc.h,llc_pcb.h,llc_usrreq.h,llct.h} /usr/sunlink/x25/sys/netdlc
cp `arch`/{x25_ctl.h,x25_ioctl.h,x25_pk.h,x25_sys.h} /usr/sunlink/x25/sys/netx25	
Installing New Kernel:

mv /sys/netdlc/version /sys/netdlc/version.old

RUN *install.x25* script located in /usr/sunlink/x25 to rebuild a new kernel.

~

