DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: e

⟦057dc5253⟧

    Length: 8899 (0x22c3)
    Names: »execve.2«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./bsd/usr/man/cat2/execve.2« 

Default Hex Dump

0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f   ┆   _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c   ┆ u_ a_ l             System Call┆
0x0040…0060 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 65 63 76 65 28 32 29 0a 0a 0a 0a   ┆s                  execve(2)    ┆
0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20   ┆N N N NA A A AM M M ME E E E    ┆
0x0080…00a0 20 20 65 78 65 63 76 65 20 2d 20 65 78 65 63 75 74 65 20 61 20 66 69 6c 65 0a 0a 53 08 53 08 53   ┆  execve - execute a file  S S S┆
0x00a0…00c0 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08   ┆ SY Y Y YN N N NT T T TA A A AX ┆
0x00c0…00e0 58 08 58 08 58 0a 20 20 20 20 20 65 08 65 08 65 08 65 78 08 78 08 78 08 78 65 08 65 08 65 08 65   ┆X X X      e e e ex x x xe e e e┆
0x00e0…0100 63 08 63 08 63 08 63 76 08 76 08 76 08 76 65 08 65 08 65 08 65 28 08 28 08 28 08 28 6e 08 6e 08   ┆c c c cv v v ve e e e( ( ( (n n ┆
0x0100…0120 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20   ┆n na a a am m m me e e e, , , , ┆
0x0120…0140 61 08 61 08 61 08 61 72 08 72 08 72 08 72 67 08 67 08 67 08 67 76 08 76 08 76 08 76 2c 08 2c 08   ┆a a a ar r r rg g g gv v v v, , ┆
0x0140…0160 2c 08 2c 20 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 76 08 76 08 76 08 76 70 08 70 08 70 08 70   ┆, , e e e en n n nv v v vp p p p┆
0x0160…0180 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61   ┆) ) ) )      c c c ch h h ha a a┆
0x0180…01a0 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d   ┆ ar r r r * * * *n n n na a a am┆
0x01a0…01c0 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a 08 2a 61 08 61 08   ┆ m m me e e e, , , , * * * *a a ┆
0x01c0…01e0 61 08 61 72 08 72 08 72 08 72 67 08 67 08 67 08 67 76 08 76 08 76 08 76 5b 08 5b 08 5b 08 5b 20   ┆a ar r r rg g g gv v v v[ [ [ [ ┆
0x01e0…0200 5d 08 5d 08 5d 08 5d 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a 08 2a 65 08 65 08 65 08 65 6e 08 6e   ┆] ] ] ], , , , * * * *e e e en n┆
0x0200…0220 08 6e 08 6e 76 08 76 08 76 08 76 70 08 70 08 70 08 70 5b 08 5b 08 5b 08 5b 20 5d 08 5d 08 5d 08   ┆ n nv v v vp p p p[ [ [ [ ] ] ] ┆
0x0220…0240 5d 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43   ┆]; ; ; ;  D D D DE E E ES S S SC┆
0x0240…0260 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54   ┆ C C CR R R RI I I IP P P PT T T┆
0x0260…0280 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 54 68 65   ┆ TI I I IO O O ON N N N      The┆
0x0280…02a0 20 5f 08 65 5f 08 78 5f 08 65 5f 08 63 5f 08 76 5f 08 65 20 63 61 6c 6c 20 74 72 61 6e 73 66 6f   ┆ _ e_ x_ e_ c_ v_ e call transfo┆
0x02a0…02c0 72 6d 73 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 70 72 6f 63 65 73 73 20 69 6e 74 6f 20 61 20 6e   ┆rms the calling process into a n┆
0x02c0…02e0 65 77 0a 20 20 20 20 20 70 72 6f 63 65 73 73 2e 20 20 54 68 65 72 65 20 69 73 20 6e 6f 20 72 65   ┆ew      process.  There is no re┆
0x02e0…0300 74 75 72 6e 20 66 72 6f 6d 20 61 20 73 75 63 63 65 73 73 66 75 6c 20 5f 08 65 5f 08 78 5f 08 65   ┆turn from a successful _ e_ x_ e┆
0x0300…0320 5f 08 63 5f 08 76 5f 08 65 2c 0a 20 20 20 20 20 62 65 63 61 75 73 65 20 74 68 65 20 63 61 6c 6c   ┆_ c_ v_ e,      because the call┆
0x0320…0340 69 6e 67 20 63 6f 72 65 20 69 6d 61 67 65 20 69 73 20 6c 6f 73 74 2e 20 20 54 68 69 73 20 69 73   ┆ing core image is lost.  This is┆
0x0340…0360 20 74 68 65 20 6d 65 63 68 61 6e 2d 0a 20 20 20 20 20 69 73 6d 20 66 6f 72 20 64 69 66 66 65 72   ┆ the mechan-      ism for differ┆
0x0360…0380 65 6e 74 20 70 72 6f 63 65 73 73 20 69 6d 61 67 65 73 20 74 6f 20 62 65 63 6f 6d 65 20 61 63 74   ┆ent process images to become act┆
0x0380…03a0 69 76 65 2e 0a 0a 20 20 20 20 20 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d   ┆ive.       n n n na a a am m m m┆
0x03a0…03c0 65 08 65 08 65 08 65 20 4e 61 6d 65 73 20 65 69 74 68 65 72 20 61 6e 20 65 78 65 63 75 74 61 62   ┆e e e e Names either an executab┆
0x03c0…03e0 6c 65 20 6f 62 6a 65 63 74 20 66 69 6c 65 20 6f 72 20 61 6e 20 69 6e 74 65 72 70 72 65 74 2d 0a   ┆le object file or an interpret- ┆
0x03e0…0400 20 20 20 20 20 20 20 20 20 20 61 62 6c 65 20 66 69 6c 65 2e 20 20 52 65 66 65 72 20 74 6f 20 74   ┆          able file.  Refer to t┆
0x0400…0420 68 65 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 66 69 6c 65 73 20 62 65 6c 6f 77 20 66 6f   ┆he description of files below fo┆
0x0420…0440 72 0a 20 20 20 20 20 20 20 20 20 20 61 64 64 69 74 69 6f 6e 61 6c 20 69 6e 66 6f 72 6d 61 74 69   ┆r           additional informati┆
0x0440…0460 6f 6e 2e 0a 0a 20 20 20 20 20 61 08 61 08 61 08 61 72 08 72 08 72 08 72 67 08 67 08 67 08 67 76   ┆on.       a a a ar r r rg g g gv┆
0x0460…0480 08 76 08 76 08 76 20 53 70 65 63 69 66 69 65 73 20 61 6e 20 61 72 72 61 79 20 6f 66 20 63 68 61   ┆ v v v Specifies an array of cha┆
0x0480…04a0 72 61 63 74 65 72 20 70 6f 69 6e 74 65 72 73 20 74 6f 20 6e 75 6c 6c 2d 0a 20 20 20 20 20 20 20   ┆racter pointers to null-        ┆
0x04a0…04c0 20 20 20 74 65 72 6d 69 6e 61 74 65 64 20 63 68 61 72 61 63 74 65 72 20 73 74 72 69 6e 67 73 2e   ┆   terminated character strings.┆
0x04c0…04e0 20 20 54 68 65 73 65 20 73 74 72 69 6e 67 73 20 6d 61 6b 65 20 75 70 0a 20 20 20 20 20 20 20 20   ┆  These strings make up         ┆
0x04e0…0500 20 20 74 68 65 20 61 72 67 75 6d 65 6e 74 20 6c 69 73 74 20 66 6f 72 20 74 68 65 20 6e 65 77 20   ┆  the argument list for the new ┆
0x0500…0520 70 72 6f 63 65 73 73 2e 20 20 41 74 20 6c 65 61 73 74 20 6f 6e 65 0a 20 20 20 20 20 20 20 20 20   ┆process.  At least one          ┆
0x0520…0540 20 61 72 67 75 6d 65 6e 74 20 6d 75 73 74 20 62 65 20 70 72 65 73 65 6e 74 20 69 6e 20 74 68 69   ┆ argument must be present in thi┆
0x0540…0560 73 20 61 72 72 61 79 2e 20 20 54 68 65 20 66 69 72 73 74 20 65 6c 65 2d 0a 20 20 20 20 20 20 20   ┆s array.  The first ele-        ┆
0x0560…0580 20 20 20 6d 65 6e 74 20 6f 66 20 74 68 69 73 20 61 72 72 61 79 20 73 68 6f 75 6c 64 20 61 6c 77   ┆   ment of this array should alw┆
0x0580…05a0 61 79 73 20 62 65 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 20 20 20   ┆ays be the name of the          ┆
0x05a0…05c0 20 65 78 65 63 75 74 65 64 20 70 72 6f 67 72 61 6d 20 28 74 68 61 74 20 69 73 2c 20 74 68 65 20   ┆ executed program (that is, the ┆
0x05c0…05e0 6c 61 73 74 20 63 6f 6d 70 6f 6e 65 6e 74 20 6f 66 20 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 29 2e   ┆last component of _ n_ a_ m_ e).┆
0x05e0…0600 0a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 61 72 72 61 79 20 69 73 20 74 65 72 6d 69 6e 61 74   ┆           The array is terminat┆
0x0600…0620 65 64 20 62 79 20 61 20 6e 75 6c 6c 20 70 6f 69 6e 74 65 72 2e 0a 0a 20 20 20 20 20 65 08 65 08   ┆ed by a null pointer.       e e ┆
0x0620…0640 65 08 65 6e 08 6e 08 6e 08 6e 76 08 76 08 76 08 76 70 08 70 08 70 08 70 20 53 70 65 63 69 66 69   ┆e en n n nv v v vp p p p Specifi┆
0x0640…0660 65 73 20 61 20 73 65 63 6f 6e 64 20 61 72 72 61 79 20 6f 66 20 63 68 61 72 61 63 74 65 72 20 70   ┆es a second array of character p┆
0x0660…0680 6f 69 6e 74 65 72 73 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 73 74 72 69 6e 67 73 20 74 68 61   ┆ointers to           strings tha┆
0x0680…06a0 74 20 64 65 73 63 72 69 62 65 20 74 68 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 66 6f 72 20 74   ┆t describe the environment for t┆
0x06a0…06c0 68 65 20 6e 65 77 20 70 72 6f 2d 0a 20 20 20 20 20 20 20 20 20 20 63 65 73 73 2e 20 20 45 61 63   ┆he new pro-           cess.  Eac┆
0x06c0…06e0 68 20 73 74 72 69 6e 67 20 68 61 73 20 74 68 65 20 66 6f 72 6d 20 6e 61 6d 65 3d 76 61 6c 75 65   ┆h string has the form name=value┆
0x06e0…0700 2c 20 77 68 65 72 65 20 76 61 6c 75 65 0a 20 20 20 20 20 20 20 20 20 20 69 73 20 6e 75 6c 6c 2d   ┆, where value           is null-┆
0x0700…0720 74 65 72 6d 69 6e 61 74 65 64 2e 20 20 54 68 65 20 61 72 72 61 79 20 69 74 73 65 6c 66 20 6d 75   ┆terminated.  The array itself mu┆
0x0720…0740 73 74 20 62 65 20 74 65 72 2d 0a 20 20 20 20 20 20 20 20 20 20 6d 69 6e 61 74 65 64 20 62 79 20   ┆st be ter-           minated by ┆
0x0740…0760 61 20 6e 75 6c 6c 20 70 6f 69 6e 74 65 72 2e 20 20 54 68 65 20 5f 08 65 5f 08 6e 5f 08 76 5f 08   ┆a null pointer.  The _ e_ n_ v_ ┆
0x0760…0780 69 5f 08 72 5f 08 6f 5f 08 6e 20 67 6c 6f 62 61 6c 20 76 61 72 69 61 62 6c 65 0a 20 20 20 20 20   ┆i_ r_ o_ n global variable      ┆
0x0780…07a0 20 20 20 20 20 61 6c 73 6f 20 63 6f 6e 74 61 69 6e 73 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20   ┆     also contains a pointer to ┆
0x07a0…07c0 74 68 69 73 20 61 72 72 61 79 2e 0a 20 20 20 20 20 20 20 20 20 20 52 65 66 65 72 20 74 6f 20 5f   ┆this array.           Refer to _┆
0x07c0…07e0 08 65 5f 08 6e 5f 08 76 5f 08 69 5f 08 72 5f 08 6f 5f 08 6e 20 69 6e 20 73 65 63 74 69 6f 6e 20   ┆ e_ n_ v_ i_ r_ o_ n in section ┆
0x07e0…0800 37 20 28 41 70 70 65 6e 64 69 63 65 73 29 20 69 6e 20 74 68 65 20 54 08 54 08 54 08 54 58 08 58   ┆7 (Appendices) in the T T T TX X┆
0x0800…0820 08 58 08 58 0a 20 20 20 20 20 20 20 20 20 20 55 08 55 08 55 08 55 73 08 73 08 73 08 73 65 08 65   ┆ X X           U U U Us s s se e┆
0x0820…0840 08 65 08 65 72 08 72 08 72 08 72 27 08 27 08 27 08 27 73 08 73 08 73 08 73 20 52 08 52 08 52 08   ┆ e er r r r' ' ' 's s s s R R R ┆
0x0840…0860 52 65 08 65 08 65 08 65 66 08 66 08 66 08 66 65 08 65 08 65 08 65 72 08 72 08 72 08 72 65 08 65   ┆Re e e ef f f fe e e er r r re e┆
0x0860…0880 08 65 08 65 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 65 08 65 08 65 08 65 20 6d 61 6e 75 61 6c   ┆ e en n n nc c c ce e e e manual┆
0x0880…08a0 20 66 6f 72 20 6d 6f 72 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 20 20 20 20 20 20 20 20 20   ┆ for more information.          ┆
0x08a0…08c0 20 54 68 65 20 5f 08 73 5f 08 68 20 73 68 65 6c 6c 20 70 61 73 73 65 73 20 61 6e 20 65 6e 76 69   ┆ The _ s_ h shell passes an envi┆
0x08c0…08e0 72 6f 6e 6d 65 6e 74 20 65 6e 74 72 79 20 66 6f 72 20 65 61 63 68 0a 20 20 20 20 20 20 20 20 20   ┆ronment entry for each          ┆
0x08e0…0900 20 64 65 66 69 6e 65 64 20 60 60 67 6c 6f 62 61 6c 27 27 20 28 65 78 70 6f 72 74 65 64 29 20 73   ┆ defined ``global'' (exported) s┆
0x0900…0920 68 65 6c 6c 20 76 61 72 69 61 62 6c 65 2e 0a 0a 20 20 20 20 20 4e 08 4e 08 4e 08 4e 65 08 65 08   ┆hell variable.       N N N Ne e ┆
0x0920…0940 65 08 65 77 08 77 08 77 08 77 2d 08 2d 08 2d 08 2d 50 08 50 08 50 08 50 72 08 72 08 72 08 72 6f   ┆e ew w w w- - - -P P P Pr r r ro┆
0x0940…0960 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 65 08 65 08 65 08 65 73 08 73 08 73 08 73 73 08 73 08 73   ┆ o o oc c c ce e e es s s ss s s┆
0x0960…0980 08 73 20 46 08 46 08 46 08 46 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 73   ┆ s F F F Fi i i il l l le e e es┆
0x0980…09a0 08 73 08 73 08 73 0a 20 20 20 20 20 54 68 65 20 6e 65 77 20 70 72 6f 63 65 73 73 20 69 73 20 63   ┆ s s s      The new process is c┆
0x09a0…09c0 6f 6e 73 74 72 75 63 74 65 64 20 66 72 6f 6d 20 61 6e 20 6f 72 64 69 6e 61 72 79 20 66 69 6c 65   ┆onstructed from an ordinary file┆
0x09c0…09e0 20 63 61 6c 6c 65 64 0a 20 20 20 20 20 74 68 65 20 5f 08 6e 5f 08 65 5f 08 77 20 5f 08 70 5f 08   ┆ called      the _ n_ e_ w _ p_ ┆
0x09e0…0a00 72 5f 08 6f 5f 08 63 5f 08 65 5f 08 73 5f 08 73 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 2c 20 77   ┆r_ o_ c_ e_ s_ s _ f_ i_ l_ e, w┆
0x0a00…0a20 68 69 63 68 20 69 73 20 65 69 74 68 65 72 20 61 6e 20 65 78 65 63 75 74 61 62 6c 65 20 6f 62 6a   ┆hich is either an executable obj┆
0x0a20…0a40 65 63 74 0a 20 20 20 20 20 66 69 6c 65 20 6f 72 20 61 6e 20 69 6e 74 65 72 70 72 65 74 61 62 6c   ┆ect      file or an interpretabl┆
0x0a40…0a60 65 20 64 61 74 61 20 66 69 6c 65 2e 20 20 57 68 65 6e 20 74 68 65 20 65 78 65 63 75 74 65 64 20   ┆e data file.  When the executed ┆
0x0a60…0a80 70 72 6f 2d 0a 20 20 20 20 20 67 72 61 6d 20 62 65 67 69 6e 73 2c 20 69 74 20 69 73 20 63 61 6c   ┆pro-      gram begins, it is cal┆
0x0a80…0aa0 6c 65 64 20 61 73 20 66 6f 6c 6c 6f 77 73 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 6d 61 69 6e 28   ┆led as follows:            main(┆
0x0aa0…0ac0 61 72 67 63 2c 20 61 72 67 76 2c 20 65 6e 76 70 29 0a 20 20 20 20 20 20 20 20 20 20 69 6e 74 20   ┆argc, argv, envp)           int ┆
0x0ac0…0ae0 61 72 67 63 3b 0a 20 20 20 20 20 20 20 20 20 20 63 68 61 72 20 2a 2a 61 72 67 76 2c 20 2a 2a 65   ┆argc;           char **argv, **e┆
0x0ae0…0b00 6e 76 70 3b 0a 0a 20 20 20 20 20 77 68 65 72 65 3a 20 5f 08 61 5f 08 72 5f 08 67 5f 08 63 20 69   ┆nvp;       where: _ a_ r_ g_ c i┆
0x0b00…0b20 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 65 6c 65 6d 65 6e 74 73 20 69 6e 20 5f 08 61 5f   ┆s the number of elements in _ a_┆
0x0b20…0b40 08 72 5f 08 67 5f 08 76 20 28 74 68 65 20 60 60 61 72 67 0a 20 20 20 20 20 63 6f 75 6e 74 27 27   ┆ r_ g_ v (the ``arg      count''┆
0x0b40…0b60 29 2c 20 5f 08 61 5f 08 72 5f 08 67 5f 08 76 20 69 73 20 74 68 65 20 61 72 72 61 79 20 6f 66 20   ┆), _ a_ r_ g_ v is the array of ┆
0x0b60…0b80 63 68 61 72 61 63 74 65 72 20 70 6f 69 6e 74 65 72 73 20 74 6f 20 74 68 65 0a 20 20 20 20 20 61   ┆character pointers to the      a┆
0x0b80…0ba0 72 67 75 6d 65 6e 74 73 20 74 68 65 6d 73 65 6c 76 65 73 2c 20 61 6e 64 20 5f 08 65 5f 08 6e 5f   ┆rguments themselves, and _ e_ n_┆
0x0ba0…0bc0 08 76 5f 08 70 20 69 73 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 61 6e 20 61 72 72 61 79 20 6f   ┆ v_ p is a pointer to an array o┆
0x0bc0…0be0 66 0a 20 20 20 20 20 73 74 72 69 6e 67 73 20 74 68 61 74 20 64 65 73 63 72 69 62 65 20 74 68 65   ┆f      strings that describe the┆
0x0be0…0c00 20 5f 08 65 5f 08 6e 5f 08 76 5f 08 69 5f 08 72 5f 08 6f 5f 08 6e 5f 08 6d 5f 08 65 5f 08 6e 5f   ┆ _ e_ n_ v_ i_ r_ o_ n_ m_ e_ n_┆
0x0c00…0c20 08 74 20 66 6f 72 20 74 68 65 20 6e 65 77 20 70 72 6f 63 65 73 73 2e 0a 0a 20 20 20 20 20 41 6e   ┆ t for the new process.       An┆
0x0c20…0c40 20 65 78 65 63 75 74 61 62 6c 65 20 6f 62 6a 65 63 74 20 66 69 6c 65 20 63 6f 6e 73 69 73 74 73   ┆ executable object file consists┆
0x0c40…0c60 20 6f 66 20 61 6e 20 69 64 65 6e 74 69 66 79 69 6e 67 20 68 65 61 64 65 72 2c 0a 20 20 20 20 20   ┆ of an identifying header,      ┆
0x0c60…0c80 66 6f 6c 6c 6f 77 65 64 20 62 79 20 70 61 67 65 73 20 6f 66 20 64 61 74 61 20 72 65 70 72 65 73   ┆followed by pages of data repres┆
0x0c80…0ca0 65 6e 74 69 6e 67 20 74 68 65 20 69 6e 69 74 69 61 6c 20 70 72 6f 67 72 61 6d 0a 20 20 20 20 20   ┆enting the initial program      ┆
0x0ca0…0cc0 28 74 65 78 74 29 20 61 6e 64 20 69 6e 69 74 69 61 6c 69 7a 65 64 20 64 61 74 61 20 70 61 67 65   ┆(text) and initialized data page┆
0x0cc0…0ce0 73 2e 20 20 41 64 64 69 74 69 6f 6e 61 6c 20 70 61 67 65 73 20 6d 61 79 20 62 65 0a 20 20 20 20   ┆s.  Additional pages may be     ┆
0x0ce0…0d00 20 73 70 65 63 69 66 69 65 64 20 62 79 20 74 68 65 20 68 65 61 64 65 72 20 74 6f 20 62 65 20 69   ┆ specified by the header to be i┆
0x0d00…0d20 6e 69 74 69 61 6c 69 7a 65 64 20 77 69 74 68 20 7a 65 72 6f 20 64 61 74 61 2e 0a 20 20 20 20 20   ┆nitialized with zero data.      ┆
0x0d20…0d40 52 65 66 65 72 20 74 6f 20 74 68 65 20 61 2e 6f 75 74 20 66 69 6c 65 20 66 6f 72 6d 61 74 20 69   ┆Refer to the a.out file format i┆
0x0d40…0d60 6e 20 73 65 63 74 69 6f 6e 20 35 20 28 46 69 6c 65 20 46 6f 72 6d 61 74 73 29 0a 20 20 20 20 20   ┆n section 5 (File Formats)      ┆
0x0d60…0d80 6f 66 20 74 68 69 73 20 6d 61 6e 75 61 6c 2e 0a 0a 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 41 6e 20   ┆of this manual.              An ┆
0x0d80…0da0 69 6e 74 65 72 70 72 65 74 65 72 20 66 69 6c 65 20 62 65 67 69 6e 73 20 77 69 74 68 20 61 20 6c   ┆interpreter file begins with a l┆
0x0da0…0dc0 69 6e 65 20 6f 66 20 74 68 65 20 66 6f 72 6d 20 60 60 23 21 0a 20 20 20 20 20 5f 08 69 5f 08 6e   ┆ine of the form ``#!      _ i_ n┆
0x0dc0…0de0 5f 08 74 5f 08 65 5f 08 72 5f 08 70 5f 08 72 5f 08 65 5f 08 74 5f 08 65 5f 08 72 27 27 2e 20 20   ┆_ t_ e_ r_ p_ r_ e_ t_ e_ r''.  ┆
0x0de0…0e00 57 68 65 6e 20 61 6e 20 69 6e 74 65 72 70 72 65 74 65 72 20 66 69 6c 65 20 69 73 20 72 75 6e 20   ┆When an interpreter file is run ┆
0x0e00…0e20 62 79 20 5f 08 65 5f 08 78 5f 08 65 5f 08 63 5f 08 76 5f 08 65 2c 0a 20 20 20 20 20 74 68 65 20   ┆by _ e_ x_ e_ c_ v_ e,      the ┆
0x0e20…0e40 73 79 73 74 65 6d 20 65 78 65 63 75 74 65 73 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 5f 08   ┆system executes the specified _ ┆
0x0e40…0e60 69 5f 08 6e 5f 08 74 5f 08 65 5f 08 72 5f 08 70 5f 08 72 5f 08 65 5f 08 74 5f 08 65 5f 08 72 2c   ┆i_ n_ t_ e_ r_ p_ r_ e_ t_ e_ r,┆
0x0e60…0e80 20 77 69 74 68 20 74 68 65 20 6e 61 6d 65 0a 20 20 20 20 20 6f 66 20 74 68 65 20 6f 72 69 67 69   ┆ with the name      of the origi┆
0x0e80…0ea0 6e 61 6c 6c 79 20 65 78 65 63 75 74 65 64 20 66 69 6c 65 20 61 73 20 61 72 67 76 5b 30 5d 20 41   ┆nally executed file as argv[0] A┆
0x0ea0…0ec0 64 64 69 74 69 6f 6e 61 6c 20 74 65 78 74 0a 20 20 20 20 20 6f 6e 20 74 68 65 20 60 60 23 21 20   ┆dditional text      on the ``#! ┆
0x0ec0…0ee0 5f 08 69 5f 08 6e 5f 08 74 5f 08 65 5f 08 72 5f 08 70 5f 08 72 5f 08 65 5f 08 74 5f 08 65 5f 08   ┆_ i_ n_ t_ e_ r_ p_ r_ e_ t_ e_ ┆
0x0ee0…0f00 72 27 27 20 6c 69 6e 65 2c 20 69 66 20 61 6e 79 2c 20 69 73 20 67 69 76 65 6e 20 74 6f 20 74 68   ┆r'' line, if any, is given to th┆
0x0f00…0f20 65 0a 20 20 20 20 20 69 6e 74 65 72 70 72 65 74 65 72 20 61 73 20 61 72 67 76 5b 31 5d 2e 20 20   ┆e      interpreter as argv[1].  ┆
0x0f20…0f40 54 68 65 20 6f 72 69 67 69 6e 61 6c 20 61 72 67 75 6d 65 6e 74 73 20 28 65 76 65 6e 0a 20 20 20   ┆The original arguments (even    ┆
0x0f40…0f60 20 20 61 72 67 76 5b 30 5d 29 20 66 6f 6c 6c 6f 77 20 69 6e 20 74 68 65 20 61 72 67 76 20 61 72   ┆  argv[0]) follow in the argv ar┆
0x0f60…0f80 72 61 79 2e 0a 0a 20 20 20 20 20 44 08 44 08 44 08 44 65 08 65 08 65 08 65 73 08 73 08 73 08 73   ┆ray.       D D D De e e es s s s┆
0x0f80…0fa0 63 08 63 08 63 08 63 72 08 72 08 72 08 72 69 08 69 08 69 08 69 70 08 70 08 70 08 70 74 08 74 08   ┆c c c cr r r ri i i ip p p pt t ┆
0x0fa0…0fc0 74 08 74 6f 08 6f 08 6f 08 6f 72 08 72 08 72 08 72 73 08 73 08 73 08 73 0a 20 20 20 20 20 44 65   ┆t to o o or r r rs s s s      De┆
0x0fc0…0fe0 73 63 72 69 70 74 6f 72 73 20 6f 70 65 6e 20 69 6e 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 70 72   ┆scriptors open in the calling pr┆
0x0fe0…1000 6f 63 65 73 73 20 72 65 6d 61 69 6e 20 6f 70 65 6e 20 69 6e 20 74 68 65 0a 20 20 20 20 20 6e 65   ┆ocess remain open in the      ne┆
0x1000…1020 77 20 70 72 6f 63 65 73 73 2c 20 65 78 63 65 70 74 20 74 68 6f 73 65 20 66 6f 72 20 77 68 69 63   ┆w process, except those for whic┆
0x1020…1040 68 20 74 68 65 20 63 6c 6f 73 65 2d 6f 6e 2d 65 78 65 63 20 66 6c 61 67 0a 20 20 20 20 20 69 73   ┆h the close-on-exec flag      is┆
0x1040…1060 20 73 65 74 3b 20 73 65 65 20 74 68 65 20 5f 08 69 5f 08 6f 5f 08 63 5f 08 74 5f 08 6c 20 63 61   ┆ set; see the _ i_ o_ c_ t_ l ca┆
0x1060…1080 6c 6c 20 61 6e 64 20 74 68 65 20 46 49 4f 43 4c 45 58 20 74 79 70 65 2e 20 20 44 65 73 63 72 69   ┆ll and the FIOCLEX type.  Descri┆
0x1080…10a0 70 2d 0a 20 20 20 20 20 74 6f 72 73 20 77 68 69 63 68 20 72 65 6d 61 69 6e 20 6f 70 65 6e 20 61   ┆p-      tors which remain open a┆
0x10a0…10c0 72 65 20 75 6e 61 66 66 65 63 74 65 64 20 62 79 20 5f 08 65 5f 08 78 5f 08 65 5f 08 63 5f 08 76   ┆re unaffected by _ e_ x_ e_ c_ v┆
0x10c0…10e0 5f 08 65 2e 0a 0a 20 20 20 20 20 53 08 53 08 53 08 53 69 08 69 08 69 08 69 67 08 67 08 67 08 67   ┆_ e.       S S S Si i i ig g g g┆
0x10e0…1100 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 73 08 73 08 73 08 73 0a 20 20 20   ┆n n n na a a al l l ls s s s    ┆
0x1100…1120 20 20 49 67 6e 6f 72 65 64 20 73 69 67 6e 61 6c 73 20 72 65 6d 61 69 6e 20 69 67 6e 6f 72 65 64   ┆  Ignored signals remain ignored┆
0x1120…1140 20 61 63 72 6f 73 73 20 61 6e 20 5f 08 65 5f 08 78 5f 08 65 5f 08 63 5f 08 76 5f 08 65 2c 20 62   ┆ across an _ e_ x_ e_ c_ v_ e, b┆
0x1140…1160 75 74 20 73 69 67 6e 61 6c 73 0a 20 20 20 20 20 74 68 61 74 20 61 72 65 20 63 61 75 67 68 74 20   ┆ut signals      that are caught ┆
0x1160…1180 61 72 65 20 72 65 73 65 74 20 74 6f 20 74 68 65 69 72 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65   ┆are reset to their default value┆
0x1180…11a0 73 2e 20 20 54 68 65 20 73 69 67 2d 0a 20 20 20 20 20 6e 61 6c 20 73 74 61 63 6b 20 69 73 20 72   ┆s.  The sig-      nal stack is r┆
0x11a0…11c0 65 73 65 74 20 74 6f 20 62 65 20 75 6e 64 65 66 69 6e 65 64 3b 20 73 65 65 20 74 68 65 20 5f 08   ┆eset to be undefined; see the _ ┆
0x11c0…11e0 73 5f 08 69 5f 08 67 5f 08 76 5f 08 65 5f 08 63 20 63 61 6c 6c 20 66 6f 72 0a 20 20 20 20 20 6d   ┆s_ i_ g_ v_ e_ c call for      m┆
0x11e0…1200 6f 72 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 0a 20 20 20 20 20 50 08 50 08 50 08 50 72 08   ┆ore information.       P P P Pr ┆
0x1200…1220 72 08 72 08 72 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 65 08 65 08 65 08 65 73 08 73 08 73 08   ┆r r ro o o oc c c ce e e es s s ┆
0x1220…1240 73 73 08 73 08 73 08 73 20 49 08 49 08 49 08 49 44 08 44 08 44 08 44 0a 20 20 20 20 20 45 61 63   ┆ss s s s I I I ID D D D      Eac┆
0x1240…1260 68 20 70 72 6f 63 65 73 73 20 68 61 73 20 5f 08 72 5f 08 65 5f 08 61 5f 08 6c 20 75 73 65 72 20   ┆h process has _ r_ e_ a_ l user ┆
0x1260…1280 61 6e 64 20 67 72 6f 75 70 20 49 44 73 20 61 6e 64 20 5f 08 65 5f 08 66 5f 08 66 5f 08 65 5f 08   ┆and group IDs and _ e_ f_ f_ e_ ┆
0x1280…12a0 63 5f 08 74 5f 08 69 5f 08 76 5f 08 65 20 75 73 65 72 0a 20 20 20 20 20 61 6e 64 20 67 72 6f 75   ┆c_ t_ i_ v_ e user      and grou┆
0x12a0…12c0 70 20 49 44 73 2e 20 20 54 68 65 20 5f 08 72 5f 08 65 5f 08 61 5f 08 6c 20 49 44 20 69 64 65 6e   ┆p IDs.  The _ r_ e_ a_ l ID iden┆
0x12c0…12e0 74 69 66 69 65 73 20 74 68 65 20 70 65 72 73 6f 6e 20 75 73 69 6e 67 20 74 68 65 0a 20 20 20 20   ┆tifies the person using the     ┆
0x12e0…1300 20 73 79 73 74 65 6d 3b 20 74 68 65 20 5f 08 65 5f 08 66 5f 08 66 5f 08 65 5f 08 63 5f 08 74 5f   ┆ system; the _ e_ f_ f_ e_ c_ t_┆
0x1300…1320 08 69 5f 08 76 5f 08 65 20 49 44 20 64 65 74 65 72 6d 69 6e 65 73 20 68 69 73 20 61 63 63 65 73   ┆ i_ v_ e ID determines his acces┆
0x1320…1340 73 20 70 72 69 76 69 6c 65 67 65 73 2e 0a 20 20 20 20 20 5f 08 65 5f 08 78 5f 08 65 5f 08 63 5f   ┆s privileges.      _ e_ x_ e_ c_┆
0x1340…1360 08 76 5f 08 65 20 63 68 61 6e 67 65 73 20 74 68 65 20 65 66 66 65 63 74 69 76 65 20 75 73 65 72   ┆ v_ e changes the effective user┆
0x1360…1380 20 61 6e 64 20 67 72 6f 75 70 20 49 44 20 74 6f 20 74 68 65 20 6f 77 6e 65 72 0a 20 20 20 20 20   ┆ and group ID to the owner      ┆
0x1380…13a0 6f 66 20 74 68 65 20 65 78 65 63 75 74 65 64 20 66 69 6c 65 20 69 66 20 74 68 65 20 66 69 6c 65   ┆of the executed file if the file┆
0x13a0…13c0 20 68 61 73 20 74 68 65 20 22 73 65 74 2d 75 73 65 72 2d 49 44 22 20 6f 72 0a 20 20 20 20 20 22   ┆ has the "set-user-ID" or      "┆
0x13c0…13e0 73 65 74 2d 67 72 6f 75 70 2d 49 44 22 20 6d 6f 64 65 73 2e 20 20 54 68 65 20 5f 08 72 5f 08 65   ┆set-group-ID" modes.  The _ r_ e┆
0x13e0…1400 5f 08 61 5f 08 6c 20 75 73 65 72 20 49 44 20 69 73 20 6e 6f 74 20 61 66 66 65 63 74 65 64 2e 0a   ┆_ a_ l user ID is not affected. ┆
0x1400…1420 0a 20 20 20 20 20 49 08 49 08 49 08 49 6e 08 6e 08 6e 08 6e 68 08 68 08 68 08 68 65 08 65 08 65   ┆      I I I In n n nh h h he e e┆
0x1420…1440 08 65 72 08 72 08 72 08 72 69 08 69 08 69 08 69 74 08 74 08 74 08 74 65 08 65 08 65 08 65 64 08   ┆ er r r ri i i it t t te e e ed ┆
0x1440…1460 64 08 64 08 64 20 41 08 41 08 41 08 41 74 08 74 08 74 08 74 74 08 74 08 74 08 74 72 08 72 08 72   ┆d d d A A A At t t tt t t tr r r┆
0x1460…1480 08 72 69 08 69 08 69 08 69 62 08 62 08 62 08 62 75 08 75 08 75 08 75 74 08 74 08 74 08 74 65 08   ┆ ri i i ib b b bu u u ut t t te ┆
0x1480…14a0 65 08 65 08 65 73 08 73 08 73 08 73 0a 20 20 20 20 20 54 68 65 20 6e 65 77 20 70 72 6f 63 65 73   ┆e e es s s s      The new proces┆
0x14a0…14c0 73 20 61 6c 73 6f 20 69 6e 68 65 72 69 74 73 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 61 74   ┆s also inherits the following at┆
0x14c0…14e0 74 72 69 62 75 74 65 73 20 66 72 6f 6d 0a 20 20 20 20 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 70   ┆tributes from      the calling p┆
0x14e0…1500 72 6f 63 65 73 73 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 5f 08 41 5f 08 74 5f 08 74 5f 08 72 5f   ┆rocess:            _ A_ t_ t_ r_┆
0x1500…1520 08 69 5f 08 62 5f 08 75 5f 08 74 5f 08 65 20 20 20 20 20 20 20 20 20 20 20 5f 08 4d 5f 08 61 5f   ┆ i_ b_ u_ t_ e           _ M_ a_┆
0x1520…1540 08 6e 5f 08 75 5f 08 61 5f 08 6c 20 5f 08 52 5f 08 65 5f 08 66 5f 08 65 5f 08 72 5f 08 65 5f 08   ┆ n_ u_ a_ l _ R_ e_ f_ e_ r_ e_ ┆
0x1540…1560 6e 5f 08 63 5f 08 65 5f 08 73 0a 0a 20 20 20 20 20 20 20 20 20 20 70 72 6f 63 65 73 73 20 49 44   ┆n_ c_ e_ s            process ID┆
0x1560…1580 20 20 20 20 20 20 20 20 20 20 5f 08 67 5f 08 65 5f 08 74 5f 08 70 5f 08 69 5f 08 64 28 32 29 0a   ┆          _ g_ e_ t_ p_ i_ d(2) ┆
0x1580…15a0 20 20 20 20 20 20 20 20 20 20 70 61 72 65 6e 74 20 70 72 6f 63 65 73 73 20 49 44 20 20 20 5f 08   ┆          parent process ID   _ ┆
0x15a0…15c0 67 5f 08 65 5f 08 74 5f 08 70 5f 08 69 5f 08 64 28 32 29 0a 20 20 20 20 20 20 20 20 20 20 70 72   ┆g_ e_ t_ p_ i_ d(2)           pr┆
0x15c0…15e0 6f 63 65 73 73 20 67 72 6f 75 70 20 49 44 20 20 20 20 5f 08 67 5f 08 65 5f 08 74 5f 08 70 5f 08   ┆ocess group ID    _ g_ e_ t_ p_ ┆
0x15e0…1600 67 5f 08 72 5f 08 70 28 32 29 0a 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 20 67 72 6f 75   ┆g_ r_ p(2)           access grou┆
0x1600…1620 70 73 20 20 20 20 20 20 20 5f 08 67 5f 08 65 5f 08 74 5f 08 67 5f 08 72 5f 08 6f 5f 08 75 5f 08   ┆ps       _ g_ e_ t_ g_ r_ o_ u_ ┆
0x1620…1640 70 5f 08 73 28 32 29 0a 20 20 20 20 20 20 20 20 20 20 77 6f 72 6b 69 6e 67 20 64 69 72 65 63 74   ┆p_ s(2)           working direct┆
0x1640…1660 6f 72 79 20 20 20 5f 08 63 5f 08 68 5f 08 64 5f 08 69 5f 08 72 28 32 29 0a 20 20 20 20 20 20 20   ┆ory   _ c_ h_ d_ i_ r(2)        ┆
0x1660…1680 20 20 20 72 6f 6f 74 20 64 69 72 65 63 74 6f 72 79 20 20 20 20 20 20 5f 08 63 5f 08 68 5f 08 72   ┆   root directory      _ c_ h_ r┆
0x1680…16a0 5f 08 6f 5f 08 6f 5f 08 74 28 32 29 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 20 74   ┆_ o_ o_ t(2)           control t┆
0x16a0…16c0 65 72 6d 69 6e 61 6c 20 20 20 20 5f 08 74 5f 08 65 5f 08 72 5f 08 6d 5f 08 69 5f 08 6f 28 34 29   ┆erminal    _ t_ e_ r_ m_ i_ o(4)┆
0x16c0…16e0 2c 20 5f 08 74 5f 08 74 5f 08 79 28 34 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 73 6f 75 72 63   ┆, _ t_ t_ y(4)           resourc┆
0x16e0…1700 65 20 75 73 61 67 65 73 20 20 20 20 20 5f 08 67 5f 08 65 5f 08 74 5f 08 72 5f 08 75 5f 08 73 5f   ┆e usages     _ g_ e_ t_ r_ u_ s_┆
0x1700…1720 08 61 5f 08 67 5f 08 65 28 32 29 0a 20 20 20 20 20 20 20 20 20 20 69 6e 74 65 72 76 61 6c 20 74   ┆ a_ g_ e(2)           interval t┆
0x1720…1740 69 6d 65 72 73 20 20 20 20 20 5f 08 67 5f 08 65 5f 08 74 5f 08 69 5f 08 74 5f 08 69 5f 08 6d 5f   ┆imers     _ g_ e_ t_ i_ t_ i_ m_┆
0x1740…1760 08 65 5f 08 72 28 32 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 73 6f 75 72 63 65 20 6c 69 6d 69   ┆ e_ r(2)           resource limi┆
0x1760…1780 74 73 20 20 20 20 20 5f 08 67 5f 08 65 5f 08 74 5f 08 72 5f 08 6c 5f 08 69 5f 08 6d 5f 08 69 5f   ┆ts     _ g_ e_ t_ r_ l_ i_ m_ i_┆
0x1780…17a0 08 74 28 32 29 0a 20 20 20 20 20 20 20 20 20 20 66 69 6c 65 20 6d 6f 64 65 20 6d 61 73 6b 20 20   ┆ t(2)           file mode mask  ┆
0x17a0…17c0 20 20 20 20 5f 08 75 5f 08 6d 5f 08 61 5f 08 73 5f 08 6b 28 32 29 0a 20 20 20 20 20 20 20 20 20   ┆    _ u_ m_ a_ s_ k(2)          ┆
0x17c0…17e0 20 73 69 67 6e 61 6c 20 6d 61 73 6b 20 20 20 20 20 20 20 20 20 5f 08 73 5f 08 69 5f 08 67 5f 08   ┆ signal mask         _ s_ i_ g_ ┆
0x17e0…1800 76 5f 08 65 5f 08 63 28 32 29 2c 20 5f 08 73 5f 08 69 5f 08 67 5f 08 62 5f 08 6c 5f 08 6f 5f 08   ┆v_ e_ c(2), _ s_ i_ g_ b_ l_ o_ ┆
0x1800…1820 63 5f 08 6b 28 32 29 2c 20 5f 08 73 5f 08 69 5f 08 67 5f 08 73 5f 08 65 5f 08 74 5f 08 6d 5f 08   ┆c_ k(2), _ s_ i_ g_ s_ e_ t_ m_ ┆
0x1820…1840 61 5f 08 73 5f 08 6b 28 32 29 0a 0a 20 20 20 20 20 4e 08 4e 08 4e 08 4e 6f 08 6f 08 6f 08 6f 74   ┆a_ s_ k(2)       N N N No o o ot┆
0x1840…1860 08 74 08 74 08 74 65 08 65 08 65 08 65 0a 20 20 20 20 20 49 66 20 61 20 70 72 6f 67 72 61 6d 20   ┆ t t te e e e      If a program ┆
0x1860…1880 69 73 20 5f 08 73 5f 08 65 5f 08 74 5f 08 75 5f 08 69 5f 08 64 20 74 6f 20 61 20 6e 6f 6e 73 75   ┆is _ s_ e_ t_ u_ i_ d to a nonsu┆
0x1880…18a0 70 65 72 2d 75 73 65 72 2c 20 62 75 74 20 69 73 20 65 78 65 63 75 74 65 64 0a 20 20 20 20 20 77   ┆per-user, but is executed      w┆
0x18a0…18c0 68 65 6e 20 74 68 65 20 72 65 61 6c 20 5f 08 75 5f 08 69 5f 08 64 20 69 73 20 60 60 72 6f 6f 74   ┆hen the real _ u_ i_ d is ``root┆
0x18c0…18e0 27 27 2c 20 74 68 65 6e 20 74 68 65 20 70 72 6f 67 72 61 6d 20 68 61 73 20 74 68 65 0a 20 20 20   ┆'', then the program has the    ┆
0x18e0…1900 20 20 70 6f 77 65 72 73 20 6f 66 20 61 20 73 75 70 65 72 2d 75 73 65 72 20 61 73 20 77 65 6c 6c   ┆  powers of a super-user as well┆
0x1900…1920 2e 0a 0a 20 20 20 20 20 54 08 54 08 54 08 54 72 08 72 08 72 08 72 61 08 61 08 61 08 61 6e 08 6e   ┆.       T T T Tr r r ra a a an n┆
[…truncated at 200 lines…]