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

⟦4022eea31⟧

    Length: 1410 (0x582)
    Names: »umask.2«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./bsd/usr/man/cat2/umask.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 20 75 6d 61 73 6b 28 32 29 0a 0a 0a 0a   ┆s                   umask(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 75 6d 61 73 6b 20 2d 20 73 65 74 20 66 69 6c 65 20 63 72 65 61 74 69 6f 6e 20 6d 6f 64 65   ┆  umask - set file creation mode┆
0x0a0…0c0 20 6d 61 73 6b 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   ┆ mask  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 6f 08 6f 08 6f 08 6f 75 08   ┆T TA A A AX X X X      o o o ou ┆
0x0e0…100 75 08 75 08 75 6d 08 6d 08 6d 08 6d 61 08 61 08 61 08 61 73 08 73 08 73 08 73 6b 08 6b 08 6b 08   ┆u u um m m ma a a as s s sk k k ┆
0x100…120 6b 20 3d 08 3d 08 3d 08 3d 20 75 08 75 08 75 08 75 6d 08 6d 08 6d 08 6d 61 08 61 08 61 08 61 73   ┆k = = = = u u u um m m ma a a as┆
0x120…140 08 73 08 73 08 73 6b 08 6b 08 6b 08 6b 28 08 28 08 28 08 28 6e 08 6e 08 6e 08 6e 75 08 75 08 75   ┆ s s sk k k k( ( ( (n n n nu u u┆
0x140…160 08 75 6d 08 6d 08 6d 08 6d 61 08 61 08 61 08 61 73 08 73 08 73 08 73 6b 08 6b 08 6b 08 6b 29 08   ┆ um m m ma a a as s s sk k k k) ┆
0x160…180 29 08 29 08 29 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74   ┆) ) )      i i i in n n nt t t t┆
0x180…1a0 20 6f 08 6f 08 6f 08 6f 75 08 75 08 75 08 75 6d 08 6d 08 6d 08 6d 61 08 61 08 61 08 61 73 08 73   ┆ o o o ou u u um m m ma a a as s┆
0x1a0…1c0 08 73 08 73 6b 08 6b 08 6b 08 6b 2c 08 2c 08 2c 08 2c 20 6e 08 6e 08 6e 08 6e 75 08 75 08 75 08   ┆ s sk k k k, , , , n n n nu u u ┆
0x1c0…1e0 75 6d 08 6d 08 6d 08 6d 61 08 61 08 61 08 61 73 08 73 08 73 08 73 6b 08 6b 08 6b 08 6b 3b 08 3b   ┆um m m ma a a as s s sk k k k; ;┆
0x1e0…200 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 08 43 08 43   ┆ ; ;  D D D DE E E ES S S SC C C┆
0x200…220 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 08 54 49 08   ┆ CR R R RI I I IP P P PT T T TI ┆
0x220…240 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 5f 08 75 5f 08 6d 5f   ┆I I IO O O ON N N N      _ u_ m_┆
0x240…260 08 61 5f 08 73 5f 08 6b 20 73 65 74 73 20 74 68 65 20 70 72 6f 63 65 73 73 27 73 20 66 69 6c 65   ┆ a_ s_ k sets the process's file┆
0x260…280 20 6d 6f 64 65 20 63 72 65 61 74 69 6f 6e 20 6d 61 73 6b 20 74 6f 20 5f 08 6e 5f 08 75 5f 08 6d   ┆ mode creation mask to _ n_ u_ m┆
0x280…2a0 5f 08 61 5f 08 73 5f 08 6b 0a 20 20 20 20 20 61 6e 64 20 72 65 74 75 72 6e 73 20 74 68 65 20 70   ┆_ a_ s_ k      and returns the p┆
0x2a0…2c0 72 65 76 69 6f 75 73 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 6d 61 73 6b 2e 20 20 54 68 65 20   ┆revious value of the mask.  The ┆
0x2c0…2e0 6c 6f 77 2d 6f 72 64 65 72 20 39 0a 20 20 20 20 20 62 69 74 73 20 6f 66 20 5f 08 6e 5f 08 75 5f   ┆low-order 9      bits of _ n_ u_┆
0x2e0…300 08 6d 5f 08 61 5f 08 73 5f 08 6b 20 61 72 65 20 75 73 65 64 20 77 68 65 6e 65 76 65 72 20 61 20   ┆ m_ a_ s_ k are used whenever a ┆
0x300…320 66 69 6c 65 20 69 73 20 63 72 65 61 74 65 64 2c 20 63 6c 65 61 72 69 6e 67 0a 20 20 20 20 20 63   ┆file is created, clearing      c┆
0x320…340 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 62 69 74 73 20 69 6e 20 74 68 65 20 66 69 6c 65 20 6d 6f   ┆orresponding bits in the file mo┆
0x340…360 64 65 20 28 73 65 65 20 5f 08 63 5f 08 68 5f 08 6d 5f 08 6f 5f 08 64 28 32 29 29 2e 20 20 54 68   ┆de (see _ c_ h_ m_ o_ d(2)).  Th┆
0x360…380 69 73 0a 20 20 20 20 20 63 6c 65 61 72 69 6e 67 20 61 6c 6c 6f 77 73 20 65 61 63 68 20 75 73 65   ┆is      clearing allows each use┆
0x380…3a0 72 20 74 6f 20 72 65 73 74 72 69 63 74 20 74 68 65 20 64 65 66 61 75 6c 74 20 61 63 63 65 73 73   ┆r to restrict the default access┆
0x3a0…3c0 20 74 6f 0a 20 20 20 20 20 68 69 73 20 66 69 6c 65 73 2e 0a 0a 20 20 20 20 20 54 68 65 20 76 61   ┆ to      his files.       The va┆
0x3c0…3e0 6c 75 65 20 69 73 20 69 6e 69 74 69 61 6c 6c 79 20 30 32 32 20 28 77 72 69 74 65 20 61 63 63 65   ┆lue is initially 022 (write acce┆
0x3e0…400 73 73 20 66 6f 72 20 6f 77 6e 65 72 20 6f 6e 6c 79 29 2e 0a 20 20 20 20 20 54 68 65 20 6d 61 73   ┆ss for owner only).      The mas┆
0x400…420 6b 20 69 73 20 69 6e 68 65 72 69 74 65 64 20 62 79 20 63 68 69 6c 64 20 70 72 6f 63 65 73 73 65   ┆k is inherited by child processe┆
0x420…440 73 2e 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 54 08 54 08 54 08 54 55 08 55 08 55 08 55   ┆s.  R R R RE E E ET T T TU U U U┆
0x440…460 52 08 52 08 52 08 52 4e 08 4e 08 4e 08 4e 20 56 08 56 08 56 08 56 41 08 41 08 41 08 41 4c 08 4c   ┆R R R RN N N N V V V VA A A AL L┆
0x460…480 08 4c 08 4c 55 08 55 08 55 08 55 45 08 45 08 45 08 45 0a 20 20 20 20 20 54 68 65 20 70 72 65 76   ┆ L LU U U UE E E E      The prev┆
0x480…4a0 69 6f 75 73 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 66 69 6c 65 20 6d 6f 64 65 20 6d 61 73 6b   ┆ious value of the file mode mask┆
0x4a0…4c0 20 69 73 20 72 65 74 75 72 6e 65 64 20 62 79 20 74 68 65 0a 20 20 20 20 20 63 61 6c 6c 2e 0a 0a   ┆ is returned by the      call.  ┆
0x4c0…4e0 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 4c   ┆S S S SE E E EE E E E A A A AL L┆
0x4e0…500 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 43   ┆ L LS S S SO O O O      System C┆
0x500…520 61 6c 6c 73 20 28 32 29 3a 20 20 63 68 6d 6f 64 2c 20 6d 6b 6e 6f 64 2c 20 6f 70 65 6e 0a 0a 4d   ┆alls (2):  chmod, mknod, open  M┆
0x520…540 61 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   ┆arch 1989                       ┆
0x540…560 20 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   ┆       TX Programmer's Reference┆
0x560…580 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   ┆                                ┆
0x580…582 0a 0a                                                                                             ┆  ┆