home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3296 < prev    next >
SHell self-extracting ARchive  |  1991-05-07  |  74.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: SHell self-extracting ARchive (archive/shar).

You can browse this item here: 3296

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news or mail, ASCII text default
100% TrID E-Mail message (Var. 2) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/329 Shell Archive Format default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/rfc822 default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 3a 20 62 72 | 6e 73 74 6e 64 40 6b 72 |From: br|nstnd@kr|
|00000010| 61 6d 64 65 6e 2e 61 63 | 66 2e 6e 79 75 2e 65 64 |amden.ac|f.nyu.ed|
|00000020| 75 20 28 44 61 6e 20 42 | 65 72 6e 73 74 65 69 6e |u (Dan B|ernstein|
|00000030| 29 0a 4e 65 77 73 67 72 | 6f 75 70 73 3a 20 61 6c |).Newsgr|oups: al|
|00000040| 74 2e 73 6f 75 72 63 65 | 73 0a 53 75 62 6a 65 63 |t.source|s.Subjec|
|00000050| 74 3a 20 6b 73 74 75 66 | 66 20 30 2e 31 38 20 28 |t: kstuf|f 0.18 (|
|00000060| 70 61 72 74 20 31 2f 36 | 29 0a 4d 65 73 73 61 67 |part 1/6|).Messag|
|00000070| 65 2d 49 44 3a 20 3c 35 | 37 37 31 3a 4d 61 79 37 |e-ID: <5|771:May7|
|00000080| 30 34 3a 31 35 3a 33 31 | 39 31 40 6b 72 61 6d 64 |04:15:31|91@kramd|
|00000090| 65 6e 2e 61 63 66 2e 6e | 79 75 2e 65 64 75 3e 0a |en.acf.n|yu.edu>.|
|000000a0| 44 61 74 65 3a 20 37 20 | 4d 61 79 20 39 31 20 30 |Date: 7 |May 91 0|
|000000b0| 34 3a 31 35 3a 33 31 20 | 47 4d 54 0a 0a 6b 73 74 |4:15:31 |GMT..kst|
|000000c0| 75 66 66 20 69 6e 63 6c | 75 64 65 73 20 61 20 77 |uff incl|udes a w|
|000000d0| 68 6f 6c 65 20 62 75 6e | 63 68 20 6f 66 20 73 74 |hole bun|ch of st|
|000000e0| 75 66 66 20 72 65 6c 61 | 74 65 64 20 74 6f 20 72 |uff rela|ted to r|
|000000f0| 65 61 64 69 6e 67 20 74 | 68 65 20 6b 65 72 6e 65 |eading t|he kerne|
|00000100| 6c 2c 0a 69 6e 63 6c 75 | 64 69 6e 67 20 70 66 66 |l,.inclu|ding pff|
|00000110| 2c 20 61 20 6d 6f 72 65 | 20 70 6f 72 74 61 62 6c |, a more| portabl|
|00000120| 65 2c 20 69 6d 70 72 6f | 76 65 64 20 76 65 72 73 |e, impro|ved vers|
|00000130| 69 6f 6e 20 6f 66 20 6f | 66 69 6c 65 73 2f 66 73 |ion of o|files/fs|
|00000140| 74 61 74 2e 20 4f 66 0a | 6c 6f 6e 67 2d 74 65 72 |tat. Of.|long-ter|
|00000150| 6d 20 69 6e 74 65 72 65 | 73 74 20 61 72 65 20 74 |m intere|st are t|
|00000160| 68 65 20 6d 61 6e 79 20 | 6b 65 72 6e 65 6c 2d 72 |he many |kernel-r|
|00000170| 65 61 64 69 6e 67 20 6c | 69 62 72 61 72 69 65 73 |eading l|ibraries|
|00000180| 2d 2d 2d 79 6f 75 20 6d | 69 67 68 74 0a 6e 65 76 |---you m|ight.nev|
|00000190| 65 72 20 68 61 76 65 20 | 74 6f 20 6f 70 65 6e 20 |er have |to open |
|000001a0| 6b 6d 65 6d 20 61 67 61 | 69 6e 2e 20 41 6c 73 6f |kmem aga|in. Also|
|000001b0| 20 68 65 72 65 20 69 73 | 20 61 6e 20 75 70 64 61 | here is| an upda|
|000001c0| 74 65 64 20 72 65 6c 65 | 61 73 65 20 6f 66 20 6d |ted rele|ase of m|
|000001d0| 79 0a 61 75 74 68 64 20 | 73 65 72 76 65 72 20 61 |y.authd |server a|
|000001e0| 6e 64 20 61 75 74 68 75 | 73 65 72 20 63 6c 69 65 |nd authu|ser clie|
|000001f0| 6e 74 20 52 46 43 20 39 | 33 31 20 69 6d 70 6c 65 |nt RFC 9|31 imple|
|00000200| 6d 65 6e 74 61 74 69 6f | 6e 2c 20 61 6e 64 20 61 |mentatio|n, and a|
|00000210| 73 20 61 6e 20 65 78 74 | 72 61 0a 62 6f 6e 75 73 |s an ext|ra.bonus|
|00000220| 20 79 6f 75 20 67 65 74 | 20 66 69 6e 64 69 6e 6f | you get| findino|
|00000230| 64 65 2c 20 61 20 75 73 | 65 72 2d 6c 65 76 65 6c |de, a us|er-level|
|00000240| 20 72 65 76 65 72 73 65 | 20 6e 61 6d 65 69 20 66 | reverse| namei f|
|00000250| 6f 72 20 42 53 44 20 73 | 79 73 74 65 6d 73 20 77 |or BSD s|ystems w|
|00000260| 69 74 68 0a 6e 64 62 6d | 2e 20 49 20 73 74 6f 6c |ith.ndbm|. I stol|
|00000270| 65 20 61 20 66 65 77 20 | 70 69 65 63 65 73 20 6f |e a few |pieces o|
|00000280| 66 20 63 6f 64 65 20 66 | 72 6f 6d 20 76 61 72 69 |f code f|rom vari|
|00000290| 6f 75 73 20 76 65 72 73 | 69 6f 6e 73 20 6f 66 20 |ous vers|ions of |
|000002a0| 6f 66 69 6c 65 73 20 28 | 61 73 0a 69 6e 64 69 63 |ofiles (|as.indic|
|000002b0| 61 74 65 64 20 69 6e 20 | 74 68 65 20 73 6f 75 72 |ated in |the sour|
|000002c0| 63 65 29 2e 20 45 76 65 | 72 79 74 68 69 6e 67 20 |ce). Eve|rything |
|000002d0| 65 6c 73 65 20 68 65 72 | 65 20 69 73 20 70 75 62 |else her|e is pub|
|000002e0| 6c 69 63 2d 64 6f 6d 61 | 69 6e 2e 0a 0a 41 74 20 |lic-doma|in...At |
|000002f0| 76 61 72 69 6f 75 73 20 | 74 69 6d 65 73 20 76 61 |various |times va|
|00000300| 72 69 6f 75 73 20 70 61 | 72 74 73 20 6f 66 20 6b |rious pa|rts of k|
|00000310| 73 74 75 66 66 20 68 61 | 76 65 20 62 65 65 6e 20 |stuff ha|ve been |
|00000320| 72 75 6e 20 75 6e 64 65 | 72 20 65 61 63 68 20 6f |run unde|r each o|
|00000330| 66 0a 74 68 65 73 65 20 | 73 79 73 74 65 6d 73 3a |f.these |systems:|
|00000340| 20 53 75 6e 4f 53 20 34 | 2e 30 2e 33 2c 20 53 75 | SunOS 4|.0.3, Su|
|00000350| 6e 4f 53 20 34 2e 31 2c | 20 55 6c 74 72 69 78 20 |nOS 4.1,| Ultrix |
|00000360| 32 2e 32 2c 20 55 6c 74 | 72 69 78 20 34 2e 31 2c |2.2, Ult|rix 4.1,|
|00000370| 20 42 53 44 0a 34 2e 33 | 2d 54 61 68 6f 65 2c 20 | BSD.4.3|-Tahoe, |
|00000380| 43 6f 6e 76 65 78 20 55 | 4e 49 58 20 39 2e 30 2c |Convex U|NIX 9.0,|
|00000390| 20 44 79 6e 69 78 20 33 | 2e 30 2e 31 37 2e 20 49 | Dynix 3|.0.17. I|
|000003a0| 66 20 79 6f 75 27 72 65 | 20 69 6e 74 65 72 65 73 |f you're| interes|
|000003b0| 74 65 64 20 69 6e 0a 70 | 6f 72 74 69 6e 67 20 74 |ted in.p|orting t|
|000003c0| 68 65 73 65 20 70 72 6f | 67 72 61 6d 73 20 6f 72 |hese pro|grams or|
|000003d0| 20 6c 69 62 72 61 72 69 | 65 73 20 74 6f 20 6f 74 | librari|es to ot|
|000003e0| 68 65 72 20 42 53 44 20 | 76 61 72 69 61 6e 74 73 |her BSD |variants|
|000003f0| 2c 20 67 65 74 20 69 6e | 20 74 6f 75 63 68 0a 77 |, get in| touch.w|
|00000400| 69 74 68 20 6d 65 2e 20 | 49 66 20 79 6f 75 27 72 |ith me. |If you'r|
|00000410| 65 20 62 72 61 76 65 20 | 65 6e 6f 75 67 68 20 74 |e brave |enough t|
|00000420| 6f 20 61 74 74 65 6d 70 | 74 20 61 20 53 79 73 74 |o attemp|t a Syst|
|00000430| 65 6d 20 56 20 70 6f 72 | 74 2c 20 67 6f 6f 64 20 |em V por|t, good |
|00000440| 6c 75 63 6b 2e 0a 0a 54 | 68 69 73 20 69 73 20 6b |luck...T|his is k|
|00000450| 73 74 75 66 66 20 30 2e | 31 38 2e 20 4b 65 65 70 |stuff 0.|18. Keep|
|00000460| 20 69 6e 20 6d 69 6e 64 | 20 74 68 61 74 20 69 74 | in mind| that it|
|00000470| 27 73 20 61 6c 70 68 61 | 20 73 6f 66 74 77 61 72 |'s alpha| softwar|
|00000480| 65 2d 2d 2d 69 74 27 73 | 20 6e 6f 74 0a 73 75 70 |e---it's| not.sup|
|00000490| 70 6f 73 65 64 20 74 6f | 20 77 6f 72 6b 2c 20 61 |posed to| work, a|
|000004a0| 6e 64 20 69 66 20 69 74 | 20 68 61 70 70 65 6e 73 |nd if it| happens|
|000004b0| 20 74 6f 20 63 6f 6d 70 | 69 6c 65 20 61 6e 64 20 | to comp|ile and |
|000004c0| 69 6e 73 74 61 6c 6c 20 | 77 69 74 68 6f 75 74 20 |install |without |
|000004d0| 61 0a 68 69 74 63 68 20 | 6f 6e 20 79 6f 75 72 20 |a.hitch |on your |
|000004e0| 6d 61 63 68 69 6e 65 2c | 20 79 6f 75 20 73 68 6f |machine,| you sho|
|000004f0| 75 6c 64 20 62 65 20 68 | 61 70 70 79 2e 20 57 68 |uld be h|appy. Wh|
|00000500| 65 6e 20 79 6f 75 20 70 | 6f 73 74 20 63 6f 6e 73 |en you p|ost cons|
|00000510| 74 72 75 63 74 69 76 65 | 0a 63 72 69 74 69 63 69 |tructive|.critici|
|00000520| 73 6d 20 6f 66 20 6b 73 | 74 75 66 66 20 74 6f 20 |sm of ks|tuff to |
|00000530| 61 6c 74 2e 73 6f 75 72 | 63 65 73 2e 64 2c 20 72 |alt.sour|ces.d, r|
|00000540| 65 6d 65 6d 62 65 72 20 | 74 68 61 74 20 49 20 64 |emember |that I d|
|00000550| 6f 6e 27 74 20 63 6f 6e | 73 69 64 65 72 20 74 68 |on't con|sider th|
|00000560| 65 0a 70 61 63 6b 61 67 | 65 20 66 69 6e 69 73 68 |e.packag|e finish|
|00000570| 65 64 2e 20 59 6f 75 20 | 73 68 6f 75 6c 64 6e 27 |ed. You |shouldn'|
|00000580| 74 20 62 65 20 63 6f 6d | 70 6c 61 69 6e 69 6e 67 |t be com|plaining|
|00000590| 20 74 68 61 74 20 74 68 | 65 20 70 61 63 6b 61 67 | that th|e packag|
|000005a0| 65 20 64 6f 65 73 6e 27 | 74 0a 64 6f 20 73 6f 6d |e doesn'|t.do som|
|000005b0| 65 74 68 69 6e 67 2e 20 | 59 6f 75 20 73 68 6f 75 |ething. |You shou|
|000005c0| 6c 64 20 62 65 20 65 78 | 70 6c 61 69 6e 69 6e 67 |ld be ex|plaining|
|000005d0| 20 79 6f 75 72 20 6e 65 | 65 64 73 20 61 6e 64 20 | your ne|eds and |
|000005e0| 73 68 6f 77 69 6e 67 20 | 68 6f 77 20 6b 73 74 75 |showing |how kstu|
|000005f0| 66 66 0a 31 2e 30 30 20 | 63 6f 75 6c 64 20 66 75 |ff.1.00 |could fu|
|00000600| 6c 66 69 6c 6c 20 74 68 | 65 6d 2e 0a 0a 2d 2d 2d |lfill th|em...---|
|00000610| 44 61 6e 20 42 65 72 6e | 73 74 65 69 6e 2c 20 62 |Dan Bern|stein, b|
|00000620| 72 6e 73 74 6e 64 40 6e | 79 75 2e 65 64 75 0a 0a |rnstnd@n|yu.edu..|
|00000630| 23 21 20 2f 62 69 6e 2f | 73 68 0a 23 20 54 68 69 |#! /bin/|sh.# Thi|
|00000640| 73 20 69 73 20 61 20 73 | 68 65 6c 6c 20 61 72 63 |s is a s|hell arc|
|00000650| 68 69 76 65 2e 20 20 52 | 65 6d 6f 76 65 20 61 6e |hive. R|emove an|
|00000660| 79 74 68 69 6e 67 20 62 | 65 66 6f 72 65 20 74 68 |ything b|efore th|
|00000670| 69 73 20 6c 69 6e 65 2c | 20 74 68 65 6e 20 75 6e |is line,| then un|
|00000680| 70 61 63 6b 0a 23 20 69 | 74 20 62 79 20 73 61 76 |pack.# i|t by sav|
|00000690| 69 6e 67 20 69 74 20 69 | 6e 74 6f 20 61 20 66 69 |ing it i|nto a fi|
|000006a0| 6c 65 20 61 6e 64 20 74 | 79 70 69 6e 67 20 22 73 |le and t|yping "s|
|000006b0| 68 20 66 69 6c 65 22 2e | 20 20 54 6f 20 6f 76 65 |h file".| To ove|
|000006c0| 72 77 72 69 74 65 20 65 | 78 69 73 74 69 6e 67 0a |rwrite e|xisting.|
|000006d0| 23 20 66 69 6c 65 73 2c | 20 74 79 70 65 20 22 73 |# files,| type "s|
|000006e0| 68 20 66 69 6c 65 20 2d | 63 22 2e 20 20 59 6f 75 |h file -|c". You|
|000006f0| 20 63 61 6e 20 61 6c 73 | 6f 20 66 65 65 64 20 74 | can als|o feed t|
|00000700| 68 69 73 20 61 73 20 73 | 74 61 6e 64 61 72 64 20 |his as s|tandard |
|00000710| 69 6e 70 75 74 20 76 69 | 61 0a 23 20 75 6e 73 68 |input vi|a.# unsh|
|00000720| 61 72 2c 20 6f 72 20 62 | 79 20 74 79 70 69 6e 67 |ar, or b|y typing|
|00000730| 20 22 73 68 20 3c 66 69 | 6c 65 22 2c 20 65 2e 67 | "sh <fi|le", e.g|
|00000740| 2e 2e 20 20 49 66 20 74 | 68 69 73 20 61 72 63 68 |.. If t|his arch|
|00000750| 69 76 65 20 69 73 20 63 | 6f 6d 70 6c 65 74 65 2c |ive is c|omplete,|
|00000760| 20 79 6f 75 0a 23 20 77 | 69 6c 6c 20 73 65 65 20 | you.# w|ill see |
|00000770| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 6d 65 |the foll|owing me|
|00000780| 73 73 61 67 65 20 61 74 | 20 74 68 65 20 65 6e 64 |ssage at| the end|
|00000790| 3a 0a 23 09 09 22 45 6e | 64 20 6f 66 20 61 72 63 |:.#.."En|d of arc|
|000007a0| 68 69 76 65 20 31 20 28 | 6f 66 20 36 29 2e 22 0a |hive 1 (|of 6).".|
|000007b0| 23 20 43 6f 6e 74 65 6e | 74 73 3a 20 20 52 45 41 |# Conten|ts: REA|
|000007c0| 44 4d 45 20 52 45 41 44 | 4d 45 2e 61 75 74 68 64 |DME READ|ME.authd|
|000007d0| 20 61 75 72 65 61 64 2e | 68 20 61 75 74 68 75 73 | auread.|h authus|
|000007e0| 65 72 2e 68 20 61 76 65 | 6e 72 75 6e 2e 68 0a 23 |er.h ave|nrun.h.#|
|000007f0| 20 20 20 62 6f 6f 74 74 | 69 6d 65 2e 68 20 63 6f | boott|ime.h co|
|00000800| 6e 66 63 6c 6f 6e 65 64 | 65 76 2e 68 20 63 6f 6e |nfcloned|ev.h con|
|00000810| 66 63 6f 6e 76 65 78 66 | 69 6c 65 67 61 72 62 61 |fconvexf|ilegarba|
|00000820| 67 65 2e 68 0a 23 20 20 | 20 63 6f 6e 66 63 6f 6e |ge.h.# | confcon|
|00000830| 76 65 78 72 70 63 6e 66 | 73 2e 68 20 63 6f 6e 66 |vexrpcnf|s.h conf|
|00000840| 63 6f 6e 76 65 78 73 79 | 73 66 69 6c 65 2e 68 20 |convexsy|sfile.h |
|00000850| 63 6f 6e 66 64 65 76 74 | 2e 68 20 63 6f 6e 66 64 |confdevt|.h confd|
|00000860| 6f 6d 61 69 6e 2e 68 0a | 23 20 20 20 63 6f 6e 66 |omain.h.|# conf|
|00000870| 65 74 63 63 6f 6e 66 68 | 66 69 6c 65 68 2e 68 20 |etcconfh|fileh.h |
|00000880| 63 6f 6e 66 66 63 72 65 | 64 70 74 72 2e 68 20 63 |conffcre|dptr.h c|
|00000890| 6f 6e 66 66 72 65 65 2e | 68 20 63 6f 6e 66 67 65 |onffree.|h confge|
|000008a0| 74 75 73 65 72 63 6f 6e | 76 65 78 2e 68 0a 23 20 |tusercon|vex.h.# |
|000008b0| 20 20 63 6f 6e 66 67 65 | 74 75 73 65 72 64 79 6e | confge|tuserdyn|
|000008c0| 69 78 2e 68 20 63 6f 6e | 66 67 65 74 75 73 65 72 |ix.h con|fgetuser|
|000008d0| 6d 69 70 73 2e 68 20 63 | 6f 6e 66 67 65 74 75 73 |mips.h c|onfgetus|
|000008e0| 65 72 73 75 70 70 6f 72 | 74 2e 68 0a 23 20 20 20 |ersuppor|t.h.# |
|000008f0| 63 6f 6e 66 67 6e 6f 64 | 65 2e 68 20 63 6f 6e 66 |confgnod|e.h conf|
|00000900| 68 61 76 65 70 66 6c 61 | 67 2e 68 20 63 6f 6e 66 |havepfla|g.h conf|
|00000910| 68 61 76 65 70 70 69 64 | 2e 68 20 63 6f 6e 66 68 |haveppid|.h confh|
|00000920| 61 76 65 70 73 75 69 64 | 2e 68 0a 23 20 20 20 63 |avepsuid|.h.# c|
|00000930| 6f 6e 66 68 61 76 65 75 | 63 72 65 64 2e 68 20 63 |onfhaveu|cred.h c|
|00000940| 6f 6e 66 68 61 76 65 75 | 73 69 67 69 6e 74 72 2e |onfhaveu|sigintr.|
|00000950| 68 20 63 6f 6e 66 68 61 | 76 65 76 6d 73 65 67 2e |h confha|vevmseg.|
|00000960| 68 20 63 6f 6e 66 69 74 | 79 70 65 2e 68 0a 23 20 |h confit|ype.h.# |
|00000970| 20 20 63 6f 6e 66 6b 76 | 6d 2e 68 20 63 6f 6e 66 | confkv|m.h conf|
|00000980| 6c 6f 61 64 61 76 67 6c | 6f 6e 67 2e 68 20 63 6f |loadavgl|ong.h co|
|00000990| 6e 66 6d 61 6a 6f 72 6d | 69 6e 6f 72 2e 68 20 63 |nfmajorm|inor.h c|
|000009a0| 6f 6e 66 6d 61 6c 6c 6f | 63 2e 68 0a 23 20 20 20 |onfmallo|c.h.# |
|000009b0| 63 6f 6e 66 6d 6e 74 65 | 6e 74 2e 68 20 63 6f 6e |confmnte|nt.h con|
|000009c0| 66 6d 6e 74 75 6c 74 2e | 68 20 63 6f 6e 66 6e 65 |fmntult.|h confne|
|000009d0| 65 64 61 72 74 6f 73 70 | 74 65 2e 68 20 63 6f 6e |edartosp|te.h con|
|000009e0| 66 6e 65 65 64 6d 61 63 | 68 70 61 72 61 6d 2e 68 |fneedmac|hparam.h|
|000009f0| 0a 23 20 20 20 63 6f 6e | 66 6e 65 65 64 6d 6e 74 |.# con|fneedmnt|
|00000a00| 69 6e 66 6f 2e 68 20 63 | 6f 6e 66 6e 66 73 2e 68 |info.h c|onfnfs.h|
|00000a10| 20 63 6f 6e 66 6e 6c 69 | 73 74 6b 6e 6c 69 73 74 | confnli|stknlist|
|00000a20| 2e 68 20 63 6f 6e 66 6e | 6c 69 73 74 6d 65 61 6e |.h confn|listmean|
|00000a30| 69 6e 67 2e 68 0a 23 20 | 20 20 63 6f 6e 66 6e 6c |ing.h.# | confnl|
|00000a40| 69 73 74 75 6e 64 65 72 | 2e 68 20 63 6f 6e 66 6e |istunder|.h confn|
|00000a50| 6c 6e 61 6d 65 2e 68 20 | 63 6f 6e 66 6e 6f 6e 73 |lname.h |confnons|
|00000a60| 66 69 6e 65 74 2e 68 20 | 63 6f 6e 66 6e 6f 75 6e |finet.h |confnoun|
|00000a70| 70 61 64 64 72 2e 68 0a | 23 20 20 20 63 6f 6e 66 |paddr.h.|# conf|
|00000a80| 6f 64 6f 66 65 2e 68 20 | 63 6f 6e 66 6f 70 61 6c |odofe.h |confopal|
|00000a90| 66 2e 68 20 63 6f 6e 66 | 70 63 72 65 64 69 6e 70 |f.h conf|pcredinp|
|00000aa0| 72 6f 63 2e 68 20 63 6f | 6e 66 70 63 72 65 64 75 |roc.h co|nfpcredu|
|00000ab0| 6e 64 65 72 70 72 6f 63 | 2e 68 0a 23 20 20 20 63 |nderproc|.h.# c|
|00000ac0| 6f 6e 66 70 73 65 73 73 | 2e 68 20 63 6f 6e 66 72 |onfpsess|.h confr|
|00000ad0| 65 67 69 6f 6e 2e 68 20 | 63 6f 6e 66 72 74 79 70 |egion.h |confrtyp|
|00000ae0| 65 2e 68 20 63 6f 6e 66 | 73 6c 6f 77 73 74 61 74 |e.h conf|slowstat|
|00000af0| 2e 68 0a 23 20 20 20 63 | 6f 6e 66 73 6f 63 6b 65 |.h.# c|onfsocke|
|00000b00| 74 6e 65 65 64 73 78 6e | 6f 64 65 2e 68 20 63 6f |tneedsxn|ode.h co|
|00000b10| 6e 66 73 79 6e 63 73 65 | 6d 61 2e 68 20 63 6f 6e |nfsyncse|ma.h con|
|00000b20| 66 73 79 73 75 63 72 65 | 64 2e 68 0a 23 20 20 20 |fsysucre|d.h.# |
|00000b30| 63 6f 6e 66 74 63 70 6e | 6c 69 73 74 2e 68 20 63 |conftcpn|list.h c|
|00000b40| 6f 6e 66 74 65 78 74 2e | 68 20 63 6f 6e 66 74 65 |onftext.|h confte|
|00000b50| 78 74 6e 65 65 64 73 76 | 6d 70 61 72 61 6d 2e 68 |xtneedsv|mparam.h|
|00000b60| 20 63 6f 6e 66 74 74 79 | 76 70 2e 68 0a 23 20 20 | conftty|vp.h.# |
|00000b70| 20 63 6f 6e 66 75 6c 74 | 72 69 78 72 70 63 6e 66 | confult|rixrpcnf|
|00000b80| 73 2e 68 20 63 6f 6e 66 | 75 6e 64 65 66 73 74 64 |s.h conf|undefstd|
|00000b90| 63 62 65 66 6f 72 65 64 | 69 72 2e 68 20 63 6f 6e |cbefored|ir.h con|
|00000ba0| 66 75 73 72 70 74 6e 6c | 69 73 74 2e 68 0a 23 20 |fusrptnl|ist.h.# |
|00000bb0| 20 20 63 6f 6e 66 76 6d | 75 6e 69 78 2e 68 20 63 | confvm|unix.h c|
|00000bc0| 6f 6e 66 76 74 79 70 65 | 2e 68 20 66 69 6c 65 74 |onfvtype|.h filet|
|00000bd0| 61 62 6c 65 2e 68 20 66 | 69 6e 64 69 6e 6f 64 65 |able.h f|indinode|
|00000be0| 20 66 69 6e 64 69 6e 6f | 64 65 2f 46 49 44 44 49 | findino|de/FIDDI|
|00000bf0| 52 0a 23 20 20 20 66 69 | 6e 64 69 6e 6f 64 65 2f |R.# fi|ndinode/|
|00000c00| 46 49 4c 45 53 20 66 69 | 6e 64 69 6e 6f 64 65 2f |FILES fi|ndinode/|
|00000c10| 66 69 6e 64 69 6e 6f 64 | 65 2e 31 20 66 69 6e 64 |findinod|e.1 find|
|00000c20| 69 6e 6f 64 65 2f 66 73 | 75 70 64 61 74 65 66 69 |inode/fs|updatefi|
|00000c30| 64 0a 23 20 20 20 66 69 | 6e 64 69 6e 6f 64 65 2f |d.# fi|ndinode/|
|00000c40| 67 65 74 6f 70 74 2e 68 | 20 66 69 6e 64 69 6e 6f |getopt.h| findino|
|00000c50| 64 65 2f 75 70 64 61 74 | 65 66 69 64 2e 38 20 67 |de/updat|efid.8 g|
|00000c60| 65 74 64 65 76 69 63 65 | 6e 61 6d 65 2e 68 0a 23 |etdevice|name.h.#|
|00000c70| 20 20 20 67 65 74 66 63 | 72 65 64 2e 68 20 67 65 | getfc|red.h ge|
|00000c80| 74 6f 70 74 2e 68 20 67 | 65 74 70 63 72 65 64 2e |topt.h g|etpcred.|
|00000c90| 68 20 67 65 74 73 6f 63 | 6b 65 74 2e 68 20 67 65 |h getsoc|ket.h ge|
|00000ca0| 74 75 73 65 72 2e 68 20 | 67 65 74 76 6d 73 65 67 |tuser.h |getvmseg|
|00000cb0| 2e 68 0a 23 20 20 20 67 | 72 6f 75 70 6e 61 6d 65 |.h.# g|roupname|
|00000cc0| 2e 68 20 69 6e 70 63 62 | 6c 69 73 74 2e 68 20 6b |.h inpcb|list.h k|
|00000cd0| 6d 65 6d 2e 68 20 6d 61 | 6c 6c 6f 63 66 72 65 65 |mem.h ma|llocfree|
|00000ce0| 2e 68 20 6d 6d 65 6d 2e | 68 20 6d 6e 74 6f 70 73 |.h mmem.|h mntops|
|00000cf0| 2e 68 0a 23 20 20 20 6e | 65 74 69 6e 70 2e 68 20 |.h.# n|etinp.h |
|00000d00| 6e 6c 69 73 74 6c 69 73 | 74 2e 68 20 6e 75 6d 65 |nlistlis|t.h nume|
|00000d10| 72 69 63 2e 63 20 6e 75 | 6d 65 72 69 63 2e 68 20 |ric.c nu|meric.h |
|00000d20| 70 6f 72 74 6e 61 6d 65 | 2e 68 20 70 72 69 6e 74 |portname|.h print|
|00000d30| 66 61 6d 69 6c 79 2e 68 | 0a 23 20 20 20 70 72 69 |family.h|.# pri|
|00000d40| 6e 74 66 66 6c 61 67 2e | 68 20 70 72 69 6e 74 66 |ntfflag.|h printf|
|00000d50| 74 79 70 65 2e 68 20 70 | 72 69 6e 74 70 72 6f 74 |type.h p|rintprot|
|00000d60| 6f 69 6e 65 74 2e 68 20 | 70 72 69 6e 74 70 73 74 |oinet.h |printpst|
|00000d70| 61 74 2e 68 0a 23 20 20 | 20 70 72 69 6e 74 72 6c |at.h.# | printrl|
|00000d80| 69 6d 69 74 73 2e 68 20 | 70 72 69 6e 74 72 75 73 |imits.h |printrus|
|00000d90| 61 67 65 2e 68 20 70 72 | 69 6e 74 73 6f 63 6b 74 |age.h pr|intsockt|
|00000da0| 79 70 65 2e 68 20 70 72 | 69 6e 74 75 63 72 65 64 |ype.h pr|intucred|
|00000db0| 2e 68 0a 23 20 20 20 70 | 72 6f 63 74 61 62 6c 65 |.h.# p|roctable|
|00000dc0| 2e 68 20 72 65 76 6e 61 | 6d 65 69 2e 68 20 73 6d |.h revna|mei.h sm|
|00000dd0| 65 6d 2e 68 20 73 74 61 | 74 74 69 6d 65 6f 75 74 |em.h sta|ttimeout|
|00000de0| 2e 68 20 73 74 72 65 72 | 72 2e 68 20 73 74 72 75 |.h strer|r.h stru|
|00000df0| 63 74 6d 62 75 66 2e 68 | 0a 23 20 20 20 73 74 72 |ctmbuf.h|.# str|
|00000e00| 75 63 74 70 72 6f 63 2e | 68 20 73 74 72 75 63 74 |uctproc.|h struct|
|00000e10| 70 72 6f 74 6f 73 77 2e | 68 20 73 74 72 75 63 74 |protosw.|h struct|
|00000e20| 73 6f 63 6b 61 64 64 72 | 69 6e 2e 68 20 73 74 72 |sockaddr|in.h str|
|00000e30| 75 63 74 73 6f 63 6b 65 | 74 2e 68 0a 23 20 20 20 |uctsocke|t.h.# |
|00000e40| 73 74 72 75 63 74 74 63 | 70 2e 68 20 73 74 72 75 |structtc|p.h stru|
|00000e50| 63 74 74 65 78 74 2e 68 | 20 73 74 72 75 63 74 75 |cttext.h| structu|
|00000e60| 63 72 65 64 2e 68 20 73 | 74 72 75 63 74 75 6e 70 |cred.h s|tructunp|
|00000e70| 63 62 2e 68 20 73 74 72 | 75 63 74 75 73 65 72 2e |cb.h str|uctuser.|
|00000e80| 68 0a 23 20 20 20 75 73 | 65 72 6e 61 6d 65 2e 68 |h.# us|ername.h|
|00000e90| 20 76 69 72 74 79 70 65 | 2e 68 20 76 6d 73 74 75 | virtype|.h vmstu|
|00000ea0| 66 66 2e 68 0a 23 20 57 | 72 61 70 70 65 64 20 62 |ff.h.# W|rapped b|
|00000eb0| 79 20 62 72 6e 73 74 6e | 64 40 6b 72 61 6d 64 65 |y brnstn|d@kramde|
|00000ec0| 6e 20 6f 6e 20 4d 6f 6e | 20 4d 61 79 20 20 36 20 |n on Mon| May 6 |
|00000ed0| 32 33 3a 35 38 3a 35 31 | 20 31 39 39 31 0a 50 41 |23:58:51| 1991.PA|
|00000ee0| 54 48 3d 2f 62 69 6e 3a | 2f 75 73 72 2f 62 69 6e |TH=/bin:|/usr/bin|
|00000ef0| 3a 2f 75 73 72 2f 75 63 | 62 20 3b 20 65 78 70 6f |:/usr/uc|b ; expo|
|00000f00| 72 74 20 50 41 54 48 0a | 69 66 20 74 65 73 74 20 |rt PATH.|if test |
|00000f10| 2d 66 20 27 52 45 41 44 | 4d 45 27 20 2d 61 20 22 |-f 'READ|ME' -a "|
|00000f20| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|00000f30| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|00000f40| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|00000f50| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|00000f60| 65 20 5c 22 27 52 45 41 | 44 4d 45 27 5c 22 0a 65 |e \"'REA|DME'\".e|
|00000f70| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|00000f80| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 52 45 41 |xtractin|g \"'REA|
|00000f90| 44 4d 45 27 5c 22 20 5c | 28 36 32 31 32 20 63 68 |DME'\" \|(6212 ch|
|00000fa0| 61 72 61 63 74 65 72 73 | 5c 29 0a 73 65 64 20 22 |aracters|\).sed "|
|00000fb0| 73 2f 5e 58 2f 2f 22 20 | 3e 27 52 45 41 44 4d 45 |s/^X//" |>'README|
|00000fc0| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|00000fd0| 27 0a 58 6b 73 74 75 66 | 66 20 30 2e 31 38 2c 20 |'.Xkstuf|f 0.18, |
|00000fe0| 35 2f 36 2f 39 31 2c 20 | 44 61 6e 69 65 6c 20 4a |5/6/91, |Daniel J|
|00000ff0| 2e 20 42 65 72 6e 73 74 | 65 69 6e 2e 0a 58 0a 58 |. Bernst|ein..X.X|
|00001000| 54 68 69 73 20 63 6f 64 | 65 20 69 73 20 69 6e 20 |This cod|e is in |
|00001010| 61 6c 70 68 61 20 74 65 | 73 74 2e 20 54 68 61 74 |alpha te|st. That|
|00001020| 20 6d 65 61 6e 73 20 79 | 6f 75 20 73 68 6f 75 6c | means y|ou shoul|
|00001030| 64 6e 27 74 20 62 65 20 | 73 75 72 70 72 69 73 65 |dn't be |surprise|
|00001040| 64 20 61 74 0a 58 62 75 | 67 73 2c 20 61 6e 6e 6f |d at.Xbu|gs, anno|
|00001050| 79 69 6e 67 20 72 65 73 | 74 72 69 63 74 69 6f 6e |ying res|triction|
|00001060| 73 2c 20 65 78 63 65 65 | 64 69 6e 67 6c 79 20 70 |s, excee|dingly p|
|00001070| 6f 6f 72 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |oor docu|mentatio|
|00001080| 6e 2c 20 65 74 63 2e 0a | 58 48 6f 77 65 76 65 72 |n, etc..|XHowever|
|00001090| 2c 20 49 20 64 6f 6e 27 | 74 20 6b 6e 6f 77 20 6f |, I don'|t know o|
|000010a0| 66 20 61 6e 79 20 62 75 | 67 73 2c 20 61 6e 64 20 |f any bu|gs, and |
|000010b0| 79 6f 75 20 73 68 6f 75 | 6c 64 20 66 65 65 6c 20 |you shou|ld feel |
|000010c0| 66 72 65 65 20 74 6f 20 | 75 73 65 20 74 68 65 0a |free to |use the.|
|000010d0| 58 6c 69 62 72 61 72 69 | 65 73 20 69 6e 20 6f 74 |Xlibrari|es in ot|
|000010e0| 68 65 72 20 70 72 6f 67 | 72 61 6d 73 2e 20 53 6f |her prog|rams. So|
|000010f0| 6d 65 20 6f 66 20 74 68 | 65 20 70 72 65 76 69 6f |me of th|e previo|
|00001100| 75 73 20 63 6f 6e 74 72 | 69 62 75 74 6f 72 73 20 |us contr|ibutors |
|00001110| 74 6f 20 6f 66 69 6c 65 | 73 0a 58 6d 61 79 20 77 |to ofile|s.Xmay w|
|00001120| 61 6e 74 20 73 6f 6d 65 | 20 72 69 67 68 74 73 20 |ant some| rights |
|00001130| 74 6f 20 67 65 74 64 65 | 76 69 63 65 6e 61 6d 65 |to getde|vicename|
|00001140| 2e 63 2c 20 67 65 74 75 | 73 65 72 2e 63 2c 20 67 |.c, getu|ser.c, g|
|00001150| 65 74 76 6d 73 65 67 2e | 63 2c 0a 58 6d 6e 74 6f |etvmseg.|c,.Xmnto|
|00001160| 70 73 2e 63 2c 20 73 74 | 61 74 74 69 6d 65 6f 75 |ps.c, st|attimeou|
|00001170| 74 2e 63 2c 20 67 65 74 | 6e 6f 64 65 2e 63 2c 20 |t.c, get|node.c, |
|00001180| 61 6e 64 20 76 69 72 74 | 79 70 65 2e 63 3b 20 6f |and virt|ype.c; o|
|00001190| 74 68 65 72 20 74 68 61 | 6e 20 74 68 61 74 2c 20 |ther tha|n that, |
|000011a0| 74 68 69 73 0a 58 69 73 | 20 61 6c 6c 20 70 75 62 |this.Xis| all pub|
|000011b0| 6c 69 63 2d 64 6f 6d 61 | 69 6e 2e 20 28 4e 6f 74 |lic-doma|in. (Not|
|000011c0| 68 69 6e 67 20 68 65 72 | 65 20 69 73 20 64 65 72 |hing her|e is der|
|000011d0| 69 76 65 64 20 66 72 6f | 6d 20 61 6e 79 20 41 54 |ived fro|m any AT|
|000011e0| 26 54 20 6f 72 20 42 65 | 72 6b 65 6c 65 79 0a 58 |&T or Be|rkeley.X|
|000011f0| 6f 72 20 47 50 4c 2d 69 | 6e 66 65 63 74 65 64 20 |or GPL-i|nfected |
|00001200| 63 6f 64 65 2e 29 20 50 | 6c 65 61 73 65 20 73 65 |code.) P|lease se|
|00001210| 6e 64 20 61 6e 79 20 63 | 6f 6d 6d 65 6e 74 73 2c |nd any c|omments,|
|00001220| 20 63 72 69 74 69 63 69 | 73 6d 2c 20 6f 72 20 63 | critici|sm, or c|
|00001230| 6f 64 65 20 74 6f 0a 58 | 6d 65 20 61 74 20 62 72 |ode to.X|me at br|
|00001240| 6e 73 74 6e 64 40 6e 79 | 75 2e 65 64 75 2e 0a 58 |nstnd@ny|u.edu..X|
|00001250| 0a 58 42 65 20 73 75 72 | 65 20 74 6f 20 61 70 70 |.XBe sur|e to app|
|00001260| 6c 79 20 74 68 65 20 63 | 68 61 6e 67 65 73 20 69 |ly the c|hanges i|
|00001270| 6e 64 69 63 61 74 65 64 | 20 61 74 20 74 68 65 20 |ndicated| at the |
|00001280| 74 6f 70 20 6f 66 20 4d | 61 6b 65 66 69 6c 65 20 |top of M|akefile |
|00001290| 66 6f 72 20 79 6f 75 72 | 0a 58 73 79 73 74 65 6d |for your|.Xsystem|
|000012a0| 2e 20 50 61 72 74 69 63 | 75 6c 61 72 20 74 68 61 |. Partic|ular tha|
|000012b0| 6e 6b 73 20 74 6f 20 56 | 69 63 20 41 62 65 6c 6c |nks to V|ic Abell|
|000012c0| 20 66 6f 72 20 70 6f 72 | 74 61 62 69 6c 69 74 79 | for por|tability|
|000012d0| 20 6d 6f 64 73 2c 20 62 | 75 67 20 66 69 78 65 73 | mods, b|ug fixes|
|000012e0| 2c 0a 58 61 6e 64 20 65 | 78 74 65 6e 73 69 76 65 |,.Xand e|xtensive|
|000012f0| 20 74 65 73 74 69 6e 67 | 2e 0a 58 0a 58 54 68 69 | testing|..X.XThi|
|00001300| 73 20 70 61 63 6b 61 67 | 65 20 69 6e 63 6c 75 64 |s packag|e includ|
|00001310| 65 73 2c 20 61 6d 6f 6e | 67 20 6f 74 68 65 72 20 |es, amon|g other |
|00001320| 74 68 69 6e 67 73 3a 20 | 6c 6f 61 64 2c 20 61 20 |things: |load, a |
|00001330| 66 61 73 74 20 76 65 72 | 73 69 6f 6e 20 6f 66 0a |fast ver|sion of.|
|00001340| 58 75 70 74 69 6d 65 3b | 20 70 66 66 2c 20 61 6e |Xuptime;| pff, an|
|00001350| 20 69 6d 70 72 6f 76 65 | 64 20 72 65 70 6c 61 63 | improve|d replac|
|00001360| 65 6d 65 6e 74 20 66 6f | 72 20 6f 66 69 6c 65 73 |ement fo|r ofiles|
|00001370| 2f 66 73 74 61 74 3b 20 | 61 75 74 68 64 2c 20 61 |/fstat; |authd, a|
|00001380| 20 72 65 76 69 73 65 64 | 0a 58 76 65 72 73 69 6f | revised|.Xversio|
|00001390| 6e 20 6f 66 20 74 68 65 | 20 52 46 43 20 39 33 31 |n of the| RFC 931|
|000013a0| 20 73 65 72 76 65 72 3b | 20 6e 65 74 73 74 61 74 | server;| netstat|
|000013b0| 75 69 64 73 2c 20 61 20 | 76 65 72 73 69 6f 6e 20 |uids, a |version |
|000013c0| 6f 66 20 6e 65 74 73 74 | 61 74 20 70 6c 75 73 0a |of netst|at plus.|
|000013d0| 58 75 73 65 72 6e 61 6d | 65 73 20 6f 6e 20 62 6f |Xusernam|es on bo|
|000013e0| 74 68 20 73 69 64 65 73 | 3b 20 6b 6d 65 6d 2c 20 |th sides|; kmem, |
|000013f0| 6e 6c 69 73 74 2c 20 73 | 74 72 65 72 72 2c 20 61 |nlist, s|trerr, a|
|00001400| 6e 64 20 75 20 61 72 65 | 61 20 6c 69 62 72 61 72 |nd u are|a librar|
|00001410| 69 65 73 3b 20 74 68 65 | 0a 58 61 75 74 68 75 73 |ies; the|.Xauthus|
|00001420| 65 72 20 6c 69 62 72 61 | 72 79 2e 20 53 65 65 20 |er libra|ry. See |
|00001430| 52 45 41 44 4d 45 2e 61 | 75 74 68 64 20 66 6f 72 |README.a|uthd for|
|00001440| 20 61 6e 20 75 70 64 61 | 74 65 64 20 65 78 74 72 | an upda|ted extr|
|00001450| 61 63 74 20 6f 66 20 74 | 68 65 0a 58 61 75 74 68 |act of t|he.Xauth|
|00001460| 64 2f 61 75 74 68 75 73 | 65 72 20 64 6f 63 75 6d |d/authus|er docum|
|00001470| 65 6e 74 61 74 69 6f 6e | 2e 0a 58 0a 58 54 6f 20 |entation|..X.XTo |
|00001480| 63 6f 6d 70 69 6c 65 2c | 20 6a 75 73 74 20 6d 61 |compile,| just ma|
|00001490| 6b 65 2e 20 54 6f 20 69 | 6e 73 74 61 6c 6c 2c 20 |ke. To i|nstall, |
|000014a0| 72 75 6e 20 49 4e 53 54 | 41 4c 4c 20 66 72 6f 6d |run INST|ALL from|
|000014b0| 20 61 20 72 6f 6f 74 20 | 73 68 65 6c 6c 2e 0a 58 | a root |shell..X|
|000014c0| 28 49 4e 53 54 41 4c 4c | 20 63 68 65 63 6b 73 20 |(INSTALL| checks |
|000014d0| 65 61 63 68 20 61 63 74 | 69 6f 6e 20 77 69 74 68 |each act|ion with|
|000014e0| 20 79 6f 75 20 62 65 66 | 6f 72 65 20 64 6f 69 6e | you bef|ore doin|
|000014f0| 67 20 69 74 2e 29 20 54 | 6f 20 74 65 73 74 2c 20 |g it.) T|o test, |
|00001500| 72 75 6e 0a 58 60 60 6d | 61 6b 65 20 74 65 73 74 |run.X``m|ake test|
|00001510| 73 27 27 20 61 73 20 61 | 6e 79 20 75 73 65 72 2e |s'' as a|ny user.|
|00001520| 0a 58 0a 58 49 27 76 65 | 20 69 6e 63 6c 75 64 65 |.X.XI've| include|
|00001530| 64 20 74 68 65 20 66 69 | 6e 64 69 6e 6f 64 65 20 |d the fi|ndinode |
|00001540| 70 61 63 6b 61 67 65 20 | 68 65 72 65 20 69 6e 20 |package |here in |
|00001550| 64 69 72 65 63 74 6f 72 | 79 20 66 69 6e 64 69 6e |director|y findin|
|00001560| 6f 64 65 2e 20 49 74 27 | 73 0a 58 65 6e 74 69 72 |ode. It'|s.Xentir|
|00001570| 65 6c 79 20 69 6e 64 65 | 70 65 6e 64 65 6e 74 20 |ely inde|pendent |
|00001580| 6f 66 20 6b 73 74 75 66 | 66 2c 20 62 75 74 20 70 |of kstuf|f, but p|
|00001590| 66 66 20 63 61 6e 20 6d | 61 6b 65 20 67 6f 6f 64 |ff can m|ake good|
|000015a0| 20 75 73 65 20 6f 66 20 | 69 74 2e 20 59 6f 75 0a | use of |it. You.|
|000015b0| 58 70 72 6f 62 61 62 6c | 79 20 77 61 6e 74 20 74 |Xprobabl|y want t|
|000015c0| 6f 20 6c 6f 6f 6b 20 61 | 74 20 74 68 61 74 20 64 |o look a|t that d|
|000015d0| 69 72 65 63 74 6f 72 79 | 2c 20 61 6e 64 20 70 65 |irectory|, and pe|
|000015e0| 72 68 61 70 73 20 6d 61 | 6b 65 20 61 6e 64 20 69 |rhaps ma|ke and i|
|000015f0| 6e 73 74 61 6c 6c 0a 58 | 66 69 6e 64 69 6e 6f 64 |nstall.X|findinod|
|00001600| 65 2c 20 62 65 66 6f 72 | 65 20 63 6f 6e 74 69 6e |e, befor|e contin|
|00001610| 75 69 6e 67 20 77 69 74 | 68 20 6b 73 74 75 66 66 |uing wit|h kstuff|
|00001620| 2e 0a 58 0a 58 0a 58 50 | 72 6f 67 72 61 6d 73 3a |..X.X.XP|rograms:|
|00001630| 0a 58 0a 58 6c 6f 61 64 | 20 69 73 20 61 20 66 61 |.X.Xload| is a fa|
|00001640| 73 74 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 75 70 |st versi|on of up|
|00001650| 74 69 6d 65 20 77 69 74 | 68 20 61 20 73 6c 69 67 |time wit|h a slig|
|00001660| 68 74 6c 79 20 64 69 66 | 66 65 72 65 6e 74 20 6f |htly dif|ferent o|
|00001670| 75 74 70 75 74 0a 58 66 | 6f 72 6d 61 74 2c 20 6d |utput.Xf|ormat, m|
|00001680| 65 61 6e 74 20 74 6f 20 | 69 6c 6c 75 73 74 72 61 |eant to |illustra|
|00001690| 74 65 20 68 6f 77 20 74 | 6f 20 75 73 65 20 74 68 |te how t|o use th|
|000016a0| 65 73 65 20 6c 69 62 72 | 61 72 69 65 73 2e 20 49 |ese libr|aries. I|
|000016b0| 20 64 6f 6e 27 74 20 6b | 6e 6f 77 20 77 68 79 0a | don't k|now why.|
|000016c0| 58 75 70 74 69 6d 65 20 | 69 73 20 73 6f 20 73 6c |Xuptime |is so sl|
|000016d0| 6f 77 2e 20 44 6f 63 75 | 6d 65 6e 74 61 74 69 6f |ow. Docu|mentatio|
|000016e0| 6e 20 69 73 20 69 6e 20 | 6c 6f 61 64 2e 31 2e 0a |n is in |load.1..|
|000016f0| 58 0a 58 70 66 66 20 28 | 70 72 6f 63 65 73 73 2d |X.Xpff (|process-|
|00001700| 66 69 6c 65 2d 66 69 6c | 65 29 20 69 73 20 61 20 |file-fil|e) is a |
|00001710| 6d 6f 73 74 6c 79 20 72 | 65 77 72 69 74 74 65 6e |mostly r|ewritten|
|00001720| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 74 68 65 20 | version| of the |
|00001730| 70 6f 70 75 6c 61 72 0a | 58 6f 66 69 6c 65 73 20 |popular.|Xofiles |
|00001740| 75 74 69 6c 69 74 79 2e | 20 53 65 65 20 70 66 66 |utility.| See pff|
|00001750| 2e 64 6f 63 20 66 6f 72 | 20 73 6f 6d 65 20 64 6f |.doc for| some do|
|00001760| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 2e 20 28 4d 61 |cumentat|ion. (Ma|
|00001770| 6e 20 70 61 67 65 20 64 | 6f 6e 61 74 69 6f 6e 73 |n page d|onations|
|00001780| 0a 58 77 6f 75 6c 64 20 | 62 65 20 61 70 70 72 65 |.Xwould |be appre|
|00001790| 63 69 61 74 65 64 2e 20 | 3a 2d 29 29 20 53 65 65 |ciated. |:-)) See|
|000017a0| 20 4f 46 49 4c 45 53 2e | 68 69 73 74 20 66 6f 72 | OFILES.|hist for|
|000017b0| 20 61 20 68 69 73 74 6f | 72 79 20 6f 66 20 6f 66 | a histo|ry of of|
|000017c0| 69 6c 65 73 2e 0a 58 41 | 6c 74 68 6f 75 67 68 20 |iles..XA|lthough |
|000017d0| 49 20 74 68 69 6e 6b 20 | 49 27 76 65 20 69 6e 63 |I think |I've inc|
|000017e0| 6c 75 64 65 64 20 61 6c | 6d 6f 73 74 20 65 76 65 |luded al|most eve|
|000017f0| 72 79 20 70 6f 70 75 6c | 61 72 20 66 65 61 74 75 |ry popul|ar featu|
|00001800| 72 65 20 66 72 6f 6d 20 | 74 68 65 0a 58 44 75 70 |re from |the.XDup|
|00001810| 75 79 2d 4c 65 72 65 73 | 20 6f 66 69 6c 65 73 2c |uy-Leres| ofiles,|
|00001820| 20 74 68 65 20 41 62 65 | 6c 6c 20 6f 66 69 6c 65 | the Abe|ll ofile|
|00001830| 73 2c 20 61 6e 64 20 74 | 68 65 20 43 68 72 69 73 |s, and t|he Chris|
|00001840| 74 69 61 6e 73 65 6e 20 | 66 73 74 61 74 2c 20 61 |tiansen |fstat, a|
|00001850| 73 0a 58 77 65 6c 6c 20 | 61 73 20 73 6f 6d 65 20 |s.Xwell |as some |
|00001860| 65 78 74 72 61 73 2c 20 | 70 66 66 20 73 68 6f 75 |extras, |pff shou|
|00001870| 6c 64 20 62 65 20 71 75 | 69 74 65 20 61 20 62 69 |ld be qu|ite a bi|
|00001880| 74 20 6d 6f 72 65 20 70 | 6f 72 74 61 62 6c 65 20 |t more p|ortable |
|00001890| 74 68 61 6e 20 61 6e 79 | 20 6f 66 0a 58 69 74 73 |than any| of.Xits|
|000018a0| 20 70 72 65 64 65 63 65 | 73 73 6f 72 73 2e 20 70 | predece|ssors. p|
|000018b0| 66 66 20 68 61 6e 64 6c | 65 73 20 6f 70 65 6e 20 |ff handl|es open |
|000018c0| 66 69 6c 65 73 20 28 61 | 6e 64 20 66 69 6c 65 73 |files (a|nd files|
|000018d0| 79 73 74 65 6d 73 29 2c | 20 6e 65 74 77 6f 72 6b |ystems),| network|
|000018e0| 0a 58 63 6f 6e 6e 65 63 | 74 69 6f 6e 73 2c 20 6d |.Xconnec|tions, m|
|000018f0| 6d 61 70 73 2c 20 70 72 | 6f 63 65 73 73 20 74 65 |maps, pr|ocess te|
|00001900| 78 74 73 2c 20 63 77 64 | 73 2c 20 72 6f 6f 74 20 |xts, cwd|s, root |
|00001910| 64 69 72 65 63 74 6f 72 | 69 65 73 2c 20 61 6e 64 |director|ies, and|
|00001920| 0a 58 63 6f 6e 74 72 6f | 6c 6c 69 6e 67 20 74 74 |.Xcontro|lling tt|
|00001930| 79 73 2e 20 49 74 20 77 | 6f 72 6b 73 20 6f 76 65 |ys. It w|orks ove|
|00001940| 72 20 4e 46 53 2e 20 49 | 74 20 65 76 65 6e 20 68 |r NFS. I|t even h|
|00001950| 61 6e 64 6c 65 73 20 70 | 72 6f 63 65 73 73 20 74 |andles p|rocess t|
|00001960| 65 78 74 73 20 6f 6e 0a | 58 74 68 65 20 43 6f 6e |exts on.|Xthe Con|
|00001970| 76 65 78 2c 20 75 6e 6c | 69 6b 65 20 74 68 65 20 |vex, unl|ike the |
|00001980| 43 68 72 69 73 74 69 61 | 6e 73 65 6e 20 66 73 74 |Christia|nsen fst|
|00001990| 61 74 2e 20 4c 61 74 65 | 20 61 64 64 69 74 69 6f |at. Late| additio|
|000019a0| 6e 3a 20 69 66 20 79 6f | 75 20 68 61 76 65 0a 58 |n: if yo|u have.X|
|000019b0| 66 69 6e 64 69 6e 6f 64 | 65 20 72 75 6e 6e 69 6e |findinod|e runnin|
|000019c0| 67 2c 20 70 66 66 20 67 | 69 76 65 73 20 79 6f 75 |g, pff g|ives you|
|000019d0| 20 66 69 6c 65 6e 61 6d | 65 73 21 20 50 6c 65 61 | filenam|es! Plea|
|000019e0| 73 65 20 73 65 6e 64 20 | 6d 65 20 61 6e 79 20 66 |se send |me any f|
|000019f0| 75 72 74 68 65 72 0a 58 | 65 78 74 65 6e 73 69 6f |urther.X|extensio|
|00001a00| 6e 73 20 61 6e 64 20 70 | 6f 72 74 61 62 69 6c 69 |ns and p|ortabili|
|00001a10| 74 79 20 6d 6f 64 73 20 | 79 6f 75 20 68 61 76 65 |ty mods |you have|
|00001a20| 2e 20 54 68 61 6e 6b 73 | 20 74 6f 20 61 6c 6c 20 |. Thanks| to all |
|00001a30| 74 68 65 20 6f 66 69 6c | 65 73 20 61 6e 64 0a 58 |the ofil|es and.X|
|00001a40| 66 73 74 61 74 20 61 75 | 74 68 6f 72 73 20 66 6f |fstat au|thors fo|
|00001a50| 72 20 6c 6f 74 73 20 6f | 66 20 63 6f 64 65 20 61 |r lots o|f code a|
|00001a60| 6e 64 20 69 64 65 61 73 | 2e 0a 58 0a 58 6e 65 74 |nd ideas|..X.Xnet|
|00001a70| 73 74 61 74 75 69 64 73 | 20 75 73 65 73 20 74 68 |statuids| uses th|
|00001a80| 65 20 52 46 43 20 39 33 | 31 20 61 75 74 68 75 73 |e RFC 93|1 authus|
|00001a90| 65 72 20 6c 69 62 72 61 | 72 79 20 69 6e 20 61 75 |er libra|ry in au|
|00001aa0| 74 68 75 73 65 72 2e 63 | 20 61 6e 64 20 74 68 65 |thuser.c| and the|
|00001ab0| 0a 58 6b 65 72 6e 65 6c | 20 6c 69 62 72 61 72 69 |.Xkernel| librari|
|00001ac0| 65 73 20 68 65 72 65 20 | 74 6f 20 73 68 6f 77 20 |es here |to show |
|00001ad0| 79 6f 75 20 61 6c 6c 20 | 61 63 74 69 76 65 20 54 |you all |active T|
|00001ae0| 43 50 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 73 2c 20 |CP conne|ctions, |
|00001af0| 77 69 74 68 20 74 68 65 | 0a 58 75 73 65 72 6e 61 |with the|.Xuserna|
|00001b00| 6d 65 73 20 6f 6e 20 62 | 6f 74 68 20 73 69 64 65 |mes on b|oth side|
|00001b10| 73 2e 20 4e 61 74 75 72 | 61 6c 6c 79 2c 20 69 74 |s. Natur|ally, it|
|00001b20| 27 73 20 66 61 73 74 65 | 72 20 74 68 61 6e 20 6e |'s faste|r than n|
|00001b30| 65 74 73 74 61 74 20 2d | 6e 2c 20 74 68 6f 75 67 |etstat -|n, thoug|
|00001b40| 68 0a 58 49 20 73 75 70 | 70 6f 73 65 20 74 68 69 |h.XI sup|pose thi|
|00001b50| 73 20 69 73 20 65 78 63 | 75 73 61 62 6c 65 20 73 |s is exc|usable s|
|00001b60| 69 6e 63 65 20 6e 65 74 | 73 74 61 74 20 73 68 6f |ince net|stat sho|
|00001b70| 77 73 20 6d 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |ws more |informat|
|00001b80| 69 6f 6e 2e 20 54 68 61 | 6e 6b 73 0a 58 74 6f 20 |ion. Tha|nks.Xto |
|00001b90| 53 65 74 68 20 52 6f 62 | 65 72 74 73 6f 6e 20 66 |Seth Rob|ertson f|
|00001ba0| 6f 72 20 73 75 67 67 65 | 73 74 69 6e 67 20 74 68 |or sugge|sting th|
|00001bb0| 69 73 20 70 72 6f 67 72 | 61 6d 20 61 6e 64 20 77 |is progr|am and w|
|00001bc0| 72 69 74 69 6e 67 20 61 | 20 70 72 6f 74 6f 74 79 |riting a| prototy|
|00001bd0| 70 65 2e 0a 58 0a 58 61 | 75 74 68 64 20 69 73 20 |pe..X.Xa|uthd is |
|00001be0| 61 20 72 65 76 69 73 65 | 64 20 76 65 72 73 69 6f |a revise|d versio|
|00001bf0| 6e 20 6f 66 20 74 68 65 | 20 52 46 43 20 39 33 31 |n of the| RFC 931|
|00001c00| 20 61 75 74 68 64 20 73 | 65 72 76 65 72 20 28 70 | authd s|erver (p|
|00001c10| 72 65 76 69 6f 75 73 20 | 76 65 72 73 69 6f 6e 0a |revious |version.|
|00001c20| 58 61 76 61 69 6c 61 62 | 6c 65 20 73 65 70 61 72 |Xavailab|le separ|
|00001c30| 61 74 65 6c 79 29 2e 20 | 49 74 20 73 68 6f 75 6c |ately). |It shoul|
|00001c40| 64 20 62 65 20 73 6f 6d | 65 77 68 61 74 20 66 61 |d be som|ewhat fa|
|00001c50| 73 74 65 72 20 61 6e 64 | 20 73 6f 6d 65 77 68 61 |ster and| somewha|
|00001c60| 74 20 6d 6f 72 65 0a 58 | 70 6f 72 74 61 62 6c 65 |t more.X|portable|
|00001c70| 2e 20 54 68 61 6e 6b 73 | 20 74 6f 20 4b 69 6d 20 |. Thanks| to Kim |
|00001c80| 48 6f 65 67 6c 75 6e 64 | 20 66 6f 72 20 63 6f 6d |Hoeglund| for com|
|00001c90| 6d 65 6e 74 73 20 61 6e | 64 20 63 6f 64 65 2e 20 |ments an|d code. |
|00001ca0| 44 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 69 73 |Document|ation is|
|00001cb0| 0a 58 69 6e 20 61 75 74 | 68 64 2e 38 2c 20 74 63 |.Xin aut|hd.8, tc|
|00001cc0| 70 75 69 64 2e 38 2c 20 | 61 6e 64 20 74 63 70 75 |puid.8, |and tcpu|
|00001cd0| 6e 61 6d 65 2e 38 2c 20 | 63 6f 70 69 65 64 20 66 |name.8, |copied f|
|00001ce0| 72 6f 6d 20 74 68 65 20 | 61 75 74 68 64 20 33 2e |rom the |authd 3.|
|00001cf0| 30 31 0a 58 64 69 73 74 | 72 69 62 75 74 69 6f 6e |01.Xdist|ribution|
|00001d00| 2e 20 28 74 63 70 75 69 | 64 20 61 6e 64 20 74 63 |. (tcpui|d and tc|
|00001d10| 70 75 6e 61 6d 65 20 73 | 68 6f 75 6c 64 20 62 65 |puname s|hould be|
|00001d20| 20 6c 69 6e 6b 65 64 20 | 74 6f 20 61 75 74 68 64 | linked |to authd|
|00001d30| 2e 29 0a 58 0a 58 0a 58 | 4c 69 62 72 61 72 69 65 |.).X.X.X|Librarie|
|00001d40| 73 3a 0a 58 0a 58 6b 6d | 65 6d 2e 68 20 61 6e 64 |s:.X.Xkm|em.h and|
|00001d50| 20 6e 6c 69 73 74 6c 69 | 73 74 2e 68 20 61 72 65 | nlistli|st.h are|
|00001d60| 20 6b 6d 65 6d 2f 6e 6c | 69 73 74 20 6c 69 62 72 | kmem/nl|ist libr|
|00001d70| 61 72 69 65 73 20 6d 65 | 61 6e 74 20 74 6f 20 70 |aries me|ant to p|
|00001d80| 72 6f 76 69 64 65 20 61 | 6e 0a 58 69 6e 74 75 69 |rovide a|n.Xintui|
|00001d90| 74 69 76 65 20 79 65 74 | 20 70 6f 77 65 72 66 75 |tive yet| powerfu|
|00001da0| 6c 20 69 6e 74 65 72 66 | 61 63 65 2e 20 28 6d 6d |l interf|ace. (mm|
|00001db0| 65 6d 2e 68 20 61 6e 64 | 20 73 6d 65 6d 2e 68 20 |em.h and| smem.h |
|00001dc0| 61 72 65 20 6c 69 6b 65 | 20 6b 6d 65 6d 2e 68 20 |are like| kmem.h |
|00001dd0| 62 75 74 0a 58 68 61 6e | 64 6c 65 20 2f 64 65 76 |but.Xhan|dle /dev|
|00001de0| 2f 6d 65 6d 20 61 6e 64 | 20 2f 64 65 76 2f 64 72 |/mem and| /dev/dr|
|00001df0| 75 6d 20 69 6e 73 74 65 | 61 64 20 6f 66 20 2f 64 |um inste|ad of /d|
|00001e00| 65 76 2f 6b 6d 65 6d 2e | 29 20 49 6e 74 75 69 74 |ev/kmem.|) Intuit|
|00001e10| 69 76 65 3a 0a 58 6b 6d | 65 6d 63 70 79 28 29 20 |ive:.Xkm|emcpy() |
|00001e20| 77 6f 72 6b 73 20 6a 75 | 73 74 20 6c 69 6b 65 20 |works ju|st like |
|00001e30| 6d 65 6d 63 70 79 28 29 | 20 62 75 74 20 6f 75 74 |memcpy()| but out|
|00001e40| 20 6f 66 20 6b 6d 65 6d | 2e 20 50 6f 77 65 72 66 | of kmem|. Powerf|
|00001e50| 75 6c 3a 20 49 66 0a 58 | 6c 69 62 72 61 72 69 65 |ul: If.X|librarie|
|00001e60| 73 20 58 20 61 6e 64 20 | 59 20 61 72 65 20 64 65 |s X and |Y are de|
|00001e70| 76 65 6c 6f 70 65 64 20 | 69 6e 64 65 70 65 6e 64 |veloped |independ|
|00001e80| 65 6e 74 6c 79 20 62 75 | 74 20 62 6f 74 68 20 6e |ently bu|t both n|
|00001e90| 65 65 64 20 74 6f 20 75 | 73 65 20 6b 6d 65 6d 0a |eed to u|se kmem.|
|00001ea0| 58 61 6e 64 20 6e 6c 69 | 73 74 2c 20 6e 6f 72 6d |Xand nli|st, norm|
|00001eb0| 61 6c 6c 79 20 74 68 65 | 79 27 64 20 6f 70 65 6e |ally the|y'd open|
|00001ec0| 20 69 6e 64 65 70 65 6e | 64 65 6e 74 20 64 65 73 | indepen|dent des|
|00001ed0| 63 72 69 70 74 6f 72 73 | 20 61 6e 64 20 64 6f 20 |criptors| and do |
|00001ee0| 73 65 70 61 72 61 74 65 | 0a 58 6e 6c 69 73 74 28 |separate|.Xnlist(|
|00001ef0| 29 73 2e 20 54 68 69 73 | 20 69 73 20 68 6f 72 72 |)s. This| is horr|
|00001f00| 65 6e 64 6f 75 73 6c 79 | 20 69 6e 65 66 66 69 63 |endously| ineffic|
|00001f10| 69 65 6e 74 2e 20 54 68 | 65 73 65 20 6c 69 62 72 |ient. Th|ese libr|
|00001f20| 61 72 69 65 73 20 73 6f | 6c 76 65 20 74 68 65 0a |aries so|lve the.|
|00001f30| 58 70 72 6f 62 6c 65 6d | 2e 20 53 65 65 20 61 76 |Xproblem|. See av|
|00001f40| 65 6e 72 75 6e 2e 63 2c | 20 62 6f 6f 74 74 69 6d |enrun.c,| boottim|
|00001f50| 65 2e 63 2c 20 61 6e 64 | 20 6c 6f 61 64 2e 63 20 |e.c, and| load.c |
|00001f60| 66 6f 72 20 65 78 61 6d | 70 6c 65 73 2e 0a 58 0a |for exam|ples..X.|
|00001f70| 58 67 65 74 75 73 65 72 | 2e 68 20 69 73 20 61 20 |Xgetuser|.h is a |
|00001f80| 72 65 61 73 6f 6e 61 62 | 6c 79 20 70 6f 72 74 61 |reasonab|ly porta|
|00001f90| 62 6c 65 20 6c 69 62 72 | 61 72 79 20 74 6f 20 67 |ble libr|ary to g|
|00001fa0| 65 74 20 74 68 65 20 75 | 20 61 72 65 61 20 6f 66 |et the u| area of|
|00001fb0| 20 61 20 67 69 76 65 6e | 0a 58 73 74 72 75 63 74 | a given|.Xstruct|
|00001fc0| 20 70 72 6f 63 2e 20 54 | 6f 67 65 74 68 65 72 20 | proc. T|ogether |
|00001fd0| 77 69 74 68 20 6b 6d 65 | 6d 2e 68 20 61 6e 64 20 |with kme|m.h and |
|00001fe0| 6e 6c 69 73 74 6c 69 73 | 74 2e 68 2c 20 67 65 74 |nlistlis|t.h, get|
|00001ff0| 75 73 65 72 2e 68 20 70 | 72 6f 76 69 64 65 73 20 |user.h p|rovides |
|00002000| 61 6e 0a 58 69 6e 74 65 | 72 66 61 63 65 20 61 62 |an.Xinte|rface ab|
|00002010| 6f 75 74 20 61 73 20 75 | 73 65 66 75 6c 20 61 73 |out as u|seful as|
|00002020| 20 53 75 6e 27 73 20 6b | 76 6d 20 6c 69 62 72 61 | Sun's k|vm libra|
|00002030| 72 79 20 66 6f 72 20 6b | 65 72 6e 65 6c 2d 72 65 |ry for k|ernel-re|
|00002040| 61 64 69 6e 67 0a 58 61 | 70 70 6c 69 63 61 74 69 |ading.Xa|pplicati|
|00002050| 6f 6e 73 20 62 75 74 20 | 61 20 6c 6f 74 20 6d 6f |ons but |a lot mo|
|00002060| 72 65 20 70 6f 72 74 61 | 62 6c 65 2e 20 28 57 65 |re porta|ble. (We|
|00002070| 6c 6c 2c 20 49 20 63 68 | 65 61 74 65 64 20 61 20 |ll, I ch|eated a |
|00002080| 62 69 74 3a 20 75 6e 64 | 65 72 0a 58 23 69 66 64 |bit: und|er.X#ifd|
|00002090| 65 66 20 73 75 6e 2c 20 | 67 65 74 75 73 65 72 2e |ef sun, |getuser.|
|000020a0| 68 20 6a 75 73 74 20 63 | 61 6c 6c 73 20 6b 76 6d |h just c|alls kvm|
|000020b0| 5f 67 65 74 75 2e 20 54 | 68 65 20 70 6f 69 6e 74 |_getu. T|he point|
|000020c0| 20 69 73 20 74 68 61 74 | 0a 58 61 70 70 6c 69 63 | is that|.Xapplic|
|000020d0| 61 74 69 6f 6e 73 20 64 | 6f 6e 27 74 20 68 61 76 |ations d|on't hav|
|000020e0| 65 20 74 6f 20 77 6f 72 | 72 79 20 77 68 65 74 68 |e to wor|ry wheth|
|000020f0| 65 72 20 67 65 74 75 73 | 65 72 28 29 20 69 73 20 |er getus|er() is |
|00002100| 72 75 6e 6e 69 6e 67 20 | 6f 6e 20 61 20 53 75 6e |running |on a Sun|
|00002110| 0a 58 6f 72 20 6e 6f 74 | 2e 29 0a 58 0a 58 61 76 |.Xor not|.).X.Xav|
|00002120| 65 6e 72 75 6e 2e 68 2c | 20 62 6f 6f 74 74 69 6d |enrun.h,| boottim|
|00002130| 65 2e 68 2c 20 66 69 6c | 65 74 61 62 6c 65 2e 68 |e.h, fil|etable.h|
|00002140| 2c 20 67 65 74 66 63 72 | 65 64 2e 68 2c 20 69 6e |, getfcr|ed.h, in|
|00002150| 70 63 62 6c 69 73 74 2e | 68 2c 20 61 6e 64 0a 58 |pcblist.|h, and.X|
|00002160| 70 72 6f 63 74 61 62 6c | 65 2e 68 20 61 72 65 20 |proctabl|e.h are |
|00002170| 73 74 72 61 69 67 68 74 | 66 6f 72 77 61 72 64 20 |straight|forward |
|00002180| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 20 6f 66 20 |applicat|ions of |
|00002190| 74 68 65 20 6b 6d 65 6d | 20 61 6e 64 20 6e 6c 69 |the kmem| and nli|
|000021a0| 73 74 6c 69 73 74 0a 58 | 6c 69 62 72 61 72 69 65 |stlist.X|librarie|
|000021b0| 73 2e 0a 58 0a 58 6e 65 | 74 69 6e 70 2e 68 20 69 |s..X.Xne|tinp.h i|
|000021c0| 73 20 61 6e 20 65 78 70 | 65 72 69 6d 65 6e 74 2e |s an exp|eriment.|
|000021d0| 20 49 20 77 69 6c 6c 20 | 70 72 6f 62 61 62 6c 79 | I will |probably|
|000021e0| 20 65 6c 69 6d 69 6e 61 | 74 65 20 69 74 20 69 66 | elimina|te it if|
|000021f0| 20 69 6e 70 63 62 6c 69 | 73 74 2e 68 0a 58 74 75 | inpcbli|st.h.Xtu|
|00002200| 72 6e 73 20 6f 75 74 20 | 74 6f 20 62 65 20 70 6f |rns out |to be po|
|00002210| 72 74 61 62 6c 65 20 65 | 6e 6f 75 67 68 2e 20 54 |rtable e|nough. T|
|00002220| 68 61 6e 6b 73 20 61 67 | 61 69 6e 20 74 6f 20 4b |hanks ag|ain to K|
|00002230| 69 6d 20 48 6f 65 67 6c | 75 6e 64 2e 0a 58 0a 58 |im Hoegl|und..X.X|
|00002240| 73 74 72 65 72 72 2e 68 | 20 69 73 20 61 6e 6f 74 |strerr.h| is anot|
|00002250| 68 65 72 20 70 69 65 63 | 65 20 6f 66 20 6d 79 20 |her piec|e of my |
|00002260| 66 6f 72 74 68 63 6f 6d | 69 6e 67 20 65 72 72 6f |forthcom|ing erro|
|00002270| 72 2d 68 61 6e 64 6c 69 | 6e 67 20 6c 69 62 72 61 |r-handli|ng libra|
|00002280| 72 79 2e 20 49 74 0a 58 | 6c 65 74 73 20 79 6f 75 |ry. It.X|lets you|
|00002290| 20 73 65 74 20 75 70 20 | 6c 69 62 72 61 72 69 65 | set up |librarie|
|000022a0| 73 20 6f 72 20 73 65 63 | 74 69 6f 6e 73 20 6f 66 |s or sec|tions of|
|000022b0| 20 63 6f 64 65 20 73 6f | 20 74 68 61 74 20 63 61 | code so| that ca|
|000022c0| 6c 6c 65 72 73 20 63 61 | 6e 20 67 65 74 20 61 0a |llers ca|n get a.|
|000022d0| 58 6d 65 61 6e 69 6e 67 | 66 75 6c 20 65 72 72 6f |Xmeaning|ful erro|
|000022e0| 72 20 6d 65 73 73 61 67 | 65 20 77 69 74 68 20 61 |r messag|e with a|
|000022f0| 20 73 69 6e 67 6c 65 20 | 66 75 6e 63 74 69 6f 6e | single |function|
|00002300| 20 63 61 6c 6c 2e 20 73 | 74 72 65 72 72 20 68 61 | call. s|trerr ha|
|00002310| 6e 64 6c 65 73 0a 58 72 | 65 63 75 72 73 69 6f 6e |ndles.Xr|ecursion|
|00002320| 2c 20 73 6f 20 74 68 61 | 74 20 69 66 20 6f 6e 65 |, so tha|t if one|
|00002330| 20 6c 69 62 72 61 72 79 | 20 66 6f 72 77 61 72 64 | library| forward|
|00002340| 73 20 61 6e 20 65 72 72 | 6f 72 20 66 72 6f 6d 20 |s an err|or from |
|00002350| 61 6e 6f 74 68 65 72 20 | 6c 69 62 72 61 72 79 0a |another |library.|
|00002360| 58 69 74 20 63 61 6c 6c | 65 64 2c 20 74 68 65 20 |Xit call|ed, the |
|00002370| 65 72 72 6f 72 20 6d 65 | 73 73 61 67 65 20 77 69 |error me|ssage wi|
|00002380| 6c 6c 20 69 6e 63 6c 75 | 64 65 20 61 6e 20 65 72 |ll inclu|de an er|
|00002390| 72 6f 72 20 66 72 6f 6d | 20 74 68 65 20 73 75 62 |ror from| the sub|
|000023a0| 6c 69 62 72 61 72 79 2e | 0a 58 42 75 74 20 6e 6f |library.|.XBut no|
|000023b0| 6e 65 20 6f 66 20 74 68 | 65 20 6c 69 62 72 61 72 |ne of th|e librar|
|000023c0| 69 65 73 20 68 61 76 65 | 20 74 6f 20 77 6f 72 72 |ies have| to worr|
|000023d0| 79 20 61 62 6f 75 74 20 | 6d 61 6c 6c 6f 63 28 29 |y about |malloc()|
|000023e0| 69 6e 67 20 73 70 61 63 | 65 20 6f 72 0a 58 63 6f |ing spac|e or.Xco|
|000023f0| 6e 63 61 74 65 6e 61 74 | 69 6e 67 20 6d 65 73 73 |ncatenat|ing mess|
|00002400| 61 67 65 73 20 6d 61 6e | 75 61 6c 6c 79 2e 20 4f |ages man|ually. O|
|00002410| 68 2c 20 79 65 61 68 2c | 20 61 6e 64 20 73 74 72 |h, yeah,| and str|
|00002420| 65 72 72 28 73 74 72 65 | 72 72 6e 6f 29 20 69 73 |err(stre|rrno) is|
|00002430| 0a 58 65 71 75 69 76 61 | 6c 65 6e 74 20 74 6f 20 |.Xequiva|lent to |
|00002440| 41 4e 53 49 20 43 27 73 | 20 73 74 72 65 72 72 6f |ANSI C's| strerro|
|00002450| 72 28 65 72 72 6e 6f 29 | 20 69 66 20 79 6f 75 20 |r(errno)| if you |
|00002460| 64 6f 6e 27 74 20 68 61 | 76 65 20 41 4e 53 49 20 |don't ha|ve ANSI |
|00002470| 6c 69 62 72 61 72 69 65 | 73 2e 0a 58 0a 58 73 74 |librarie|s..X.Xst|
|00002480| 72 75 63 74 2a 2e 68 20 | 61 72 65 20 6d 65 61 6e |ruct*.h |are mean|
|00002490| 74 20 74 6f 20 6b 65 65 | 70 20 79 6f 75 20 28 77 |t to kee|p you (w|
|000024a0| 65 6c 6c 2c 20 6d 65 29 | 20 66 72 6f 6d 20 67 6f |ell, me)| from go|
|000024b0| 69 6e 67 20 69 6e 73 61 | 6e 65 20 77 68 65 6e 20 |ing insa|ne when |
|000024c0| 75 73 69 6e 67 0a 58 76 | 65 6e 64 6f 72 20 69 6e |using.Xv|endor in|
|000024d0| 63 6c 75 64 65 20 66 69 | 6c 65 73 2e 20 49 66 20 |clude fi|les. If |
|000024e0| 79 6f 75 20 23 69 6e 63 | 6c 75 64 65 20 22 73 74 |you #inc|lude "st|
|000024f0| 72 75 63 74 70 72 6f 63 | 2e 68 22 2c 20 74 68 65 |ructproc|.h", the|
|00002500| 6e 20 6e 6f 20 6d 61 74 | 74 65 72 20 68 6f 77 0a |n no mat|ter how.|
|00002510| 58 62 61 64 6c 79 20 73 | 74 72 75 63 74 75 72 65 |Xbadly s|tructure|
|00002520| 64 20 74 68 65 20 76 65 | 6e 64 6f 72 27 73 20 69 |d the ve|ndor's i|
|00002530| 6e 63 6c 75 64 65 20 66 | 69 6c 65 73 20 61 72 65 |nclude f|iles are|
|00002540| 2c 20 6e 6f 20 6d 61 74 | 74 65 72 20 68 6f 77 20 |, no mat|ter how |
|00002550| 6d 61 6e 79 20 6f 66 0a | 58 74 68 65 69 72 20 66 |many of.|Xtheir f|
|00002560| 69 6c 65 73 20 6e 65 67 | 6c 65 63 74 20 74 6f 20 |iles neg|lect to |
|00002570| 69 6e 63 6c 75 64 65 20 | 74 68 65 69 72 20 64 65 |include |their de|
|00002580| 70 65 6e 64 65 6e 63 69 | 65 73 2c 20 6e 6f 20 6d |pendenci|es, no m|
|00002590| 61 74 74 65 72 20 68 6f | 77 20 6d 61 6e 79 0a 58 |atter ho|w many.X|
|000025a0| 66 69 6c 65 73 20 62 6c | 6f 77 20 75 70 20 69 66 |files bl|ow up if|
|000025b0| 20 74 68 65 79 20 61 72 | 65 20 69 6e 63 6c 75 64 | they ar|e includ|
|000025c0| 65 64 20 74 77 69 63 65 | 2c 20 79 6f 75 20 73 68 |ed twice|, you sh|
|000025d0| 6f 75 6c 64 20 67 65 74 | 20 61 20 77 6f 72 6b 69 |ould get| a worki|
|000025e0| 6e 67 0a 58 73 74 72 75 | 63 74 20 70 72 6f 63 20 |ng.Xstru|ct proc |
|000025f0| 61 6e 64 20 74 68 65 20 | 64 65 66 69 6e 69 74 69 |and the |definiti|
|00002600| 6f 6e 73 20 6e 65 63 65 | 73 73 61 72 79 20 74 6f |ons nece|ssary to|
|00002610| 20 75 73 65 20 74 68 61 | 74 20 73 74 72 75 63 74 | use tha|t struct|
|00002620| 2e 20 28 59 6f 75 20 6d | 61 79 0a 58 6e 6f 74 20 |. (You m|ay.Xnot |
|00002630| 75 6e 64 65 72 73 74 61 | 6e 64 20 77 68 61 74 20 |understa|nd what |
|00002640| 73 74 72 75 63 74 20 70 | 72 6f 63 20 69 73 20 66 |struct p|roc is f|
|00002650| 6f 72 2c 20 62 75 74 20 | 74 68 61 74 27 73 20 61 |or, but |that's a|
|00002660| 20 73 65 70 61 72 61 74 | 65 20 70 72 6f 62 6c 65 | separat|e proble|
|00002670| 6d 2e 0a 58 3a 2d 29 29 | 0a 58 0a 58 63 6f 6e 66 |m..X:-))|.X.Xconf|
|00002680| 2a 2e 68 20 66 6f 72 6d | 20 61 20 74 77 6f 2d 6c |*.h form| a two-l|
|00002690| 65 76 65 6c 20 23 69 6e | 63 6c 75 64 65 20 73 79 |evel #in|clude sy|
|000026a0| 73 74 65 6d 2e 20 57 68 | 79 20 69 73 20 69 74 20 |stem. Wh|y is it |
|000026b0| 67 6f 6f 64 20 74 6f 20 | 68 61 76 65 20 61 0a 58 |good to |have a.X|
|000026c0| 73 69 6e 67 6c 65 20 66 | 69 6c 65 20 66 6f 72 20 |single f|ile for |
|000026d0| 65 61 63 68 20 23 64 65 | 66 69 6e 65 2c 20 6c 69 |each #de|fine, li|
|000026e0| 6b 65 20 63 6f 6e 66 67 | 6e 6f 64 65 2e 68 20 66 |ke confg|node.h f|
|000026f0| 6f 72 20 23 69 66 64 65 | 66 20 47 4e 4f 44 45 3f |or #ifde|f GNODE?|
|00002700| 20 41 6d 6f 6e 67 0a 58 | 6f 74 68 65 72 20 72 65 | Among.X|other re|
|00002710| 61 73 6f 6e 73 2c 20 74 | 68 69 73 20 6f 70 65 6e |asons, t|his open|
|00002720| 73 20 75 70 20 74 68 65 | 20 63 68 61 6e 63 65 20 |s up the| chance |
|00002730| 6f 66 20 76 65 6e 64 6f | 72 73 20 73 74 61 6e 64 |of vendo|rs stand|
|00002740| 61 72 64 69 7a 69 6e 67 | 20 74 68 65 73 65 0a 58 |ardizing| these.X|
|00002750| 23 69 6e 63 6c 75 64 65 | 20 66 69 6c 65 73 20 77 |#include| files w|
|00002760| 69 74 68 20 74 68 65 20 | 73 61 6d 65 20 6e 61 6d |ith the |same nam|
|00002770| 65 73 20 61 6e 64 20 6d | 65 61 6e 69 6e 67 73 20 |es and m|eanings |
|00002780| 74 68 65 79 20 68 61 76 | 65 20 68 65 72 65 2e 20 |they hav|e here. |
|00002790| 49 74 20 61 6c 73 6f 0a | 58 69 6e 73 75 6c 61 74 |It also.|Xinsulat|
|000027a0| 65 73 20 74 68 65 20 6d | 61 69 6e 20 63 6f 64 65 |es the m|ain code|
|000027b0| 20 66 72 6f 6d 20 4f 53 | 20 63 68 61 6e 67 65 73 | from OS| changes|
|000027c0| 2e 20 46 65 65 6c 20 66 | 72 65 65 20 74 6f 20 75 |. Feel f|ree to u|
|000027d0| 73 65 20 63 6f 6e 66 2a | 2e 68 20 69 6e 0a 58 6f |se conf*|.h in.Xo|
|000027e0| 74 68 65 72 20 70 61 63 | 6b 61 67 65 73 2e 20 49 |ther pac|kages. I|
|000027f0| 20 61 6d 20 63 6f 6e 73 | 69 64 65 72 69 6e 67 20 | am cons|idering |
|00002800| 73 65 74 74 69 6e 67 20 | 75 70 20 61 20 63 65 6e |setting |up a cen|
|00002810| 74 72 61 6c 20 72 65 67 | 69 73 74 72 61 74 69 6f |tral reg|istratio|
|00002820| 6e 0a 58 73 79 73 74 65 | 6d 20 66 6f 72 20 66 69 |n.Xsyste|m for fi|
|00002830| 6c 65 73 20 6c 69 6b 65 | 20 74 68 69 73 2e 0a 58 |les like| this..X|
|00002840| 0a 58 49 20 6b 6e 6f 77 | 2c 20 74 68 65 72 65 20 |.XI know|, there |
|00002850| 61 72 65 20 6c 6f 74 73 | 20 6f 66 20 6f 74 68 65 |are lots| of othe|
|00002860| 72 20 6c 69 62 72 61 72 | 69 65 73 20 68 65 72 65 |r librar|ies here|
|00002870| 2e 2e 2e 20 49 27 6c 6c | 20 64 6f 63 75 6d 65 6e |... I'll| documen|
|00002880| 74 20 74 68 65 6d 0a 58 | 73 6f 6f 6e 2e 0a 45 4e |t them.X|soon..EN|
|00002890| 44 5f 4f 46 5f 46 49 4c | 45 0a 69 66 20 74 65 73 |D_OF_FIL|E.if tes|
|000028a0| 74 20 36 32 31 32 20 2d | 6e 65 20 60 77 63 20 2d |t 6212 -|ne `wc -|
|000028b0| 63 20 3c 27 52 45 41 44 | 4d 45 27 60 3b 20 74 68 |c <'READ|ME'`; th|
|000028c0| 65 6e 0a 20 20 20 20 65 | 63 68 6f 20 73 68 61 72 |en. e|cho shar|
|000028d0| 3a 20 5c 22 27 52 45 41 | 44 4d 45 27 5c 22 20 75 |: \"'REA|DME'\" u|
|000028e0| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|000028f0| 6e 67 20 73 69 7a 65 21 | 0a 66 69 0a 23 20 65 6e |ng size!|.fi.# en|
|00002900| 64 20 6f 66 20 27 52 45 | 41 44 4d 45 27 0a 66 69 |d of 'RE|ADME'.fi|
|00002910| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 52 45 41 |.if test| -f 'REA|
|00002920| 44 4d 45 2e 61 75 74 68 | 64 27 20 2d 61 20 22 24 |DME.auth|d' -a "$|
|00002930| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00002940| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00002950| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00002960| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|00002970| 20 5c 22 27 52 45 41 44 | 4d 45 2e 61 75 74 68 64 | \"'READ|ME.authd|
|00002980| 27 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |'\".else|.echo sh|
|00002990| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|000029a0| 22 27 52 45 41 44 4d 45 | 2e 61 75 74 68 64 27 5c |"'README|.authd'\|
|000029b0| 22 20 5c 28 31 37 31 31 | 20 63 68 61 72 61 63 74 |" \(1711| charact|
|000029c0| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|000029d0| 2f 22 20 3e 27 52 45 41 | 44 4d 45 2e 61 75 74 68 |/" >'REA|DME.auth|
|000029e0| 64 27 20 3c 3c 27 45 4e | 44 5f 4f 46 5f 46 49 4c |d' <<'EN|D_OF_FIL|
|000029f0| 45 27 0a 58 61 75 74 68 | 64 20 2d 20 61 75 74 68 |E'.Xauth|d - auth|
|00002a00| 65 6e 74 69 63 61 74 69 | 6f 6e 20 73 65 72 76 65 |enticati|on serve|
|00002a10| 72 20 64 61 65 6d 6f 6e | 0a 58 74 63 70 75 69 64 |r daemon|.Xtcpuid|
|00002a20| 2c 20 74 63 70 75 6e 61 | 6d 65 20 2d 20 66 69 6e |, tcpuna|me - fin|
|00002a30| 64 20 6f 75 74 20 77 68 | 69 63 68 20 75 73 65 72 |d out wh|ich user|
|00002a40| 20 6f 77 6e 73 20 61 20 | 63 6f 6e 6e 65 63 74 69 | owns a |connecti|
|00002a50| 6f 6e 0a 58 61 75 74 68 | 75 73 65 72 20 2d 20 72 |on.Xauth|user - r|
|00002a60| 65 6d 6f 74 65 20 61 75 | 74 68 65 6e 74 69 63 61 |emote au|thentica|
|00002a70| 74 69 6f 6e 20 6c 69 62 | 72 61 72 79 0a 58 0a 58 |tion lib|rary.X.X|
|00002a80| 61 75 74 68 64 20 69 73 | 20 61 6e 20 69 6d 70 6c |authd is| an impl|
|00002a90| 65 6d 65 6e 74 61 74 69 | 6f 6e 20 6f 66 20 52 46 |ementati|on of RF|
|00002aa0| 43 20 39 33 31 2c 20 74 | 68 65 20 41 75 74 68 65 |C 931, t|he Authe|
|00002ab0| 6e 74 69 63 61 74 69 6f | 6e 20 53 65 72 76 65 72 |nticatio|n Server|
|00002ac0| 20 75 6e 64 65 72 0a 58 | 42 53 44 2e 20 52 46 43 | under.X|BSD. RFC|
|00002ad0| 20 39 33 31 20 70 72 6f | 76 69 64 65 73 20 74 68 | 931 pro|vides th|
|00002ae0| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 75 73 |e name o|f the us|
|00002af0| 65 72 20 6f 77 6e 69 6e | 67 20 61 20 54 43 50 20 |er ownin|g a TCP |
|00002b00| 63 6f 6e 6e 65 63 74 69 | 6f 6e 2e 20 54 68 69 73 |connecti|on. This|
|00002b10| 0a 58 68 65 6c 70 73 20 | 6e 65 74 77 6f 72 6b 20 |.Xhelps |network |
|00002b20| 73 65 63 75 72 69 74 79 | 3a 20 75 6e 6c 65 73 73 |security|: unless|
|00002b30| 20 54 43 50 20 69 74 73 | 65 6c 66 20 69 73 20 63 | TCP its|elf is c|
|00002b40| 6f 6d 70 72 6f 6d 69 73 | 65 64 2c 20 69 74 20 69 |ompromis|ed, it i|
|00002b50| 73 0a 58 69 6d 70 6f 73 | 73 69 62 6c 65 20 74 6f |s.Ximpos|sible to|
|00002b60| 20 66 6f 72 67 65 20 6d | 61 69 6c 20 6f 72 20 6e | forge m|ail or n|
|00002b70| 65 77 73 20 62 65 74 77 | 65 65 6e 20 63 6f 6d 70 |ews betw|een comp|
|00002b80| 75 74 65 72 73 20 73 75 | 70 70 6f 72 74 69 6e 67 |uters su|pporting|
|00002b90| 20 52 46 43 20 39 33 31 | 2e 0a 58 49 74 20 61 6c | RFC 931|..XIt al|
|00002ba0| 73 6f 20 62 65 63 6f 6d | 65 73 20 6d 75 63 68 20 |so becom|es much |
|00002bb0| 65 61 73 69 65 72 20 74 | 6f 20 74 72 61 63 65 20 |easier t|o trace |
|00002bc0| 61 74 74 61 63 6b 65 72 | 73 20 74 68 61 6e 20 69 |attacker|s than i|
|00002bd0| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 2c 0a 58 |n the cu|rrent,.X|
|00002be0| 6c 61 72 67 65 6c 79 20 | 61 6e 6f 6e 79 6d 6f 75 |largely |anonymou|
|00002bf0| 73 2c 20 6e 65 74 77 6f | 72 6b 2e 20 61 75 74 68 |s, netwo|rk. auth|
|00002c00| 64 20 72 65 71 75 69 72 | 65 73 20 6e 6f 20 63 68 |d requir|es no ch|
|00002c10| 61 6e 67 65 73 20 74 6f | 20 63 75 72 72 65 6e 74 |anges to| current|
|00002c20| 20 63 6f 64 65 3a 0a 58 | 65 76 65 72 79 20 63 6f | code:.X|every co|
|00002c30| 6e 6e 65 63 74 28 29 20 | 61 6e 64 20 61 63 63 65 |nnect() |and acce|
|00002c40| 70 74 28 29 20 69 73 20 | 61 75 74 68 65 6e 74 69 |pt() is |authenti|
|00002c50| 63 61 74 65 64 20 61 75 | 74 6f 6d 61 74 69 63 61 |cated au|tomatica|
|00002c60| 6c 6c 79 2c 20 77 69 74 | 68 20 6e 6f 0a 58 6c 6f |lly, wit|h no.Xlo|
|00002c70| 73 73 20 6f 66 20 65 66 | 66 69 63 69 65 6e 63 79 |ss of ef|ficiency|
|00002c80| 2e 0a 58 0a 58 74 63 70 | 75 69 64 20 61 6e 64 20 |..X.Xtcp|uid and |
|00002c90| 74 63 70 75 6e 61 6d 65 | 20 61 72 65 20 74 68 65 |tcpuname| are the|
|00002ca0| 20 73 61 6d 65 20 70 72 | 6f 67 72 61 6d 2c 20 62 | same pr|ogram, b|
|00002cb0| 75 74 20 6d 6f 72 65 20 | 73 75 69 74 61 62 6c 65 |ut more |suitable|
|00002cc0| 20 66 6f 72 20 6c 6f 63 | 61 6c 0a 58 75 73 65 20 | for loc|al.Xuse |
|00002cd0| 66 72 6f 6d 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |from the| command|
|00002ce0| 20 6c 69 6e 65 20 62 79 | 20 61 20 75 73 65 72 20 | line by| a user |
|00002cf0| 6f 72 20 73 79 73 74 65 | 6d 20 61 64 6d 69 6e 69 |or syste|m admini|
|00002d00| 73 74 72 61 74 6f 72 2e | 20 54 68 65 79 20 73 68 |strator.| They sh|
|00002d10| 6f 77 0a 58 77 68 69 63 | 68 20 6c 6f 63 61 6c 20 |ow.Xwhic|h local |
|00002d20| 75 73 65 72 20 63 72 65 | 61 74 65 64 20 61 20 67 |user cre|ated a g|
|00002d30| 69 76 65 6e 20 54 43 50 | 20 63 6f 6e 6e 65 63 74 |iven TCP| connect|
|00002d40| 69 6f 6e 2e 0a 58 0a 58 | 61 75 74 68 75 73 65 72 |ion..X.X|authuser|
|00002d50| 20 69 73 20 61 20 6c 69 | 62 72 61 72 79 20 65 6e | is a li|brary en|
|00002d60| 63 61 70 73 75 6c 61 74 | 69 6e 67 20 63 6c 69 65 |capsulat|ing clie|
|00002d70| 6e 74 20 75 73 65 20 6f | 66 20 52 46 43 20 39 33 |nt use o|f RFC 93|
|00002d80| 31 2e 20 49 74 20 74 61 | 6c 6b 73 20 74 6f 20 61 |1. It ta|lks to a|
|00002d90| 0a 58 72 65 6d 6f 74 65 | 20 41 75 74 68 65 6e 74 |.Xremote| Authent|
|00002da0| 69 63 61 74 69 6f 6e 20 | 53 65 72 76 65 72 20 74 |ication |Server t|
|00002db0| 6f 20 66 69 6e 64 20 6f | 75 74 20 74 68 65 20 75 |o find o|ut the u|
|00002dc0| 73 65 72 6e 61 6d 65 20 | 6f 6e 20 74 68 65 20 6f |sername |on the o|
|00002dd0| 74 68 65 72 20 73 69 64 | 65 0a 58 6f 66 20 61 20 |ther sid|e.Xof a |
|00002de0| 67 69 76 65 6e 20 63 6f | 6e 6e 65 63 74 69 6f 6e |given co|nnection|
|00002df0| 2e 0a 58 0a 58 4f 6e 6c | 79 20 72 6f 6f 74 20 63 |..X.XOnl|y root c|
|00002e00| 61 6e 20 69 6e 73 74 61 | 6c 6c 20 61 75 74 68 64 |an insta|ll authd|
|00002e10| 2e 20 48 6f 77 65 76 65 | 72 2c 20 6d 6f 73 74 20 |. Howeve|r, most |
|00002e20| 63 75 72 72 65 6e 74 20 | 73 79 73 74 65 6d 73 20 |current |systems |
|00002e30| 61 72 65 20 69 6e 73 65 | 63 75 72 65 0a 58 65 6e |are inse|cure.Xen|
|00002e40| 6f 75 67 68 20 74 68 61 | 74 20 61 6e 79 20 75 73 |ough tha|t any us|
|00002e50| 65 72 20 63 61 6e 20 72 | 75 6e 20 74 63 70 75 69 |er can r|un tcpui|
|00002e60| 64 20 61 6e 64 20 74 63 | 70 75 6e 61 6d 65 2e 20 |d and tc|puname. |
|00002e70| 61 75 74 68 75 73 65 72 | 20 69 73 20 6d 65 61 6e |authuser| is mean|
|00002e80| 74 20 66 6f 72 0a 58 75 | 73 65 20 62 79 20 61 6e |t for.Xu|se by an|
|00002e90| 79 20 70 72 6f 67 72 61 | 6d 2e 0a 58 0a 58 0a 58 |y progra|m..X.X.X|
|00002ea0| 0a 58 44 65 72 69 76 65 | 64 20 66 72 6f 6d 20 61 |.XDerive|d from a|
|00002eb0| 75 74 68 64 20 76 65 72 | 73 69 6f 6e 20 33 2e 30 |uthd ver|sion 3.0|
|00002ec0| 31 2c 20 46 65 62 72 75 | 61 72 79 20 37 2c 20 31 |1, Febru|ary 7, 1|
|00002ed0| 39 39 31 2e 0a 58 50 6c | 61 63 65 64 20 69 6e 74 |991..XPl|aced int|
|00002ee0| 6f 20 74 68 65 20 70 75 | 62 6c 69 63 20 64 6f 6d |o the pu|blic dom|
|00002ef0| 61 69 6e 20 62 79 20 44 | 61 6e 69 65 6c 20 4a 2e |ain by D|aniel J.|
|00002f00| 20 42 65 72 6e 73 74 65 | 69 6e 2e 0a 58 53 6f 6d | Bernste|in..XSom|
|00002f10| 65 20 6f 66 20 74 68 65 | 20 63 6f 64 65 20 69 6e |e of the| code in|
|00002f20| 20 61 75 74 68 64 20 77 | 61 73 20 69 6e 73 70 69 | authd w|as inspi|
|00002f30| 72 65 64 20 62 79 20 63 | 6f 64 65 20 77 72 69 74 |red by c|ode writ|
|00002f40| 74 65 6e 20 62 79 0a 58 | 56 69 63 20 41 62 65 6c |ten by.X|Vic Abel|
|00002f50| 6c 2c 20 61 62 65 40 6d | 61 63 65 2e 63 63 2e 70 |l, abe@m|ace.cc.p|
|00002f60| 75 72 64 75 65 2e 65 64 | 75 2c 20 66 6f 72 20 74 |urdue.ed|u, for t|
|00002f70| 68 65 20 6f 66 69 6c 65 | 73 20 70 72 6f 67 72 61 |he ofile|s progra|
|00002f80| 6d 2e 0a 58 0a 58 50 61 | 72 74 69 63 75 6c 61 72 |m..X.XPa|rticular|
|00002f90| 20 74 68 61 6e 6b 73 20 | 74 6f 20 74 68 65 20 66 | thanks |to the f|
|00002fa0| 6f 6c 6c 6f 77 69 6e 67 | 20 70 65 6f 70 6c 65 20 |ollowing| people |
|00002fb0| 66 6f 72 20 63 6f 6d 6d | 65 6e 74 73 2c 20 63 72 |for comm|ents, cr|
|00002fc0| 69 74 69 63 69 73 6d 2c | 20 61 6e 64 0a 58 63 6f |iticism,| and.Xco|
|00002fd0| 64 65 3a 0a 58 0a 58 20 | 20 20 47 61 72 79 20 52 |de:.X.X | Gary R|
|00002fe0| 6f 73 65 6e 62 6c 75 6d | 20 28 72 6f 73 65 6e 62 |osenblum| (rosenb|
|00002ff0| 6c 67 40 6e 79 75 2e 65 | 64 75 29 0a 58 20 20 20 |lg@nyu.e|du).X |
|00003000| 53 65 74 68 20 52 6f 62 | 65 72 74 73 6f 6e 20 28 |Seth Rob|ertson (|
|00003010| 73 65 74 68 40 73 69 72 | 69 75 73 2e 63 74 72 2e |seth@sir|ius.ctr.|
|00003020| 63 6f 6c 75 6d 62 69 61 | 2e 65 64 75 29 0a 58 20 |columbia|.edu).X |
|00003030| 20 20 4e 69 63 6b 20 53 | 61 79 65 72 20 28 6d 72 | Nick S|ayer (mr|
|00003040| 61 70 70 6c 65 40 71 75 | 61 63 6b 2e 73 61 63 2e |apple@qu|ack.sac.|
|00003050| 63 61 2e 75 73 29 0a 58 | 20 20 20 43 68 72 69 73 |ca.us).X| Chris|
|00003060| 20 4d 65 74 63 61 6c 66 | 20 28 6d 65 74 63 61 6c | Metcalf| (metcal|
|00003070| 66 40 6d 61 73 61 6c 61 | 2e 6c 63 73 2e 6d 69 74 |f@masala|.lcs.mit|
|00003080| 2e 65 64 75 29 0a 58 20 | 20 20 54 69 6d 20 52 61 |.edu).X | Tim Ra|
|00003090| 6d 73 65 79 20 28 74 61 | 72 40 6d 61 74 68 2e 6b |msey (ta|r@math.k|
|000030a0| 73 75 2e 65 64 75 29 0a | 58 20 20 20 54 6f 72 20 |su.edu).|X Tor |
|000030b0| 4c 69 6c 6c 71 76 69 73 | 74 20 28 74 6d 6c 40 74 |Lillqvis|t (tml@t|
|000030c0| 69 6b 2e 76 74 74 2e 66 | 69 29 0a 45 4e 44 5f 4f |ik.vtt.f|i).END_O|
|000030d0| 46 5f 46 49 4c 45 0a 69 | 66 20 74 65 73 74 20 31 |F_FILE.i|f test 1|
|000030e0| 37 31 31 20 2d 6e 65 20 | 60 77 63 20 2d 63 20 3c |711 -ne |`wc -c <|
|000030f0| 27 52 45 41 44 4d 45 2e | 61 75 74 68 64 27 60 3b |'README.|authd'`;|
|00003100| 20 74 68 65 6e 0a 20 20 | 20 20 65 63 68 6f 20 73 | then. | echo s|
|00003110| 68 61 72 3a 20 5c 22 27 | 52 45 41 44 4d 45 2e 61 |har: \"'|README.a|
|00003120| 75 74 68 64 27 5c 22 20 | 75 6e 70 61 63 6b 65 64 |uthd'\" |unpacked|
|00003130| 20 77 69 74 68 20 77 72 | 6f 6e 67 20 73 69 7a 65 | with wr|ong size|
|00003140| 21 0a 66 69 0a 23 20 65 | 6e 64 20 6f 66 20 27 52 |!.fi.# e|nd of 'R|
|00003150| 45 41 44 4d 45 2e 61 75 | 74 68 64 27 0a 66 69 0a |EADME.au|thd'.fi.|
|00003160| 69 66 20 74 65 73 74 20 | 2d 66 20 27 61 75 72 65 |if test |-f 'aure|
|00003170| 61 64 2e 68 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |ad.h' -a| "${1}" |
|00003180| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00003190| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|000031a0| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|000031b0| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 61 |isting f|ile \"'a|
|000031c0| 75 72 65 61 64 2e 68 27 | 5c 22 0a 65 6c 73 65 0a |uread.h'|\".else.|
|000031d0| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|000031e0| 63 74 69 6e 67 20 5c 22 | 27 61 75 72 65 61 64 2e |cting \"|'auread.|
|000031f0| 68 27 5c 22 20 5c 28 31 | 32 39 20 63 68 61 72 61 |h'\" \(1|29 chara|
|00003200| 63 74 65 72 73 5c 29 0a | 73 65 64 20 22 73 2f 5e |cters\).|sed "s/^|
|00003210| 58 2f 2f 22 20 3e 27 61 | 75 72 65 61 64 2e 68 27 |X//" >'a|uread.h'|
|00003220| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|00003230| 0a 58 23 69 66 6e 64 65 | 66 20 41 55 52 45 41 44 |.X#ifnde|f AUREAD|
|00003240| 5f 48 0a 58 23 64 65 66 | 69 6e 65 20 41 55 52 45 |_H.X#def|ine AURE|
|00003250| 41 44 5f 48 0a 58 0a 58 | 23 64 65 66 69 6e 65 20 |AD_H.X.X|#define |
|00003260| 4d 41 58 4e 55 4d 4c 45 | 4e 20 31 35 0a 58 23 64 |MAXNUMLE|N 15.X#d|
|00003270| 65 66 69 6e 65 20 4c 4f | 4f 50 4d 41 58 20 31 30 |efine LO|OPMAX 10|
|00003280| 30 30 0a 58 65 78 74 65 | 72 6e 20 69 6e 74 20 72 |00.Xexte|rn int r|
|00003290| 65 61 64 70 6f 72 74 28 | 29 3b 0a 58 65 78 74 65 |eadport(|);.Xexte|
|000032a0| 72 6e 20 69 6e 74 20 72 | 65 61 64 6c 72 28 29 3b |rn int r|eadlr();|
|000032b0| 0a 58 0a 58 23 65 6e 64 | 69 66 0a 45 4e 44 5f 4f |.X.X#end|if.END_O|
|000032c0| 46 5f 46 49 4c 45 0a 69 | 66 20 74 65 73 74 20 31 |F_FILE.i|f test 1|
|000032d0| 32 39 20 2d 6e 65 20 60 | 77 63 20 2d 63 20 3c 27 |29 -ne `|wc -c <'|
|000032e0| 61 75 72 65 61 64 2e 68 | 27 60 3b 20 74 68 65 6e |auread.h|'`; then|
|000032f0| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00003300| 5c 22 27 61 75 72 65 61 | 64 2e 68 27 5c 22 20 75 |\"'aurea|d.h'\" u|
|00003310| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|00003320| 6e 67 20 73 69 7a 65 21 | 0a 66 69 0a 23 20 65 6e |ng size!|.fi.# en|
|00003330| 64 20 6f 66 20 27 61 75 | 72 65 61 64 2e 68 27 0a |d of 'au|read.h'.|
|00003340| 66 69 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 61 |fi.if te|st -f 'a|
|00003350| 75 74 68 75 73 65 72 2e | 68 27 20 2d 61 20 22 24 |uthuser.|h' -a "$|
|00003360| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00003370| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00003380| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00003390| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|000033a0| 20 5c 22 27 61 75 74 68 | 75 73 65 72 2e 68 27 5c | \"'auth|user.h'\|
|000033b0| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|000033c0| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|000033d0| 61 75 74 68 75 73 65 72 | 2e 68 27 5c 22 20 5c 28 |authuser|.h'\" \(|
|000033e0| 31 36 31 20 63 68 61 72 | 61 63 74 65 72 73 5c 29 |161 char|acters\)|
|000033f0| 0a 73 65 64 20 22 73 2f | 5e 58 2f 2f 22 20 3e 27 |.sed "s/|^X//" >'|
|00003400| 61 75 74 68 75 73 65 72 | 2e 68 27 20 3c 3c 27 45 |authuser|.h' <<'E|
|00003410| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 23 69 66 |ND_OF_FI|LE'.X#if|
|00003420| 6e 64 65 66 20 41 55 54 | 48 55 53 45 52 5f 48 0a |ndef AUT|HUSER_H.|
|00003430| 58 23 64 65 66 69 6e 65 | 20 41 55 54 48 55 53 45 |X#define| AUTHUSE|
|00003440| 52 5f 48 0a 58 0a 58 65 | 78 74 65 72 6e 20 75 6e |R_H.X.Xe|xtern un|
|00003450| 73 69 67 6e 65 64 20 73 | 68 6f 72 74 20 61 75 74 |signed s|hort aut|
|00003460| 68 5f 74 63 70 70 6f 72 | 74 3b 0a 58 65 78 74 65 |h_tcppor|t;.Xexte|
|00003470| 72 6e 20 63 68 61 72 20 | 2a 61 75 74 68 5f 78 6c |rn char |*auth_xl|
|00003480| 69 6e 65 28 29 3b 0a 58 | 65 78 74 65 72 6e 20 69 |ine();.X|extern i|
|00003490| 6e 74 20 61 75 74 68 5f | 66 64 28 29 3b 0a 58 65 |nt auth_|fd();.Xe|
|000034a0| 78 74 65 72 6e 20 63 68 | 61 72 20 2a 61 75 74 68 |xtern ch|ar *auth|
|000034b0| 5f 74 63 70 75 73 65 72 | 28 29 3b 0a 58 0a 58 23 |_tcpuser|();.X.X#|
|000034c0| 65 6e 64 69 66 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |endif.EN|D_OF_FIL|
|000034d0| 45 0a 69 66 20 74 65 73 | 74 20 31 36 31 20 2d 6e |E.if tes|t 161 -n|
|000034e0| 65 20 60 77 63 20 2d 63 | 20 3c 27 61 75 74 68 75 |e `wc -c| <'authu|
|000034f0| 73 65 72 2e 68 27 60 3b | 20 74 68 65 6e 0a 20 20 |ser.h'`;| then. |
|00003500| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 5c 22 27 | echo s|har: \"'|
|00003510| 61 75 74 68 75 73 65 72 | 2e 68 27 5c 22 20 75 6e |authuser|.h'\" un|
|00003520| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|00003530| 67 20 73 69 7a 65 21 0a | 66 69 0a 23 20 65 6e 64 |g size!.|fi.# end|
|00003540| 20 6f 66 20 27 61 75 74 | 68 75 73 65 72 2e 68 27 | of 'aut|huser.h'|
|00003550| 0a 66 69 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |.fi.if t|est -f '|
|00003560| 61 76 65 6e 72 75 6e 2e | 68 27 20 2d 61 20 22 24 |avenrun.|h' -a "$|
|00003570| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00003580| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00003590| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|000035a0| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|000035b0| 20 5c 22 27 61 76 65 6e | 72 75 6e 2e 68 27 5c 22 | \"'aven|run.h'\"|
|000035c0| 0a 65 6c 73 65 0a 65 63 | 68 6f 20 73 68 61 72 3a |.else.ec|ho shar:|
|000035d0| 20 45 78 74 72 61 63 74 | 69 6e 67 20 5c 22 27 61 | Extract|ing \"'a|
|000035e0| 76 65 6e 72 75 6e 2e 68 | 27 5c 22 20 5c 28 31 33 |venrun.h|'\" \(13|
|000035f0| 30 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |0 charac|ters\).s|
|00003600| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 27 61 76 |ed "s/^X|//" >'av|
|00003610| 65 6e 72 75 6e 2e 68 27 | 20 3c 3c 27 45 4e 44 5f |enrun.h'| <<'END_|
|00003620| 4f 46 5f 46 49 4c 45 27 | 0a 58 23 69 66 6e 64 65 |OF_FILE'|.X#ifnde|
|00003630| 66 20 41 56 45 4e 52 55 | 4e 5f 48 0a 58 23 64 65 |f AVENRU|N_H.X#de|
|00003640| 66 69 6e 65 20 41 56 45 | 4e 52 55 4e 5f 48 0a 58 |fine AVE|NRUN_H.X|
|00003650| 0a 58 65 78 74 65 72 6e | 20 63 68 61 72 20 2a 61 |.Xextern| char *a|
|00003660| 76 65 6e 72 75 6e 73 74 | 72 65 72 72 28 29 3b 0a |venrunst|rerr();.|
|00003670| 58 65 78 74 65 72 6e 20 | 69 6e 74 20 61 76 65 6e |Xextern |int aven|
|00003680| 72 75 6e 69 6e 69 74 28 | 29 3b 0a 58 65 78 74 65 |runinit(|);.Xexte|
|00003690| 72 6e 20 64 6f 75 62 6c | 65 20 2a 67 65 74 61 76 |rn doubl|e *getav|
|000036a0| 65 6e 72 75 6e 28 29 3b | 0a 58 0a 58 23 65 6e 64 |enrun();|.X.X#end|
|000036b0| 69 66 0a 45 4e 44 5f 4f | 46 5f 46 49 4c 45 0a 69 |if.END_O|F_FILE.i|
|000036c0| 66 20 74 65 73 74 20 31 | 33 30 20 2d 6e 65 20 60 |f test 1|30 -ne `|
|000036d0| 77 63 20 2d 63 20 3c 27 | 61 76 65 6e 72 75 6e 2e |wc -c <'|avenrun.|
|000036e0| 68 27 60 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |h'`; the|n. ec|
|000036f0| 68 6f 20 73 68 61 72 3a | 20 5c 22 27 61 76 65 6e |ho shar:| \"'aven|
|00003700| 72 75 6e 2e 68 27 5c 22 | 20 75 6e 70 61 63 6b 65 |run.h'\"| unpacke|
|00003710| 64 20 77 69 74 68 20 77 | 72 6f 6e 67 20 73 69 7a |d with w|rong siz|
|00003720| 65 21 0a 66 69 0a 23 20 | 65 6e 64 20 6f 66 20 27 |e!.fi.# |end of '|
|00003730| 61 76 65 6e 72 75 6e 2e | 68 27 0a 66 69 0a 69 66 |avenrun.|h'.fi.if|
|00003740| 20 74 65 73 74 20 2d 66 | 20 27 62 6f 6f 74 74 69 | test -f| 'bootti|
|00003750| 6d 65 2e 68 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |me.h' -a| "${1}" |
|00003760| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00003770| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00003780| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|00003790| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 62 |isting f|ile \"'b|
|000037a0| 6f 6f 74 74 69 6d 65 2e | 68 27 5c 22 0a 65 6c 73 |oottime.|h'\".els|
|000037b0| 65 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 |e.echo s|har: Ext|
|000037c0| 72 61 63 74 69 6e 67 20 | 5c 22 27 62 6f 6f 74 74 |racting |\"'boott|
|000037d0| 69 6d 65 2e 68 27 5c 22 | 20 5c 28 31 38 30 20 63 |ime.h'\"| \(180 c|
|000037e0| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|000037f0| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 62 6f 6f 74 74 |"s/^X//"| >'boott|
|00003800| 69 6d 65 2e 68 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |ime.h' <|<'END_OF|
|00003810| 5f 46 49 4c 45 27 0a 58 | 23 69 66 6e 64 65 66 20 |_FILE'.X|#ifndef |
|00003820| 42 4f 4f 54 54 49 4d 45 | 5f 48 0a 58 23 64 65 66 |BOOTTIME|_H.X#def|
|00003830| 69 6e 65 20 42 4f 4f 54 | 54 49 4d 45 5f 48 0a 58 |ine BOOT|TIME_H.X|
|00003840| 0a 58 65 78 74 65 72 6e | 20 63 68 61 72 20 2a 62 |.Xextern| char *b|
|00003850| 6f 6f 74 74 69 6d 65 73 | 74 72 65 72 72 28 29 3b |oottimes|trerr();|
|00003860| 0a 58 65 78 74 65 72 6e | 20 69 6e 74 20 62 6f 6f |.Xextern| int boo|
|00003870| 74 74 69 6d 65 69 6e 69 | 74 28 29 3b 0a 58 65 78 |ttimeini|t();.Xex|
|00003880| 74 65 72 6e 20 6c 6f 6e | 67 20 67 65 74 62 6f 6f |tern lon|g getboo|
|00003890| 74 74 69 6d 65 28 29 3b | 20 2f 2a 20 73 68 6f 75 |ttime();| /* shou|
|000038a0| 6c 64 20 62 65 20 74 69 | 6d 65 5f 74 20 6f 6e 20 |ld be ti|me_t on |
|000038b0| 73 6f 6d 65 20 73 79 73 | 74 65 6d 73 2c 20 74 6f |some sys|tems, to|
|000038c0| 6f 20 62 61 64 20 2a 2f | 0a 58 0a 58 23 65 6e 64 |o bad */|.X.X#end|
|000038d0| 69 66 0a 45 4e 44 5f 4f | 46 5f 46 49 4c 45 0a 69 |if.END_O|F_FILE.i|
|000038e0| 66 20 74 65 73 74 20 31 | 38 30 20 2d 6e 65 20 60 |f test 1|80 -ne `|
|000038f0| 77 63 20 2d 63 20 3c 27 | 62 6f 6f 74 74 69 6d 65 |wc -c <'|boottime|
|00003900| 2e 68 27 60 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 |.h'`; th|en. e|
|00003910| 63 68 6f 20 73 68 61 72 | 3a 20 5c 22 27 62 6f 6f |cho shar|: \"'boo|
|00003920| 74 74 69 6d 65 2e 68 27 | 5c 22 20 75 6e 70 61 63 |ttime.h'|\" unpac|
|00003930| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00003940| 69 7a 65 21 0a 66 69 0a | 23 20 65 6e 64 20 6f 66 |ize!.fi.|# end of|
|00003950| 20 27 62 6f 6f 74 74 69 | 6d 65 2e 68 27 0a 66 69 | 'bootti|me.h'.fi|
|00003960| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 63 6f 6e |.if test| -f 'con|
|00003970| 66 63 6c 6f 6e 65 64 65 | 76 2e 68 27 20 2d 61 20 |fclonede|v.h' -a |
|00003980| 22 24 7b 31 7d 22 20 21 | 3d 20 22 2d 63 22 20 3b |"${1}" !|= "-c" ;|
|00003990| 20 74 68 65 6e 20 0a 20 | 20 65 63 68 6f 20 73 68 | then . | echo sh|
|000039a0| 61 72 3a 20 57 69 6c 6c | 20 6e 6f 74 20 63 6c 6f |ar: Will| not clo|
|000039b0| 62 62 65 72 20 65 78 69 | 73 74 69 6e 67 20 66 69 |bber exi|sting fi|
|000039c0| 6c 65 20 5c 22 27 63 6f | 6e 66 63 6c 6f 6e 65 64 |le \"'co|nfcloned|
|000039d0| 65 76 2e 68 27 5c 22 0a | 65 6c 73 65 0a 65 63 68 |ev.h'\".|else.ech|
|000039e0| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|000039f0| 6e 67 20 5c 22 27 63 6f | 6e 66 63 6c 6f 6e 65 64 |ng \"'co|nfcloned|
|00003a00| 65 76 2e 68 27 5c 22 20 | 5c 28 31 34 33 20 63 68 |ev.h'\" |\(143 ch|
|00003a10| 61 72 61 63 74 65 72 73 | 5c 29 0a 73 65 64 20 22 |aracters|\).sed "|
|00003a20| 73 2f 5e 58 2f 2f 22 20 | 3e 27 63 6f 6e 66 63 6c |s/^X//" |>'confcl|
|00003a30| 6f 6e 65 64 65 76 2e 68 | 27 20 3c 3c 27 45 4e 44 |onedev.h|' <<'END|
|00003a40| 5f 4f 46 5f 46 49 4c 45 | 27 0a 58 23 69 66 6e 64 |_OF_FILE|'.X#ifnd|
|00003a50| 65 66 20 43 4f 4e 46 5f | 43 4c 4f 4e 45 44 45 56 |ef CONF_|CLONEDEV|
|00003a60| 5f 48 0a 58 23 64 65 66 | 69 6e 65 20 43 4f 4e 46 |_H.X#def|ine CONF|
|00003a70| 5f 43 4c 4f 4e 45 44 45 | 56 5f 48 0a 58 0a 58 23 |_CLONEDE|V_H.X.X#|
|00003a80| 69 66 64 65 66 20 53 55 | 4e 4f 53 34 0a 58 23 64 |ifdef SU|NOS4.X#d|
|00003a90| 65 66 69 6e 65 20 43 4c | 4f 4e 45 44 45 56 20 33 |efine CL|ONEDEV 3|
|00003aa0| 37 20 20 20 20 20 20 2f | 2a 20 73 74 72 65 61 6d |7 /|* stream|
|00003ab0| 73 20 63 6c 6f 6e 65 20 | 6d 61 6a 6f 72 20 64 65 |s clone |major de|
|00003ac0| 76 69 63 65 20 6e 75 6d | 62 65 72 20 2a 2f 0a 58 |vice num|ber */.X|
|00003ad0| 23 65 6e 64 69 66 0a 58 | 0a 58 23 65 6e 64 69 66 |#endif.X|.X#endif|
|00003ae0| 0a 45 4e 44 5f 4f 46 5f | 46 49 4c 45 0a 69 66 20 |.END_OF_|FILE.if |
|00003af0| 74 65 73 74 20 31 34 33 | 20 2d 6e 65 20 60 77 63 |test 143| -ne `wc|
|00003b00| 20 2d 63 20 3c 27 63 6f | 6e 66 63 6c 6f 6e 65 64 | -c <'co|nfcloned|
|00003b10| 65 76 2e 68 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |ev.h'`; |then. |
|00003b20| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 63 | echo sh|ar: \"'c|
|00003b30| 6f 6e 66 63 6c 6f 6e 65 | 64 65 76 2e 68 27 5c 22 |onfclone|dev.h'\"|
|00003b40| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|00003b50| 72 6f 6e 67 20 73 69 7a | 65 21 0a 66 69 0a 23 20 |rong siz|e!.fi.# |
|00003b60| 65 6e 64 20 6f 66 20 27 | 63 6f 6e 66 63 6c 6f 6e |end of '|confclon|
|00003b70| 65 64 65 76 2e 68 27 0a | 66 69 0a 69 66 20 74 65 |edev.h'.|fi.if te|
|00003b80| 73 74 20 2d 66 20 27 63 | 6f 6e 66 63 6f 6e 76 65 |st -f 'c|onfconve|
|00003b90| 78 66 69 6c 65 67 61 72 | 62 61 67 65 2e 68 27 20 |xfilegar|bage.h' |
|00003ba0| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00003bb0| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00003bc0| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00003bd0| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|00003be0| 20 66 69 6c 65 20 5c 22 | 27 63 6f 6e 66 63 6f 6e | file \"|'confcon|
|00003bf0| 76 65 78 66 69 6c 65 67 | 61 72 62 61 67 65 2e 68 |vexfileg|arbage.h|
|00003c00| 27 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |'\".else|.echo sh|
|00003c10| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|00003c20| 22 27 63 6f 6e 66 63 6f | 6e 76 65 78 66 69 6c 65 |"'confco|nvexfile|
|00003c30| 67 61 72 62 61 67 65 2e | 68 27 5c 22 20 5c 28 32 |garbage.|h'\" \(2|
|00003c40| 34 32 20 63 68 61 72 61 | 63 74 65 72 73 5c 29 0a |42 chara|cters\).|
|00003c50| 73 65 64 20 22 73 2f 5e | 58 2f 2f 22 20 3e 27 63 |sed "s/^|X//" >'c|
|00003c60| 6f 6e 66 63 6f 6e 76 65 | 78 66 69 6c 65 67 61 72 |onfconve|xfilegar|
|00003c70| 62 61 67 65 2e 68 27 20 | 3c 3c 27 45 4e 44 5f 4f |bage.h' |<<'END_O|
|00003c80| 46 5f 46 49 4c 45 27 0a | 58 23 69 66 6e 64 65 66 |F_FILE'.|X#ifndef|
|00003c90| 20 43 4f 4e 46 5f 43 4f | 4e 56 45 58 46 49 4c 45 | CONF_CO|NVEXFILE|
|00003ca0| 47 41 52 42 41 47 45 5f | 48 0a 58 23 64 65 66 69 |GARBAGE_|H.X#defi|
|00003cb0| 6e 65 20 43 4f 4e 46 5f | 43 4f 4e 56 45 58 46 49 |ne CONF_|CONVEXFI|
|00003cc0| 4c 45 47 41 52 42 41 47 | 45 5f 48 0a 58 0a 58 2f |LEGARBAG|E_H.X.X/|
|00003cd0| 2a 20 44 65 66 69 6e 65 | 20 43 4f 4e 56 45 58 46 |* Define| CONVEXF|
|00003ce0| 49 4c 45 47 41 52 42 41 | 47 45 20 69 66 20 6c 6f |ILEGARBA|GE if lo|
|00003cf0| 74 73 20 6f 66 20 43 6f | 6e 76 65 78 2d 73 70 65 |ts of Co|nvex-spe|
|00003d00| 63 69 66 69 63 20 23 69 | 6e 63 6c 75 64 65 73 20 |cific #i|ncludes |
|00003d10| 61 72 65 0a 58 6e 65 63 | 65 73 73 61 72 79 20 66 |are.Xnec|essary f|
|00003d20| 6f 72 20 73 74 72 75 63 | 74 78 6e 6f 64 65 2e 68 |or struc|txnode.h|
|00003d30| 2e 20 4e 6f 74 20 77 65 | 6c 6c 20 64 65 66 69 6e |. Not we|ll defin|
|00003d40| 65 64 2e 20 2a 2f 0a 58 | 0a 58 23 69 66 64 65 66 |ed. */.X|.X#ifdef|
|00003d50| 20 43 4f 4e 56 45 58 0a | 58 23 64 65 66 69 6e 65 | CONVEX.|X#define|
|00003d60| 20 43 4f 4e 56 45 58 46 | 49 4c 45 47 41 52 42 41 | CONVEXF|ILEGARBA|
|00003d70| 47 45 0a 58 23 65 6e 64 | 69 66 0a 58 0a 58 23 65 |GE.X#end|if.X.X#e|
|00003d80| 6e 64 69 66 0a 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |ndif.END|_OF_FILE|
|00003d90| 0a 69 66 20 74 65 73 74 | 20 32 34 32 20 2d 6e 65 |.if test| 242 -ne|
|00003da0| 20 60 77 63 20 2d 63 20 | 3c 27 63 6f 6e 66 63 6f | `wc -c |<'confco|
|00003db0| 6e 76 65 78 66 69 6c 65 | 67 61 72 62 61 67 65 2e |nvexfile|garbage.|
|00003dc0| 68 27 60 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |h'`; the|n. ec|
|00003dd0| 68 6f 20 73 68 61 72 3a | 20 5c 22 27 63 6f 6e 66 |ho shar:| \"'conf|
|00003de0| 63 6f 6e 76 65 78 66 69 | 6c 65 67 61 72 62 61 67 |convexfi|legarbag|
|00003df0| 65 2e 68 27 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |e.h'\" u|npacked |
|00003e00| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|00003e10| 0a 66 69 0a 23 20 65 6e | 64 20 6f 66 20 27 63 6f |.fi.# en|d of 'co|
|00003e20| 6e 66 63 6f 6e 76 65 78 | 66 69 6c 65 67 61 72 62 |nfconvex|filegarb|
|00003e30| 61 67 65 2e 68 27 0a 66 | 69 0a 69 66 20 74 65 73 |age.h'.f|i.if tes|
|00003e40| 74 20 2d 66 20 27 63 6f | 6e 66 63 6f 6e 76 65 78 |t -f 'co|nfconvex|
|00003e50| 72 70 63 6e 66 73 2e 68 | 27 20 2d 61 20 22 24 7b |rpcnfs.h|' -a "${|
|00003e60| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|00003e70| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|00003e80| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|00003e90| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|00003ea0| 5c 22 27 63 6f 6e 66 63 | 6f 6e 76 65 78 72 70 63 |\"'confc|onvexrpc|
|00003eb0| 6e 66 73 2e 68 27 5c 22 | 0a 65 6c 73 65 0a 65 63 |nfs.h'\"|.else.ec|
|00003ec0| 68 6f 20 73 68 61 72 3a | 20 45 78 74 72 61 63 74 |ho shar:| Extract|
|00003ed0| 69 6e 67 20 5c 22 27 63 | 6f 6e 66 63 6f 6e 76 65 |ing \"'c|onfconve|
|00003ee0| 78 72 70 63 6e 66 73 2e | 68 27 5c 22 20 5c 28 31 |xrpcnfs.|h'\" \(1|
|00003ef0| 30 37 20 63 68 61 72 61 | 63 74 65 72 73 5c 29 0a |07 chara|cters\).|
|00003f00| 73 65 64 20 22 73 2f 5e | 58 2f 2f 22 20 3e 27 63 |sed "s/^|X//" >'c|
|00003f10| 6f 6e 66 63 6f 6e 76 65 | 78 72 70 63 6e 66 73 2e |onfconve|xrpcnfs.|
|00003f20| 68 27 20 3c 3c 27 45 4e | 44 5f 4f 46 5f 46 49 4c |h' <<'EN|D_OF_FIL|
|00003f30| 45 27 0a 58 23 69 66 6e | 64 65 66 20 43 4f 4e 46 |E'.X#ifn|def CONF|
|00003f40| 5f 43 4f 4e 56 45 58 52 | 50 43 4e 46 53 5f 48 0a |_CONVEXR|PCNFS_H.|
|00003f50| 58 23 64 65 66 69 6e 65 | 20 43 4f 4e 46 5f 43 4f |X#define| CONF_CO|
|00003f60| 4e 56 45 58 52 50 43 4e | 46 53 5f 48 0a 58 0a 58 |NVEXRPCN|FS_H.X.X|
|00003f70| 23 69 66 64 65 66 20 43 | 4f 4e 56 45 58 0a 58 23 |#ifdef C|ONVEX.X#|
|00003f80| 64 65 66 69 6e 65 20 43 | 4f 4e 56 45 58 52 50 43 |define C|ONVEXRPC|
|00003f90| 4e 46 53 0a 58 23 65 6e | 64 69 66 0a 58 0a 58 23 |NFS.X#en|dif.X.X#|
|00003fa0| 65 6e 64 69 66 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |endif.EN|D_OF_FIL|
|00003fb0| 45 0a 69 66 20 74 65 73 | 74 20 31 30 37 20 2d 6e |E.if tes|t 107 -n|
|00003fc0| 65 20 60 77 63 20 2d 63 | 20 3c 27 63 6f 6e 66 63 |e `wc -c| <'confc|
|00003fd0| 6f 6e 76 65 78 72 70 63 | 6e 66 73 2e 68 27 60 3b |onvexrpc|nfs.h'`;|
|00003fe0| 20 74 68 65 6e 0a 20 20 | 20 20 65 63 68 6f 20 73 | then. | echo s|
|00003ff0| 68 61 72 3a 20 5c 22 27 | 63 6f 6e 66 63 6f 6e 76 |har: \"'|confconv|
|00004000| 65 78 72 70 63 6e 66 73 | 2e 68 27 5c 22 20 75 6e |exrpcnfs|.h'\" un|
|00004010| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|00004020| 67 20 73 69 7a 65 21 0a | 66 69 0a 23 20 65 6e 64 |g size!.|fi.# end|
|00004030| 20 6f 66 20 27 63 6f 6e | 66 63 6f 6e 76 65 78 72 | of 'con|fconvexr|
|00004040| 70 63 6e 66 73 2e 68 27 | 0a 66 69 0a 69 66 20 74 |pcnfs.h'|.fi.if t|
|00004050| 65 73 74 20 2d 66 20 27 | 63 6f 6e 66 63 6f 6e 76 |est -f '|confconv|
|00004060| 65 78 73 79 73 66 69 6c | 65 2e 68 27 20 2d 61 20 |exsysfil|e.h' -a |
|00004070| 22 24 7b 31 7d 22 20 21 | 3d 20 22 2d 63 22 20 3b |"${1}" !|= "-c" ;|
|00004080| 20 74 68 65 6e 20 0a 20 | 20 65 63 68 6f 20 73 68 | then . | echo sh|
|00004090| 61 72 3a 20 57 69 6c 6c | 20 6e 6f 74 20 63 6c 6f |ar: Will| not clo|
|000040a0| 62 62 65 72 20 65 78 69 | 73 74 69 6e 67 20 66 69 |bber exi|sting fi|
|000040b0| 6c 65 20 5c 22 27 63 6f | 6e 66 63 6f 6e 76 65 78 |le \"'co|nfconvex|
|000040c0| 73 79 73 66 69 6c 65 2e | 68 27 5c 22 0a 65 6c 73 |sysfile.|h'\".els|
|000040d0| 65 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 |e.echo s|har: Ext|
|000040e0| 72 61 63 74 69 6e 67 20 | 5c 22 27 63 6f 6e 66 63 |racting |\"'confc|
|000040f0| 6f 6e 76 65 78 73 79 73 | 66 69 6c 65 2e 68 27 5c |onvexsys|file.h'\|
|00004100| 22 20 5c 28 31 31 30 20 | 63 68 61 72 61 63 74 65 |" \(110 |characte|
|00004110| 72 73 5c 29 0a 73 65 64 | 20 22 73 2f 5e 58 2f 2f |rs\).sed| "s/^X//|
|00004120| 22 20 3e 27 63 6f 6e 66 | 63 6f 6e 76 65 78 73 79 |" >'conf|convexsy|
|00004130| 73 66 69 6c 65 2e 68 27 | 20 3c 3c 27 45 4e 44 5f |sfile.h'| <<'END_|
|00004140| 4f 46 5f 46 49 4c 45 27 | 0a 58 23 69 66 6e 64 65 |OF_FILE'|.X#ifnde|
|00004150| 66 20 43 4f 4e 46 5f 43 | 4f 4e 56 45 58 53 59 53 |f CONF_C|ONVEXSYS|
|00004160| 46 49 4c 45 5f 48 0a 58 | 23 64 65 66 69 6e 65 20 |FILE_H.X|#define |
|00004170| 43 4f 4e 46 5f 43 4f 4e | 56 45 58 53 59 53 46 49 |CONF_CON|VEXSYSFI|
|00004180| 4c 45 5f 48 0a 58 0a 58 | 23 69 66 64 65 66 20 43 |LE_H.X.X|#ifdef C|
|00004190| 4f 4e 56 45 58 0a 58 23 | 64 65 66 69 6e 65 20 43 |ONVEX.X#|define C|
|000041a0| 4f 4e 56 45 58 53 59 53 | 46 49 4c 45 0a 58 23 65 |ONVEXSYS|FILE.X#e|
|000041b0| 6e 64 69 66 0a 58 0a 58 | 23 65 6e 64 69 66 0a 45 |ndif.X.X|#endif.E|
|000041c0| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|000041d0| 73 74 20 31 31 30 20 2d | 6e 65 20 60 77 63 20 2d |st 110 -|ne `wc -|
|000041e0| 63 20 3c 27 63 6f 6e 66 | 63 6f 6e 76 65 78 73 79 |c <'conf|convexsy|
|000041f0| 73 66 69 6c 65 2e 68 27 | 60 3b 20 74 68 65 6e 0a |sfile.h'|`; then.|
|00004200| 20 20 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 5c | echo| shar: \|
|00004210| 22 27 63 6f 6e 66 63 6f | 6e 76 65 78 73 79 73 66 |"'confco|nvexsysf|
|00004220| 69 6c 65 2e 68 27 5c 22 | 20 75 6e 70 61 63 6b 65 |ile.h'\"| unpacke|
|00004230| 64 20 77 69 74 68 20 77 | 72 6f 6e 67 20 73 69 7a |d with w|rong siz|
|00004240| 65 21 0a 66 69 0a 23 20 | 65 6e 64 20 6f 66 20 27 |e!.fi.# |end of '|
|00004250| 63 6f 6e 66 63 6f 6e 76 | 65 78 73 79 73 66 69 6c |confconv|exsysfil|
|00004260| 65 2e 68 27 0a 66 69 0a | 69 66 20 74 65 73 74 20 |e.h'.fi.|if test |
|00004270| 2d 66 20 27 63 6f 6e 66 | 64 65 76 74 2e 68 27 20 |-f 'conf|devt.h' |
|00004280| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00004290| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|000042a0| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|000042b0| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|000042c0| 20 66 69 6c 65 20 5c 22 | 27 63 6f 6e 66 64 65 76 | file \"|'confdev|
|000042d0| 74 2e 68 27 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |t.h'\".e|lse.echo|
|000042e0| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|000042f0| 67 20 5c 22 27 63 6f 6e | 66 64 65 76 74 2e 68 27 |g \"'con|fdevt.h'|
|00004300| 5c 22 20 5c 28 31 37 35 | 20 63 68 61 72 61 63 74 |\" \(175| charact|
|00004310| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|00004320| 2f 22 20 3e 27 63 6f 6e | 66 64 65 76 74 2e 68 27 |/" >'con|fdevt.h'|
|00004330| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|00004340| 0a 58 23 69 66 6e 64 65 | 66 20 43 4f 4e 46 5f 44 |.X#ifnde|f CONF_D|
|00004350| 45 56 5f 54 5f 48 0a 58 | 23 64 65 66 69 6e 65 20 |EV_T_H.X|#define |
|00004360| 43 4f 4e 46 5f 44 45 56 | 5f 54 5f 48 0a 58 0a 58 |CONF_DEV|_T_H.X.X|
|00004370| 2f 2a 20 58 58 58 58 3a | 20 74 61 6c 6b 20 74 6f |/* XXXX:| talk to|
|00004380| 20 6d 65 20 69 66 20 79 | 6f 75 20 68 61 76 65 20 | me if y|ou have |
|00004390| 62 65 74 74 65 72 20 69 | 64 65 61 73 20 61 62 6f |better i|deas abo|
|000043a0| 75 74 20 74 68 69 73 20 | 2a 2f 0a 58 23 69 66 64 |ut this |*/.X#ifd|
|000043b0| 65 66 20 43 4f 4e 56 45 | 58 0a 58 23 64 65 66 69 |ef CONVE|X.X#defi|
|000043c0| 6e 65 20 44 45 56 5f 54 | 20 69 6e 74 0a 58 23 65 |ne DEV_T| int.X#e|
|000043d0| 6c 73 65 0a 58 23 64 65 | 66 69 6e 65 20 44 45 56 |lse.X#de|fine DEV|
|000043e0| 5f 54 20 73 68 6f 72 74 | 0a 58 23 65 6e 64 69 66 |_T short|.X#endif|
|000043f0| 0a 58 0a 58 23 65 6e 64 | 69 66 0a 45 4e 44 5f 4f |.X.X#end|if.END_O|
|00004400| 46 5f 46 49 4c 45 0a 69 | 66 20 74 65 73 74 20 31 |F_FILE.i|f test 1|
|00004410| 37 35 20 2d 6e 65 20 60 | 77 63 20 2d 63 20 3c 27 |75 -ne `|wc -c <'|
|00004420| 63 6f 6e 66 64 65 76 74 | 2e 68 27 60 3b 20 74 68 |confdevt|.h'`; th|
|00004430| 65 6e 0a 20 20 20 20 65 | 63 68 6f 20 73 68 61 72 |en. e|cho shar|
|00004440| 3a 20 5c 22 27 63 6f 6e | 66 64 65 76 74 2e 68 27 |: \"'con|fdevt.h'|
|00004450| 5c 22 20 75 6e 70 61 63 | 6b 65 64 20 77 69 74 68 |\" unpac|ked with|
|00004460| 20 77 72 6f 6e 67 20 73 | 69 7a 65 21 0a 66 69 0a | wrong s|ize!.fi.|
|00004470| 23 20 65 6e 64 20 6f 66 | 20 27 63 6f 6e 66 64 65 |# end of| 'confde|
|00004480| 76 74 2e 68 27 0a 66 69 | 0a 69 66 20 74 65 73 74 |vt.h'.fi|.if test|
|00004490| 20 2d 66 20 27 63 6f 6e | 66 64 6f 6d 61 69 6e 2e | -f 'con|fdomain.|
|000044a0| 68 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |h' -a "$|{1}" != |
|000044b0| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|000044c0| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|000044d0| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|000044e0| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 63 6f 6e 66 |ing file| \"'conf|
|000044f0| 64 6f 6d 61 69 6e 2e 68 | 27 5c 22 0a 65 6c 73 65 |domain.h|'\".else|
|00004500| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|00004510| 61 63 74 69 6e 67 20 5c | 22 27 63 6f 6e 66 64 6f |acting \|"'confdo|
|00004520| 6d 61 69 6e 2e 68 27 5c | 22 20 5c 28 32 31 39 20 |main.h'\|" \(219 |
|00004530| 63 68 61 72 61 63 74 65 | 72 73 5c 29 0a 73 65 64 |characte|rs\).sed|
|00004540| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 63 6f 6e 66 | "s/^X//|" >'conf|
|00004550| 64 6f 6d 61 69 6e 2e 68 | 27 20 3c 3c 27 45 4e 44 |domain.h|' <<'END|
|00004560| 5f 4f 46 5f 46 49 4c 45 | 27 0a 58 23 69 66 6e 64 |_OF_FILE|'.X#ifnd|
|00004570| 65 66 20 43 4f 4e 46 5f | 44 4f 4d 41 49 4e 5f 48 |ef CONF_|DOMAIN_H|
|00004580| 0a 58 23 64 65 66 69 6e | 65 20 43 4f 4e 46 5f 44 |.X#defin|e CONF_D|
|00004590| 4f 4d 41 49 4e 5f 48 0a | 58 0a 58 2f 2a 20 2d 44 |OMAIN_H.|X.X/* -D|
|000045a0| 44 4f 4d 41 49 4e 20 69 | 66 20 3c 73 79 73 2f 64 |DOMAIN i|f <sys/d|
|000045b0| 6f 6d 61 69 6e 2e 68 3e | 20 65 78 69 73 74 73 20 |omain.h>| exists |
|000045c0| 61 6e 64 20 64 65 66 69 | 6e 65 73 20 73 74 72 75 |and defi|nes stru|
|000045d0| 63 74 20 64 6f 6d 61 69 | 6e 2e 20 2a 2f 0a 58 0a |ct domai|n. */.X.|
|000045e0| 58 23 69 66 20 64 65 66 | 69 6e 65 64 28 42 53 44 |X#if def|ined(BSD|
|000045f0| 34 33 29 20 7c 7c 20 64 | 65 66 69 6e 65 64 28 44 |43) || d|efined(D|
|00004600| 59 4e 49 58 29 20 7c 7c | 20 28 64 65 66 69 6e 65 |YNIX) ||| (define|
|00004610| 64 28 55 4c 54 52 49 58 | 29 20 26 26 20 28 55 4c |d(ULTRIX|) && (UL|
|00004620| 54 52 49 58 20 3d 3d 20 | 32 32 29 29 0a 58 23 64 |TRIX == |22)).X#d|
|00004630| 65 66 69 6e 65 20 44 4f | 4d 41 49 4e 0a 58 23 65 |efine DO|MAIN.X#e|
|00004640| 6e 64 69 66 0a 58 0a 58 | 23 65 6e 64 69 66 0a 45 |ndif.X.X|#endif.E|
|00004650| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|00004660| 73 74 20 32 31 39 20 2d | 6e 65 20 60 77 63 20 2d |st 219 -|ne `wc -|
|00004670| 63 20 3c 27 63 6f 6e 66 | 64 6f 6d 61 69 6e 2e 68 |c <'conf|domain.h|
|00004680| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|00004690| 6f 20 73 68 61 72 3a 20 | 5c 22 27 63 6f 6e 66 64 |o shar: |\"'confd|
|000046a0| 6f 6d 61 69 6e 2e 68 27 | 5c 22 20 75 6e 70 61 63 |omain.h'|\" unpac|
|000046b0| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|000046c0| 69 7a 65 21 0a 66 69 0a | 23 20 65 6e 64 20 6f 66 |ize!.fi.|# end of|
|000046d0| 20 27 63 6f 6e 66 64 6f | 6d 61 69 6e 2e 68 27 0a | 'confdo|main.h'.|
|000046e0| 66 69 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 63 |fi.if te|st -f 'c|
|000046f0| 6f 6e 66 65 74 63 63 6f | 6e 66 68 66 69 6c 65 68 |onfetcco|nfhfileh|
|00004700| 2e 68 27 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |.h' -a "|${1}" !=|
|00004710| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|00004720| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|00004730| 6e 6f 74 20 63 6c 6f 62 | 62 65 72 20 65 78 69 73 |not clob|ber exis|
|00004740| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 27 63 6f 6e |ting fil|e \"'con|
|00004750| 66 65 74 63 63 6f 6e 66 | 68 66 69 6c 65 68 2e 68 |fetcconf|hfileh.h|
|00004760| 27 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |'\".else|.echo sh|
|00004770| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|00004780| 22 27 63 6f 6e 66 65 74 | 63 63 6f 6e 66 68 66 69 |"'confet|cconfhfi|
|00004790| 6c 65 68 2e 68 27 5c 22 | 20 5c 28 31 31 30 20 63 |leh.h'\"| \(110 c|
|000047a0| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|000047b0| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 63 6f 6e 66 65 |"s/^X//"| >'confe|
|000047c0| 74 63 63 6f 6e 66 68 66 | 69 6c 65 68 2e 68 27 20 |tcconfhf|ileh.h' |
|000047d0| 3c 3c 27 45 4e 44 5f 4f | 46 5f 46 49 4c 45 27 0a |<<'END_O|F_FILE'.|
|000047e0| 58 23 69 66 6e 64 65 66 | 20 43 4f 4e 46 5f 45 54 |X#ifndef| CONF_ET|
|000047f0| 43 43 4f 4e 46 48 46 49 | 4c 45 48 5f 48 0a 58 23 |CCONFHFI|LEH_H.X#|
|00004800| 64 65 66 69 6e 65 20 43 | 4f 4e 46 5f 45 54 43 43 |define C|ONF_ETCC|
|00004810| 4f 4e 46 48 46 49 4c 45 | 48 5f 48 0a 58 0a 58 23 |ONFHFILE|H_H.X.X#|
|00004820| 69 66 64 65 66 20 5f 5f | 68 70 75 78 0a 58 23 64 |ifdef __|hpux.X#d|
|00004830| 65 66 69 6e 65 20 45 54 | 43 43 4f 4e 46 48 46 49 |efine ET|CCONFHFI|
|00004840| 4c 45 48 0a 58 23 65 6e | 64 69 66 0a 58 0a 58 23 |LEH.X#en|dif.X.X#|
|00004850| 65 6e 64 69 66 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |endif.EN|D_OF_FIL|
|00004860| 45 0a 69 66 20 74 65 73 | 74 20 31 31 30 20 2d 6e |E.if tes|t 110 -n|
|00004870| 65 20 60 77 63 20 2d 63 | 20 3c 27 63 6f 6e 66 65 |e `wc -c| <'confe|
|00004880| 74 63 63 6f 6e 66 68 66 | 69 6c 65 68 2e 68 27 60 |tcconfhf|ileh.h'`|
|00004890| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|000048a0| 73 68 61 72 3a 20 5c 22 | 27 63 6f 6e 66 65 74 63 |shar: \"|'confetc|
|000048b0| 63 6f 6e 66 68 66 69 6c | 65 68 2e 68 27 5c 22 20 |confhfil|eh.h'\" |
|000048c0| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|000048d0| 6f 6e 67 20 73 69 7a 65 | 21 0a 66 69 0a 23 20 65 |ong size|!.fi.# e|
|000048e0| 6e 64 20 6f 66 20 27 63 | 6f 6e 66 65 74 63 63 6f |nd of 'c|onfetcco|
|000048f0| 6e 66 68 66 69 6c 65 68 | 2e 68 27 0a 66 69 0a 69 |nfhfileh|.h'.fi.i|
|00004900| 66 20 74 65 73 74 20 2d | 66 20 27 63 6f 6e 66 66 |f test -|f 'conff|
|00004910| 63 72 65 64 70 74 72 2e | 68 27 20 2d 61 20 22 24 |credptr.|h' -a "$|
|00004920| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00004930| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00004940| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00004950| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|00004960| 20 5c 22 27 63 6f 6e 66 | 66 63 72 65 64 70 74 72 | \"'conf|fcredptr|
|00004970| 2e 68 27 5c 22 0a 65 6c | 73 65 0a 65 63 68 6f 20 |.h'\".el|se.echo |
|00004980| 73 68 61 72 3a 20 45 78 | 74 72 61 63 74 69 6e 67 |shar: Ex|tracting|
|00004990| 20 5c 22 27 63 6f 6e 66 | 66 63 72 65 64 70 74 72 | \"'conf|fcredptr|
|000049a0| 2e 68 27 5c 22 20 5c 28 | 32 38 31 20 63 68 61 72 |.h'\" \(|281 char|
|000049b0| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|000049c0| 5e 58 2f 2f 22 20 3e 27 | 63 6f 6e 66 66 63 72 65 |^X//" >'|conffcre|
|000049d0| 64 70 74 72 2e 68 27 20 | 3c 3c 27 45 4e 44 5f 4f |dptr.h' |<<'END_O|
|000049e0| 46 5f 46 49 4c 45 27 0a | 58 23 69 66 6e 64 65 66 |F_FILE'.|X#ifndef|
|000049f0| 20 43 4f 4e 46 5f 46 43 | 52 45 44 50 54 52 5f 48 | CONF_FC|REDPTR_H|
|00004a00| 0a 58 23 64 65 66 69 6e | 65 20 43 4f 4e 46 5f 46 |.X#defin|e CONF_F|
|00004a10| 43 52 45 44 50 54 52 5f | 48 0a 58 0a 58 2f 2a 20 |CREDPTR_|H.X.X/* |
|00004a20| 2d 44 46 43 52 45 44 5f | 49 53 4e 4f 54 5f 50 4f |-DFCRED_|ISNOT_PO|
|00004a30| 49 4e 54 45 52 20 69 66 | 20 66 69 6c 65 2d 3e 66 |INTER if| file->f|
|00004a40| 5f 63 72 65 64 20 69 73 | 20 61 20 73 74 72 75 63 |_cred is| a struc|
|00004a50| 74 20 75 63 72 65 64 2e | 20 2a 2f 0a 58 2f 2a 20 |t ucred.| */.X/* |
|00004a60| 2d 55 46 43 52 45 44 5f | 49 53 4e 4f 54 5f 50 4f |-UFCRED_|ISNOT_PO|
|00004a70| 49 4e 54 45 52 20 69 66 | 20 66 69 6c 65 2d 3e 66 |INTER if| file->f|
|00004a80| 5f 63 72 65 64 20 69 73 | 20 61 20 70 6f 69 6e 74 |_cred is| a point|
|00004a90| 65 72 20 74 6f 20 73 74 | 72 75 63 74 20 75 63 72 |er to st|ruct ucr|
|00004aa0| 65 64 2e 20 2a 2f 0a 58 | 2f 2a 20 49 72 72 65 6c |ed. */.X|/* Irrel|
|00004ab0| 65 76 61 6e 74 20 75 6e | 64 65 72 20 2d 55 48 41 |evant un|der -UHA|
|00004ac0| 56 45 5f 55 43 52 45 44 | 2e 20 2a 2f 0a 58 0a 58 |VE_UCRED|. */.X.X|
|00004ad0| 23 69 66 64 65 66 20 43 | 4f 4e 56 45 58 0a 58 23 |#ifdef C|ONVEX.X#|
|00004ae0| 64 65 66 69 6e 65 20 46 | 43 52 45 44 5f 49 53 4e |define F|CRED_ISN|
|00004af0| 4f 54 5f 50 4f 49 4e 54 | 45 52 0a 58 23 65 6e 64 |OT_POINT|ER.X#end|
|00004b00| 69 66 0a 58 0a 58 23 65 | 6e 64 69 66 0a 45 4e 44 |if.X.X#e|ndif.END|
|00004b10| 5f 4f 46 5f 46 49 4c 45 | 0a 69 66 20 74 65 73 74 |_OF_FILE|.if test|
|00004b20| 20 32 38 31 20 2d 6e 65 | 20 60 77 63 20 2d 63 20 | 281 -ne| `wc -c |
|00004b30| 3c 27 63 6f 6e 66 66 63 | 72 65 64 70 74 72 2e 68 |<'conffc|redptr.h|
|00004b40| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|00004b50| 6f 20 73 68 61 72 3a 20 | 5c 22 27 63 6f 6e 66 66 |o shar: |\"'conff|
|00004b60| 63 72 65 64 70 74 72 2e | 68 27 5c 22 20 75 6e 70 |credptr.|h'\" unp|
|00004b70| 61 63 6b 65 64 20 77 69 | 74 68 20 77 72 6f 6e 67 |acked wi|th wrong|
|00004b80| 20 73 69 7a 65 21 0a 66 | 69 0a 23 20 65 6e 64 20 | size!.f|i.# end |
|00004b90| 6f 66 20 27 63 6f 6e 66 | 66 63 72 65 64 70 74 72 |of 'conf|fcredptr|
|00004ba0| 2e 68 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |.h'.fi.i|f test -|
|00004bb0| 66 20 27 63 6f 6e 66 66 | 72 65 65 2e 68 27 20 2d |f 'conff|ree.h' -|
|00004bc0| 61 20 22 24 7b 31 7d 22 | 20 21 3d 20 22 2d 63 22 |a "${1}"| != "-c"|
|00004bd0| 20 3b 20 74 68 65 6e 20 | 0a 20 20 65 63 68 6f 20 | ; then |. echo |
|00004be0| 73 68 61 72 3a 20 57 69 | 6c 6c 20 6e 6f 74 20 63 |shar: Wi|ll not c|
|00004bf0| 6c 6f 62 62 65 72 20 65 | 78 69 73 74 69 6e 67 20 |lobber e|xisting |
|00004c00| 66 69 6c 65 20 5c 22 27 | 63 6f 6e 66 66 72 65 65 |file \"'|conffree|
|00004c10| 2e 68 27 5c 22 0a 65 6c | 73 65 0a 65 63 68 6f 20 |.h'\".el|se.echo |
|00004c20| 73 68 61 72 3a 20 45 78 | 74 72 61 63 74 69 6e 67 |shar: Ex|tracting|
|00004c30| 20 5c 22 27 63 6f 6e 66 | 66 72 65 65 2e 68 27 5c | \"'conf|free.h'\|
|00004c40| 22 20 5c 28 31 33 33 20 | 63 68 61 72 61 63 74 65 |" \(133 |characte|
|00004c50| 72 73 5c 29 0a 73 65 64 | 20 22 73 2f 5e 58 2f 2f |rs\).sed| "s/^X//|
|00004c60| 22 20 3e 27 63 6f 6e 66 | 66 72 65 65 2e 68 27 20 |" >'conf|free.h' |
|00004c70| 3c 3c 27 45 4e 44 5f 4f | 46 5f 46 49 4c 45 27 0a |<<'END_O|F_FILE'.|
|00004c80| 58 23 69 66 6e 64 65 66 | 20 43 4f 4e 46 5f 46 52 |X#ifndef| CONF_FR|
|00004c90| 45 45 5f 48 0a 58 23 64 | 65 66 69 6e 65 20 43 4f |EE_H.X#d|efine CO|
|00004ca0| 4e 46 5f 46 52 45 45 5f | 48 0a 58 0a 58 2f 2a 20 |NF_FREE_|H.X.X/* |
|00004cb0| 2d 44 56 4f 49 44 5f 46 | 52 45 45 20 69 66 20 66 |-DVOID_F|REE if f|
|00004cc0| 72 65 65 28 29 20 72 65 | 74 75 72 6e 73 20 76 6f |ree() re|turns vo|
|00004cd0| 69 64 2e 20 2a 2f 0a 58 | 0a 58 23 69 66 6e 64 65 |id. */.X|.X#ifnde|
|00004ce0| 66 20 53 55 4e 4f 53 34 | 31 0a 58 23 64 65 66 69 |f SUNOS4|1.X#defi|
|00004cf0| 6e 65 20 56 4f 49 44 5f | 46 52 45 45 0a 58 23 65 |ne VOID_|FREE.X#e|
|00004d00| 6e 64 69 66 0a 58 0a 58 | 23 65 6e 64 69 66 0a 45 |ndif.X.X|#endif.E|
|00004d10| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|00004d20| 73 74 20 31 33 33 20 2d | 6e 65 20 60 77 63 20 2d |st 133 -|ne `wc -|
|00004d30| 63 20 3c 27 63 6f 6e 66 | 66 72 65 65 2e 68 27 60 |c <'conf|free.h'`|
|00004d40| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00004d50| 73 68 61 72 3a 20 5c 22 | 27 63 6f 6e 66 66 72 65 |shar: \"|'conffre|
|00004d60| 65 2e 68 27 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |e.h'\" u|npacked |
|00004d70| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|00004d80| 0a 66 69 0a 23 20 65 6e | 64 20 6f 66 20 27 63 6f |.fi.# en|d of 'co|
|00004d90| 6e 66 66 72 65 65 2e 68 | 27 0a 66 69 0a 69 66 20 |nffree.h|'.fi.if |
|00004da0| 74 65 73 74 20 2d 66 20 | 27 63 6f 6e 66 67 65 74 |test -f |'confget|
|00004db0| 75 73 65 72 63 6f 6e 76 | 65 78 2e 68 27 20 2d 61 |userconv|ex.h' -a|
|00004dc0| 20 22 24 7b 31 7d 22 20 | 21 3d 20 22 2d 63 22 20 | "${1}" |!= "-c" |
|00004dd0| 3b 20 74 68 65 6e 20 0a | 20 20 65 63 68 6f 20 73 |; then .| echo s|
|00004de0| 68 61 72 3a 20 57 69 6c | 6c 20 6e 6f 74 20 63 6c |har: Wil|l not cl|
|00004df0| 6f 62 62 65 72 20 65 78 | 69 73 74 69 6e 67 20 66 |obber ex|isting f|
|00004e00| 69 6c 65 20 5c 22 27 63 | 6f 6e 66 67 65 74 75 73 |ile \"'c|onfgetus|
|00004e10| 65 72 63 6f 6e 76 65 78 | 2e 68 27 5c 22 0a 65 6c |erconvex|.h'\".el|
|00004e20| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|00004e30| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 63 6f 6e 66 |tracting| \"'conf|
|00004e40| 67 65 74 75 73 65 72 63 | 6f 6e 76 65 78 2e 68 27 |getuserc|onvex.h'|
|00004e50| 5c 22 20 5c 28 31 31 33 | 20 63 68 61 72 61 63 74 |\" \(113| charact|
|00004e60| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|00004e70| 2f 22 20 3e 27 63 6f 6e | 66 67 65 74 75 73 65 72 |/" >'con|fgetuser|
|00004e80| 63 6f 6e 76 65 78 2e 68 | 27 20 3c 3c 27 45 4e 44 |convex.h|' <<'END|
|00004e90| 5f 4f 46 5f 46 49 4c 45 | 27 0a 58 23 69 66 6e 64 |_OF_FILE|'.X#ifnd|
|00004ea0| 65 66 20 43 4f 4e 46 5f | 47 45 54 55 53 45 52 5f |ef CONF_|GETUSER_|
|00004eb0| 43 4f 4e 56 45 58 5f 48 | 0a 58 23 64 65 66 69 6e |CONVEX_H|.X#defin|
|00004ec0| 65 20 43 4f 4e 46 5f 47 | 45 54 55 53 45 52 5f 43 |e CONF_G|ETUSER_C|
|00004ed0| 4f 4e 56 45 58 5f 48 0a | 58 0a 58 23 69 66 64 65 |ONVEX_H.|X.X#ifde|
|00004ee0| 66 20 43 4f 4e 56 45 58 | 0a 58 23 64 65 66 69 6e |f CONVEX|.X#defin|
|00004ef0| 65 20 47 45 54 55 53 45 | 52 5f 43 4f 4e 56 45 58 |e GETUSE|R_CONVEX|
|00004f00| 0a 58 23 65 6e 64 69 66 | 0a 58 0a 58 23 65 6e 64 |.X#endif|.X.X#end|
|00004f10| 69 66 0a 45 4e 44 5f 4f | 46 5f 46 49 4c 45 0a 69 |if.END_O|F_FILE.i|
|00004f20| 66 20 74 65 73 74 20 31 | 31 33 20 2d 6e 65 20 60 |f test 1|13 -ne `|
|00004f30| 77 63 20 2d 63 20 3c 27 | 63 6f 6e 66 67 65 74 75 |wc -c <'|confgetu|
|00004f40| 73 65 72 63 6f 6e 76 65 | 78 2e 68 27 60 3b 20 74 |serconve|x.h'`; t|
|00004f50| 68 65 6e 0a 20 20 20 20 | 65 63 68 6f 20 73 68 61 |hen. |echo sha|
|00004f60| 72 3a 20 5c 22 27 63 6f | 6e 66 67 65 74 75 73 65 |r: \"'co|nfgetuse|
|00004f70| 72 63 6f 6e 76 65 78 2e | 68 27 5c 22 20 75 6e 70 |rconvex.|h'\" unp|
|00004f80| 61 63 6b 65 64 20 77 69 | 74 68 20 77 72 6f 6e 67 |acked wi|th wrong|
|00004f90| 20 73 69 7a 65 21 0a 66 | 69 0a 23 20 65 6e 64 20 | size!.f|i.# end |
|00004fa0| 6f 66 20 27 63 6f 6e 66 | 67 65 74 75 73 65 72 63 |of 'conf|getuserc|
|00004fb0| 6f 6e 76 65 78 2e 68 27 | 0a 66 69 0a 69 66 20 74 |onvex.h'|.fi.if t|
|00004fc0| 65 73 74 20 2d 66 20 27 | 63 6f 6e 66 67 65 74 75 |est -f '|confgetu|
|00004fd0| 73 65 72 64 79 6e 69 78 | 2e 68 27 20 2d 61 20 22 |serdynix|.h' -a "|
|00004fe0| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|00004ff0| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|00005000| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|00005010| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|00005020| 65 20 5c 22 27 63 6f 6e | 66 67 65 74 75 73 65 72 |e \"'con|fgetuser|
|00005030| 64 79 6e 69 78 2e 68 27 | 5c 22 0a 65 6c 73 65 0a |dynix.h'|\".else.|
|00005040| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|00005050| 63 74 69 6e 67 20 5c 22 | 27 63 6f 6e 66 67 65 74 |cting \"|'confget|
|00005060| 75 73 65 72 64 79 6e 69 | 78 2e 68 27 5c 22 20 5c |userdyni|x.h'\" \|
|00005070| 28 31 30 39 20 63 68 61 | 72 61 63 74 65 72 73 5c |(109 cha|racters\|
|00005080| 29 0a 73 65 64 20 22 73 | 2f 5e 58 2f 2f 22 20 3e |).sed "s|/^X//" >|
|00005090| 27 63 6f 6e 66 67 65 74 | 75 73 65 72 64 79 6e 69 |'confget|userdyni|
|000050a0| 78 2e 68 27 20 3c 3c 27 | 45 4e 44 5f 4f 46 5f 46 |x.h' <<'|END_OF_F|
|000050b0| 49 4c 45 27 0a 58 23 69 | 66 6e 64 65 66 20 43 4f |ILE'.X#i|fndef CO|
|000050c0| 4e 46 5f 47 45 54 55 53 | 45 52 5f 44 59 4e 49 58 |NF_GETUS|ER_DYNIX|
|000050d0| 5f 48 0a 58 23 64 65 66 | 69 6e 65 20 43 4f 4e 46 |_H.X#def|ine CONF|
|000050e0| 5f 47 45 54 55 53 45 52 | 5f 44 59 4e 49 58 5f 48 |_GETUSER|_DYNIX_H|
|000050f0| 0a 58 0a 58 23 69 66 64 | 65 66 20 44 59 4e 49 58 |.X.X#ifd|ef DYNIX|
|00005100| 0a 58 23 64 65 66 69 6e | 65 20 47 45 54 55 53 45 |.X#defin|e GETUSE|
|00005110| 52 5f 44 59 4e 49 58 0a | 58 23 65 6e 64 69 66 0a |R_DYNIX.|X#endif.|
|00005120| 58 0a 58 23 65 6e 64 69 | 66 0a 45 4e 44 5f 4f 46 |X.X#endi|f.END_OF|
|00005130| 5f 46 49 4c 45 0a 69 66 | 20 74 65 73 74 20 31 30 |_FILE.if| test 10|
|00005140| 39 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 27 63 |9 -ne `w|c -c <'c|
|00005150| 6f 6e 66 67 65 74 75 73 | 65 72 64 79 6e 69 78 2e |onfgetus|erdynix.|
|00005160| 68 27 60 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |h'`; the|n. ec|
|00005170| 68 6f 20 73 68 61 72 3a | 20 5c 22 27 63 6f 6e 66 |ho shar:| \"'conf|
|00005180| 67 65 74 75 73 65 72 64 | 79 6e 69 78 2e 68 27 5c |getuserd|ynix.h'\|
|00005190| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|000051a0| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 23 |wrong si|ze!.fi.#|
|000051b0| 20 65 6e 64 20 6f 66 20 | 27 63 6f 6e 66 67 65 74 | end of |'confget|
|000051c0| 75 73 65 72 64 79 6e 69 | 78 2e 68 27 0a 66 69 0a |userdyni|x.h'.fi.|
|000051d0| 69 66 20 74 65 73 74 20 | 2d 66 20 27 63 6f 6e 66 |if test |-f 'conf|
|000051e0| 67 65 74 75 73 65 72 6d | 69 70 73 2e 68 27 20 2d |getuserm|ips.h' -|
|000051f0| 61 20 22 24 7b 31 7d 22 | 20 21 3d 20 22 2d 63 22 |a "${1}"| != "-c"|
|00005200| 20 3b 20 74 68 65 6e 20 | 0a 20 20 65 63 68 6f 20 | ; then |. echo |
|00005210| 73 68 61 72 3a 20 57 69 | 6c 6c 20 6e 6f 74 20 63 |shar: Wi|ll not c|
|00005220| 6c 6f 62 62 65 72 20 65 | 78 69 73 74 69 6e 67 20 |lobber e|xisting |
|00005230| 66 69 6c 65 20 5c 22 27 | 63 6f 6e 66 67 65 74 75 |file \"'|confgetu|
|00005240| 73 65 72 6d 69 70 73 2e | 68 27 5c 22 0a 65 6c 73 |sermips.|h'\".els|
|00005250| 65 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 |e.echo s|har: Ext|
|00005260| 72 61 63 74 69 6e 67 20 | 5c 22 27 63 6f 6e 66 67 |racting |\"'confg|
|00005270| 65 74 75 73 65 72 6d 69 | 70 73 2e 68 27 5c 22 20 |etusermi|ps.h'\" |
|00005280| 5c 28 31 30 35 20 63 68 | 61 72 61 63 74 65 72 73 |\(105 ch|aracters|
|00005290| 5c 29 0a 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |\).sed "|s/^X//" |
|000052a0| 3e 27 63 6f 6e 66 67 65 | 74 75 73 65 72 6d 69 70 |>'confge|tusermip|
|000052b0| 73 2e 68 27 20 3c 3c 27 | 45 4e 44 5f 4f 46 5f 46 |s.h' <<'|END_OF_F|
|000052c0| 49 4c 45 27 0a 58 23 69 | 66 6e 64 65 66 20 43 4f |ILE'.X#i|fndef CO|
|000052d0| 4e 46 5f 47 45 54 55 53 | 45 52 5f 4d 49 50 53 5f |NF_GETUS|ER_MIPS_|
|000052e0| 48 0a 58 23 64 65 66 69 | 6e 65 20 43 4f 4e 46 5f |H.X#defi|ne CONF_|
|000052f0| 47 45 54 55 53 45 52 5f | 4d 49 50 53 5f 48 0a 58 |GETUSER_|MIPS_H.X|
|00005300| 0a 58 23 69 66 64 65 66 | 20 6d 69 70 73 0a 58 23 |.X#ifdef| mips.X#|
|00005310| 64 65 66 69 6e 65 20 47 | 45 54 55 53 45 52 5f 4d |define G|ETUSER_M|
|00005320| 49 50 53 0a 58 23 65 6e | 64 69 66 0a 58 0a 58 23 |IPS.X#en|dif.X.X#|
|00005330| 65 6e 64 69 66 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |endif.EN|D_OF_FIL|
|00005340| 45 0a 69 66 20 74 65 73 | 74 20 31 30 35 20 2d 6e |E.if tes|t 105 -n|
|00005350| 65 20 60 77 63 20 2d 63 | 20 3c 27 63 6f 6e 66 67 |e `wc -c| <'confg|
|00005360| 65 74 75 73 65 72 6d 69 | 70 73 2e 68 27 60 3b 20 |etusermi|ps.h'`; |
|00005370| 74 68 65 6e 0a 20 20 20 | 20 65 63 68 6f 20 73 68 |then. | echo sh|
|00005380| 61 72 3a 20 5c 22 27 63 | 6f 6e 66 67 65 74 75 73 |ar: \"'c|onfgetus|
|00005390| 65 72 6d 69 70 73 2e 68 | 27 5c 22 20 75 6e 70 61 |ermips.h|'\" unpa|
|000053a0| 63 6b 65 64 20 77 69 74 | 68 20 77 72 6f 6e 67 20 |cked wit|h wrong |
|000053b0| 73 69 7a 65 21 0a 66 69 | 0a 23 20 65 6e 64 20 6f |size!.fi|.# end o|
|000053c0| 66 20 27 63 6f 6e 66 67 | 65 74 75 73 65 72 6d 69 |f 'confg|etusermi|
|000053d0| 70 73 2e 68 27 0a 66 69 | 0a 69 66 20 74 65 73 74 |ps.h'.fi|.if test|
|000053e0| 20 2d 66 20 27 63 6f 6e | 66 67 65 74 75 73 65 72 | -f 'con|fgetuser|
|000053f0| 73 75 70 70 6f 72 74 2e | 68 27 20 2d 61 20 22 24 |support.|h' -a "$|
|00005400| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00005410| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00005420| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00005430| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|00005440| 20 5c 22 27 63 6f 6e 66 | 67 65 74 75 73 65 72 73 | \"'conf|getusers|
|00005450| 75 70 70 6f 72 74 2e 68 | 27 5c 22 0a 65 6c 73 65 |upport.h|'\".else|
|00005460| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|00005470| 61 63 74 69 6e 67 20 5c | 22 27 63 6f 6e 66 67 65 |acting \|"'confge|
|00005480| 74 75 73 65 72 73 75 70 | 70 6f 72 74 2e 68 27 5c |tusersup|port.h'\|
|00005490| 22 20 5c 28 32 37 32 20 | 63 68 61 72 61 63 74 65 |" \(272 |characte|
|000054a0| 72 73 5c 29 0a 73 65 64 | 20 22 73 2f 5e 58 2f 2f |rs\).sed| "s/^X//|
|000054b0| 22 20 3e 27 63 6f 6e 66 | 67 65 74 75 73 65 72 73 |" >'conf|getusers|
|000054c0| 75 70 70 6f 72 74 2e 68 | 27 20 3c 3c 27 45 4e 44 |upport.h|' <<'END|
|000054d0| 5f 4f 46 5f 46 49 4c 45 | 27 0a 58 23 69 66 6e 64 |_OF_FILE|'.X#ifnd|
|000054e0| 65 66 20 43 4f 4e 46 5f | 47 45 54 55 53 45 52 53 |ef CONF_|GETUSERS|
|000054f0| 55 50 50 4f 52 54 5f 48 | 0a 58 23 64 65 66 69 6e |UPPORT_H|.X#defin|
|00005500| 65 20 43 4f 4e 46 5f 47 | 45 54 55 53 45 52 53 55 |e CONF_G|ETUSERSU|
|00005510| 50 50 4f 52 54 5f 48 0a | 58 0a 58 2f 2a 20 2d 44 |PPORT_H.|X.X/* -D|
|00005520| 47 45 54 55 53 45 52 53 | 55 50 50 4f 52 54 20 69 |GETUSERS|UPPORT i|
|00005530| 66 20 74 68 65 20 73 79 | 73 74 65 6d 20 73 75 70 |f the sy|stem sup|
|00005540| 70 6f 72 74 73 20 61 20 | 67 65 74 2d 75 2d 61 72 |ports a |get-u-ar|
|00005550| 65 61 20 6c 69 62 72 61 | 72 79 20 72 6f 75 74 69 |ea libra|ry routi|
|00005560| 6e 65 0a 58 75 6e 64 65 | 72 73 74 6f 6f 64 20 62 |ne.Xunde|rstood b|
|00005570| 79 20 67 65 74 75 73 65 | 72 2e 63 2e 20 4e 6f 74 |y getuse|r.c. Not|
|00005580| 20 77 65 6c 6c 20 64 65 | 66 69 6e 65 64 2e 20 2a | well de|fined. *|
|00005590| 2f 0a 58 0a 58 23 69 66 | 20 64 65 66 69 6e 65 64 |/.X.X#if| defined|
|000055a0| 28 44 59 4e 49 58 29 20 | 7c 7c 20 64 65 66 69 6e |(DYNIX) ||| defin|
|000055b0| 65 64 28 73 75 6e 29 20 | 7c 7c 20 64 65 66 69 6e |ed(sun) ||| defin|
|000055c0| 65 64 28 43 4f 4e 56 45 | 58 29 0a 58 23 64 65 66 |ed(CONVE|X).X#def|
|000055d0| 69 6e 65 20 47 45 54 55 | 53 45 52 53 55 50 50 4f |ine GETU|SERSUPPO|
|000055e0| 52 54 0a 58 23 65 6e 64 | 69 66 0a 58 0a 58 23 65 |RT.X#end|if.X.X#e|
|000055f0| 6e 64 69 66 0a 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |ndif.END|_OF_FILE|
|00005600| 0a 69 66 20 74 65 73 74 | 20 32 37 32 20 2d 6e 65 |.if test| 272 -ne|
|00005610| 20 60 77 63 20 2d 63 20 | 3c 27 63 6f 6e 66 67 65 | `wc -c |<'confge|
|00005620| 74 75 73 65 72 73 75 70 | 70 6f 72 74 2e 68 27 60 |tusersup|port.h'`|
|00005630| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00005640| 73 68 61 72 3a 20 5c 22 | 27 63 6f 6e 66 67 65 74 |shar: \"|'confget|
|00005650| 75 73 65 72 73 75 70 70 | 6f 72 74 2e 68 27 5c 22 |usersupp|ort.h'\"|
|00005660| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|00005670| 72 6f 6e 67 20 73 69 7a | 65 21 0a 66 69 0a 23 20 |rong siz|e!.fi.# |
|00005680| 65 6e 64 20 6f 66 20 27 | 63 6f 6e 66 67 65 74 75 |end of '|confgetu|
|00005690| 73 65 72 73 75 70 70 6f | 72 74 2e 68 27 0a 66 69 |sersuppo|rt.h'.fi|
|000056a0| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 63 6f 6e |.if test| -f 'con|
|000056b0| 66 67 6e 6f 64 65 2e 68 | 27 20 2d 61 20 22 24 7b |fgnode.h|' -a "${|
|000056c0| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|000056d0| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|000056e0| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|000056f0| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|00005700| 5c 22 27 63 6f 6e 66 67 | 6e 6f 64 65 2e 68 27 5c |\"'confg|node.h'\|
|00005710| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|00005720| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|00005730| 63 6f 6e 66 67 6e 6f 64 | 65 2e 68 27 5c 22 20 5c |confgnod|e.h'\" \|
|00005740| 28 38 36 20 63 68 61 72 | 61 63 74 65 72 73 5c 29 |(86 char|acters\)|
|00005750| 0a 73 65 64 20 22 73 2f | 5e 58 2f 2f 22 20 3e 27 |.sed "s/|^X//" >'|
|00005760| 63 6f 6e 66 67 6e 6f 64 | 65 2e 68 27 20 3c 3c 27 |confgnod|e.h' <<'|
|00005770| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 27 0a 58 23 69 |END_OF_F|ILE'.X#i|
|00005780| 66 6e 64 65 66 20 43 4f | 4e 46 5f 47 4e 4f 44 45 |fndef CO|NF_GNODE|
|00005790| 5f 48 0a 58 23 64 65 66 | 69 6e 65 20 43 4f 4e 46 |_H.X#def|ine CONF|
|000057a0| 5f 47 4e 4f 44 45 5f 48 | 0a 58 0a 58 23 69 66 64 |_GNODE_H|.X.X#ifd|
|000057b0| 65 66 20 55 4c 54 52 49 | 58 0a 58 23 64 65 66 69 |ef ULTRI|X.X#defi|
|000057c0| 6e 65 20 47 4e 4f 44 45 | 0a 58 23 65 6e 64 69 66 |ne GNODE|.X#endif|
|000057d0| 0a 58 0a 58 23 65 6e 64 | 69 66 0a 45 4e 44 5f 4f |.X.X#end|if.END_O|
|000057e0| 46 5f 46 49 4c 45 0a 69 | 66 20 74 65 73 74 20 38 |F_FILE.i|f test 8|
|000057f0| 36 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 27 63 |6 -ne `w|c -c <'c|
|00005800| 6f 6e 66 67 6e 6f 64 65 | 2e 68 27 60 3b 20 74 68 |onfgnode|.h'`; th|
|00005810| 65 6e 0a 20 20 20 20 65 | 63 68 6f 20 73 68 61 72 |en. e|cho shar|
|00005820| 3a 20 5c 22 27 63 6f 6e | 66 67 6e 6f 64 65 2e 68 |: \"'con|fgnode.h|
|00005830| 27 5c 22 20 75 6e 70 61 | 63 6b 65 64 20 77 69 74 |'\" unpa|cked wit|
|00005840| 68 20 77 72 6f 6e 67 20 | 73 69 7a 65 21 0a 66 69 |h wrong |size!.fi|
|00005850| 0a 23 20 65 6e 64 20 6f | 66 20 27 63 6f 6e 66 67 |.# end o|f 'confg|
|00005860| 6e 6f 64 65 2e 68 27 0a | 66 69 0a 69 66 20 74 65 |node.h'.|fi.if te|
|00005870| 73 74 20 2d 66 20 27 63 | 6f 6e 66 68 61 76 65 70 |st -f 'c|onfhavep|
|00005880| 66 6c 61 67 2e 68 27 20 | 2d 61 20 22 24 7b 31 7d |flag.h' |-a "${1}|
|00005890| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|000058a0| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|000058b0| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|000058c0| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|000058d0| 27 63 6f 6e 66 68 61 76 | 65 70 66 6c 61 67 2e 68 |'confhav|epflag.h|
|000058e0| 27 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |'\".else|.echo sh|
|000058f0| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|00005900| 22 27 63 6f 6e 66 68 61 | 76 65 70 66 6c 61 67 2e |"'confha|vepflag.|
|00005910| 68 27 5c 22 20 5c 28 32 | 32 37 20 63 68 61 72 61 |h'\" \(2|27 chara|
|00005920| 63 74 65 72 73 5c 29 0a | 73 65 64 20 22 73 2f 5e |cters\).|sed "s/^|
|00005930| 58 2f 2f 22 20 3e 27 63 | 6f 6e 66 68 61 76 65 70 |X//" >'c|onfhavep|
|00005940| 66 6c 61 67 2e 68 27 20 | 3c 3c 27 45 4e 44 5f 4f |flag.h' |<<'END_O|
|00005950| 46 5f 46 49 4c 45 27 0a | 58 23 69 66 6e 64 65 66 |F_FILE'.|X#ifndef|
|00005960| 20 43 4f 4e 46 5f 48 41 | 56 45 50 46 4c 41 47 5f | CONF_HA|VEPFLAG_|
|00005970| 48 0a 58 23 64 65 66 69 | 6e 65 20 43 4f 4e 46 5f |H.X#defi|ne CONF_|
|00005980| 48 41 56 45 50 46 4c 41 | 47 5f 48 0a 58 0a 58 2f |HAVEPFLA|G_H.X.X/|
|00005990| 2a 20 2d 44 48 41 56 45 | 5f 50 46 4c 41 47 20 69 |* -DHAVE|_PFLAG i|
|000059a0| 66 20 73 74 72 75 63 74 | 20 70 72 6f 63 20 68 61 |f struct| proc ha|
|000059b0| 73 20 61 20 70 5f 66 6c | 61 67 20 65 6c 65 6d 65 |s a p_fl|ag eleme|
|000059c0| 6e 74 2e 20 2a 2f 0a 58 | 0a 58 23 69 6e 63 6c 75 |nt. */.X|.X#inclu|
|000059d0| 64 65 20 22 73 74 72 75 | 63 74 70 72 6f 63 2e 68 |de "stru|ctproc.h|
|000059e0| 22 0a 58 23 69 66 6e 64 | 65 66 20 50 5f 44 59 49 |".X#ifnd|ef P_DYI|
|000059f0| 4e 47 20 2f 2a 20 6f 6e | 6c 79 20 64 65 66 69 6e |NG /* on|ly defin|
|00005a00| 65 64 20 69 6e 20 73 79 | 73 74 65 6d 73 20 77 69 |ed in sy|stems wi|
|00005a10| 74 68 6f 75 74 20 70 5f | 66 6c 61 67 20 2a 2f 0a |thout p_|flag */.|
|00005a20| 58 23 64 65 66 69 6e 65 | 20 48 41 56 45 5f 50 46 |X#define| HAVE_PF|
|00005a30| 4c 41 47 0a 58 23 65 6e | 64 69 66 0a 58 0a 58 23 |LAG.X#en|dif.X.X#|
|00005a40| 65 6e 64 69 66 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |endif.EN|D_OF_FIL|
|00005a50| 45 0a 69 66 20 74 65 73 | 74 20 32 32 37 20 2d 6e |E.if tes|t 227 -n|
|00005a60| 65 20 60 77 63 20 2d 63 | 20 3c 27 63 6f 6e 66 68 |e `wc -c| <'confh|
|00005a70| 61 76 65 70 66 6c 61 67 | 2e 68 27 60 3b 20 74 68 |avepflag|.h'`; th|
|00005a80| 65 6e 0a 20 20 20 20 65 | 63 68 6f 20 73 68 61 72 |en. e|cho shar|
|00005a90| 3a 20 5c 22 27 63 6f 6e | 66 68 61 76 65 70 66 6c |: \"'con|fhavepfl|
|00005aa0| 61 67 2e 68 27 5c 22 20 | 75 6e 70 61 63 6b 65 64 |ag.h'\" |unpacked|
|00005ab0| 20 77 69 74 68 20 77 72 | 6f 6e 67 20 73 69 7a 65 | with wr|ong size|
|00005ac0| 21 0a 66 69 0a 23 20 65 | 6e 64 20 6f 66 20 27 63 |!.fi.# e|nd of 'c|
|00005ad0| 6f 6e 66 68 61 76 65 70 | 66 6c 61 67 2e 68 27 0a |onfhavep|flag.h'.|
|00005ae0| 66 69 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 63 |fi.if te|st -f 'c|
|00005af0| 6f 6e 66 68 61 76 65 70 | 70 69 64 2e 68 27 20 2d |onfhavep|pid.h' -|
|00005b00| 61 20 22 24 7b 31 7d 22 | 20 21 3d 20 22 2d 63 22 |a "${1}"| != "-c"|
|00005b10| 20 3b 20 74 68 65 6e 20 | 0a 20 20 65 63 68 6f 20 | ; then |. echo |
|00005b20| 73 68 61 72 3a 20 57 69 | 6c 6c 20 6e 6f 74 20 63 |shar: Wi|ll not c|
|00005b30| 6c 6f 62 62 65 72 20 65 | 78 69 73 74 69 6e 67 20 |lobber e|xisting |
|00005b40| 66 69 6c 65 20 5c 22 27 | 63 6f 6e 66 68 61 76 65 |file \"'|confhave|
|00005b50| 70 70 69 64 2e 68 27 5c | 22 0a 65 6c 73 65 0a 65 |ppid.h'\|".else.e|
|00005b60| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|00005b70| 74 69 6e 67 20 5c 22 27 | 63 6f 6e 66 68 61 76 65 |ting \"'|confhave|
|00005b80| 70 70 69 64 2e 68 27 5c | 22 20 5c 28 32 30 32 20 |ppid.h'\|" \(202 |
|00005b90| 63 68 61 72 61 63 74 65 | 72 73 5c 29 0a 73 65 64 |characte|rs\).sed|
|00005ba0| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 63 6f 6e 66 | "s/^X//|" >'conf|
|00005bb0| 68 61 76 65 70 70 69 64 | 2e 68 27 20 3c 3c 27 45 |haveppid|.h' <<'E|
|00005bc0| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 23 69 66 |ND_OF_FI|LE'.X#if|
|00005bd0| 6e 64 65 66 20 43 4f 4e | 46 5f 48 41 56 45 5f 50 |ndef CON|F_HAVE_P|
|00005be0| 50 49 44 5f 48 0a 58 23 | 64 65 66 69 6e 65 20 43 |PID_H.X#|define C|
|00005bf0| 4f 4e 46 5f 48 41 56 45 | 5f 50 50 49 44 5f 48 0a |ONF_HAVE|_PPID_H.|
|00005c00| 58 0a 58 2f 2a 20 2d 44 | 48 41 56 45 5f 50 50 49 |X.X/* -D|HAVE_PPI|
|00005c10| 44 20 69 66 20 73 74 72 | 75 63 74 20 70 72 6f 63 |D if str|uct proc|
|00005c20| 20 68 61 73 20 61 20 70 | 5f 70 70 69 64 20 65 6c | has a p|_ppid el|
|00005c30| 65 6d 65 6e 74 2e 20 2a | 2f 0a 58 0a 58 23 69 66 |ement. *|/.X.X#if|
|00005c40| 6e 64 65 66 20 5a 53 20 | 2f 2a 20 58 58 58 3a 20 |ndef ZS |/* XXX: |
|00005c50| 63 6f 75 6c 64 20 6c 6f | 6f 6b 20 69 74 20 75 70 |could lo|ok it up|
|00005c60| 20 69 6e 20 75 73 65 72 | 20 72 65 6c 61 74 69 6f | in user| relatio|
|00005c70| 6e 20 74 61 62 6c 65 20 | 2a 2f 0a 58 23 64 65 66 |n table |*/.X#def|
|00005c80| 69 6e 65 20 48 41 56 45 | 5f 50 50 49 44 0a 58 23 |ine HAVE|_PPID.X#|
|00005c90| 65 6e 64 69 66 0a 58 0a | 58 23 65 6e 64 69 66 0a |endif.X.|X#endif.|
|00005ca0| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 0a 69 66 20 74 |END_OF_F|ILE.if t|
|00005cb0| 65 73 74 20 32 30 32 20 | 2d 6e 65 20 60 77 63 20 |est 202 |-ne `wc |
|00005cc0| 2d 63 20 3c 27 63 6f 6e | 66 68 61 76 65 70 70 69 |-c <'con|fhaveppi|
|00005cd0| 64 2e 68 27 60 3b 20 74 | 68 65 6e 0a 20 20 20 20 |d.h'`; t|hen. |
|00005ce0| 65 63 68 6f 20 73 68 61 | 72 3a 20 5c 22 27 63 6f |echo sha|r: \"'co|
|00005cf0| 6e 66 68 61 76 65 70 70 | 69 64 2e 68 27 5c 22 20 |nfhavepp|id.h'\" |
|00005d00| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|00005d10| 6f 6e 67 20 73 69 7a 65 | 21 0a 66 69 0a 23 20 65 |ong size|!.fi.# e|
|00005d20| 6e 64 20 6f 66 20 27 63 | 6f 6e 66 68 61 76 65 70 |nd of 'c|onfhavep|
|00005d30| 70 69 64 2e 68 27 0a 66 | 69 0a 69 66 20 74 65 73 |pid.h'.f|i.if tes|
|00005d40| 74 20 2d 66 20 27 63 6f | 6e 66 68 61 76 65 70 73 |t -f 'co|nfhaveps|
|00005d50| 75 69 64 2e 68 27 20 2d | 61 20 22 24 7b 31 7d 22 |uid.h' -|a "${1}"|
|00005d60| 20 21 3d 20 22 2d 63 22 | 20 3b 20 74 68 65 6e 20 | != "-c"| ; then |
|00005d70| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 57 69 |. echo |shar: Wi|
|00005d80| 6c 6c 20 6e 6f 74 20 63 | 6c 6f 62 62 65 72 20 65 |ll not c|lobber e|
|00005d90| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 5c 22 27 |xisting |file \"'|
|00005da0| 63 6f 6e 66 68 61 76 65 | 70 73 75 69 64 2e 68 27 |confhave|psuid.h'|
|00005db0| 5c 22 0a 65 6c 73 65 0a | 65 63 68 6f 20 73 68 61 |\".else.|echo sha|
|00005dc0| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|00005dd0| 27 63 6f 6e 66 68 61 76 | 65 70 73 75 69 64 2e 68 |'confhav|epsuid.h|
|00005de0| 27 5c 22 20 5c 28 32 34 | 33 20 63 68 61 72 61 63 |'\" \(24|3 charac|
|00005df0| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|00005e00| 2f 2f 22 20 3e 27 63 6f | 6e 66 68 61 76 65 70 73 |//" >'co|nfhaveps|
|00005e10| 75 69 64 2e 68 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |uid.h' <|<'END_OF|
|00005e20| 5f 46 49 4c 45 27 0a 58 | 23 69 66 6e 64 65 66 20 |_FILE'.X|#ifndef |
|00005e30| 43 4f 4e 46 5f 48 41 56 | 45 50 53 55 49 44 5f 48 |CONF_HAV|EPSUID_H|
|00005e40| 0a 58 23 64 65 66 69 6e | 65 20 43 4f 4e 46 5f 48 |.X#defin|e CONF_H|
|00005e50| 41 56 45 50 53 55 49 44 | 5f 48 0a 58 0a 58 2f 2a |AVEPSUID|_H.X.X/*|
|00005e60| 20 2d 44 48 41 56 45 5f | 50 53 55 49 44 20 69 66 | -DHAVE_|PSUID if|
|00005e70| 20 73 74 72 75 63 74 20 | 70 72 6f 63 20 68 61 73 | struct |proc has|
|00005e80| 20 61 20 70 5f 73 75 69 | 64 20 65 6c 65 6d 65 6e | a p_sui|d elemen|
|00005e90| 74 2e 20 2a 2f 0a 58 0a | 58 23 69 66 20 64 65 66 |t. */.X.|X#if def|
|00005ea0| 69 6e 65 64 28 73 75 6e | 29 20 7c 7c 20 64 65 66 |ined(sun|) || def|
|00005eb0| 69 6e 65 64 28 43 4f 4e | 56 45 58 29 20 7c 7c 20 |ined(CON|VEX) || |
|00005ec0| 64 65 66 69 6e 65 64 28 | 44 59 4e 49 58 29 20 7c |defined(|DYNIX) ||
|00005ed0| 7c 20 28 64 65 66 69 6e | 65 64 28 55 4c 54 52 49 || (defin|ed(ULTRI|
|00005ee0| 58 29 20 26 26 20 55 4c | 54 52 49 58 20 3e 3d 20 |X) && UL|TRIX >= |
|00005ef0| 34 30 29 20 2f 2a 20 58 | 58 58 20 2a 2f 0a 58 23 |40) /* X|XX */.X#|
|00005f00| 64 65 66 69 6e 65 20 48 | 41 56 45 5f 50 53 55 49 |define H|AVE_PSUI|
|00005f10| 44 0a 58 23 65 6e 64 69 | 66 0a 58 0a 58 23 65 6e |D.X#endi|f.X.X#en|
|00005f20| 64 69 66 0a 45 4e 44 5f | 4f 46 5f 46 49 4c 45 0a |dif.END_|OF_FILE.|
|00005f30| 69 66 20 74 65 73 74 20 | 32 34 33 20 2d 6e 65 20 |if test |243 -ne |
|00005f40| 60 77 63 20 2d 63 20 3c | 27 63 6f 6e 66 68 61 76 |`wc -c <|'confhav|
|00005f50| 65 70 73 75 69 64 2e 68 | 27 60 3b 20 74 68 65 6e |epsuid.h|'`; then|
|00005f60| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00005f70| 5c 22 27 63 6f 6e 66 68 | 61 76 65 70 73 75 69 64 |\"'confh|avepsuid|
|00005f80| 2e 68 27 5c 22 20 75 6e | 70 61 63 6b 65 64 20 77 |.h'\" un|packed w|
|00005f90| 69 74 68 20 77 72 6f 6e | 67 20 73 69 7a 65 21 0a |ith wron|g size!.|
|00005fa0| 66 69 0a 23 20 65 6e 64 | 20 6f 66 20 27 63 6f 6e |fi.# end| of 'con|
|00005fb0| 66 68 61 76 65 70 73 75 | 69 64 2e 68 27 0a 66 69 |fhavepsu|id.h'.fi|
|00005fc0| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 63 6f 6e |.if test| -f 'con|
|00005fd0| 66 68 61 76 65 75 63 72 | 65 64 2e 68 27 20 2d 61 |fhaveucr|ed.h' -a|
|00005fe0| 20 22 24 7b 31 7d 22 20 | 21 3d 20 22 2d 63 22 20 | "${1}" |!= "-c" |
|00005ff0| 3b 20 74 68 65 6e 20 0a | 20 20 65 63 68 6f 20 73 |; then .| echo s|
|00006000| 68 61 72 3a 20 57 69 6c | 6c 20 6e 6f 74 20 63 6c |har: Wil|l not cl|
|00006010| 6f 62 62 65 72 20 65 78 | 69 73 74 69 6e 67 20 66 |obber ex|isting f|
|00006020| 69 6c 65 20 5c 22 27 63 | 6f 6e 66 68 61 76 65 75 |ile \"'c|onfhaveu|
|00006030| 63 72 65 64 2e 68 27 5c | 22 0a 65 6c 73 65 0a 65 |cred.h'\|".else.e|
|00006040| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|00006050| 74 69 6e 67 20 5c 22 27 | 63 6f 6e 66 68 61 76 65 |ting \"'|confhave|
|00006060| 75 63 72 65 64 2e 68 27 | 5c 22 20 5c 28 31 32 38 |ucred.h'|\" \(128|
|00006070| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|00006080| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 63 6f 6e |d "s/^X/|/" >'con|
|00006090| 66 68 61 76 65 75 63 72 | 65 64 2e 68 27 20 3c 3c |fhaveucr|ed.h' <<|
|000060a0| 27 45 4e 44 5f 4f 46 5f | 46 49 4c 45 27 0a 58 23 |'END_OF_|FILE'.X#|
|000060b0| 69 66 6e 64 65 66 20 43 | 4f 4e 46 5f 48 41 56 45 |ifndef C|ONF_HAVE|
|000060c0| 5f 55 43 52 45 44 5f 48 | 0a 58 23 64 65 66 69 6e |_UCRED_H|.X#defin|
|000060d0| 65 20 43 4f 4e 46 5f 48 | 41 56 45 5f 55 43 52 45 |e CONF_H|AVE_UCRE|
|000060e0| 44 5f 48 0a 58 0a 58 23 | 69 66 20 21 64 65 66 69 |D_H.X.X#|if !defi|
|000060f0| 6e 65 64 28 5a 53 29 20 | 26 26 20 21 64 65 66 69 |ned(ZS) |&& !defi|
|00006100| 6e 65 64 28 42 53 44 34 | 33 54 41 48 4f 45 29 0a |ned(BSD4|3TAHOE).|
|00006110| 58 23 64 65 66 69 6e 65 | 20 48 41 56 45 5f 55 43 |X#define| HAVE_UC|
|00006120| 52 45 44 0a 58 23 65 6e | 64 69 66 0a 58 0a 58 23 |RED.X#en|dif.X.X#|
|00006130| 65 6e 64 69 66 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |endif.EN|D_OF_FIL|
|00006140| 45 0a 69 66 20 74 65 73 | 74 20 31 32 38 20 2d 6e |E.if tes|t 128 -n|
|00006150| 65 20 60 77 63 20 2d 63 | 20 3c 27 63 6f 6e 66 68 |e `wc -c| <'confh|
|00006160| 61 76 65 75 63 72 65 64 | 2e 68 27 60 3b 20 74 68 |aveucred|.h'`; th|
|00006170| 65 6e 0a 20 20 20 20 65 | 63 68 6f 20 73 68 61 72 |en. e|cho shar|
|00006180| 3a 20 5c 22 27 63 6f 6e | 66 68 61 76 65 75 63 72 |: \"'con|fhaveucr|
|00006190| 65 64 2e 68 27 5c 22 20 | 75 6e 70 61 63 6b 65 64 |ed.h'\" |unpacked|
|000061a0| 20 77 69 74 68 20 77 72 | 6f 6e 67 20 73 69 7a 65 | with wr|ong size|
|000061b0| 21 0a 66 69 0a 23 20 65 | 6e 64 20 6f 66 20 27 63 |!.fi.# e|nd of 'c|
|000061c0| 6f 6e 66 68 61 76 65 75 | 63 72 65 64 2e 68 27 0a |onfhaveu|cred.h'.|
|000061d0| 66 69 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 63 |fi.if te|st -f 'c|
|000061e0| 6f 6e 66 68 61 76 65 75 | 73 69 67 69 6e 74 72 2e |onfhaveu|sigintr.|
|000061f0| 68 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |h' -a "$|{1}" != |
|00006200| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00006210| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00006220| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00006230| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 63 6f 6e 66 |ing file| \"'conf|
|00006240| 68 61 76 65 75 73 69 67 | 69 6e 74 72 2e 68 27 5c |haveusig|intr.h'\|
|00006250| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|00006260| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|00006270| 63 6f 6e 66 68 61 76 65 | 75 73 69 67 69 6e 74 72 |confhave|usigintr|
|00006280| 2e 68 27 5c 22 20 5c 28 | 31 30 39 20 63 68 61 72 |.h'\" \(|109 char|
|00006290| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|000062a0| 5e 58 2f 2f 22 20 3e 27 | 63 6f 6e 66 68 61 76 65 |^X//" >'|confhave|
|000062b0| 75 73 69 67 69 6e 74 72 | 2e 68 27 20 3c 3c 27 45 |usigintr|.h' <<'E|
|000062c0| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 23 69 66 |ND_OF_FI|LE'.X#if|
|000062d0| 6e 64 65 66 20 43 4f 4e | 46 5f 48 41 56 45 5f 55 |ndef CON|F_HAVE_U|
|000062e0| 53 49 47 49 4e 54 52 5f | 48 0a 58 23 64 65 66 69 |SIGINTR_|H.X#defi|
|000062f0| 6e 65 20 43 4f 4e 46 5f | 48 41 56 45 5f 55 53 49 |ne CONF_|HAVE_USI|
|00006300| 47 49 4e 54 52 5f 48 0a | 58 0a 58 23 69 66 64 65 |GINTR_H.|X.X#ifde|
|00006310| 66 20 42 53 44 34 33 0a | 58 23 64 65 66 69 6e 65 |f BSD43.|X#define|
|00006320| 20 48 41 56 45 5f 55 53 | 49 47 49 4e 54 52 0a 58 | HAVE_US|IGINTR.X|
|00006330| 23 65 6e 64 69 66 0a 58 | 0a 58 23 65 6e 64 69 66 |#endif.X|.X#endif|
|00006340| 0a 45 4e 44 5f 4f 46 5f | 46 49 4c 45 0a 69 66 20 |.END_OF_|FILE.if |
|00006350| 74 65 73 74 20 31 30 39 | 20 2d 6e 65 20 60 77 63 |test 109| -ne `wc|
|00006360| 20 2d 63 20 3c 27 63 6f | 6e 66 68 61 76 65 75 73 | -c <'co|nfhaveus|
|00006370| 69 67 69 6e 74 72 2e 68 | 27 60 3b 20 74 68 65 6e |igintr.h|'`; then|
|00006380| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00006390| 5c 22 27 63 6f 6e 66 68 | 61 76 65 75 73 69 67 69 |\"'confh|aveusigi|
|000063a0| 6e 74 72 2e 68 27 5c 22 | 20 75 6e 70 61 63 6b 65 |ntr.h'\"| unpacke|
|000063b0| 64 20 77 69 74 68 20 77 | 72 6f 6e 67 20 73 69 7a |d with w|rong siz|
|000063c0| 65 21 0a 66 69 0a 23 20 | 65 6e 64 20 6f 66 20 27 |e!.fi.# |end of '|
|000063d0| 63 6f 6e 66 68 61 76 65 | 75 73 69 67 69 6e 74 72 |confhave|usigintr|
|000063e0| 2e 68 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |.h'.fi.i|f test -|
|000063f0| 66 20 27 63 6f 6e 66 68 | 61 76 65 76 6d 73 65 67 |f 'confh|avevmseg|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.