Aar}  0 U`0@ P0 `PP0p@ HH $ @d HHHHff@  d Footnote TableFootnote**.\t.\t/ - :;,.!?& b # bTOCHeading1Heading2   /EquationVariablesB::::;;<`<<=g=  <$lastpagenum><$monthname> <$daynum>, <$year>"<$monthnum>/<$daynum>/<$shortyear>;<$monthname> <$daynum>, <$year> <$hour>:<$minute00> <$ampm>"<$monthnum>/<$daynum>/<$shortyear><$monthname> <$daynum>, <$year>"<$monthnum>/<$daynum>/<$shortyear> <$fullfilename> <$filename> <$paratext[Title]> <$paratext[Heading1]> <$curpagenum> <$marker1> <$marker2> (Continued)+ (Sheet <$tblsheetnum> of <$tblsheetcount>)Heading & Page <$paratext> on page<$pagenum>Pagepage<$pagenum>See Heading & Page%See <$paratext> on page<$pagenum>. Table All7Table<$paranumonly>, <$paratext>, on page<$pagenum>Table Number & Page'Table<$paranumonly> on page<$pagenum> A!!**AA$$&&((AHeadings4rHTML|5y::1.;2.55;6.:0::-;4.;5.;; :3.; ; ; ; ; ; ;:K7.; ;; ; ; ; ; ; ; ; ; <  < < < < < < < < < <  <" <$ <& <( <* <, <. ) >+ >- >/ >1 >3 >5 >7 >9 >; >= >? >A >C >E >G >I >K >M >O >Q >S >U >W >Y >[ >] >_ >a >c >e >g >i >k >m >o >q >s >u >w >y >{ >} > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ? ? ? ? ?  ?  ?  ? ? ? ? ? ? ? ? ? ?! ?# ?% ?' ?) ?+ ?- ?/ ?1 ?3 ?5 ?7 ?9 ?; ?= ?? ?A ?C ?E ?G ?I ?K ?M ?O ?Q ?S ?U ?W ?Y ?[ ?] ?_ ?a ?c ? ? @ @ @ @ @ @ A A AD AF A A A B BB B BB B BB B BB dqd;d9 HmR9HmRHRHR Footnote Hr@9Hr@HzHz Single LineH靕9Footnote 9  HD9 HDHH Double LineH9 Double Line9 9 H֝9  Single Line9 HZ֝9  TableFootnote EGxR9EGxREPwEPw TableFootnoted5p HH5xHH❝G܁e HH5zHH靕l $$;$$᝛xG ܁@m Z $$;$$ 靕l} ;" GeHeadings Table } ; Ge } ; Ge d:* HUV 5HUV ❝G܁e HUV 5HUV 靕l H$ 5H$ G܁e H$ 5H$ 靕l HH5HH ` Homework 2 ܁`DTotal Points:  300 Due Date:  Monday, November 2, 1998 `Y( 10 points ) Please do Exercise 14 of the handout  Robust Programming . `Y( 18 points ) Please do Exercise 20 of the handout  Robust Programming .  ( 20 points ) Which of the four basic principles of robust programming does the use of the function  gets (3) violate? c@Please justify your answer.  r {( 20 points ) Please classify the flaws exploited in the attacks on the Michigan Terminal System and the Burroughs ~@OB6700 under the PA and RISOS classifications. Remember to justify your answer.  灣 |( 32 points ) Please show that the PA classifications and RISOS classifications cover the same categories of flaws. Hint : If  x  is a flaw in the improper initial protection domain class of PA, in which class or classes might it fall @in the RISOS classification?  ( 50 points ) Please do exercise 17 of the handout  Robust Programming . The source code for the current version of 0the  qlib  library is available from the class web page (you will need  both  the header file and the source code). qDont forget to change all the functions so the library works correctly, is robust, and is well commented. Remem@$ber to keep the interface the same!  ( 150 points ) Read the book  The Prince  by Niccol Machiavelli. Then please write an essay either affirming or pہvrefuting the following thesis: The rights and obligations of the security officer of a system (who is responsible for nmaintaining the security of the system) are analogous to those of a prince, as described by Machiavelli. Your qessay should be at least 4 pages long and no more than 8 pages long (or between 240 and 480 lines, if you submit @ ASCII text). HH5HH靕lH$ :!H$  靕l H$ :H$ WC܁܁l;October 19, 1998 ECS 153 Fall 1998  U1 V HUV :*HUV ))靕l}l;-lGeHeading Level d:$(H$ :#&H$ %%靕l H$ :#H$ ❝$W܁܁`/SETDATE(1)UNIX Programmers ManualSETDATE(1) HUV :#$(HUV '' 靕l HUV :#HUV ❝&W ܁܁l+UC Davis localOctober 1, 1998 W# X HH:#&HH,, 靕l HUV :HUV ❝!WD܁܁a HH:!HH++靕l HH:HH❝*WE܁܁` HH:#HH❝(W ܁܁` };".GeParagraph Format };-/Ge Comments }l;.0lGe4 };/1睝G܁e Due Date };0Ge d;44 $$;2$$(h4(_ZUPKFA<72- seim }yuq\_bPTX58;MJGDA>G܁@m ` _ ^ ] \ [ $$;2$$,33 靕l} ;p[8 qGeCharacter Macros } ;p qGe } ;p qGe }H;p59HqGe Character };p8:qGe Replace With };p9;qGe Comments }H;p:<HqG e };p;=qG!e¢ };p@qG$e... }<p?qG%e }H<pFBHqG&e }<pACqG'e- }<pB>qG(e }H<pIEHq G)e }<pDFq G*e-- }<pEAq G+e }H<pLHHq G,e }<pGIq G-e° }e }h }<pcPq GLe } <*ui + GMeSystem Macros } <* + GNe } <* + GOe } <* + GPe }h<*ejh+ GQe Macro Name }h<*ikh+ GRe Replace With }h<*jlh+ GSeHead }h<*kmh+ GTe Comments }h:<*lnh:+ GUe StartOfDoc }h:<*moh:+ GVe }h:<*nph::+ [e W���e <$defaulttitle> Y���e AZe }h:<*o h:+ GXe }h<*xrh+ G\eEndOfLastSubDoc }h<*qsh+ G]e }h<*rth+ G^e }h<*sh+ G_e }h:<*|vh:+ G`eStartOfLastSubDoc }h:<*uwh:+ Gae }h:=*vxh::+ e b���e <$defaulttitle> ~���e Ae }h:=*wqh:+ Gce }h=*zh+ GdeEndOfFirstSubDoc }h=*y{h+ Gee }h=*z|h+ Gfe }h= *{uh+ Gge }h:= *~h:+ GheStartOfFirstSubDoc }h:=*}h:+ Gie }h:=*~h::+ }e j���e <$defaulttitle> {���e A|e }h:=*yh:+ Gke }h=*h+ Gle EndOfSubDoc }h=*h+ Gme }h=*h+ Gne }h=*}h+ Goe }h:=* h:+ GpeStartOfSubDoc }h:=*h:+ Gqe }h:= *h::+ ze r���e <$defaulttitle> x���e Aye }h:="*h:+ Gse }h=$*p h+ Gte EndOfDoc }h=&* h+ Gue }h=(* h+ Gve }h=** h+ Gwe } =h*1 + GeHTML Options Table } =j* + Ge } =l* + Ge }=n* + GeControl }=p*+ GeValue }H=r*H+ Ge Comments }=t*+ Ge Image Format }=v*+ g% 0001IMAGGIF E MACP0001GIF }H=x*sH+ G e } =2 3 G eHTML Mapping Table } =2 3 G e } =2 3 G e } =2 3 G e } =2 3 Ge }.=2.3 !GeFrameMaker Source Item }~=2~3 !Ge HTML Item }6=263 !Ge }6.=26.3 !g%Include EAuto# }.=2!.3 !Ge Comments }=23 "Ge }H=2"H3 "GeElement }6=2!%63 "g%New Web EPage? }6=263 "Ge }=23 "Ge }=2"&3 #GeP:Body }H=2%'H3 #GeP }6=2&(63 #GeN }6=2')63 #GeN }=2(k3 #Ge d=,, $$=*$$_t,_ZUPKFA<72- seim }yuq\_bPTX58;MJGDA>$$=*$$4r++ 靕l}=*6.+ $GeX:Table Number & Page }H=*-/H+ $G e See Also }6=*.06+ $G!eN }6=*/16+ $G"eN }=*0 + $G#e }=*;3+ %G$e X:Table All }H=*24H+ %G%e See Also }6=*356+ %G&eN }6=*466+ %G'eN }=*5-+ %G(e }=*@8+ &G)eX:See Heading & Page }H=*79H+ &G*e See Also }6=*8:6+ &G+eN }6=*9;6+ &G,eN }=*:2+ &G-e }=*E=+ 'G.eX:Page }H=*<>H+ 'G/e See Also }6>*=?6+ 'G0eN }6>*>@6+ 'G1eN }>*?7+ 'G2e }>*JB+ (G3eX:Heading & Page }H>*ACH+ (G4e See Also }6> *BD6+ (G5eN }6> *CE6+ (G6eN }>*D<+ (G7e }>*OG+ )G8eC:EquationVariables }H>*FHH+ )G9eEM }6>*GI6+ )G:eN }6>*HJ6+ )G;eN }>*IA+ )G<e }>*TL+ *G=e C:Emphasis }H>*KMH+ *G>eEM }6>*LN6+ *G?eN }6> *MO6+ *G@eN }>"*NF+ *GAe }>$*YQ+ +GBeC:Code }H>&*PRH+ +GCeEM }6>(*QS6+ +GDeN }6>**RT6+ +GEeN }>,*SK+ +GFe }>.*^V+ ,GGeC:Bold }H>0*UWH+ ,GHeEM }6>2*VX6+ ,GIeN }6>4*WY6+ ,GJeN }>6*XP+ ,GKe }>8*c[+ -GLeP:Title }H>:*Z\H+ -GMeH* }6><*[]6+ -GNeN }6>>*\^6+ -GOeN }>@*]U+ -GPe },>B*`,+ .GQe P:TableTitle }H,>D*_aH,,+ .ReLI le Parent = OL Ame Depth = 0 }6,>F*`b6,+ .GSeN }6,>H*ac6,+ .GTeN },>J*bZ,+ .GUe }>L2me3 /GVeP:TableFootnote }H>N2dfH3 /GWeP }6>P2eg63 /GXeN }6>R2fh63 /GYeN }>T2g3 /GZe }>V2rj3 0G[eP:Rule }H>X2ikH3 0G\eP }6>Z2jl63 0G]eN }6>\2km63 0G^eN }>^2ld3 0G_e }>`2wo3 1G`e P:Numbered1 }H>b2npH3 1GaeH* }6>d2oq63 1GbeN }6>f2pr63 1GceN }>h2qi3 1Gde },>j2|t,3 2Gee P:Numbered }H,>l2suH,,3 2feLI je Parent = OL Ake Depth = 0 }6,>n2tv6,3 2GgeN }6,>p2uw6,3 2GheN },>r2vn,3 2Gie }>t2y3 3GjeP:Mapping Table Title }H>v2xzH3 3GkeP }6>x2y{63 3GleN }6>z2z|63 3GmeN }>|2{s3 3Gne }>~2~3 4GoeP:Mapping Table Cell }H>2}H3 4GpeP }6>2~63 4GqeN }6>263 4GreN }>2x3 4Gse }>2 3 5GteP:ManHeading2 }H>2H3 5GueP }6>263 5GveN }6>263 5GweN }>2}3 5Gxe }>23 6Gye P:ManHeading }H>2 H3 6GzeP }6>2 63 6G{eN }6>2 63 6G|eN }>2 3 6G}e }>2 3 7G~e P:ManBody }H>2 H3 7GeP }6>2 63 7GeN }6>263 7GeN }>23 7Ge },>2,3 8Ge P:LetteredA }H,>2H,,3 8eLI he Parent = OL Aie Depth = 0 }6,>26,3 8GeN }6,>26,3 8GeN },>2 ,3 8Ge },>2,3 9Ge P:Lettered }H,>2H,,3 9 eLI fe Parent = OL Age Depth = 0 }6,>26,3 9G eN }6,>26,3 9G eN },>2,3 9G e }>2$3 :G e P:Indented }H>2H3 :GeP }6>263 :GeN }6>263 :GeN }>23 :Ge }>2)!3 ;GeP:HeadingRunIn }H>2 "H3 ;GeP }6>2!#63 ;GeN }6>2"$63 ;GeN }>2#3 ;Ge }>2.&3 <Ge P:Heading2 }H>2%'H3 <GeH* }6>2&(63 <GeN }6>2')63 <GeN }>2( 3 <Ge }>23+3 =Ge P:Heading1 }H>2*,H3 =GeH* }6>2+-63 =GeN }6>2,.63 =GeN }>2-%3 =G e }>2803 >G!eP:Heading Info }H>2/1H3 >G"eP }6>20263 >G#eN }6>21363 >G$eN }>22*3 >G%e }>2=53 ?G&eP:Hand }H>246H3 ?G'eP }6>25763 ?G(eN }6>26863 ?G)eN }>27/3 ?G*e }>2B:3 @G+e P:Footnote }H>29;H3 @G,eP }6>2:<63 @G-eN }6>2;=63 @G.eN }>2<43 @G/e },?2G?,3 AG0e P:Exercise }H,?2>@H,,3 A1eLI de Parent = OL Aee Depth = 0 }6,?2?A6,3 AG2eN }6,?2@B6,3 AG3eN },?2A9,3 AG4e }? 2LD3 BG5e P:Due Date }H? 2CEH3 BG6eH* }6?2DF63 BG7eN }6?2EG63 BG8eN }?2F>3 BG9e }?2QI3 CG:e P:CodeIndent }H?2HJH3 CG;eP }6?2IK63 CG<eN }6?2JL63 CG=eN }?2KC3 CG>e }?2VN3 DG?e P:CodeCenter }H? 2MOH3 DG@eP }6?"2NP63 DGAeN }6?$2OQ63 DGBeN }?&2PH3 DGCe }?(2[S3 EGDeP:Code }H?*2RTH3 EGEeP }6?,2SU63 EGFeN }6?.2TV63 EGGeN }?02UM3 EGHe }?22`X3 FGIeP:CellHeading }H?42WYH3 FGJeP }6?62XZ63 FGKeN }6?82Y[63 FGLeN }?:2ZR3 FGMe }?<2e]3 GGNe P:CellBody }H?>2\^H3 GGOeP }6?@2]_63 GGPeN }6?B2^`63 GGQeN }?D2_W3 GGRe },?F2jb,3 HGSe P:Bulleted }H,?H2acH,,3 HTeLI be Parent = UL Ace Depth = 0 }6,?J2bd6,3 HGUeN }6,?L2ce6,3 HGVeN },?N2d\,3 HGWe }?P2og3 IGXe P:BodyList }H?R2fhH3 IGYeP }6?T2gi63 IGZeN }6?V2hj63 IG[eN }?X2ia3 IG\e }?Z2)l3 JG]e P:BodyCenter }H?\2kmH3 JG^eP }6?^2ln63 JG_eN }6?`2mo63 JG`eN }?b2nf3 JGae d?rr $$?p$$\@r\_bPTX58;MJGDA>$$?p$$,qq 靕l}A*t+ KGne!Copy Files Imported by Reference }A*su+ KGoeN }HA*teH+ KGpe }lB{wlLGqe1 }BvxLGr eTitle }BwLGse }lB~zlMGte5 }By{睝MGu܁e Numbered1 }BzvMGve }lB}lNGwe3 }B|~NGxe Heading2 }B}yNGye }l띜B1l띜OGze2 }띜B띜띜OG{UTe Heading1 }띜B|띜OG|e dLeftdRightd ReferenceddHeadingsd2HTMLd#UNIX Manual Paged *HTMLdpHTML2f@D 0BodyBody.  f@P0TitleBody. f@D 0.Due DateBody. f@D 0.Due DateBody. f@NE 0 Numbered1 N:.Numbered. f@N 0 Numbered N:.\t. f@N 0 Numbered N:.\t. Ŀ@@ 0Body. f@ 0 Indented. Ŀ@@ 0Mapping Table Title. Ŀ@@ 0Mapping Table Cell. Ŀ@@0Mapping Table Title. Ŀ@@ 0Mapping Table Cell. Ŀ@@ 0Header Double Line. f@T 0 TableTitleT:Table : . Ŀ@@ 0Mapping Table Cell. Ŀ@@0Mapping Table Cell. f@ 0 CellFooting. f@E 0 BulletedBulleted. f@ 0 Footnote. Ŀ@@ 0Footer. f@T 0Heading2Body. f@T 0 HeadingRunInBody. Ŀ@@ 0Mapping Table Cell. f@D 0BodyBody. $f@AE 0$. LetteredA A:.Lettered. f@NE 0 Numbered1 N:.Numbered. Ŀ@@0Mapping Table Cell. f@ 0 TableFootnote. f@T 0 TableTitleT:Table : . f@T0Heading1Body. $f@A 0$. Lettered A:.\t. f@D 0 BodyCenterBody. f@ 0Rule. @    $H.l..... .D.h....Code. Ŀ@@ 0 $ H l      D h  ManHeading. f@P 0 Heading InfoBody. f@ 0 CellHeading. f@H 0ExerciseBoldH:Exercise . . f@ 0 CellHeading. f@ 0 Hand. f@ 0CellBody. @    $H.l..... .D.h.... CodeCenter.  f@P0TitleBody. f@ 0Body. $$f@D 0BodyListBody. $@    $H.l..... .D.h.... CodeIndent. Ŀ@@ 0 ManHeading2. Ŀ@@ 0 ManHeading2. Ŀ@@ 0 $ H l      D h  ManBody. f@ 0CellBody.  00 0 0蜜 0蜜 0 0 00蜜Emphasis 3300蜜EquationVariables/Bold  ۸  Code 00 0 00 0蜜 0蜜ThinMediumDoubleThick@ Very Thin H&5H&5H&5H&5H&5Format A H Mapping Table H&5H&5H&5H&5H&5Format B H Mapping Table WLlh pH  hhh   ( hhhh . KH>( $H66O "-.O/01h q567hq89:h q;<=hq>?@h qABCh qD E F h qG H I h qJ K L h qM N O  qP Q R S  qTUVWqXYZ[ q\]^q_`aqbcd +efgh+ijkl:+mnop+qrst:+uvwx+yz{|:+}~+:++     + +K+ !3      "3!!!!!!#3 "!"""#"$""J3%#&#'#(#)#%+-$.$/$0$1$&$+2%3%4%5%6%'%+7&8&9&:&;&(&+<'='>'?'@')'+A(B(C(D(E(*(+F)G)H)I)J)+)+K*L*M*N*O*,*+P+Q+R+S+T+-++U,V,W,X,Y,.,+Z-[-\-]-^-,/-+_.`.a.b.c.0.3d/e/f/g/h/1/3i0j0k0l0m0203n1o1p1q1r1,313s2t2u2v2w2423x3y3z3{3|3533}4~44446435555575366 6 6 6863 7 7777,97388888,:8399999;93:::::<:3 ;!;";#;$;=;3%<&<'<(<)<><3*=+=,=-=.=?=3/>0>1>2>3>@>34?5?6?7?8?A?39@:@;@<@=@,B@3>A?A@AAABACA3CBDBEBFBGBDB3HCICJCKCLCEC3MDNDODPDQDFD3RESETEUEVEGE3WFXFYFZF[FHF3\G]G^G_G`G,IG3aHbHcHdHeHJH3fIgIhIiIjI#I3kJlJmJnJoJ+sKtKuKMvLwLxLNLyMzM{MOM|N}N~N띜NOOOComment::d BlackT!WhiteddARedddŝGreendd BluedCyandMagentad YellowHeader/Footer $1Header/Footer $1Header/Footer $2Header/Footer $2IndexIndexCommentCommentSubjectSubjectAuthorAuthorGlossaryGlossaryEquationEquation Hypertext Hypertext  Cross-Ref Cross-Ref Conditional TextConditional TextPositionFMPrivatePositionFMPrivateRangeEndFMPrivateRangeEndFMPrivate HTML Macro HTML Macro M.Times.P Times-Roman FrameRoman M.Times.B Times-Bold FrameRoman M.Courier.PCourier FrameRoman M.Times.BITimes-BoldItalic FrameRoman M.Helvetica.BHelvetica-Bold FrameRoman M.Times.I Times-Italic FrameRoman9 Courier Helvetica/Times!Regular#Roman MediumBoldRegularItalicG߸-E֯J`#}瓧c5aѐ%hL=pL }Iq Ç9n㑜yb9Jƛ*>&gia\; XX:XLfU`;_"X+f]x'5j QpRo%e| N