|
|
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: v
Length: 1798 (0x706)
Names: »vhangup.2«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat2/vhangup.2«
└─⟦this⟧ »./usr/man/cat2/vhangup.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 20 20 76 68 61 6e 67 75 70 28 32 29 0a 0a 0a 0a ┆s vhangup(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 76 68 61 6e 67 75 70 20 2d 20 76 69 72 74 75 61 6c 6c 79 20 60 60 68 61 6e 67 75 70 27 27 ┆ vhangup - virtually ``hangup''┆ 0x0a0…0c0 20 74 68 65 20 63 75 72 72 65 6e 74 20 63 6f 6e 74 72 6f 6c 20 74 65 72 6d 69 6e 61 6c 0a 0a 53 ┆ the current control terminal S┆ 0x0c0…0e0 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 41 08 41 ┆ S S SY Y Y YN N N NT T T TA A A┆ 0x0e0…100 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 76 08 76 08 76 08 76 68 08 68 08 68 08 68 61 08 61 ┆ AX X X X v v v vh h h ha a┆ 0x100…120 08 61 08 61 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 75 08 75 08 75 08 75 70 08 70 08 70 08 70 ┆ a an n n ng g g gu u u up p p p┆ 0x120…140 28 08 28 08 28 08 28 29 08 29 08 29 08 29 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 ┆( ( ( () ) ) ) D D D DE E E ES ┆ 0x140…160 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 08 ┆S S SC C C CR R R RI I I IP P P ┆ 0x160…180 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 20 ┆PT T T TI I I IO O O ON N N N ┆ 0x180…1a0 20 20 20 5f 08 76 5f 08 68 5f 08 61 5f 08 6e 5f 08 67 5f 08 75 5f 08 70 20 69 73 20 75 73 65 64 ┆ _ v_ h_ a_ n_ g_ u_ p is used┆ 0x1a0…1c0 20 62 79 20 74 68 65 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 70 72 6f 63 65 73 73 20 5f ┆ by the initialization process _┆ 0x1c0…1e0 08 69 5f 08 6e 5f 08 69 5f 08 74 20 28 61 6d 6f 6e 67 0a 20 20 20 20 20 6f 74 68 65 72 73 29 20 ┆ i_ n_ i_ t (among others) ┆ 0x1e0…200 74 6f 20 61 72 72 61 6e 67 65 20 74 68 61 74 20 75 73 65 72 73 20 61 72 65 20 67 69 76 65 6e 20 ┆to arrange that users are given ┆ 0x200…220 22 63 6c 65 61 6e 22 27 20 74 65 72 6d 69 6e 61 6c 73 0a 20 20 20 20 20 61 74 20 6c 6f 67 69 6e ┆"clean"' terminals at login┆ 0x220…240 2c 20 62 79 20 72 65 76 6f 6b 69 6e 67 20 61 63 63 65 73 73 20 6f 66 20 74 68 65 20 70 72 65 76 ┆, by revoking access of the prev┆ 0x240…260 69 6f 75 73 20 75 73 65 72 73 27 0a 20 20 20 20 20 70 72 6f 63 65 73 73 65 73 20 74 6f 20 74 68 ┆ious users' processes to th┆ 0x260…280 65 20 74 65 72 6d 69 6e 61 6c 2e 20 20 54 6f 20 65 66 66 65 63 74 20 74 68 69 73 2c 20 5f 08 76 ┆e terminal. To effect this, _ v┆ 0x280…2a0 5f 08 68 5f 08 61 5f 08 6e 5f 08 67 5f 08 75 5f 08 70 20 73 65 61 72 63 68 65 73 0a 20 20 20 20 ┆_ h_ a_ n_ g_ u_ p searches ┆ 0x2a0…2c0 20 74 68 65 20 73 79 73 74 65 6d 20 74 61 62 6c 65 73 20 66 6f 72 20 72 65 66 65 72 65 6e 63 65 ┆ the system tables for reference┆ 0x2c0…2e0 73 20 74 6f 20 74 68 65 20 63 6f 6e 74 72 6f 6c 20 74 65 72 6d 69 6e 61 6c 20 6f 66 0a 20 20 20 ┆s to the control terminal of ┆ 0x2e0…300 20 20 74 68 65 20 69 6e 76 6f 6b 69 6e 67 20 70 72 6f 63 65 73 73 2c 20 72 65 76 6f 6b 69 6e 67 ┆ the invoking process, revoking┆ 0x300…320 20 61 63 63 65 73 73 20 70 65 72 6d 69 73 73 69 6f 6e 73 20 6f 6e 20 65 61 63 68 0a 20 20 20 20 ┆ access permissions on each ┆ 0x320…340 20 69 6e 73 74 61 6e 63 65 20 6f 66 20 74 68 65 20 74 65 72 6d 69 6e 61 6c 20 77 68 69 63 68 20 ┆ instance of the terminal which ┆ 0x340…360 69 74 20 66 69 6e 64 73 2e 20 20 46 75 72 74 68 65 72 20 61 74 74 65 6d 70 74 73 0a 20 20 20 20 ┆it finds. Further attempts ┆ 0x360…380 20 74 6f 20 61 63 63 65 73 73 20 74 68 65 20 74 65 72 6d 69 6e 61 6c 20 62 79 20 74 68 65 20 61 ┆ to access the terminal by the a┆ 0x380…3a0 66 66 65 63 74 65 64 20 70 72 6f 63 65 73 73 65 73 20 77 69 6c 6c 20 79 69 65 6c 64 0a 20 20 20 ┆ffected processes will yield ┆ 0x3a0…3c0 20 20 49 2f 4f 20 65 72 72 6f 72 73 2e 20 20 46 69 6e 61 6c 6c 79 2c 20 61 20 68 61 6e 67 75 70 ┆ I/O errors. Finally, a hangup┆ 0x3c0…3e0 20 73 69 67 6e 61 6c 20 28 53 49 47 48 55 50 29 20 69 73 20 73 65 6e 74 20 74 6f 0a 20 20 20 20 ┆ signal (SIGHUP) is sent to ┆ 0x3e0…400 20 74 68 65 20 70 72 6f 63 65 73 73 20 67 72 6f 75 70 20 6f 66 20 74 68 65 20 63 6f 6e 74 72 6f ┆ the process group of the contro┆ 0x400…420 6c 20 74 65 72 6d 69 6e 61 6c 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 ┆l terminal. S S S SE E E EE E E┆ 0x420…440 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a ┆ E A A A AL L L LS S S SO O O O ┆ 0x440…460 20 20 20 20 20 53 79 73 74 65 6d 20 4d 61 6e 61 67 65 72 20 43 6f 6d 6d 61 6e 64 73 20 28 38 29 ┆ System Manager Commands (8)┆ 0x460…480 3a 20 20 69 6e 69 74 0a 0a 4b 08 4b 08 4b 08 4b 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 57 08 ┆: init K K K KN N N NO O O OW ┆ 0x480…4a0 57 08 57 08 57 4e 08 4e 08 4e 08 4e 20 50 08 50 08 50 08 50 52 08 52 08 52 08 52 4f 08 4f 08 4f ┆W W WN N N N P P P PR R R RO O O┆ 0x4a0…4c0 08 4f 42 08 42 08 42 08 42 4c 08 4c 08 4c 08 4c 45 08 45 08 45 08 45 4d 08 4d 08 4d 08 4d 53 08 ┆ OB B B BL L L LE E E EM M M MS ┆ 0x4c0…4e0 53 08 53 08 53 0a 20 20 20 20 20 41 63 63 65 73 73 20 74 6f 20 74 68 65 20 63 6f 6e 74 72 6f 6c ┆S S S Access to the control┆ 0x4e0…500 20 74 65 72 6d 69 6e 61 6c 20 76 69 61 20 2f 08 2f 08 2f 08 2f 64 08 64 08 64 08 64 65 08 65 08 ┆ terminal via / / / /d d d de e ┆ 0x500…520 65 08 65 76 08 76 08 76 08 76 2f 08 2f 08 2f 08 2f 74 08 74 08 74 08 74 74 08 74 08 74 08 74 79 ┆e ev v v v/ / / /t t t tt t t ty┆ 0x520…540 08 79 08 79 08 79 20 69 73 20 73 74 69 6c 6c 20 70 6f 73 73 69 2d 0a 20 20 20 20 20 62 6c 65 2e ┆ y y y is still possi- ble.┆ 0x540…560 0a 0a 20 20 20 20 20 54 68 69 73 20 63 61 6c 6c 20 73 68 6f 75 6c 64 20 62 65 20 72 65 70 6c 61 ┆ This call should be repla┆ 0x560…580 63 65 64 20 62 79 20 61 6e 20 61 75 74 6f 6d 61 74 69 63 20 6d 65 63 68 61 6e 69 73 6d 20 77 68 ┆ced by an automatic mechanism wh┆ 0x580…5a0 69 63 68 0a 20 20 20 20 20 74 61 6b 65 73 20 70 6c 61 63 65 20 6f 6e 20 70 72 6f 63 65 73 73 20 ┆ich takes place on process ┆ 0x5a0…5c0 65 78 69 74 2e 0a 0a 44 08 44 08 44 08 44 49 08 49 08 49 08 49 41 08 41 08 41 08 41 47 08 47 08 ┆exit. D D D DI I I IA A A AG G ┆ 0x5c0…5e0 47 08 47 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 53 08 53 08 53 08 53 54 08 54 08 54 08 54 49 ┆G GN N N NO O O OS S S ST T T TI┆ 0x5e0…600 08 49 08 49 08 49 43 08 43 08 43 08 43 53 08 53 08 53 08 53 0a 20 20 20 20 20 45 42 41 44 46 20 ┆ I I IC C C CS S S S EBADF ┆ 0x600…620 20 20 20 20 20 20 20 20 20 46 75 72 74 68 65 72 20 61 74 74 65 6d 70 74 73 20 74 6f 20 61 63 63 ┆ Further attempts to acc┆ 0x620…640 65 73 73 20 74 68 65 20 74 65 72 6d 69 6e 61 6c 20 62 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆ess the terminal by ┆ 0x640…660 20 20 20 20 20 20 20 20 74 68 65 20 61 66 66 65 63 74 65 64 20 70 72 6f 63 65 73 73 65 73 20 77 ┆ the affected processes w┆ 0x660…680 69 6c 6c 20 79 69 65 6c 64 20 49 2f 4f 20 65 72 72 6f 72 73 0a 20 20 20 20 20 20 20 20 20 20 20 ┆ill yield I/O errors ┆ 0x680…6a0 20 20 20 20 20 20 20 20 20 61 66 74 65 72 20 74 68 65 20 5f 08 76 5f 08 68 5f 08 61 5f 08 6e 5f ┆ after the _ v_ h_ a_ n_┆ 0x6a0…6c0 08 67 5f 08 75 5f 08 70 2e 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 20 20 20 20 20 20 20 20 ┆ g_ u_ p. March 1989 ┆ 0x6c0…6e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 ┆ TX Programmer┆ 0x6e0…700 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆'s Reference ┆ 0x700…706 0a 0a 0a 0a 0a 0a ┆ ┆