|
|
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: s
Length: 1781 (0x6f5)
Names: »setgroups.2«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat2/setgroups.2«
└─⟦this⟧ »./usr/man/cat2/setgroups.2«
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 73 65 74 67 72 6f 75 70 73 28 32 29 0a 0a 0a 0a ┆s setgroups(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 73 65 74 67 72 6f 75 70 73 20 2d 20 73 65 74 20 67 72 6f 75 70 20 61 63 63 65 73 73 20 6c ┆ setgroups - set group access l┆ 0x0a0…0c0 69 73 74 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 ┆ist S S S SY Y Y YN N N NT T T ┆ 0x0c0…0e0 54 41 08 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 ┆TA A A AX X X X # # # #i i ┆ 0x0e0…100 69 08 69 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 ┆i in n n nc c c cl l l lu u u ud┆ 0x100…120 08 64 08 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 ┆ d d de e e e < < < <s s s sy y ┆ 0x120…140 79 08 79 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 ┆y ys s s s/ / / /p p p pa a a ar┆ 0x140…160 08 72 08 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 ┆ r r ra a a am m m m. . . .h h h┆ 0x160…180 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20 20 20 20 20 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 08 ┆ h> > > > s s s se e e et ┆ 0x180…1a0 74 08 74 08 74 67 08 67 08 67 08 67 72 08 72 08 72 08 72 6f 08 6f 08 6f 08 6f 75 08 75 08 75 08 ┆t t tg g g gr r r ro o o ou u u ┆ 0x1a0…1c0 75 70 08 70 08 70 08 70 73 08 73 08 73 08 73 28 08 28 08 28 08 28 6e 08 6e 08 6e 08 6e 67 08 67 ┆up p p ps s s s( ( ( (n n n ng g┆ 0x1c0…1e0 08 67 08 67 72 08 72 08 72 08 72 6f 08 6f 08 6f 08 6f 75 08 75 08 75 08 75 70 08 70 08 70 08 70 ┆ g gr r r ro o o ou u u up p p p┆ 0x1e0…200 73 08 73 08 73 08 73 2c 08 2c 08 2c 08 2c 20 67 08 67 08 67 08 67 69 08 69 08 69 08 69 64 08 64 ┆s s s s, , , , g g g gi i i id d┆ 0x200…220 08 64 08 64 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 08 74 08 74 08 74 29 08 29 08 29 08 29 ┆ d ds s s se e e et t t t) ) ) )┆ 0x220…240 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 20 6e 08 6e 08 ┆ i i i in n n nt t t t n n ┆ 0x240…260 6e 08 6e 67 08 67 08 67 08 67 72 08 72 08 72 08 72 6f 08 6f 08 6f 08 6f 75 08 75 08 75 08 75 70 ┆n ng g g gr r r ro o o ou u u up┆ 0x260…280 08 70 08 70 08 70 73 08 73 08 73 08 73 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a 08 2a 67 08 67 08 ┆ p p ps s s s, , , , * * * *g g ┆ 0x280…2a0 67 08 67 69 08 69 08 69 08 69 64 08 64 08 64 08 64 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 ┆g gi i i id d d ds s s se e e et┆ 0x2a0…2c0 08 74 08 74 08 74 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 ┆ t t t; ; ; ; D D D DE E E ES S┆ 0x2c0…2e0 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 08 50 ┆ S SC C C CR R R RI I I IP P P P┆ 0x2e0…300 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 20 20 ┆T T T TI I I IO O O ON N N N ┆ 0x300…320 20 20 5f 08 73 5f 08 65 5f 08 74 5f 08 67 5f 08 72 5f 08 6f 5f 08 75 5f 08 70 5f 08 73 20 73 65 ┆ _ s_ e_ t_ g_ r_ o_ u_ p_ s se┆ 0x320…340 74 73 20 74 68 65 20 67 72 6f 75 70 20 61 63 63 65 73 73 20 6c 69 73 74 20 6f 66 20 74 68 65 20 ┆ts the group access list of the ┆ 0x340…360 63 75 72 72 65 6e 74 20 75 73 65 72 0a 20 20 20 20 20 70 72 6f 63 65 73 73 20 61 63 63 6f 72 64 ┆current user process accord┆ 0x360…380 69 6e 67 20 74 6f 20 74 68 65 20 61 72 72 61 79 20 5f 08 67 5f 08 69 5f 08 64 5f 08 73 5f 08 65 ┆ing to the array _ g_ i_ d_ s_ e┆ 0x380…3a0 5f 08 74 2e 20 20 54 68 65 20 70 61 72 61 6d 65 74 65 72 0a 20 20 20 20 20 5f 08 6e 5f 08 67 5f ┆_ t. The parameter _ n_ g_┆ 0x3a0…3c0 08 72 5f 08 6f 5f 08 75 5f 08 70 5f 08 73 20 69 6e 64 69 63 61 74 65 73 20 74 68 65 20 6e 75 6d ┆ r_ o_ u_ p_ s indicates the num┆ 0x3c0…3e0 62 65 72 20 6f 66 20 65 6e 74 72 69 65 73 20 69 6e 20 74 68 65 20 61 72 72 61 79 20 61 6e 64 0a ┆ber of entries in the array and ┆ 0x3e0…400 20 20 20 20 20 6d 75 73 74 20 62 65 20 6e 6f 20 6d 6f 72 65 20 74 68 61 6e 20 4e 47 52 50 53 2c ┆ must be no more than NGRPS,┆ 0x400…420 20 61 73 20 64 65 66 69 6e 65 64 20 69 6e 20 3c 20 73 79 73 2f 70 61 72 61 6d 2e 68 20 3e 2e 0a ┆ as defined in < sys/param.h >. ┆ 0x420…440 0a 20 20 20 20 20 4f 6e 6c 79 20 74 68 65 20 73 75 70 65 72 2d 75 73 65 72 20 6d 61 79 20 73 65 ┆ Only the super-user may se┆ 0x440…460 74 20 6e 65 77 20 67 72 6f 75 70 73 2e 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 54 08 54 ┆t new groups. R R R RE E E ET T┆ 0x460…480 08 54 08 54 55 08 55 08 55 08 55 52 08 52 08 52 08 52 4e 08 4e 08 4e 08 4e 20 56 08 56 08 56 08 ┆ T TU U U UR R R RN N N N V V V ┆ 0x480…4a0 56 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 55 08 55 08 55 08 55 45 08 45 08 45 08 45 0a 20 20 ┆VA A A AL L L LU U U UE E E E ┆ 0x4a0…4c0 20 20 20 41 20 30 20 76 61 6c 75 65 20 69 73 20 72 65 74 75 72 6e 65 64 20 6f 6e 20 73 75 63 63 ┆ A 0 value is returned on succ┆ 0x4c0…4e0 65 73 73 2c 20 2d 31 20 6f 6e 20 65 72 72 6f 72 2c 20 77 69 74 68 20 61 20 65 72 72 6f 72 0a 20 ┆ess, -1 on error, with a error ┆ 0x4e0…500 20 20 20 20 63 6f 64 65 20 73 74 6f 72 65 64 20 69 6e 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6e 5f ┆ code stored in _ e_ r_ r_ n_┆ 0x500…520 08 6f 2e 0a 0a 45 08 45 08 45 08 45 52 08 52 08 52 08 52 52 08 52 08 52 08 52 4f 08 4f 08 4f 08 ┆ o. E E E ER R R RR R R RO O O ┆ 0x520…540 4f 52 08 52 08 52 08 52 53 08 53 08 53 08 53 0a 20 20 20 20 20 54 68 65 20 5f 08 73 5f 08 65 5f ┆OR R R RS S S S The _ s_ e_┆ 0x540…560 08 74 5f 08 67 5f 08 72 5f 08 6f 5f 08 75 5f 08 70 5f 08 73 20 63 61 6c 6c 20 77 69 6c 6c 20 66 ┆ t_ g_ r_ o_ u_ p_ s call will f┆ 0x560…580 61 69 6c 20 69 66 3a 0a 0a 20 20 20 20 20 5b 45 46 41 55 4c 54 5d 20 20 20 20 20 20 20 54 68 65 ┆ail if: [EFAULT] The┆ 0x580…5a0 20 61 64 64 72 65 73 73 20 73 70 65 63 69 66 69 65 64 20 66 6f 72 20 5f 08 67 5f 08 69 5f 08 64 ┆ address specified for _ g_ i_ d┆ 0x5a0…5c0 5f 08 73 5f 08 65 5f 08 74 20 69 73 20 6f 75 74 73 69 64 65 0a 20 20 20 20 20 20 20 20 20 20 20 ┆_ s_ e_ t is outside ┆ 0x5c0…5e0 20 20 20 20 20 20 20 20 20 74 68 65 20 70 72 6f 63 65 73 73 20 61 64 64 72 65 73 73 20 73 70 61 ┆ the process address spa┆ 0x5e0…600 63 65 2e 0a 0a 20 20 20 20 20 5b 45 50 45 52 4d 5d 20 20 20 20 20 20 20 20 54 68 65 20 63 61 6c ┆ce. [EPERM] The cal┆ 0x600…620 6c 65 72 20 69 73 20 6e 6f 74 20 74 68 65 20 73 75 70 65 72 2d 75 73 65 72 2e 0a 0a 53 08 53 08 ┆ler is not the super-user. S S ┆ 0x620…640 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 08 4c 08 4c ┆S SE E E EE E E E A A A AL L L L┆ 0x640…660 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 61 6c 6c 73 ┆S S S SO O O O System Calls┆ 0x660…680 20 28 32 29 3a 20 20 73 65 74 67 72 6f 75 70 73 0a 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 ┆ (2): setgroups Library Fu┆ 0x680…6a0 6e 63 74 69 6f 6e 73 20 28 33 29 3a 20 20 69 6e 69 74 67 72 6f 75 70 73 0a 0a 4d 61 72 63 68 20 ┆nctions (3): initgroups March ┆ 0x6a0…6c0 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 20 20 20 20 ┆1989 ┆ 0x6c0…6e0 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 0a 0a 0a 0a ┆ TX Programmer's Reference ┆ 0x6e0…6f5 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆