|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: r
Length: 11903 (0x2e7f)
Names: »run.2«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat2/run.2«
└─⟦this⟧ »./usr/man/cat2/run.2«
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 20 20 20 72 75 6e 28 32 29 0a 0a 0a 0a ┆s run(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 72 75 6e 20 2d 20 63 72 65 61 74 65 20 61 20 72 75 6e 6e 69 6e 67 20 70 72 6f 63 65 73 73 ┆ run - create a running process┆ 0x00a0…00c0 0a 0a 53 08 53 08 53 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 ┆ S S S SY Y Y YN N N NT T T TA ┆ 0x00c0…00e0 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 ┆A A AX X X X # # # #i i i i┆ 0x00e0…0100 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 ┆n n n nc c c cl l l lu u u ud d ┆ 0x0100…0120 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 79 08 79 08 79 08 79 ┆d de e e e < < < <s s s sy y y y┆ 0x0120…0140 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 70 08 70 08 70 08 70 61 08 61 08 61 08 61 72 08 72 08 ┆s s s s/ / / /p p p pa a a ar r ┆ 0x0140…0160 72 08 72 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e ┆r ra a a am m m m. . . .h h h h>┆ 0x0160…0180 08 3e 08 3e 08 3e 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 ┆ > > > # # # #i i i in n n ┆ 0x0180…01a0 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 ┆nc c c cl l l lu u u ud d d de e┆ 0x01a0…01c0 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 73 08 ┆ e e < < < <s s s sy y y ys s s ┆ 0x01c0…01e0 73 2f 08 2f 08 2f 08 2f 74 08 74 08 74 08 74 69 08 69 08 69 08 69 6d 08 6d 08 6d 08 6d 65 08 65 ┆s/ / / /t t t ti i i im m m me e┆ 0x01e0…0200 08 65 08 65 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 20 20 20 20 20 23 ┆ e e. . . .h h h h> > > > #┆ 0x0200…0220 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c ┆ # # #i i i in n n nc c c cl l l┆ 0x0220…0240 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 ┆ lu u u ud d d de e e e < < < <s┆ 0x0240…0260 08 73 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 72 08 72 08 72 ┆ s s sy y y ys s s s/ / / /r r r┆ 0x0260…0280 08 72 65 08 65 08 65 08 65 73 08 73 08 73 08 73 6f 08 6f 08 6f 08 6f 75 08 75 08 75 08 75 72 08 ┆ re e e es s s so o o ou u u ur ┆ 0x0280…02a0 72 08 72 08 72 63 08 63 08 63 08 63 65 08 65 08 65 08 65 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 ┆r r rc c c ce e e e. . . .h h h ┆ 0x02a0…02c0 68 3e 08 3e 08 3e 08 3e 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 ┆h> > > > # # # #i i i in n ┆ 0x02c0…02e0 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 ┆n nc c c cl l l lu u u ud d d de┆ 0x02e0…0300 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 ┆ e e e < < < <s s s sy y y ys s ┆ 0x0300…0320 73 08 73 2f 08 2f 08 2f 08 2f 72 08 72 08 72 08 72 75 08 75 08 75 08 75 6e 08 6e 08 6e 08 6e 2e ┆s s/ / / /r r r ru u u un n n n.┆ 0x0320…0340 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20 20 20 20 20 70 08 70 08 70 ┆ . . .h h h h> > > > p p p┆ 0x0340…0360 08 70 69 08 69 08 69 08 69 64 08 64 08 64 08 64 20 3d 08 3d 08 3d 08 3d 20 72 08 72 08 72 08 72 ┆ pi i i id d d d = = = = r r r r┆ 0x0360…0380 75 08 75 08 75 08 75 6e 08 6e 08 6e 08 6e 28 08 28 08 28 08 28 6e 08 6e 08 6e 08 6e 61 08 61 08 ┆u u u un n n n( ( ( (n n n na a ┆ 0x0380…03a0 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 61 08 61 08 61 08 61 ┆a am m m me e e e, , , , a a a a┆ 0x03a0…03c0 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 2c 08 2c 20 65 08 65 ┆r r r rg g g gv v v v, , , , e e┆ 0x03c0…03e0 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 2c 08 2c 08 2c 08 2c ┆ e en n n nv v v vp p p p, , , ,┆ 0x03e0…0400 20 72 08 72 08 72 08 72 75 08 75 08 75 08 75 6e 08 6e 08 6e 08 6e 64 08 64 08 64 08 64 61 08 61 ┆ r r r ru u u un n n nd d d da a┆ 0x0400…0420 08 61 08 61 74 08 74 08 74 08 74 61 08 61 08 61 08 61 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 ┆ a at t t ta a a a) ) ) ) i┆ 0x0420…0440 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 70 08 70 08 70 08 70 69 08 69 08 ┆ i i in n n nt t t t p p p pi i ┆ 0x0440…0460 69 08 69 64 08 64 08 64 08 64 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 ┆i id d d d; ; ; ; c c c ch ┆ 0x0460…0480 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 6e 08 6e 08 6e ┆h h ha a a ar r r r * * * *n n n┆ 0x0480…04a0 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 3b 08 3b 08 3b 08 3b 0a 20 ┆ na a a am m m me e e e; ; ; ; ┆ 0x04a0…04c0 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 ┆ c c c ch h h ha a a ar r r r┆ 0x04c0…04e0 20 2a 08 2a 08 2a 08 2a 61 08 61 08 61 08 61 72 08 72 08 72 08 72 67 08 67 08 67 08 67 76 08 76 ┆ * * * *a a a ar r r rg g g gv v┆ 0x04e0…0500 08 76 08 76 5b 08 5b 08 5b 08 5b 20 5d 08 5d 08 5d 08 5d 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 ┆ v v[ [ [ [ ] ] ] ]; ; ; ; ┆ 0x0500…0520 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a ┆c c c ch h h ha a a ar r r r * *┆ 0x0520…0540 08 2a 08 2a 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┆ 0x0540…0560 5b 08 5b 08 5b 08 5b 20 5d 08 5d 08 5d 08 5d 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 73 08 73 08 ┆[ [ [ [ ] ] ] ]; ; ; ; s s ┆ 0x0560…0580 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 75 08 75 08 75 08 75 63 08 63 08 63 08 63 74 ┆s st t t tr r r ru u u uc c c ct┆ 0x0580…05a0 08 74 08 74 08 74 20 72 08 72 08 72 08 72 75 08 75 08 75 08 75 6e 08 6e 08 6e 08 6e 69 08 69 08 ┆ t t t r r r ru u u un n n ni i ┆ 0x05a0…05c0 69 08 69 6e 08 6e 08 6e 08 6e 66 08 66 08 66 08 66 6f 08 6f 08 6f 08 6f 20 2a 08 2a 08 2a 08 2a ┆i in n n nf f f fo o o o * * * *┆ 0x05c0…05e0 72 08 72 08 72 08 72 75 08 75 08 75 08 75 6e 08 6e 08 6e 08 6e 64 08 64 08 64 08 64 61 08 61 08 ┆r r r ru u u un n n nd d d da a ┆ 0x05e0…0600 61 08 61 74 08 74 08 74 08 74 61 08 61 08 61 08 61 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 ┆a at t t ta a a a; ; ; ; D D D ┆ 0x0600…0620 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 ┆DE E E ES S S SC C C CR R R RI I┆ 0x0620…0640 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f ┆ I IP P P PT T T TI I I IO O O O┆ 0x0640…0660 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 54 68 69 73 20 63 61 6c 6c 20 61 6c 6c 6f 77 73 20 61 20 ┆N N N N This call allows a ┆ 0x0660…0680 63 68 69 6c 64 20 70 72 6f 63 65 73 73 20 74 6f 20 72 75 6e 20 6f 6e 20 61 20 72 65 6d 6f 74 65 ┆child process to run on a remote┆ 0x0680…06a0 20 50 55 2e 0a 20 20 20 20 20 4e 6f 74 65 20 74 68 61 74 20 74 68 65 20 70 61 72 65 6e 74 20 69 ┆ PU. Note that the parent i┆ 0x06a0…06c0 73 20 73 75 73 70 65 6e 64 65 64 20 75 6e 74 69 6c 20 74 68 65 20 5f 08 72 5f 08 75 5f 08 6e 20 ┆s suspended until the _ r_ u_ n ┆ 0x06c0…06e0 63 61 6c 6c 20 63 6f 6d 2d 0a 20 20 20 20 20 70 6c 65 74 65 73 2e 20 20 45 61 63 68 20 63 68 69 ┆call com- pletes. Each chi┆ 0x06e0…0700 6c 64 20 68 61 73 20 61 20 75 6e 69 71 75 65 20 70 72 6f 63 65 73 73 20 69 64 65 6e 74 69 66 69 ┆ld has a unique process identifi┆ 0x0700…0720 65 72 20 28 50 49 44 29 2e 0a 20 20 20 20 20 54 68 65 20 70 61 72 65 6e 74 20 50 49 44 20 69 73 ┆er (PID). The parent PID is┆ 0x0720…0740 20 74 61 6b 65 6e 20 66 72 6f 6d 20 74 68 65 20 70 61 72 65 6e 74 27 73 20 50 49 44 2e 0a 0a 20 ┆ taken from the parent's PID. ┆ 0x0740…0760 20 20 20 20 54 68 65 20 72 75 6e 69 6e 66 6f 20 73 74 72 75 63 74 75 72 65 20 61 6c 6c 6f 77 73 ┆ The runinfo structure allows┆ 0x0760…0780 20 73 70 65 63 69 66 69 63 61 74 69 6f 6e 20 6f 66 20 61 74 74 72 69 62 75 74 65 73 2e 0a 20 20 ┆ specification of attributes. ┆ 0x0780…07a0 20 20 20 49 66 20 74 68 65 20 5f 08 72 5f 08 75 5f 08 6e 5f 08 64 5f 08 61 5f 08 74 5f 08 61 20 ┆ If the _ r_ u_ n_ d_ a_ t_ a ┆ 0x07a0…07c0 61 72 67 75 6d 65 6e 74 20 69 73 20 30 2c 20 74 68 65 20 63 68 69 6c 64 20 69 6e 68 65 72 69 74 ┆argument is 0, the child inherit┆ 0x07c0…07e0 73 20 74 68 65 73 65 0a 20 20 20 20 20 61 74 74 72 69 62 75 74 65 73 20 66 72 6f 6d 20 74 68 65 ┆s these attributes from the┆ 0x07e0…0800 20 63 61 6c 6c 69 6e 67 20 28 70 61 72 65 6e 74 29 20 70 72 6f 63 65 73 73 3a 0a 0a 20 20 20 20 ┆ calling (parent) process: ┆ 0x0800…0820 20 20 20 20 20 20 72 65 61 6c 20 75 73 65 72 20 61 6e 64 20 67 72 6f 75 70 20 49 44 73 2c 20 62 ┆ real user and group IDs, b┆ 0x0820…0840 75 74 20 6e 6f 74 20 50 49 44 73 0a 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 20 67 72 6f ┆ut not PIDs access gro┆ 0x0840…0860 75 70 73 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 20 74 65 72 6d 69 6e 61 6c 0a 20 ┆ups control terminal ┆ 0x0860…0880 20 20 20 20 20 20 20 20 20 69 6e 74 65 72 76 61 6c 20 74 69 6d 65 72 73 0a 20 20 20 20 20 20 20 ┆ interval timers ┆ 0x0880…08a0 20 20 20 72 65 73 6f 75 72 63 65 20 6c 69 6d 69 74 73 0a 20 20 20 20 20 20 20 20 20 20 64 69 72 ┆ resource limits dir┆ 0x08a0…08c0 65 63 74 6f 72 69 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 77 6f 72 6b 69 6e ┆ectories - workin┆ 0x08c0…08e0 67 20 64 69 72 65 63 74 6f 72 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 72 6f 6f ┆g directory - roo┆ 0x08e0…0900 74 20 64 69 72 65 63 74 6f 72 79 0a 20 20 20 20 20 20 20 20 20 20 66 69 6c 65 20 69 6e 66 6f 72 ┆t directory file infor┆ 0x0900…0920 6d 61 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 66 69 6c 65 20 6d 6f 64 ┆mation - file mod┆ 0x0920…0940 65 20 6d 61 73 6b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 66 69 6c 65 20 64 65 73 ┆e mask - file des┆ 0x0940…0960 63 72 69 70 74 6f 72 73 20 28 65 78 63 65 70 74 20 61 73 20 6e 6f 74 65 64 20 62 65 6c 6f 77 29 ┆criptors (except as noted below)┆ 0x0960…0980 0a 20 20 20 20 20 20 20 20 20 20 70 72 6f 63 65 73 73 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 0a 20 ┆ process information ┆ 0x0980…09a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 70 72 69 6f 72 69 74 79 20 28 5f 08 6e 5f 08 69 ┆ - priority (_ n_ i┆ 0x09a0…09c0 5f 08 63 5f 08 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 67 72 6f 75 70 20 49 ┆_ c_ e) - group I┆ 0x09c0…09e0 44 0a 20 20 20 20 20 20 20 20 20 20 73 69 67 6e 61 6c 20 6d 61 73 6b 73 0a 20 20 20 20 20 20 20 ┆D signal masks ┆ 0x09e0…0a00 20 20 20 20 20 20 20 20 2d 20 6f 6e 2d 73 74 61 63 6b 20 73 69 67 6e 61 6c 73 0a 20 20 20 20 20 ┆ - on-stack signals ┆ 0x0a00…0a20 20 20 20 20 20 20 20 20 20 20 2d 20 69 67 6e 6f 72 65 64 20 73 69 67 6e 61 6c 73 0a 20 20 20 20 ┆ - ignored signals ┆ 0x0a20…0a40 20 20 20 20 20 20 20 20 20 20 20 2d 20 62 6c 6f 63 6b 65 64 20 73 69 67 6e 61 6c 73 0a 0a 20 20 ┆ - blocked signals ┆ 0x0a40…0a60 20 20 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 20 ┆ F F F Fi i i il l l le e e e ┆ 0x0a60…0a80 44 08 44 08 44 08 44 65 08 65 08 65 08 65 73 08 73 08 73 08 73 63 08 63 08 63 08 63 72 08 72 08 ┆D D D De e e es s s sc c c cr r ┆ 0x0a80…0aa0 72 08 72 69 08 69 08 69 08 69 70 08 70 08 70 08 70 74 08 74 08 74 08 74 6f 08 6f 08 6f 08 6f 72 ┆r ri i i ip p p pt t t to o o or┆ 0x0aa0…0ac0 08 72 08 72 08 72 73 08 73 08 73 08 73 20 61 08 61 08 61 08 61 6e 08 6e 08 6e 08 6e 64 08 64 08 ┆ r r rs s s s a a a an n n nd d ┆ 0x0ac0…0ae0 64 08 64 20 4c 08 4c 08 4c 08 4c 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 6b 08 6b 08 6b 08 6b ┆d d L L L Lo o o oc c c ck k k k┆ 0x0ae0…0b00 73 08 73 08 73 08 73 20 2d 08 2d 08 2d 08 2d 20 44 08 44 08 44 08 44 65 08 65 08 65 08 65 66 08 ┆s s s s - - - - D D D De e e ef ┆ 0x0b00…0b20 66 08 66 08 66 61 08 61 08 61 08 61 75 08 75 08 75 08 75 6c 08 6c 08 6c 08 6c 74 08 74 08 74 08 ┆f f fa a a au u u ul l l lt t t ┆ 0x0b20…0b40 74 73 08 73 08 73 08 73 0a 20 20 20 20 20 54 68 65 20 63 68 69 6c 64 27 73 20 66 69 6c 65 20 64 ┆ts s s s The child's file d┆ 0x0b40…0b60 65 73 63 72 69 70 74 6f 72 73 20 6d 61 70 20 74 6f 20 61 20 64 69 66 66 65 72 65 6e 74 20 54 58 ┆escriptors map to a different TX┆ 0x0b60…0b80 20 73 74 72 75 63 74 75 72 65 0a 20 20 20 20 20 28 61 6c 74 68 6f 75 67 68 20 74 68 65 20 6f 62 ┆ structure (although the ob┆ 0x0b80…0ba0 6a 65 63 74 20 61 6e 64 20 74 68 65 20 6d 6f 64 65 73 20 61 72 65 20 69 64 65 6e 74 69 63 61 6c ┆ject and the modes are identical┆ 0x0ba0…0bc0 29 2e 20 20 4e 6f 74 65 0a 20 20 20 20 20 74 68 61 74 20 74 68 65 20 5f 08 6c 5f 08 73 5f 08 65 ┆). Note that the _ l_ s_ e┆ 0x0bc0…0be0 5f 08 65 5f 08 6b 20 70 6f 69 6e 74 65 72 20 6f 6e 20 61 20 63 68 69 6c 64 27 73 20 66 69 6c 65 ┆_ e_ k pointer on a child's file┆ 0x0be0…0c00 20 64 65 73 63 72 69 70 74 6f 72 20 6d 61 79 20 62 65 0a 20 20 20 20 20 64 69 66 66 65 72 65 6e ┆ descriptor may be differen┆ 0x0c00…0c20 74 20 66 72 6f 6d 20 74 68 65 20 70 61 72 65 6e 74 27 73 2e 0a 0a 20 20 20 20 20 49 66 20 61 20 ┆t from the parent's. If a ┆ 0x0c20…0c40 63 68 69 6c 64 27 73 20 66 69 6c 65 20 64 65 73 63 72 69 70 74 6f 72 20 68 61 73 20 61 20 64 69 ┆child's file descriptor has a di┆ 0x0c40…0c60 66 66 65 72 65 6e 74 20 6c 6f 63 6b 20 73 74 61 74 65 20 66 72 6f 6d 0a 20 20 20 20 20 74 68 65 ┆fferent lock state from the┆ 0x0c60…0c80 20 70 61 72 65 6e 74 27 73 2c 20 74 68 65 20 64 65 73 63 72 69 70 74 6f 72 20 69 73 20 65 69 74 ┆ parent's, the descriptor is eit┆ 0x0c80…0ca0 68 65 72 20 63 6c 6f 73 65 64 20 6f 72 20 6f 70 65 6e 65 64 20 6f 6e 20 61 0a 20 20 20 20 20 6e ┆her closed or opened on a n┆ 0x0ca0…0cc0 65 77 20 64 65 73 63 72 69 70 74 6f 72 20 28 77 69 74 68 20 64 6f 77 6e 67 72 61 64 65 64 20 6c ┆ew descriptor (with downgraded l┆ 0x0cc0…0ce0 6f 63 6b 20 73 74 61 74 65 29 2e 0a 0a 20 20 20 20 20 49 66 20 74 68 65 20 63 6c 6f 73 65 2d 6f ┆ock state). If the close-o┆ 0x0ce0…0d00 6e 2d 65 78 65 63 20 66 6c 61 67 20 69 73 20 73 65 74 2c 20 74 68 65 20 66 69 6c 65 20 64 65 73 ┆n-exec flag is set, the file des┆ 0x0d00…0d20 63 72 69 70 74 6f 72 20 69 73 0a 20 20 20 20 20 63 6c 6f 73 65 64 2e 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆criptor is closed. ┆ 0x0d20…0d40 20 20 20 20 20 54 68 65 20 65 66 66 65 63 74 69 76 65 20 75 73 65 72 2d 49 44 20 61 6e 64 20 67 ┆ The effective user-ID and g┆ 0x0d40…0d60 72 6f 75 70 2d 49 44 20 61 72 65 20 73 65 74 20 74 6f 20 74 68 65 20 6f 77 6e 65 72 20 6f 66 0a ┆roup-ID are set to the owner of ┆ 0x0d60…0d80 20 20 20 20 20 74 68 65 20 66 69 6c 65 20 69 66 20 74 68 65 20 66 69 6c 65 20 6d 6f 64 65 20 69 ┆ the file if the file mode i┆ 0x0d80…0da0 73 20 60 60 73 65 74 2d 75 73 65 72 2d 69 64 27 27 2e 20 20 54 68 65 20 72 65 61 6c 0a 20 20 20 ┆s ``set-user-id''. The real ┆ 0x0da0…0dc0 20 20 75 73 65 72 2d 49 44 20 69 73 20 75 6e 61 66 66 65 63 74 65 64 2e 0a 0a 20 20 20 20 20 53 ┆ user-ID is unaffected. S┆ 0x0dc0…0de0 08 53 08 53 08 53 69 08 69 08 69 08 69 67 08 67 08 67 08 67 6e 08 6e 08 6e 08 6e 61 08 61 08 61 ┆ S S Si i i ig g g gn n n na a a┆ 0x0de0…0e00 08 61 6c 08 6c 08 6c 08 6c 73 08 73 08 73 08 73 20 2d 08 2d 08 2d 08 2d 20 44 08 44 08 44 08 44 ┆ al l l ls s s s - - - - D D D D┆ 0x0e00…0e20 65 08 65 08 65 08 65 66 08 66 08 66 08 66 61 08 61 08 61 08 61 75 08 75 08 75 08 75 6c 08 6c 08 ┆e e e ef f f fa a a au u u ul l ┆ 0x0e20…0e40 6c 08 6c 74 08 74 08 74 08 74 73 08 73 08 73 08 73 0a 20 20 20 20 20 53 69 67 6e 61 6c 73 20 74 ┆l lt t t ts s s s Signals t┆ 0x0e40…0e60 68 61 74 20 61 72 65 20 69 67 6e 6f 72 65 64 20 69 6e 20 74 68 65 20 70 61 72 65 6e 74 20 72 65 ┆hat are ignored in the parent re┆ 0x0e60…0e80 6d 61 69 6e 20 69 67 6e 6f 72 65 64 20 69 6e 20 74 68 65 0a 20 20 20 20 20 63 68 69 6c 64 2e 20 ┆main ignored in the child. ┆ 0x0e80…0ea0 20 43 61 75 67 68 74 20 73 69 67 6e 61 6c 73 20 61 08 61 08 61 08 61 72 08 72 08 72 08 72 65 08 ┆ Caught signals a a a ar r r re ┆ 0x0ea0…0ec0 65 08 65 08 65 20 72 08 72 08 72 08 72 65 08 65 08 65 08 65 73 08 73 08 73 08 73 65 08 65 08 65 ┆e e e r r r re e e es s s se e e┆ 0x0ec0…0ee0 08 65 74 08 74 08 74 08 74 20 74 08 74 08 74 08 74 6f 08 6f 08 6f 08 6f 20 74 08 74 08 74 08 74 ┆ et t t t t t t to o o o t t t t┆ 0x0ee0…0f00 68 08 68 08 68 08 68 65 08 65 08 65 08 65 20 64 08 64 08 64 08 64 65 08 65 08 65 08 65 66 08 66 ┆h h h he e e e d d d de e e ef f┆ 0x0f00…0f20 08 66 08 66 61 08 61 08 61 08 61 75 08 75 08 75 08 75 6c 08 6c 08 6c 08 6c 74 08 74 08 74 08 74 ┆ f fa a a au u u ul l l lt t t t┆ 0x0f20…0f40 20 76 08 76 08 76 08 76 61 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 65 08 65 ┆ v v v va a a al l l lu u u ue e┆ 0x0f40…0f60 08 65 08 65 73 08 73 08 73 08 73 2e 20 20 54 68 65 0a 20 20 20 20 20 73 69 67 6e 61 6c 20 73 74 ┆ e es s s s. The signal st┆ 0x0f60…0f80 61 63 6b 20 69 73 20 72 65 73 65 74 20 74 6f 20 75 6e 64 65 66 69 6e 65 64 2e 0a 0a 20 20 20 20 ┆ack is reset to undefined. ┆ 0x0f80…0fa0 20 4d 08 4d 08 4d 08 4d 6f 08 6f 08 6f 08 6f 64 08 64 08 64 08 64 69 08 69 08 69 08 69 66 08 66 ┆ M M M Mo o o od d d di i i if f┆ 0x0fa0…0fc0 08 66 08 66 79 08 79 08 79 08 79 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 ┆ f fy y y yi i i in n n ng g g g┆ 0x0fc0…0fe0 20 50 08 50 08 50 08 50 72 08 72 08 72 08 72 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 65 08 65 ┆ P P P Pr r r ro o o oc c c ce e┆ 0x0fe0…1000 08 65 08 65 73 08 73 08 73 08 73 73 08 73 08 73 08 73 20 41 08 41 08 41 08 41 74 08 74 08 74 08 ┆ e es s s ss s s s A A A At t t ┆ 0x1000…1020 74 74 08 74 08 74 08 74 72 08 72 08 72 08 72 69 08 69 08 69 08 69 62 08 62 08 62 08 62 75 08 75 ┆tt t t tr r r ri i i ib b b bu u┆ 0x1020…1040 08 75 08 75 74 08 74 08 74 08 74 65 08 65 08 65 08 65 73 08 73 08 73 08 73 0a 20 20 20 20 20 55 ┆ u ut t t te e e es s s s U┆ 0x1040…1060 73 65 20 74 68 65 20 72 75 6e 69 6e 66 6f 20 73 74 72 75 63 74 75 72 65 20 74 6f 20 63 68 61 6e ┆se the runinfo structure to chan┆ 0x1060…1080 67 65 20 74 68 65 20 64 65 66 61 75 6c 74 73 20 64 65 73 63 72 69 62 65 64 0a 20 20 20 20 20 61 ┆ge the defaults described a┆ 0x1080…10a0 62 6f 76 65 2e 20 20 4e 6f 74 65 20 74 68 61 74 20 61 70 70 72 6f 70 72 69 61 74 65 20 70 65 72 ┆bove. Note that appropriate per┆ 0x10a0…10c0 6d 69 73 73 69 6f 6e 73 20 61 72 65 20 72 65 71 75 69 72 65 64 2e 0a 0a 20 20 20 20 20 70 72 6f ┆missions are required. pro┆ 0x10c0…10e0 63 65 73 73 65 73 20 61 6e 64 20 70 72 6f 74 65 63 74 69 6f 6e 73 0a 20 20 20 20 20 20 20 20 20 ┆cesses and protections ┆ 0x10e0…1100 20 72 69 5f 72 75 69 64 20 20 20 2d 20 72 65 61 6c 20 75 73 65 72 20 49 44 0a 20 20 20 20 20 20 ┆ ri_ruid - real user ID ┆ 0x1100…1120 20 20 20 20 72 69 5f 65 75 69 64 20 20 20 2d 20 65 66 66 65 63 74 69 76 65 20 75 73 65 72 20 49 ┆ ri_euid - effective user I┆ 0x1120…1140 44 0a 20 20 20 20 20 20 20 20 20 20 72 69 5f 72 67 69 64 20 20 20 2d 20 72 65 61 6c 20 67 72 6f ┆D ri_rgid - real gro┆ 0x1140…1160 75 70 20 49 44 0a 20 20 20 20 20 20 20 20 20 20 72 69 5f 65 67 69 64 20 20 20 2d 20 65 66 66 65 ┆up ID ri_egid - effe┆ 0x1160…1180 63 74 69 76 65 20 67 72 6f 75 70 20 49 44 0a 20 20 20 20 20 20 20 20 20 20 72 69 5f 6e 67 72 6f ┆ctive group ID ri_ngro┆ 0x1180…11a0 75 70 73 20 20 20 20 20 2d 20 6e 75 6d 62 65 72 20 6f 66 20 65 6e 74 72 69 65 73 20 69 6e 20 72 ┆ups - number of entries in r┆ 0x11a0…11c0 69 5f 67 69 64 73 65 74 20 28 6f 6e 6c 79 20 73 75 70 65 72 2d 75 73 65 72 20 6d 6f 64 69 66 79 ┆i_gidset (only super-user modify┆ 0x11c0…11e0 20 67 72 6f 75 70 73 29 0a 20 20 20 20 20 20 20 20 20 20 72 69 5f 67 69 64 73 65 74 20 20 20 20 ┆ groups) ri_gidset ┆ 0x11e0…1200 20 20 2d 20 67 72 6f 75 70 20 61 63 63 65 73 73 20 6c 69 73 74 20 28 72 69 5f 6e 67 72 6f 75 70 ┆ - group access list (ri_ngroup┆ 0x1200…1220 73 20 6d 75 73 74 20 62 65 20 73 65 74 20 74 6f 20 52 49 5f 50 52 4f 43 5f 44 45 46 29 0a 20 20 ┆s must be set to RI_PROC_DEF) ┆ 0x1220…1240 20 20 20 20 20 20 20 20 72 69 5f 70 67 72 70 20 20 20 2d 20 70 72 6f 63 65 73 73 20 67 72 6f 75 ┆ ri_pgrp - process grou┆ 0x1240…1260 70 20 49 44 2c 20 77 68 65 72 65 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆p ID, where: ┆ 0x1260…1280 20 20 20 20 20 20 52 49 5f 50 52 4f 43 5f 44 45 46 20 3d 20 70 61 72 65 6e 74 27 73 20 70 67 72 ┆ RI_PROC_DEF = parent's pgr┆ 0x1280…12a0 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 49 5f 50 47 ┆p RI_PG┆ 0x12a0…12c0 52 50 5f 43 50 49 44 20 3d 20 63 68 69 6c 64 27 73 20 50 49 44 29 0a 20 20 20 20 20 73 69 67 6e ┆RP_CPID = child's PID) sign┆ 0x12c0…12e0 61 6c 20 6d 61 6e 61 67 65 6d 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 72 69 5f 64 66 6c 6d 61 ┆al management ri_dflma┆ 0x12e0…1300 73 6b 20 20 20 20 20 2d 20 73 69 67 6e 61 6c 20 6d 61 73 6b 20 66 6f 72 20 64 65 66 61 75 6c 74 ┆sk - signal mask for default┆ 0x1300…1320 73 20 28 53 49 47 5f 44 46 4c 29 0a 20 20 20 20 20 20 20 20 20 20 72 69 5f 69 67 6e 6d 61 73 6b ┆s (SIG_DFL) ri_ignmask┆ 0x1320…1340 20 20 20 20 20 2d 20 73 69 67 6e 61 6c 20 6d 61 73 6b 20 66 6f 72 20 69 67 6e 6f 72 65 73 20 28 ┆ - signal mask for ignores (┆ 0x1340…1360 53 49 47 5f 49 47 4e 29 2c 20 6f 76 65 72 72 69 64 65 73 20 53 49 47 5f 44 46 4c 0a 20 20 20 20 ┆SIG_IGN), overrides SIG_DFL ┆ 0x1360…1380 20 20 20 20 20 20 72 69 5f 62 6c 6b 6d 61 73 6b 20 20 20 20 20 2d 20 73 69 67 6e 61 6c 20 6d 61 ┆ ri_blkmask - signal ma┆ 0x1380…13a0 73 6b 20 66 6f 72 20 62 6c 6f 63 6b 65 64 20 73 69 67 6e 61 6c 73 0a 20 20 20 20 20 66 69 6c 65 ┆sk for blocked signals file┆ 0x13a0…13c0 20 64 65 73 63 72 69 70 74 6f 72 20 28 72 65 2d 6d 61 70 20 61 72 72 61 79 29 2c 20 70 72 6f 63 ┆ descriptor (re-map array), proc┆ 0x13c0…13e0 65 73 73 65 64 20 73 65 71 75 65 6e 74 69 61 6c 6c 79 0a 20 20 20 20 20 20 20 20 20 20 72 69 5f ┆essed sequentially ri_┆ 0x13e0…1400 6e 66 64 73 20 20 20 2d 20 6e 75 6d 62 65 72 20 6f 66 20 70 61 72 65 6e 74 20 66 69 6c 65 20 64 ┆nfds - number of parent file d┆ 0x1400…1420 65 73 63 72 69 70 74 6f 72 73 20 69 6e 20 72 65 2d 6d 61 70 20 69 6e 74 65 67 65 72 20 61 72 72 ┆escriptors in re-map integer arr┆ 0x1420…1440 61 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 63 68 69 6c 64 27 73 ┆ay - child's┆ 0x1440…1460 20 64 65 73 63 72 69 70 74 6f 72 20 6e 75 6d 62 65 72 20 69 73 20 69 6e 64 65 78 0a 20 20 20 20 ┆ descriptor number is index ┆ 0x1460…1480 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 76 61 6c 75 65 20 61 74 20 6f 66 66 73 65 ┆ - value at offse┆ 0x1480…14a0 74 20 69 73 20 70 61 72 65 6e 74 27 73 20 64 65 73 63 72 69 70 74 6f 72 20 6e 75 6d 62 65 72 20 ┆t is parent's descriptor number ┆ 0x14a0…14c0 28 73 69 6d 69 6c 61 72 20 74 6f 20 63 68 69 6c 64 27 73 20 69 73 73 75 69 6e 67 20 63 61 6c 6c ┆(similar to child's issuing call┆ 0x14c0…14e0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 64 5f 08 75 5f 08 70 ┆ _ d_ u_ p┆ 0x14e0…1500 5f 08 32 28 5f 08 6f 5f 08 6c 5f 08 64 5f 08 64 2c 20 5f 08 6e 5f 08 65 5f 08 77 5f 08 64 29 20 ┆_ 2(_ o_ l_ d_ d, _ n_ e_ w_ d) ┆ 0x1500…1520 61 66 74 65 72 20 61 20 5f 08 66 5f 08 6f 5f 08 72 5f 08 6b 2c 20 62 65 66 6f 72 65 20 5f 08 65 ┆after a _ f_ o_ r_ k, before _ e┆ 0x1520…1540 5f 08 78 5f 08 65 5f 08 63 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d ┆_ x_ e_ c) -┆ 0x1540…1560 20 76 61 6c 75 65 20 61 74 20 6f 66 66 73 65 74 20 6f 66 20 2d 31 20 63 61 75 73 65 73 20 64 65 ┆ value at offset of -1 causes de┆ 0x1560…1580 73 63 72 69 70 74 6f 72 20 69 6e 20 63 68 69 6c 64 20 74 6f 20 62 65 20 63 6c 6f 73 65 64 0a 20 ┆scriptor in child to be closed ┆ 0x1580…15a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 69 6e 63 6c 75 73 69 76 65 20 5f ┆ - inclusive _┆ 0x15a0…15c0 08 6f 5f 08 72 69 6e 67 20 64 65 73 63 72 69 70 74 6f 72 20 6e 75 6d 62 65 72 20 77 69 74 68 20 ┆ o_ ring descriptor number with ┆ 0x15c0…15e0 52 49 5f 43 4c 4f 53 45 20 63 6c 6f 73 65 73 20 64 65 73 63 72 69 70 74 6f 72 20 69 6e 20 70 61 ┆RI_CLOSE closes descriptor in pa┆ 0x15e0…1600 72 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 72 69 5f 66 64 6d 61 70 20 20 2d 20 70 6f 69 6e 74 ┆rent ri_fdmap - point┆ 0x1600…1620 65 72 20 74 6f 20 72 65 2d 6d 61 70 20 69 6e 74 65 67 65 72 20 61 72 72 61 79 20 28 70 61 72 65 ┆er to re-map integer array (pare┆ 0x1620…1640 6e 74 20 66 64 20 69 6e 64 65 78 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆nt fd indexes) ┆ 0x1640…1660 20 20 20 2d 20 66 69 6c 65 2d 6f 70 65 72 61 74 69 6f 6e 20 66 6c 61 67 73 20 61 72 65 3a 0a 20 ┆ - file-operation flags are: ┆ 0x1660…1680 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 49 5f 43 4c 4f 53 45 ┆ RI_CLOSE┆ 0x1680…16a0 20 20 30 78 30 30 30 31 30 30 30 30 20 20 20 20 20 63 6c 6f 73 65 20 66 69 6c 65 20 69 6e 20 70 ┆ 0x00010000 close file in p┆ 0x16a0…16c0 61 72 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 ┆arent R┆ 0x16c0…16e0 49 5f 4e 4f 44 55 50 20 20 30 78 30 30 30 32 30 30 30 30 20 20 20 20 20 64 6f 20 6e 6f 74 20 74 ┆I_NODUP 0x00020000 do not t┆ 0x16e0…1700 72 79 20 5f 08 64 5f 08 75 5f 08 70 20 28 64 65 66 61 75 6c 74 20 69 73 20 5f 08 64 5f 08 75 5f ┆ry _ d_ u_ p (default is _ d_ u_┆ 0x1700…1720 08 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 49 5f ┆ p) RI_┆ 0x1720…1740 4f 50 45 4e 20 20 20 30 78 30 30 30 34 30 30 30 30 20 20 20 20 20 6e 65 77 20 66 69 6c 65 20 69 ┆OPEN 0x00040000 new file i┆ 0x1740…1760 73 20 6f 70 65 6e 20 69 6e 20 63 68 69 6c 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆s open in child ┆ 0x1760…1780 20 20 20 20 20 20 20 20 20 43 48 4c 44 44 55 50 20 20 20 30 78 30 30 30 31 30 30 30 30 20 20 20 ┆ CHLDDUP 0x00010000 ┆ 0x1780…17a0 20 20 6c 6f 63 61 6c 20 6f 6e 6c 79 3a 20 70 61 72 65 6e 74 20 73 68 61 72 65 73 20 66 69 6c 65 ┆ local only: parent shares file┆ 0x17a0…17c0 20 73 74 72 75 63 74 75 72 65 0a 20 20 20 20 20 20 20 20 20 20 72 69 5f 6e 65 77 63 6e 74 20 2d ┆ structure ri_newcnt -┆ 0x17c0…17e0 20 6e 75 6d 62 65 72 20 6f 66 20 65 6c 65 6d 65 6e 74 73 20 69 6e 20 6e 65 77 66 64 73 20 73 74 ┆ number of elements in newfds st┆ 0x17e0…1800 72 75 63 74 20 61 72 72 61 79 0a 20 20 20 20 20 20 20 20 20 20 72 69 5f 6e 65 77 66 64 73 20 2d ┆ruct array ri_newfds -┆ 0x1800…1820 20 64 65 73 63 72 69 62 65 73 20 66 69 6c 65 73 20 74 6f 20 6f 70 65 6e 20 69 6e 20 63 68 69 6c ┆ describes files to open in chil┆ 0x1820…1840 64 0a 20 20 20 20 20 20 20 20 20 20 72 69 5f 66 64 74 74 79 70 67 72 70 20 20 20 2d 20 64 65 73 ┆d ri_fdttypgrp - des┆ 0x1840…1860 63 72 69 70 74 6f 72 20 74 6f 20 72 65 63 65 69 76 65 20 5f 08 69 5f 08 6f 5f 08 63 5f 08 74 5f ┆criptor to receive _ i_ o_ c_ t_┆ 0x1860…1880 08 6c 20 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 43 08 43 08 43 08 43 53 ┆ l T T T TI I I IO O O OC C C CS┆ 0x1880…18a0 08 53 08 53 08 53 50 08 50 08 50 08 50 47 08 47 08 47 08 47 52 08 52 08 52 08 52 50 08 50 08 50 ┆ S S SP P P PG G G GR R R RP P P┆ 0x18a0…18c0 08 50 20 74 6f 20 70 72 6f 63 65 73 73 20 67 72 6f 75 70 20 6f 66 20 6e 65 77 20 70 72 6f 63 65 ┆ P to process group of new proce┆ 0x18c0…18e0 73 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 ┆ss a┆ 0x18e0…1900 73 20 73 70 65 63 69 66 69 65 64 20 69 6e 20 72 69 5f 70 67 72 70 0a 20 20 20 20 20 72 65 73 6f ┆s specified in ri_pgrp reso┆ 0x1900…1920 75 72 63 65 20 63 6f 6e 74 72 6f 6c 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 0a 20 20 20 20 20 20 20 ┆urce control information ┆ […truncated at 200 lines…]