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: g

⟦285ef97d6⟧

    Length: 1219 (0x4c3)
    Names: »getuid.2«

Derivation

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

Default Hex Dump

0x000…020 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_┆
0x020…040 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┆
0x040…060 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 75 69 64 28 32 29 0a 0a 0a 0a   ┆s                  getuid(2)    ┆
0x060…080 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    ┆
0x080…0a0 20 20 67 65 74 75 69 64 2c 20 67 65 74 65 75 69 64 20 2d 20 67 65 74 20 75 73 65 72 20 69 64 65   ┆  getuid, geteuid - get user ide┆
0x0a0…0c0 6e 74 69 74 79 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   ┆ntity  S S S SY Y Y YN N N NT T ┆
0x0c0…0e0 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 75 08 75 08 75 08 75 69 08   ┆T TA A A AX X X X      u u u ui ┆
0x0e0…100 69 08 69 08 69 64 08 64 08 64 08 64 20 3d 08 3d 08 3d 08 3d 20 67 08 67 08 67 08 67 65 08 65 08   ┆i i id d d d = = = = g g g ge e ┆
0x100…120 65 08 65 74 08 74 08 74 08 74 75 08 75 08 75 08 75 69 08 69 08 69 08 69 64 08 64 08 64 08 64 28   ┆e et t t tu u u ui i i id d d d(┆
0x120…140 08 28 08 28 08 28 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08   ┆ ( ( () ) ) )      i i i in n n ┆
0x140…160 6e 74 08 74 08 74 08 74 20 75 08 75 08 75 08 75 69 08 69 08 69 08 69 64 08 64 08 64 08 64 3b 08   ┆nt t t t u u u ui i i id d d d; ┆
0x160…180 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 65 08 65 08 65 08 65 75 08 75 08 75 08 75 69 08 69 08 69 08   ┆; ; ;       e e e eu u u ui i i ┆
0x180…1a0 69 64 08 64 08 64 08 64 20 3d 08 3d 08 3d 08 3d 20 67 08 67 08 67 08 67 65 08 65 08 65 08 65 74   ┆id d d d = = = = g g g ge e e et┆
0x1a0…1c0 08 74 08 74 08 74 65 08 65 08 65 08 65 75 08 75 08 75 08 75 69 08 69 08 69 08 69 64 08 64 08 64   ┆ t t te e e eu u u ui i i id d d┆
0x1c0…1e0 08 64 28 08 28 08 28 08 28 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e   ┆ d( ( ( () ) ) )      i i i in n┆
0x1e0…200 08 6e 08 6e 74 08 74 08 74 08 74 20 65 08 65 08 65 08 65 75 08 75 08 75 08 75 69 08 69 08 69 08   ┆ n nt t t t e e e eu u u ui i i ┆
0x200…220 69 64 08 64 08 64 08 64 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53   ┆id d d d; ; ; ;  D D D DE E E ES┆
0x220…240 08 53 08 53 08 53 43 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   ┆ S S SC C C CR R R RI I I IP P P┆
0x240…260 08 50 54 08 54 08 54 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   ┆ PT T T TI I I IO O O ON N N N  ┆
0x260…280 20 20 20 20 5f 08 47 5f 08 65 5f 08 74 5f 08 75 5f 08 69 5f 08 64 20 72 65 74 75 72 6e 73 20 74   ┆    _ G_ e_ t_ u_ i_ d returns t┆
0x280…2a0 68 65 20 72 65 61 6c 20 75 73 65 72 20 49 44 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 70   ┆he real user ID of the current p┆
0x2a0…2c0 72 6f 63 65 73 73 2c 0a 20 20 20 20 20 5f 08 67 5f 08 65 5f 08 74 5f 08 65 5f 08 75 5f 08 69 5f   ┆rocess,      _ g_ e_ t_ e_ u_ i_┆
0x2c0…2e0 08 64 20 74 68 65 20 65 66 66 65 63 74 69 76 65 20 75 73 65 72 20 49 44 2e 0a 0a 20 20 20 20 20   ┆ d the effective user ID.       ┆
0x2e0…300 54 68 65 20 72 65 61 6c 20 75 73 65 72 20 49 44 20 69 64 65 6e 74 69 66 69 65 73 20 74 68 65 20   ┆The real user ID identifies the ┆
0x300…320 70 65 72 73 6f 6e 20 77 68 6f 20 69 73 20 6c 6f 67 67 65 64 20 69 6e 2e 0a 20 20 20 20 20 54 68   ┆person who is logged in.      Th┆
0x320…340 65 20 65 66 66 65 63 74 69 76 65 20 75 73 65 72 20 49 44 20 67 69 76 65 73 20 74 68 65 20 70 72   ┆e effective user ID gives the pr┆
0x340…360 6f 63 65 73 73 20 61 64 64 69 74 69 6f 6e 61 6c 20 70 65 72 6d 69 73 2d 0a 20 20 20 20 20 73 69   ┆ocess additional permis-      si┆
0x360…380 6f 6e 73 20 64 75 72 69 6e 67 20 65 78 65 63 75 74 69 6f 6e 20 6f 66 20 22 73 65 74 2d 75 73 65   ┆ons during execution of "set-use┆
0x380…3a0 72 2d 49 44 22 20 6d 6f 64 65 20 70 72 6f 63 65 73 73 65 73 2c 0a 20 20 20 20 20 77 68 69 63 68   ┆r-ID" mode processes,      which┆
0x3a0…3c0 20 75 73 65 20 5f 08 67 5f 08 65 5f 08 74 5f 08 75 5f 08 69 5f 08 64 20 74 6f 20 64 65 74 65 72   ┆ use _ g_ e_ t_ u_ i_ d to deter┆
0x3c0…3e0 6d 69 6e 65 20 74 68 65 20 72 65 61 6c 2d 75 73 65 72 2d 69 64 20 6f 66 20 74 68 65 20 70 72 6f   ┆mine the real-user-id of the pro┆
0x3e0…400 2d 0a 20 20 20 20 20 63 65 73 73 20 77 68 69 63 68 20 69 6e 76 6f 6b 65 64 20 74 68 65 6d 2e 0a   ┆-      cess which invoked them. ┆
0x400…420 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08   ┆ S S S SE E E EE E E E A A A AL ┆
0x420…440 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 53 79 73 74 65 6d 20   ┆L L LS S S SO O O O      System ┆
0x440…460 43 61 6c 6c 73 20 28 32 29 3a 20 20 67 65 74 67 69 64 2c 20 73 65 74 72 65 75 69 64 0a 0a 4d 61   ┆Calls (2):  getgid, setreuid  Ma┆
0x460…480 72 63 68 20 31 39 38 39 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆rch 1989                        ┆
0x480…4a0 20 20 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a   ┆      TX Programmer's Reference ┆
0x4a0…4c0 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a   ┆                                ┆
0x4c0…4c3 0a 0a 0a                                                                                          ┆   ┆