COMPILATION LISTING OF SEGMENT gcos_verify_user_ Compiled by: Multics PL/I Compiler, Release 33e, of October 6, 1992 Compiled at: CGI Compiled on: 2000-05-04_1650.96_Thu_mdt Options: optimize map 1 /* *********************************************************** 2* * * 3* * Copyright, (C) Honeywell Information Systems Inc., 1982 * 4* * * 5* * Copyright (c) 1972 by Massachusetts Institute of * 6* * Technology and Honeywell Information Systems, Inc. * 7* * * 8* *********************************************************** */ 9 10 11 gcos_verify_user_: proc (a_project, a_password, a_multics_person, a_multics_project, a_code); 12 13 14 /* DECLARATIONS */ 15 /* ------------ */ 16 17 18 /* fixed bin */ 19 20 dcl ( 21 a_code, /* error code (argument) */ 22 code /* error code (internal) */ 23 ) fixed bin (35) aligned; 24 25 26 /* character strings */ 27 28 dcl ( 29 a_multics_project /* multics equivalent of gcos project (argument) */ 30 ) char (9) aligned; 31 32 dcl ( 33 a_password, /* GCOS password (argument) */ 34 a_project, /* GCOS project (argument) */ 35 password, /* GCOS password (internal) */ 36 project /* gcos project (internal) */ 37 ) char (12) aligned; 38 39 dcl ( 40 a_multics_person /* multics equivalent of gcos user (argument) */ 41 ) char (22) aligned; 42 43 44 /* include files */ 45 1 1 /* BEGIN INCLUDE FILE gcos_user_table_entry_.incl.pl1 November 1974 RHM */ 1 2 1 3 dcl gutep ptr, /* pointer to origin of based entry */ 1 4 1 5 1 gcos_user_table_entry_ based, 1 6 2 gute_status fixed bin, /* 0 => inactive, 1 => active */ 1 7 2 gute_filler_1 fixed bin, 1 8 2 gute_gcos_account_id char (12), /* probably 8 or fewer chars */ 1 9 2 gute_multics_person char (22), 1 10 2 gute_multics_project char (9), 1 11 2 gute_ctl, 1 12 3 gute_ctl_filler (18) fixed bin; 1 13 1 14 /* END INCLUDE FILE...gcos_user_table_entry_.incl.pl1 */ 46 47 48 49 /* external entries */ 50 51 dcl gcos_user_$validate ext entry 52 (char (12) aligned, char (12) aligned, ptr aligned, fixed bin (35) aligned); 53 54 55 /* */ 56 57 a_code = 0; /* initialize returned code */ 58 project = a_project; /* copy in input arguments */ 59 password = a_password; 60 61 call gcos_user_$validate (project, password, gutep, code); /* validate password */ 62 63 if code = 0 /* password is valid */ 64 then do; 65 a_multics_person = gutep -> gcos_user_table_entry_.gute_multics_person; 66 a_multics_project = gutep -> gcos_user_table_entry_.gute_multics_project; 67 end; 68 69 else /* some error occurred */ 70 do; 71 a_multics_person, 72 a_multics_project = ""; 73 if code < 3 /* error is in project-password combination */ 74 then a_code = 1; /* return non-fatal error */ 75 else /* error is elsewhere */ 76 a_code = 2; /* return fatal error */ 77 end; 78 79 return; 80 81 end gcos_verify_user_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 05/04/00 1650.9 gcos_verify_user_.pl1 >udd>sm>ds>w>ml>gcos_verify_user_.pl1 46 1 03/27/82 0539.3 gcos_user_table_entry_.incl.pl1 >ldd>incl>gcos_user_table_entry_.incl.pl1 NAMES DECLARED IN THIS COMPILATION. IDENTIFIER OFFSET LOC STORAGE CLASS DATA TYPE ATTRIBUTES AND REFERENCES (* indicates a set context) NAMES DECLARED BY DECLARE STATEMENT. a_code parameter fixed bin(35,0) dcl 20 set ref 11 57* 73* 75* a_multics_person parameter char(22) dcl 39 set ref 11 65* 71* a_multics_project parameter char(9) dcl 28 set ref 11 66* 71* a_password parameter char(12) dcl 32 ref 11 59 a_project parameter char(12) dcl 32 ref 11 58 code 000100 automatic fixed bin(35,0) dcl 20 set ref 61* 63 73 gcos_user_$validate 000010 constant entry external dcl 51 ref 61 gcos_user_table_entry_ based structure level 1 unaligned dcl 1-3 gute_multics_person 5 based char(22) level 2 packed packed unaligned dcl 1-3 ref 65 gute_multics_project 12(18) based char(9) level 2 packed packed unaligned dcl 1-3 ref 66 gutep 000110 automatic pointer dcl 1-3 set ref 61* 65 66 password 000101 automatic char(12) dcl 32 set ref 59* 61* project 000104 automatic char(12) dcl 32 set ref 58* 61* NAME DECLARED BY EXPLICIT CONTEXT. gcos_verify_user_ 000011 constant entry external dcl 11 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 146 160 107 156 Length 344 107 12 147 37 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME gcos_verify_user_ 84 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME gcos_verify_user_ 000100 code gcos_verify_user_ 000101 password gcos_verify_user_ 000104 project gcos_verify_user_ 000110 gutep gcos_verify_user_ THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. call_ext_out return_mac ext_entry THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. gcos_user_$validate NO EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 11 000004 57 000016 58 000020 59 000026 61 000035 63 000051 65 000053 66 000061 67 000065 71 000066 73 000077 75 000104 79 000106 ----------------------------------------------------------- Historical Background This edition of the Multics software materials and documentation is provided and donated to Massachusetts Institute of Technology by Group BULL including BULL HN Information Systems Inc. as a contribution to computer science knowledge. This donation is made also to give evidence of the common contributions of Massachusetts Institute of Technology, Bell Laboratories, General Electric, Honeywell Information Systems Inc., Honeywell BULL Inc., Groupe BULL and BULL HN Information Systems Inc. to the development of this operating system. Multics development was initiated by Massachusetts Institute of Technology Project MAC (1963-1970), renamed the MIT Laboratory for Computer Science and Artificial Intelligence in the mid 1970s, under the leadership of Professor Fernando Jose Corbato. Users consider that Multics provided the best software architecture for managing computer hardware properly and for executing programs. Many subsequent operating systems incorporated Multics principles. Multics was distributed in 1975 to 2000 by Group Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as successor in interest by change in name only to Honeywell Bull Inc. and Honeywell Information Systems Inc. . ----------------------------------------------------------- Permission to use, copy, modify, and distribute these programs and their documentation for any purpose and without fee is hereby granted,provided that the below copyright notice and historical background appear in all copies and that both the copyright notice and historical background and this permission notice appear in supporting documentation, and that the names of MIT, HIS, BULL or BULL HN not be used in advertising or publicity pertaining to distribution of the programs without specific prior written permission. Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information Systems Inc. Copyright 2006 by BULL HN Information Systems Inc. Copyright 2006 by Bull SAS All Rights Reserved