COMPILATION LISTING OF SEGMENT uc_ls_list_request_ Compiled by: Multics PL/I Compiler, Release 30, of February 16, 1988 Compiled at: Honeywell Bull, Phoenix AZ, SysM Compiled on: 07/13/88 1026.6 mst Wed Options: optimize map 1 /****^ ******************************************** 2* * * 3* * Copyright, (C) Honeywell Bull Inc., 1987 * 4* * * 5* ******************************************** */ 6 7 8 /* * * * * * * * * * * * * * * * * * * * * * * * * * */ 9 /* */ 10 /* This module is part of the Multics Network Architecture (MNA) version of */ 11 /* user control. MNA user control serves users coming into Multics via */ 12 /* separate networks (eg, the Distributed Systems Architecture (DSA) */ 13 /* network. MNA user control is not used for logins through the Multics */ 14 /* Communications System (MCS). A separate MCS user control system serves */ 15 /* MCS users. */ 16 /* */ 17 /* To Be Supplied: */ 18 /* 1) Brief module description. See MDD010 or MTBs 751 and 752 for details */ 19 /* about this module, and its relationship to modules in the MCS user */ 20 /* control system. */ 21 /* 2) Operator error message documentation. This program calls */ 22 /* sys_log_$general but does not contain the required descriptions of */ 23 /* these messages. This omission was waived for initial installation */ 24 /* of the subsystem by the auditor, security coordinator, and by MDC */ 25 /* management. */ 26 /* */ 27 /* * * * * * * * * * * * * * * * * * * * * * * * * * */ 28 29 /****^ HISTORY COMMENTS: 30* 1) change(86-04-04,Swenson), approve(87-07-13,MCR7737), 31* audit(87-05-15,GDixon), install(87-08-04,MR12.1-1055): 32* Initial coding. 33* 2) change(87-04-28,GDixon), approve(87-07-13,MCR7737), 34* audit(87-07-30,Brunelle), install(87-08-04,MR12.1-1055): 35* Updated for change to user_table_entry.incl.pl1. 36* 3) change(87-05-16,GDixon), approve(87-07-13,MCR7737), 37* audit(87-07-30,Brunelle), install(87-08-04,MR12.1-1055): 38* A) Put connection_info.line_type into return structure. 39* B) Put ute.initial_ring into the return structure. 40* C) Convert to sys_log_$general. 41* END HISTORY COMMENTS */ 42 43 /* format: style4,indattr,insnl */ 44 45 uc_ls_list_request_: 46 procedure (P_ls_request_server_info_ptr, 47 P_ls_request_ptr, P_ls_request_lth, 48 P_ls_response_ptr, P_ls_response_lth, 49 P_ls_ipc_reply_ptr, P_code); 50 51 /* Parameters */ 52 53 dcl P_ls_request_server_info_ptr 54 ptr parameter; 55 dcl P_ls_request_ptr ptr parameter; 56 dcl P_ls_request_lth fixed bin (18) parameter; 57 dcl P_ls_response_ptr ptr parameter; 58 dcl P_ls_response_lth fixed bin (18) parameter; 59 dcl P_ls_ipc_reply_ptr ptr parameter; 60 dcl P_code fixed bin (35) parameter; 61 62 /* Automatic */ 63 64 dcl code fixed bin (35) automatic; 65 dcl i fixed bin automatic; 66 67 /* Entries */ 68 69 dcl get_system_free_area_ entry () returns (ptr); 70 dcl uc_list_disconnected_procs_ 71 entry (ptr, ptr, ptr); 72 dcl user_table_mgr_$utep_from_handle 73 entry (bit (72) aligned) returns (ptr); 74 75 /* External */ 76 77 dcl error_table_$id_not_found 78 fixed bin (35) ext static; 79 80 /* Based */ 81 82 dcl system_area area based (system_area_ptr); 83 84 85 /* Internal */ 86 87 dcl system_area_ptr ptr int static init (null); 88 89 90 /* Constant */ 91 92 dcl ME char (19) initial ("uc_ls_list_request_") internal static options (constant); 93 94 /* Builtins */ 95 96 dcl (addr, currentsize, null, unspec) 97 builtin; 98 99 100 /* Conditions */ 101 102 dcl cleanup condition; 103 104 105 /* Program */ 106 107 ls_request_ptr = P_ls_request_ptr; 108 ls_response_ptr = P_ls_response_ptr; 109 110 code = 0; 111 112 if system_area_ptr = null 113 then 114 system_area_ptr = get_system_free_area_ (); 115 uc_disconnected_process_list_ptr = null; 116 on cleanup 117 begin; 118 if uc_disconnected_process_list_ptr ^= null 119 then free uc_disconnected_process_list in (system_area); 120 end; 121 122 utep = user_table_mgr_$utep_from_handle ( 123 login_server_list_request.handle); 124 if utep = null () 125 then 126 call Abort (error_table_$id_not_found, 127 "Could not locate user table entry for handle ^24.3b.", 128 login_server_list_request.handle); 129 130 call uc_list_disconnected_procs_ (utep, system_area_ptr, 131 uc_disconnected_process_list_ptr); 132 133 if uc_disconnected_process_list_ptr = null () 134 then 135 login_server_list_response_n_processes = 0; 136 else 137 login_server_list_response_n_processes = 138 uc_disconnected_process_list.n_disconnected_processes; 139 140 unspec (login_server_list_response) = ""b; 141 login_server_list_response.header.message_type = LS_LIST_RESPONSE; 142 login_server_list_response.header.version = LOGIN_SERVER_LIST_RESPONSE_VERSION_1; 143 login_server_list_response.n_processes = login_server_list_response_n_processes; 144 do i = 1 to login_server_list_response_n_processes; 145 utep = uc_disconnected_process_list.process (i).utep; 146 login_server_list_response.creation_time(i) = ute.login_time; 147 login_server_list_response.authorization(i) = 148 ute.process_authorization; 149 if ute.initial_ring ^= ute.pdtep->user.default_ring 150 then login_server_list_response.initial_ring(i) = 151 ute.initial_ring; 152 else login_server_list_response.initial_ring(i) = 0; 153 login_server_list_response.connection_name(i) = ute.tty_name; 154 155 /**** NOTE: We do not maintain the access class range for communication 156* channels in the UTE and therefore cannot return this information. */ 157 login_server_list_response.access_class_range(i,*) = ""b; 158 login_server_list_response.terminal_type(i) = ute.terminal_type; 159 login_server_list_response.terminal_id(i) = ute.tty_id_code; 160 login_server_list_response.line_type(i) = ute.line_type; 161 end; 162 163 if uc_disconnected_process_list_ptr ^= null then do; 164 free uc_disconnected_process_list in (system_area); 165 uc_disconnected_process_list_ptr = null (); 166 end; 167 P_ls_response_lth = currentsize (login_server_list_response); 168 RETURN: 169 P_code = code; 170 return; 171 172 /* * * * * * * * * * * * * * * * * * * * * * * * * * */ 173 /* */ 174 /* Abort: Report error in as log and stop the list operation, returning an */ 175 /* error code. */ 176 /* */ 177 /* Syntax: call Abort (code, ioa_ctl, args); */ 178 /* */ 179 /* * * * * * * * * * * * * * * * * * * * * * * * * * */ 180 181 Abort: 182 procedure options (variable); 183 184 dcl cu_$arg_list_ptr entry returns (ptr); 185 dcl sys_log_$general entry (ptr); 186 187 sl_info = sl_info_code_msg; 188 sl_info.arg_list_ptr = cu_$arg_list_ptr (); 189 sl_info.severity = SL_LOG_SILENT; 190 sl_info.caller = ME; 191 call sys_log_$general (addr (sl_info)); 192 code = sl_info.code; 193 go to RETURN; 194 195 end Abort; 196 197 /* format: off */ 198 /* BEGIN INCLUDE FILE ... login_server_messages.incl.pl1 */ 1 2 1 3 /****^ HISTORY COMMENTS: 1 4* 1) change(86-06-30,Coren), approve(86-06-30,MCR7415), 1 5* audit(86-07-02,Margolin), install(86-07-11,MR12.0-1092): 1 6* Initial implementation. 1 7* 2) change(87-04-16,GDixon), approve(87-07-13,MCR7679), 1 8* audit(87-07-16,Brunelle), install(87-08-04,MR12.1-1056): 1 9* A) Add REQUEST_TYPES and RESPONSE_TYPES arrays. 1 10* B) Add login_server_validate_response.last_incorrect_password.time. 1 11* C) Add user_connection_info.line_type. 1 12* D) Add login_server_process_request.minimum_ring. 1 13* 3) change(87-05-14,GDixon), approve(87-07-13,MCR7737), 1 14* audit(87-07-16,Brunelle), install(87-08-04,MR12.1-1056): 1 15* A) Add login_server_process_response.brief. 1 16* B) Add login_server_list_response.initial_ring. 1 17* C) Separate login_server_process_response into fixed and variable parts. 1 18* D) Move user_connection_info into login_server_request_header. 1 19* END HISTORY COMMENTS */ 1 20 1 21 /* This include file defines all the structures passed in message segments 1 22* between a login server process and the Initializer (or "answering service") 1 23* process. For convenience, messages from the server to the initializer, 1 24* passed using the send_ls_request_ subroutine, are called "requests"; 1 25* messages from the initializer to the server, passed using the user_message_ 1 26* mechanism, are called "responses". 1 27**/ 1 28 1 29 /* Request types */ 1 30 1 31 dcl (LS_VALIDATE_REQUEST initial (1), /* validate user ID and password */ 1 32 LS_PROCESS_REQUEST initial (2), /* create or connect to a process */ 1 33 LS_LIST_REQUEST initial (3), /* list disconnected processes */ 1 34 LS_DIAL_REQUEST initial (4), /* find a dial server */ 1 35 LS_DISCONNECT_REQUEST initial (5), /* report disconnection of a login channel */ 1 36 LS_LOGOUT_REQUEST initial (6), /* discard UTE (end of dialogue) */ 1 37 LS_OPERATOR_REQUEST initial (7)) /* log the user in as an operator */ 1 38 fixed bin internal static options (constant); 1 39 1 40 dcl LS_REQUEST_TYPES (7) char (10) internal static options (constant) initial 1 41 ( 1 42 "validate", 1 43 "process", 1 44 "list", 1 45 "dial", 1 46 "disconnect", 1 47 "logout", 1 48 "operator"); 1 49 1 50 dcl ls_request_ptr pointer; 1 51 1 52 /* common header for all requests */ 1 53 1 54 dcl 1 ls_request_header aligned based (ls_request_ptr), 1 55 2 header_version char (8), /* version for this header */ 1 56 2 request_version char (8), /* varies depending on the request */ 1 57 2 request_type fixed bin, 1 58 2 pad1 bit (36), 1 59 2 reply_event_channel fixed bin (71), /* event channel over which reply_message should be sent */ 1 60 2 reply_handle bit (72) aligned, /* used for dispatching response */ 1 61 2 connection_info like user_connection_info; /* connection making this request. */ 1 62 1 63 dcl LS_REQUEST_HEADER_VERSION_1 char (8) initial ("lsrh0001") internal static options (constant); 1 64 1 65 dcl 1 user_connection_info aligned based, /* common info passed in most requests */ 1 66 2 connection_name char (32), 1 67 2 access_class_range (2) bit (72), 1 68 2 terminal_type char (32), 1 69 2 terminal_id char (4), 1 70 2 line_type fixed bin; 1 71 1 72 1 73 1 74 /* "validate" request: validate user ID and password */ 1 75 1 76 dcl 1 login_server_validate_request aligned based (ls_request_ptr), 1 77 2 header like ls_request_header, /* request_type = LS_VALIDATE_REQUEST */ 1 78 2 current_password char (8), /* scrambled */ 1 79 2 authorization bit (72), /* only valid if auth_given = "1"b */ 1 80 2 terminate_event_channel fixed bin (71), /* event channel to notify server when process terminates */ 1 81 2 person_id char (22), /* as specified in login line */ 1 82 2 project_id char (9), /* likewise, might be null string */ 1 83 2 network_connection_type fixed bin, /* see below for values */ 1 84 2 new_password char (8), /* only valid if change_password = "1"b */ 1 85 2 flags, 1 86 3 gpw bit (1) unaligned, /* password generated in response to -generate_password */ 1 87 3 auth_given bit (1) unaligned, /* -authorization specified */ 1 88 3 anonymous bit (1) unaligned, /* "enterp" request */ 1 89 3 anon_no_password bit (1) unaligned, /* "enter" request */ 1 90 3 change_password bit (1) unaligned, /* gave -cpw or -gpw */ 1 91 3 change_default_auth bit (1) unaligned, /* gave -change_default_authorization */ 1 92 3 change_default_proj bit (1) unaligned, /* gave -change_default_project */ 1 93 3 operator bit (1) unaligned, /* gave -operator */ 1 94 3 pad bit (28) unaligned; 1 95 1 96 1 97 dcl LS_VALIDATE_REQUEST_VERSION_1 char (8) internal static options (constant) initial ("lsvr0001"); 1 98 1 99 1 100 1 101 /* "process" request: create a process or reconnect to an existing process for the specified user */ 1 102 1 103 dcl 1 login_server_process_request aligned based (ls_request_ptr), 1 104 2 fixed_part, /* to allow for automatic copies */ 1 105 3 header like ls_request_header, /* request_type = LS_PROCESS_REQUEST */ 1 106 3 handle bit (72), /* as provided in validate_response */ 1 107 3 person_id char (22), /* the real one */ 1 108 3 project_id char (9), /* likewise */ 1 109 3 project_pad fixed bin, 1 110 3 command_type fixed bin, /* login, connect, etc.; see below for names */ 1 111 3 process_number fixed bin, /* 0 if unspecified or irrelevant */ 1 112 3 default_io_module char (32), /* I/O module to use if no outer_module specified */ 1 113 3 switch_flags, /* used to indicate if "switch"-type control args were specified */ 1 114 4 warn_given bit (1) unaligned, 1 115 4 force_given bit (1) unaligned, 1 116 4 save_given bit (1) unaligned, 1 117 4 preempt_given bit (1) unaligned, 1 118 4 brief_given bit (1) unaligned, 1 119 4 pad2 bit (31) unaligned, 1 120 3 switch_values, /* these are only valid if corresponding bit in switch_flags is on */ 1 121 4 warn bit (1) unaligned, 1 122 4 force bit (1) unaligned, 1 123 4 save_on_disconnect bit (1) unaligned, 1 124 4 preempt bit (1) unaligned, 1 125 4 brief bit (1) unaligned, /* "0"b & brief_given => -long */ 1 126 4 pad3 bit (31) unaligned, 1 127 3 other_flags, 1 128 4 init_ring_given bit (1) unaligned, /* "1"b if -ring */ 1 129 4 minimum_ring_given bit (1) unaligned, /* "1"b if MNA terminal interface ring > 1 */ 1 130 4 immediate bit (1) unaligned, /* "1"b => -new_proc (or -destroy) -immediate */ 1 131 4 no_start_up bit (1) unaligned, /* "1"b if -no_start_up */ 1 132 4 pad4 bit (32) unaligned, 1 133 3 initial_ring fixed bin, /* valid iff init_ring_given = "1"b */ 1 134 3 minimum_ring fixed bin, /* ring in which MNA terminal mgr operates */ 1 135 3 home_dir char (168), /* null if not specified */ 1 136 3 outer_module char (32), /* likewise */ 1 137 3 process_overseer char (168), /* likewise */ 1 138 3 subsystem char (168), /* likewise */ 1 139 3 n_args fixed bin, /* how many arguments specified after -ag; if 0, ignore the rest of the structure */ 1 140 2 login_arguments, /* variable part, describes stuff after -ag */ 1 141 3 arg_string_length fixed bin (21), 1 142 3 args (ls_process_request_n_args refer (login_server_process_request.n_args)), 1 143 4 start_index fixed bin (21), /* position in arg_string at which arg (i) starts */ 1 144 4 arg_length fixed bin (21), /* length of arg (i) */ 1 145 3 arg_string char (ls_process_request_arg_string_length refer (login_server_process_request.arg_string_length)); 1 146 1 147 dcl ls_process_request_n_args fixed bin; 1 148 dcl ls_process_request_arg_string_length fixed bin (21); 1 149 1 150 dcl LS_PROCESS_REQUEST_VERSION_1 char (8) internal static options (constant) initial ("lspr0001"); 1 151 1 152 1 153 1 154 /* "list" request: list the user's disconnected processes, if any */ 1 155 1 156 dcl 1 login_server_list_request aligned based (ls_request_ptr), 1 157 2 header like ls_request_header, /* request_type = LS_LIST_REQUEST */ 1 158 2 handle bit (72); 1 159 1 160 dcl LS_LIST_REQUEST_VERSION_1 char (8) internal static options (constant) initial ("lslr0001"); 1 161 1 162 1 163 1 164 /* "dial" request: find a process to accept a dial */ 1 165 1 166 /* Note: because a dial request may or may not have been preceded 1 167* by a validate request/response, the initializer_handle may be null. 1 168**/ 1 169 1 170 dcl 1 login_server_dial_request aligned based (ls_request_ptr), 1 171 2 header like ls_request_header, /* request_type = LS_DIAL_REQUEST */ 1 172 2 initializer_handle bit (72), /* as provided in validate_response (if any) */ 1 173 2 terminate_event_channel fixed bin (71), /* event channel to wake up login server when master process terminates */ 1 174 2 dial_qualifier char (22), 1 175 2 person_id char (22), /* null if not specified */ 1 176 2 project_id char (9), /* likewise */ 1 177 2 user_person_id char (22), /* if -user was specified, otherwise "" */ 1 178 2 user_project_id char (9); /* likewise */ 1 179 1 180 dcl LS_DIAL_REQUEST_VERSION_1 char (8) internal static options (constant) initial ("lsdr0001"); 1 181 1 182 1 183 1 184 /* "disconnect" request: report that a login channel has disconnected */ 1 185 /* Note: this message is sent if the connection is broken either during the login dialogue 1 186* or later on when the process was using it */ 1 187 1 188 dcl 1 login_server_disconnect_request aligned based (ls_request_ptr), 1 189 2 header like ls_request_header, /* request_type = LS_DISCONNECT_REQUEST */ 1 190 2 handle bit (72), /* from original validate_response */ 1 191 2 process_id bit (36); /* ""b if no process established */ 1 192 1 193 dcl LS_DISCONNECT_REQUEST_VERSION_1 char (8) internal static options (constant) initial ("lsdc0001"); 1 194 1 195 1 196 1 197 /* "logout" request: indicates that user entered the "logout" request, ending the dialogue; does not require any response */ 1 198 1 199 dcl 1 login_server_logout_request aligned based (ls_request_ptr), 1 200 2 header like ls_request_header, /* request_type = LS_LOGOUT_REQUEST */ 1 201 2 handle bit (72); 1 202 1 203 dcl LS_LOGOUT_REQUEST_VERSION_1 char (8) internal static options (constant) initial ("lslg0001"); 1 204 1 205 1 206 1 207 /* "operator" request: sign the user on as an operator, the result of either 1 208* "login -operator" or "dial system". Note that in the latter case, there may 1 209* not have been a validate request (if the -user control argument wasn't specified), 1 210* in which case initializer_handle is null, and the person_id and project_id 1 211* are blank. 1 212**/ 1 213 1 214 dcl 1 login_server_operator_request aligned based (ls_request_ptr), 1 215 2 header like ls_request_header, /* request_type = LS_OPERATOR_REQUEST */ 1 216 2 initializer_handle bit (72) aligned, /* as provided in validate_response (if any) */ 1 217 2 terminate_event_channel fixed bin (71), /* event channel for wakeup when connection is dropped */ 1 218 2 person_id char (22), /* likewise */ 1 219 2 project_id char (9), /* likewise */ 1 220 2 virtual_channel char (32); /* if -virtual_channel specified, otherwise "" */ 1 221 1 222 dcl LOGIN_SERVER_OPERATOR_REQUEST_VERSION_1 char (8) internal static options (constant) initial ("lsor0001"); 1 223 1 224 1 225 1 226 /* Response types */ 1 227 1 228 dcl (LS_UNKNOWN_RESPONSE initial (100), /* unknown response type. */ 1 229 LS_VALIDATE_RESPONSE initial (101), /* response to validation request */ 1 230 LS_PROCESS_RESPONSE initial (102), /* response to process request */ 1 231 LS_LIST_RESPONSE initial (103), /* response to list request */ 1 232 LS_DIAL_RESPONSE initial (104), /* response to dial request */ 1 233 LS_TERMINATION_RESPONSE initial (105), /* to notify server of a logout */ 1 234 LS_NEW_PROC_RESPONSE initial (106), /* to notify server of process termination */ 1 235 LS_OPERATOR_RESPONSE initial (107)) /* response to operator request */ 1 236 fixed bin internal static options (constant); 1 237 1 238 dcl LS_RESPONSE_TYPES (100:107) char (10) internal static options (constant) initial 1 239 ( 1 240 "UNKNOWN", 1 241 "validate", 1 242 "process", 1 243 "list", 1 244 "dial", 1 245 "terminate", 1 246 "new_proc", 1 247 "operator"); 1 248 1 249 /* NOTE: the server_handle is not included in the response structures because 1 250* it is provided in the user_message_ structures */ 1 251 1 252 1 253 1 254 dcl ls_response_ptr pointer; 1 255 1 256 /* common header for all responses */ 1 257 1 258 dcl 1 login_server_response_header aligned based (ls_response_ptr), 1 259 2 message_type fixed bin, 1 260 2 header_pad bit (36), /* force doubleword alignment */ 1 261 2 version char (8); 1 262 1 263 1 264 1 265 /* "validate" response: indicate whether user_id/password is valid */ 1 266 1 267 dcl 1 login_server_validate_response aligned based (ls_response_ptr), 1 268 2 header like login_server_response_header, /* message_type = LS_VALIDATE_RESPONSE */ 1 269 2 handle bit (72), /* to be provided by the server in subsequent */ 1 270 /* messages for the same connection */ 1 271 2 authorization bit (72), /* default if none was supplied */ 1 272 2 authorization_range (2) bit (72), /* authorization range permitted for this user */ 1 273 2 status_code fixed bin (35), /* 0 iff user is validated */ 1 274 2 person_id char (22), /* primary name from the PNT */ 1 275 2 project_id char (9), /* primary name from the PNT or PDT */ 1 276 2 n_disconnected_processes fixed bin, /* number of disconnected processes for specified user */ 1 277 2 validate_pad fixed bin, 1 278 2 previous_login_info, /* for printing login message */ 1 279 3 time fixed bin (71), 1 280 3 terminal_type char (32), 1 281 3 terminal_id char (4), 1 282 2 incorrect_passwords fixed bin, /* number of times password given incorrectly */ 1 283 2 last_incorrect_password, /* where it came from */ 1 284 3 time fixed bin (71), 1 285 3 terminal_type char (32), 1 286 3 terminal_id char (4), 1 287 2 password_interval fixed bin, /* limit (in days) for password use or change */ 1 288 2 flags, 1 289 3 disconnect bit (1) unaligned, /* if "1"b, close the connection immediately */ 1 290 3 password_changed bit (1) unal, /* "1"b => changed password */ 1 291 3 default_auth_changed bit (1) unal, /* "1"b => changed default authorization */ 1 292 3 default_proj_changed bit (1) unal, /* "1"b => changed default project */ 1 293 3 password_expired bit (1) unal, /* "1"b => password not changed recently enough */ 1 294 3 password_unused_too_long bit (1) unal, /* "1"b => password hasn't been used recently */ 1 295 3 pad bit (30) unaligned; 1 296 1 297 dcl LS_VALIDATE_RESPONSE_VERSION_1 char (8) internal static options (constant) initial ("lsvs0001"); 1 298 1 299 1 300 1 301 /* "process" response: responds to request to create or connect */ 1 302 1 303 dcl 1 login_server_process_response aligned based (ls_response_ptr), 1 304 2 fixed_part, 1 305 3 header like login_server_response_header, /* message_type = LS_PROCESS_RESPONSE */ 1 306 3 status_code fixed bin (35), /* 0 iff process was created or requested process exists */ 1 307 3 process_id bit (36), 1 308 3 new_handle bit (72), /* changed if reconnecting, etc. to preexisting process, all 0 otherwise */ 1 309 3 authorization bit (72), /* authorization of created or existing process */ 1 310 3 process_group_id char (32), /* Person.Project.tag */ 1 311 3 process_number fixed bin, /* as in, "Your disconnected process #2..." */ 1 312 3 n_disconnected_processes fixed bin, /* valid even if code ^= 0, e.g., if request was ambiguous */ 1 313 3 start_event_channel fixed bin (71), /* event channel to wake up user process on */ 1 314 3 login_instance fixed bin, /* "This is your Nth interactive login" */ 1 315 3 accounting_info, /* for destroyed process, if any */ 1 316 4 cpu_usage fixed bin (71), 1 317 4 cost float bin, 1 318 3 flags, /* except for disconnect and logout, invalid if status_code ^= 0 */ 1 319 4 disconnect bit (1) unaligned, /* "1"b => break the connection immediately */ 1 320 4 logout bit (1) unaligned, /* "1"b => restart login sequence */ 1 321 4 created bit (1) unaligned, /* "1"b => new process created */ 1 322 4 connected bit (1) unaligned, /* "1"b => connected to old process */ 1 323 4 new_proc bit (1) unaligned, /* "1"b => connected after new_proc */ 1 324 4 destroyed bit (1) unaligned, /* "1"b => process destroyed */ 1 325 4 anonymous bit (1) unaligned, /* "1"b => anonymous user ("enter" or "enterp") */ 1 326 4 already_logged_in bit (1) unaligned, /* "1"b => user can't log in because he already is */ 1 327 4 message_coordinator bit (1) unaligned, /* "1"b => this connection is going to be used by the message coordinator */ 1 328 4 brief bit (1) unaligned, /* "1"b => brief user attribute from PDT */ 1 329 4 pad bit (26) unaligned, 1 330 3 initial_ring fixed bin, /* ring in which process was created */ 1 331 3 already_logged_in_info, /* relevant if already_logged_in flag is "1"b */ 1 332 4 connection_name char (32), 1 333 4 terminal_type char (32), 1 334 4 terminal_id char (4), 1 335 2 accounting_message_struc, /* character string assembled by initializer giving error or warnings about the user's account */ 1 336 3 accounting_message_length fixed bin, 1 337 3 accounting_message char (ls_process_response_accounting_message_length refer (login_server_process_response.accounting_message_length)); 1 338 1 339 dcl ls_process_response_accounting_message_length fixed bin; 1 340 1 341 dcl LOGIN_SERVER_PROCESS_RESPONSE_VERSION_1 char (8) internal static options (constant) initial ("lsps0001"); 1 342 1 343 1 344 1 345 /* "list" response: used if create request specified "list" command */ 1 346 1 347 dcl 1 login_server_list_response aligned based (ls_response_ptr), 1 348 2 header like login_server_response_header, /* message_type = LS_LIST_RESPONSE */ 1 349 2 n_processes fixed bin, /* number of disconnected processes (might be 0) */ 1 350 2 pad_header fixed bin, 1 351 2 process_info (login_server_list_response_n_processes refer (login_server_list_response.n_processes)), 1 352 3 creation_time fixed bin (71), 1 353 3 authorization bit (72), 1 354 3 initial_ring fixed bin, 1 355 3 pad_process_info fixed bin, 1 356 3 connection_info like user_connection_info; 1 357 1 358 dcl login_server_list_response_n_processes fixed bin; 1 359 1 360 dcl LOGIN_SERVER_LIST_RESPONSE_VERSION_1 char (8) internal static options (constant) initial ("lslr0001"); 1 361 1 362 1 363 1 364 /* "dial" response: response to dial request */ 1 365 1 366 dcl 1 login_server_dial_response aligned based (ls_response_ptr), 1 367 2 header like login_server_response_header, /* message_type = LS_DIAL_RESPONSE */ 1 368 2 status_code fixed bin (35), /* 0 iff dial server was found and all is OK */ 1 369 2 process_id bit (36), /* of dial server */ 1 370 2 process_group_id char (32), /* likewise */ 1 371 2 authorization bit (72), /* likewise, to make sure connection is usable */ 1 372 2 start_event_channel fixed bin (71), /* event channel to wake up user process on */ 1 373 2 process_ring fixed bin, /* initial ring of dial server */ 1 374 2 flags, 1 375 3 disconnect bit (1) unaligned, /* "1"b => break connection immediately */ 1 376 3 pad bit (35) unaligned; 1 377 1 378 dcl LOGIN_SERVER_DIAL_RESPONSE_VERSION_1 char (8) internal static options (constant) initial ("lsds0001"); 1 379 1 380 1 381 1 382 /* "termination" response: (not a response to anything): notify server that a 1 383* process terminated other than by logout */ 1 384 1 385 dcl 1 login_server_termination_response aligned based (ls_response_ptr), 1 386 2 header like login_server_response_header, /* message_type = LS_TERMINATION_RESPONSE */ 1 387 2 accounting_info, /* for printing in logout message */ 1 388 3 cpu_usage fixed bin (71), 1 389 3 cost float bin, 1 390 3 pad bit (33) unaligned, 1 391 2 process_id bit (36), /* of the logged-out process */ 1 392 2 process_group_id char (32), 1 393 2 status_code fixed bin (35), /* e.g., to indicate reason for fatal error */ 1 394 2 flags, 1 395 3 logout bit (1) aligned, /* no new process coming */ 1 396 3 automatic_logout bit (1) unaligned, 1 397 3 hold bit (1) unaligned, 1 398 3 brief bit (1) unaligned, 1 399 3 new_proc bit (1) unaligned, /* user-requested new process */ 1 400 3 fatal_error bit (1) unaligned, /* process died unexpectedly */ 1 401 3 fpe_caused_logout bit (1) unaligned, /* fatal error doesn't generate new process */ 1 402 3 fpe_loop bit (1) unaligned, /* fatal error loop: too many in too short a time */ 1 403 3 fpe_during_init bit (1) unaligned, /* fatal error during process initialization */ 1 404 3 offer_help bit (1) unaligned, /* print a message offering "help" */ 1 405 3 pad bit (27) unaligned; 1 406 1 407 dcl LOGIN_SERVER_TERMINATION_RESPONSE_VERSION_1 char (8) internal static options (constant) initial ("lstr0001"); 1 408 1 409 1 410 1 411 /* "new_proc" response: (not actually a response to anything) -- describes a 1 412* new process (after a termination_response) */ 1 413 1 414 dcl 1 login_server_new_proc_response aligned based (ls_response_ptr), 1 415 2 header like login_server_response_header, /* message_type = LS_NEW_PROC_RESPONSE */ 1 416 2 new_authorization bit (72), /* in case of new_proc -auth */ 1 417 2 new_start_event_channel fixed bin (71), /* event channel for starting new process */ 1 418 2 new_process_id bit (36); /* process_id of newly-created process */ 1 419 1 420 dcl LOGIN_SERVER_NEW_PROC_RESPONSE_VERSION_1 char (8) internal static options (constant) initial ("lsnp0001"); 1 421 1 422 1 423 1 424 /* "operator" response: indicates success or failure of operator request */ 1 425 1 426 dcl 1 login_server_operator_response aligned based (ls_response_ptr), 1 427 2 header like login_server_response_header, /* message_type = LS_OPERATOR_RESPONSE */ 1 428 2 status_code fixed bin (35), /* indicates success or failure */ 1 429 2 process_id bit (36), /* process ID of the message coordinator */ 1 430 2 process_group_id char (32), /* Person.Project.tag */ 1 431 2 event_channel fixed bin (71), /* event channel over which to send connect/disconnect wakeups */ 1 432 2 ring fixed bin, /* ring of message coordinator */ 1 433 2 flags, 1 434 3 disconnect bit (1) unaligned, /* "1" => break the connection immediately */ 1 435 3 mbz bit (35) unaligned; 1 436 1 437 1 438 dcl LOGIN_SERVER_OPERATOR_RESPONSE_VERSION_1 char (8) internal static options (constant) initial ("lsos0001"); 1 439 1 440 1 441 /* format of reply message sent to acknowledge receipt of a request */ 1 442 1 443 dcl ls_reply_message_ptr pointer; 1 444 1 445 dcl 1 ls_reply_message aligned based (ls_reply_message_ptr), 1 446 2 code fixed bin (35), 1 447 2 flags, 1 448 3 request_invalid bit (1) unaligned, /* "1"b => could not process request */ 1 449 3 response_sent bit (1) unaligned, /* "1"b => there is a response message */ 1 450 3 as_error_code bit (1) unaligned, /* "1"b => code is from as_error_table_ */ 1 451 3 do_not_reply bit (1) unaligned, /* "1"b => special flag for AS to prevent any reply from being sent to login server */ 1 452 3 mbz bit (32) unaligned; 1 453 1 454 /* The following are values used to identify the various requests internally; those from CREATE_REQ on 1 455* can appear as "command_type" in ls_process_requests. */ 1 456 1 457 dcl (LOGIN_REQ initial (1), 1 458 ENTER_REQ initial (2), 1 459 ENTERP_REQ initial (3), 1 460 CREATE_REQ initial (4), 1 461 DESTROY_REQ initial (5), 1 462 CONNECT_REQ initial (6), 1 463 NEW_PROC_REQ initial (7), 1 464 LIST_REQ initial (8)) 1 465 fixed bin internal static options (constant); 1 466 1 467 /* The following are the possible values for login_server_validate_request.network_connection_type. 1 468* They are used by the initializer to select a default process overseer and an instance tag. 1 469**/ 1 470 1 471 dcl (NETWORK_CONNECTION_LOGIN initial (1), 1 472 NETWORK_CONNECTION_DSA_FILE_TRANSFER initial (2)) 1 473 fixed bin internal static options (constant); 1 474 1 475 /* END INCLUDE FILE ... login_server_messages.incl.pl1 */ 198 199 /* BEGIN INCLUDE FILE ... pdt.incl.pl1 */ 2 2 /* Requires user_attributes.incl.pl1 */ 2 3 2 4 /* Modified 740723 by PG to add AIM info */ 2 5 /* Modified 750604 by T. Casey to add priority scheduler parameters */ 2 6 /* Modified May 1976 by T. Casey to add cutoff warning thresholds and change version to 3 */ 2 7 /* Modified May 1977 by John Gintell to add reqfile, projfile, and SAT to header */ 2 8 /* Modified May 1978 by T. Casey to add pdir_quota to user entry */ 2 9 /* Modified June 1978 by T. Casey to add rel ptr to pdt hash table */ 2 10 /* Modified November 1978 by T. Casey to add max_(fore back)ground, n_(fore back)ground and abs_foreground_cpu_limit */ 2 11 /* Modified October 1979 by T. Casey to add counters for interactive and disconnected processes. */ 2 12 /* Modified Feb 1980 by M. B. Armstrong to implement multiple rate structures (UNCA). */ 2 13 /* Modified May 1980 by R. McDonald to use iod cpu time field for page charging (UNCA) */ 2 14 /* Modified December 1981 by E. N. Kittlitz for user_warn fields */ 2 15 /* Modified January 1982 by E. N. Kittlitz for user_attributes.incl.pl1 changes */ 2 16 /* Modified September 1982 by E. N. Kittlitz for default ring. */ 2 17 /* Modified 1984-07-05 BIM for min authorization, version to 4 */ 2 18 2 19 dcl (PDT_version init (4), /* version of this declaration */ 2 20 PDT_header_lth init (256), /* length in words of PDT head */ 2 21 PDT_entry_lth init (256), /* length in words of PDT entry */ 2 22 2 23 PDT_project_name_length init (9), /* proper length of pdt.project_name */ 2 24 PDT_person_id_length init (22) /* proper length of user.person_id */ 2 25 ) fixed bin internal static options (constant); 2 26 2 27 dcl 1 pdt based (pdtp) aligned, 2 28 3 1 /* BEGIN INCLUDE FILE author.incl.pl1 */ 3 2 3 3 /* the "author" items must always be the first ones in the table. The 3 4* module which moves the converted table to the System Control process 3 5* fills in these data items and assumes them to be at the head of the segment 3 6* regardless of the specific table's actual declaration. The variables 3 7* "lock" and "last_install_time" used to be "process_id" and "ev_channel" 3 8* respectively. For tables installed in multiple processes, these 3 9* are to be used to lock out multiple installations. */ 3 10 3 11 /* Lock should be used as a modification lock. Since, in general, 3 12* entries may not be moved in system tables, even by installations, 3 13* it is sufficient for only installers and programs that change threads 3 14* to set or respect the lock. Simply updating data in an entry 3 15* requires no such protection. 3 16* 3 17* Last_install_time is used by readers of system tables to detect 3 18* installations or other serious modifications. By checking it before 3 19* and after copying a block of data, they can be protected against 3 20* modifications. 3 21* 3 22* Modules that set the lock should save proc_group_id, and then 3 23* put their group id there for the time they hold the lock. 3 24* if they do not actually install the, they should restore the group id. 3 25**/ 3 26 3 27 2 author aligned, /* validation data about table's author */ 3 28 3 proc_group_id char (32), /* process-group-id (personid.projectid.tag) */ 3 29 3 lock bit (36), /* installation lock */ 3 30 3 update_attributes bit (1) unal, /* update/add/delete attributes */ 3 31 3 update_authorization bit (1) unal, /* update only authorizations */ 3 32 3 deferral_notified bit (1) unal, /* installer notified of deferral of installation */ 3 33 3 pad bit (33) unaligned, 3 34 3 last_install_time fixed bin (71), 3 35 3 table char (4), /* name of table, e.g., SAT MGT TTT RTDT PDT etc. */ 3 36 3 w_dir char (64), /* author's working directory */ 3 37 3 38 /* END INCLUDE FILE author.incl.pl1 */ 2 29 2 30 2 max_size fixed bin, /* max number of entries table can grow */ 2 31 2 current_size fixed bin, /* current size of table (in entries) */ 2 32 2 version fixed bin, /* table version */ 2 33 2 freep fixed bin, /* relptr to begin of free chain */ 2 34 2 n_users fixed bin, /* number of entries actually used */ 2 35 2 project_name char (28), /* name of project */ 2 36 2 project_dir char (64), /* treename of project's directory */ 2 37 2 projfile_version fixed bin, 2 38 2 projentry bit (66*36), 2 39 2 pad3 (5) bit (36) aligned, 2 40 2 reqfile_version fixed bin, 2 41 2 reqentry bit (40*36), 2 42 2 pad4 (9) fixed bin, 2 43 2 sat_version fixed bin, 2 44 2 satentry bit (52*36), /* everything in sat.project from project.at on */ 2 45 2 pad5 (4) bit (36) aligned, 2 46 2 date_reqfile_copied fixed bin (71), 2 47 2 rs_number fixed bin (9) unsigned unaligned, /* rate structure number, easier than looking in satentry */ 2 48 2 pad2l bit (27) unaligned, 2 49 2 pad2 (16) fixed bin, /* make header 256 words long */ 2 50 2 ht_relp fixed bin (18) aligned, /* if nonzero, pdt has hash table at that loc */ 2 51 2 user (1019) aligned, /* the project definition table entries */ 2 52 3 pad (256) bit (36) aligned; /* each entry is 256 words long */ 2 53 2 54 /* The hash table, if there is one, is right after the last user, and is described in hashst.incl.pl1 */ 2 55 2 56 2 57 2 58 dcl 1 user based (pdtep) aligned, /* declaration of a single PDT entry */ 2 59 2 state fixed bin, /* 1 = normal, 2 = deleted 0 = free */ 2 60 2 lock bit (36), /* update lock */ 2 61 2 person_id char (24) aligned, /* login name of user */ 2 62 2 now_in fixed bin, /* count of users logged in on this entry */ 2 63 2 password char (8) aligned, /* password for anonymous user */ 2 64 2 at like user_attributes aligned, /* include user_attributes.incl.pl1 */ 2 65 2 initial_procedure char (64) aligned, /* initproc and subsystem name packed into one string */ 2 66 2 home_dir char (64) aligned, /* user's default working directory */ 2 67 2 bump_grace fixed bin, /* number of minutes he is protected */ 2 68 2 high_ring fixed bin, /* highest ring user may use */ 2 69 2 default_ring fixed bin (17) unal, /* ring user will start in */ 2 70 2 low_ring fixed bin (17) unal, /* lowest ring user may use */ 2 71 2 outer_module char (32), /* outer module used if user is interactive */ 2 72 2 lot_size fixed bin, /* size of linkage offset table */ 2 73 2 kst_size fixed bin, /* size of known segment table */ 2 74 2 cls_size fixed bin, /* size of combined linkage */ 2 75 2 uflags, /* various flags */ 2 76 3 dont_call_init_admin bit (1) unal, /* call overseer direct */ 2 77 3 ip_given bit (1) unal, /* ip_len gives length of initproc packed in initial_procedure */ 2 78 3 ss_given bit (1) unal, /* subsystem name is packed in initial_procedure */ 2 79 3 flagpad bit (33) unal, 2 80 2 ip_len fixed bin (17) unal, /* length of initproc name packed in initial_procedure */ 2 81 2 ss_len fixed bin (17) unal, /* length of subsystem name packed in initial_procedure */ 2 82 2 dollar_limit float bin, 2 83 2 dollar_charge float bin, /* total dollars spent this month */ 2 84 2 shift_limit (0: 7) float bin, 2 85 2 daton fixed bin (71), /* date user added to system */ 2 86 2 datof fixed bin (71), /* date user deleted */ 2 87 2 last_login_time fixed bin (71), /* time of last login */ 2 88 2 last_login_unit char (4), /* terminal id last used */ 2 89 2 last_login_type fixed bin (17) unal, /* terminal type */ 2 90 2 last_login_line_type fixed bin (17) unal, /* terminal line type */ 2 91 2 time_last_bump fixed bin (71), /* for bump-wait */ 2 92 2 last_update fixed bin (71), /* time of last transaction */ 2 93 2 logins fixed bin, /* number of logins */ 2 94 2 crashes fixed bin, /* sessions abnormally terminated */ 2 95 2 interactive (0: 7), /* interactive use, shifts 0-7 */ 2 96 3 charge float bin, /* total dollar charge this shift */ 2 97 3 xxx fixed bin, 2 98 3 cpu fixed bin (71), /* cpu usage in microseconds */ 2 99 3 core fixed bin (71), /* core demand in page-microseconds */ 2 100 3 connect fixed bin (71), /* total console time in microseconds */ 2 101 3 io_ops fixed bin (71), /* total i/o ops on terminal */ 2 102 2 absentee (4), /* absentee use, queues 1-4 */ 2 103 3 charge float bin, /* dollar charge this queue */ 2 104 3 jobs fixed bin, /* number of jobs submitted */ 2 105 3 cpu fixed bin (71), /* total cpu time in microseconds */ 2 106 3 memory fixed bin (71), /* total memory demand */ 2 107 2 iod (4), /* io daemon use, queues 1-4 */ 2 108 3 charge float bin, /* dollar charge this queue */ 2 109 3 pieces fixed bin, /* pieces of output requested */ 2 110 3 pad fixed bin (35), 2 111 3 pages fixed bin (35), /* number of pages output */ 2 112 3 lines fixed bin (71), /* total record count of output */ 2 113 2 devices (16) float bin, /* device charges */ 2 114 2 time_last_reset fixed bin (71), /* time PDT last updated */ 2 115 2 absolute_limit float bin, /* Limit, not reset monthly */ 2 116 2 absolute_spent float bin, /* Spending against this */ 2 117 2 absolute_cutoff fixed bin (71), /* Spending will be reset on this date */ 2 118 2 absolute_increm fixed bin, /* .. time increment code. 0 = don't reset */ 2 119 2 pad_was_authorization bit (72) aligned, 2 120 2 group char (8), /* group for this user (if at.igroup = "1"b) */ 2 121 2 warn_days fixed bin (17) unaligned, /* warn user if less than this many days to cutoff */ 2 122 2 warn_pct fixed bin (17) unaligned, /* warn user if less than this percent of funds left */ 2 123 2 warn_dollars float bin, /* warn user if less than this amount of funds left */ 2 124 2 n_foreground fixed bin (9) unsigned unaligned, /* number of foreground and background processes */ 2 125 2 n_background fixed bin (9) unsigned unaligned, /* that this user has. see limits just below */ 2 126 2 max_foreground fixed bin (9) unsigned unaligned, /* max simultaneous foreground and */ 2 127 2 max_background fixed bin (9) unsigned unaligned, /* background processes that this user can have */ 2 128 2 n_interactive fixed bin (9) unsigned unaligned, /* number of interactive processes that user has */ 2 129 2 n_disconnected fixed bin (9) unsigned unaligned, /* number of disconnected processes that user has */ 2 130 2 pdtupad1 fixed bin (18) unsigned unaligned, 2 131 2 user_warn_days fixed bin (17) unaligned, /* warn user if less than this many days to user cutoff */ 2 132 2 user_warn_pct fixed bin (17) unaligned, /* warn user if less than this percent of user funds left */ 2 133 2 user_warn_dollars float bin, /* warn user if less than this amount of user funds left */ 2 134 2 user_authorization (2) bit (72) aligned, /* range */ 2 135 2 pdtupad (5) fixed bin, 2 136 2 abs_foreground_cpu_limit fixed bin (17) unaligned, /* time limit (sec) on foreground absentee jobs */ 2 137 2 pdir_quota fixed bin (17) unaligned, /* quota to put on user's pdir (0 => use default) */ 2 138 2 chain fixed bin; /* free chain */ 2 139 2 140 /* END INCLUDE FILE ... pdt.incl.pl1 */ 199 200 201 dcl pdtp ptr automatic init (null); /* pdt needs it */ 202 /* BEGIN INCLUDE FILE sys_log_constants.incl.pl1 ... 82-09-24 E. N. Kittlitz */ 4 2 4 3 4 4 /****^ HISTORY COMMENTS: 4 5* 1) change(87-04-22,GDixon), approve(87-06-10,MCR7708), 4 6* audit(87-06-02,Parisek), install(87-08-04,MR12.1-1056): 4 7* Added sl_info structure and associated named constants for use in calling 4 8* sys_log_$general. 4 9* END HISTORY COMMENTS */ 4 10 4 11 4 12 /* format: style4 */ 4 13 4 14 dcl ( 4 15 SL_TYPE_CRASH init (-3), /* type message with banner & kill system */ 4 16 SL_TYPE_BEEP init (-2), /* type message with banner */ 4 17 SL_TYPE init (-1), /* type message */ 4 18 SL_LOG_SILENT init (0), /* log message */ 4 19 SL_LOG init (1), /* log & type message */ 4 20 SL_LOG_BEEP init (2), /* log & type message with banner */ 4 21 SL_LOG_CRASH init (3) /* log & type message with banner & kill system */ 4 22 ) fixed bin internal static options (constant); 4 23 4 24 dcl 1 sl_info aligned automatic, 4 25 2 version char(8), /* structure version */ 4 26 2 arg_list_ptr ptr, /* arg_list with values */ 4 27 2 loc, 4 28 3 (mode, severity, code, caller, data, class, ioa_msg) fixed bin, 4 29 /* These flags control where the corresponding data item is found.*/ 4 30 /* -1: data appears in the corresponding structure element below */ 4 31 /* 0: data is not present anywhere */ 4 32 /* +N: data is Nth item in argument list pointed to by */ 4 33 /* sl_info.arg_list_ptr. Upon return, data copied into */ 4 34 /* corresponding structure element. */ 4 35 /* if data = +N: */ 4 36 /* argN is data_ptr, argN+1 is data_len */ 4 37 /* if ioa_msg = +N: */ 4 38 /* argN+1, ... argLAST are arguments substituted into the */ 4 39 /* ioa_msg control string. The formatted msg is returned. */ 4 40 2 flags, 4 41 3 ioa_msg_is_error_code bit(1) unal, /* ioa_ctl is error code. */ 4 42 3 flags_pad bit(35) unal, 4 43 2 mode fixed bin, /* as-mode, command-mode */ 4 44 2 severity fixed bin, /* error severity */ 4 45 2 code fixed bin(35), /* error table code */ 4 46 2 caller char(65) varying, /* caller refname$entryname*/ 4 47 2 data, /* binary data ptr/length */ 4 48 3 data_ptr ptr, 4 49 3 data_lth fixed bin(21), 4 50 2 class char(10) varying, /* binary data class */ 4 51 2 ioa_msg char(500) varying; /* formatted message text */ 4 52 4 53 /* * * * * * * * * * * * * * * * * * * * * * * * * * */ 4 54 /* */ 4 55 /* If data values (eg, sl_info.caller) are passed in the argument list, */ 4 56 /* their data types should be as shown in the structure above, except that */ 4 57 /* character strings should be char(*) nonvarying. */ 4 58 /* */ 4 59 /* * * * * * * * * * * * * * * * * * * * * * * * * * */ 4 60 4 61 /* value for sl_info.version */ 4 62 dcl SL_INFO_version_1 char (8) int static options(constant) init("sl_info1"); 4 63 4 64 /* values for sl_info.mode */ 4 65 dcl (SL_INFO_as_mode init(1), 4 66 SL_INFO_command_mode init(2)) fixed bin int static options(constant); 4 67 4 68 /* values for sl_info.loc.(severity code caller data class ioa_ctl arg) */ 4 69 dcl (SL_INFO_arg_given_in_structure init(-1), 4 70 SL_INFO_arg_not_given init(0)) fixed bin int static options(constant); 4 71 4 72 4 73 /* * * * * * * * * * * * * * * * * * * * * * * * * * */ 4 74 /* */ 4 75 /* The following static structures are commonly used in the Login Server */ 4 76 /* user control software. */ 4 77 /* */ 4 78 /* * * * * * * * * * * * * * * * * * * * * * * * * * */ 4 79 4 80 /* Syntax: call Abort (severity, code, ioa_ctl, args); */ 4 81 4 82 dcl 1 sl_info_sev_code_msg aligned int static options(constant), 4 83 2 version char(8) init ("sl_info1"), 4 84 2 arg_list_ptr ptr init (null), 4 85 2 loc, 4 86 3 (mode init (-1), 4 87 severity init ( 1), 4 88 code init ( 2), 4 89 caller init (-1), 4 90 data init ( 0), 4 91 class init ( 0), 4 92 ioa_msg init ( 3)) fixed bin, 4 93 2 flags, 4 94 3 ioa_msg_is_error_code bit(1) unal init ("0"b), 4 95 3 flags_pad bit(35) unal init ("0"b), 4 96 2 mode fixed bin init ( 1), 4 97 2 severity fixed bin init ( 0), 4 98 2 code fixed bin(35) init ( 0), 4 99 2 caller char(65) varying init (""), 4 100 2 data, 4 101 3 data_ptr ptr init (null), 4 102 3 data_lth fixed bin(21) init ( 0), 4 103 2 class char(10) varying init (""), 4 104 2 ioa_msg char(500) varying init (""); 4 105 4 106 /* Syntax: call Abort (severity, ioa_ctl, args); */ 4 107 4 108 dcl 1 sl_info_sev_msg aligned int static options(constant), 4 109 2 version char(8) init ("sl_info1"), 4 110 2 arg_list_ptr ptr init (null), 4 111 2 loc, 4 112 3 (mode init (-1), 4 113 severity init ( 1), 4 114 code init ( 0), 4 115 caller init (-1), 4 116 data init ( 0), 4 117 class init ( 0), 4 118 ioa_msg init ( 2)) fixed bin, 4 119 2 flags, 4 120 3 ioa_msg_is_error_code bit(1) unal init ("0"b), 4 121 3 flags_pad bit(35) unal init ("0"b), 4 122 2 mode fixed bin init ( 1), 4 123 2 severity fixed bin init ( 0), 4 124 2 code fixed bin(35) init ( 0), 4 125 2 caller char(65) varying init (""), 4 126 2 data, 4 127 3 data_ptr ptr init (null), 4 128 3 data_lth fixed bin(21) init ( 0), 4 129 2 class char(10) varying init (""), 4 130 2 ioa_msg char(500) varying init (""); 4 131 4 132 /* Syntax: call Abort (severity, ioa_ctl_as_error_code, args); */ 4 133 4 134 dcl 1 sl_info_sev_coded_msg aligned int static options(constant), 4 135 2 version char(8) init ("sl_info1"), 4 136 2 arg_list_ptr ptr init (null), 4 137 2 loc, 4 138 3 (mode init (-1), 4 139 severity init ( 1), 4 140 code init ( 0), 4 141 caller init (-1), 4 142 data init ( 0), 4 143 class init ( 0), 4 144 ioa_msg init ( 2)) fixed bin, 4 145 2 flags, 4 146 3 ioa_msg_is_error_code bit(1) unal init ("1"b), 4 147 3 flags_pad bit(35) unal init ("0"b), 4 148 2 mode fixed bin init ( 1), 4 149 2 severity fixed bin init ( 0), 4 150 2 code fixed bin(35) init ( 0), 4 151 2 caller char(65) varying init (""), 4 152 2 data, 4 153 3 data_ptr ptr init (null), 4 154 3 data_lth fixed bin(21) init ( 0), 4 155 2 class char(10) varying init (""), 4 156 2 ioa_msg char(500) varying init (""); 4 157 4 158 4 159 /* Syntax: call Abort (severity, code, error_return_label, ioa_ctl, args); */ 4 160 4 161 dcl 1 sl_info_sev_code_label_msg aligned int static options(constant), 4 162 2 version char(8) init ("sl_info1"), 4 163 2 arg_list_ptr ptr init (null), 4 164 2 loc, 4 165 3 (mode init (-1), 4 166 severity init ( 1), 4 167 code init ( 2), 4 168 caller init (-1), 4 169 data init ( 0), 4 170 class init ( 0), 4 171 ioa_msg init ( 4)) fixed bin, 4 172 2 flags, 4 173 3 ioa_msg_is_error_code bit(1) unal init ("0"b), 4 174 3 flags_pad bit(35) unal init ("0"b), 4 175 2 mode fixed bin init ( 1), 4 176 2 severity fixed bin init ( 0), 4 177 2 code fixed bin(35) init ( 0), 4 178 2 caller char(65) varying init (""), 4 179 2 data, 4 180 3 data_ptr ptr init (null), 4 181 3 data_lth fixed bin(21) init ( 0), 4 182 2 class char(10) varying init (""), 4 183 2 ioa_msg char(500) varying init (""); 4 184 4 185 /* Syntax: call Log_error (code, ioa_ctl, args); */ 4 186 4 187 dcl 1 sl_info_code_msg aligned int static options(constant), 4 188 2 version char(8) init ("sl_info1"), 4 189 2 arg_list_ptr ptr init (null), 4 190 2 loc, 4 191 3 (mode init (-1), 4 192 severity init (-1), 4 193 code init ( 1), 4 194 caller init (-1), 4 195 data init ( 0), 4 196 class init ( 0), 4 197 ioa_msg init ( 2)) fixed bin, 4 198 2 flags, 4 199 3 ioa_msg_is_error_code bit(1) unal init ("0"b), 4 200 3 flags_pad bit(35) unal init ("0"b), 4 201 2 mode fixed bin init ( 1), 4 202 2 severity fixed bin init ( 0), 4 203 2 code fixed bin(35) init ( 0), 4 204 2 caller char(65) varying init (""), 4 205 2 data, 4 206 3 data_ptr ptr init (null), 4 207 3 data_lth fixed bin(21) init ( 0), 4 208 2 class char(10) varying init (""), 4 209 2 ioa_msg char(500) varying init (""); 4 210 4 211 4 212 /* Syntax: call Trace (ioa_ctl, args); */ 4 213 4 214 dcl 1 sl_info_msg aligned int static options(constant), 4 215 2 version char(8) init ("sl_info1"), 4 216 2 arg_list_ptr ptr init (null), 4 217 2 loc, 4 218 3 (mode init (-1), 4 219 severity init (-1), 4 220 code init ( 0), 4 221 caller init (-1), 4 222 data init ( 0), 4 223 class init ( 0), 4 224 ioa_msg init ( 1)) fixed bin, 4 225 2 flags, 4 226 3 ioa_msg_is_error_code bit(1) unal init ("0"b), 4 227 3 flags_pad bit(35) unal init ("0"b), 4 228 2 mode fixed bin init ( 1), 4 229 2 severity fixed bin init ( 0), 4 230 2 code fixed bin(35) init ( 0), 4 231 2 caller char(65) varying init (""), 4 232 2 data, 4 233 3 data_ptr ptr init (null), 4 234 3 data_lth fixed bin(21) init ( 0), 4 235 2 class char(10) varying init (""), 4 236 2 ioa_msg char(500) varying init (""); 4 237 4 238 /* END INCLUDE FILE sys_log_constants.incl.pl1 */ 202 203 /* BEGIN INCLUDE FILE ... uc_disc_proc_list.incl.pl1 */ 5 2 5 3 5 4 /****^ HISTORY COMMENTS: 5 5* 1) change(86-04-04,Swenson), approve(87-07-13,MCR7737), 5 6* audit(87-05-16,GDixon), install(87-08-04,MR12.1-1056): 5 7* Initial coding. 5 8* 2) change(87-05-16,GDixon), approve(87-07-13,MCR7737), 5 9* audit(87-07-16,Brunelle), install(87-08-04,MR12.1-1056): 5 10* Explicitly declare pad field. 5 11* END HISTORY COMMENTS */ 5 12 5 13 /* format: style4,indattr */ 5 14 5 15 dcl uc_disconnected_process_list_ptr ptr automatic; 5 16 dcl uc_n_disconnected_processes fixed bin automatic; 5 17 dcl 1 uc_disconnected_process_list structure aligned 5 18 based (uc_disconnected_process_list_ptr), 5 19 2 version char (8), 5 20 2 n_disconnected_processes fixed bin, 5 21 2 pad_header fixed bin, 5 22 2 process (uc_n_disconnected_processes refer (uc_disconnected_process_list.n_disconnected_processes)), 5 23 3 utep ptr; 5 24 5 25 dcl UC_DISCONNECTED_PROCESS_LIST_VERSION_1 char (8) initial ("ucdpl001") internal static options (constant); 5 26 5 27 /* END INCLUDE FILE ... uc_disc_proc_list.incl.pl1 */ 5 28 203 204 /* BEGIN INCLUDE FILE ... user_attributes.incl.pl1 TAC 10/79 */ 6 2 6 3 6 4 /****^ HISTORY COMMENTS: 6 5* 1) change(86-12-11,Brunelle), approve(87-07-13,MCR7741), 6 6* audit(87-04-19,GDixon), install(87-08-04,MR12.1-1056): 6 7* Add incl for abs_attributes.incl.pl1 to automatically include absentee 6 8* attribute switches. 6 9* 2) change(87-04-19,GDixon), approve(87-07-13,MCR7741), 6 10* audit(87-07-16,Brunelle), install(87-08-04,MR12.1-1056): 6 11* A) Add USER_ATTRIBUTE_NAMES arrays. attribute_names.incl.pl1 can thereby 6 12* be deleted. 6 13* B) Add constants identifying attributes that can be changed by user at 6 14* login, etc. 6 15* END HISTORY COMMENTS */ 6 16 6 17 6 18 /* Modified 82-01-03 E. N. Kittlitz. to declare a complete level-1 structure */ 6 19 6 20 /* format: style4 */ 6 21 dcl 1 user_attributes aligned based, /* the user user_attributes */ 6 22 (2 administrator bit (1), /* 1 system administrator privileges */ 6 23 2 primary_line bit (1), /* 2 user has primary-line privileges */ 6 24 2 nobump bit (1), /* 2 user cannot be bumped */ 6 25 2 guaranteed_login bit (1), /* 4 user has guaranteed login privileges */ 6 26 2 anonymous bit (1), /* 5 used only in SAT. project may have anon.users */ 6 27 2 nopreempt bit (1), /* 6 used only in PDT. user not preemptable by others 6 28* . of same project (distinct from "nobump") */ 6 29 2 nolist bit (1), /* 7 don't list user on "who" */ 6 30 2 dialok bit (1), /* 8 user may have multiple consoles */ 6 31 2 multip bit (1), /* 9 user may have several processes */ 6 32 2 bumping bit (1), /* 10 in SAT. Can users in project bump each other? */ 6 33 2 brief bit (1), /* 11 no login or logout message */ 6 34 2 vinitproc bit (1), /* 12 user may change initial procedure */ 6 35 2 vhomedir bit (1), /* 13 user may change homedir */ 6 36 2 nostartup bit (1), /* 14 user does not want start_up.ec */ 6 37 2 sb_ok bit (1), /* 15 user may be standby */ 6 38 2 pm_ok bit (1), /* 16 user may be primary */ 6 39 2 eo_ok bit (1), /* 17 user may be edit_only */ 6 40 2 daemon bit (1), /* 18 user may login as daemon */ 6 41 2 vdim bit (1), /* 19 * OBSOLETE * user may change outer mdle */ 6 42 2 no_warning bit (1), /* 20 no warning message */ 6 43 2 igroup bit (1), /* 21 in SAT: this project may give its users individual groups 6 44* . in PDT: this user has an individual load control group */ 6 45 2 save_pdir bit (1), /* 22 save pdir after fatal process error */ 6 46 2 disconnect_ok bit (1), /* 23 ok to save user's disconnected processes */ 6 47 2 save_on_disconnect bit (1), /* 24 save them unless -nosave login arg is given */ 6 48 2 pad bit (12)) unaligned; 6 49 6 50 dcl USER_ATTRIBUTE_NAMES (0:24) char (20) int static options (constant) init 6 51 ("none", /* 0 */ 6 52 "administrator", /* 1 */ 6 53 "primary_line", /* 2 */ 6 54 "nobump", /* 3 */ 6 55 "guaranteed_login", /* 4 */ 6 56 "anonymous", /* 5 */ 6 57 "nopreempt", /* 6 */ 6 58 "nolist", /* 7 */ 6 59 "dialok", /* 8 */ 6 60 "multip", /* 9 */ 6 61 "bumping", /* 10 */ 6 62 "brief", /* 11 */ 6 63 "vinitproc", /* 12 */ 6 64 "vhomedir", /* 13 */ 6 65 "nostartup", /* 14 */ 6 66 "no_secondary", /* 15 */ 6 67 "no_prime", /* 16 */ 6 68 "no_eo", /* 17 */ 6 69 "daemon", /* 18 */ 6 70 "", /* 19 vdim OBSOLETE */ 6 71 "no_warning", /* 20 */ 6 72 "igroup", /* 21 */ 6 73 "save_pdir", /* 22 */ 6 74 "disconnect_ok", /* 23 */ 6 75 "save_on_disconnect"); /* 24 */ 6 76 6 77 dcl ALT_USER_ATTRIBUTE_NAMES (0:24) char (20) int static options (constant) init 6 78 ("null", /* 0 */ 6 79 "admin", /* 1 */ 6 80 "", "", /* 2 - 3 */ 6 81 "guar", /* 4 */ 6 82 "anon", /* 5 */ 6 83 "", "", /* 6 - 7 */ 6 84 "dial", /* 8 */ 6 85 "multi_login", /* 9 */ 6 86 "preempting", /* 10 */ 6 87 "", /* 11 */ 6 88 "v_process_overseer", /* 12 */ 6 89 "v_home_dir", /* 13 */ 6 90 "no_start_up", /* 14 */ 6 91 "no_sec", /* 15 */ 6 92 "no_primary", /* 16 */ 6 93 "no_edit_only", /* 17 */ 6 94 "op_login", /* 18 */ 6 95 "", /* 19 */ 6 96 "nowarn", /* 20 */ 6 97 "", "", "", /* 21 - 23 */ 6 98 "save"); /* 24 */ 6 99 6 100 dcl USER_ATTRIBUTES_always_allowed bit (36) aligned int static 6 101 options(constant) init("000000000010000000010000000000000000"b); 6 102 /* SAT/PDT attributes not needed for user to give (brief, no_warning) */ 6 103 6 104 dcl USER_ATTRIBUTES_default_in_pdt bit (36) aligned int static 6 105 options(constant) init("000000000010000000010000000000000000"b); 6 106 /* PDT value for (brief, no_warning) is default */ 6 107 6 108 dcl USER_ATTRIBUTES_settable_by_user bit (36) aligned int static 6 109 options(constant) init("000100000110010000010000000000000000"b); 6 110 /* user MIGHT set (bump, ns, brief, guar, no_warning) */ 6 111 7 1 /* BEGIN INCLUDE FILE ... user_abs_attributes.incl.pl1 */ 7 2 7 3 /* * * * * * * * * * * * * * * * * * * * * * * * * * */ 7 4 /* */ 7 5 /* This include file describes the attributes of an absentee job. It is */ 7 6 /* used by user_table_entry.incl.pl1, abs_message_format.incl.pl1 */ 7 7 /* and PIT.incl.pl1. */ 7 8 /* */ 7 9 /* * * * * * * * * * * * * * * * * * * * * * * * * * */ 7 10 7 11 /****^ HISTORY COMMENTS: 7 12* 1) change(86-12-08,GDixon), approve(87-07-13,MCR7741), 7 13* audit(87-07-16,Brunelle), install(87-08-04,MR12.1-1056): 7 14* Separated abs_attributes from the request structure 7 15* (abs_message_format.incl.pl1) so that the identical structure could be 7 16* used in the ute structure (user_table_entry.incl.pl1). 7 17* 2) change(87-04-19,GDixon), approve(87-07-13,MCR7741), 7 18* audit(87-07-16,Brunelle), install(87-08-04,MR12.1-1056): 7 19* Added ABS_ATTRIBUTE_NAMES array. 7 20* 3) change(87-11-11,Parisek), approve(88-02-11,MCR7849), 7 21* audit(88-03-22,Lippard), install(88-07-13,MR12.2-1047): 7 22* Added the no_start_up flag. SCP6367 7 23* END HISTORY COMMENTS */ 7 24 7 25 dcl 1 user_abs_attributes aligned based, 7 26 2 restartable bit (1) unaligned, /* 1 if request may be started over from the beginning */ 7 27 2 user_deferred_until_time bit (1) unaligned, /* 1 if request was specified as deferred */ 7 28 2 proxy bit (1) unaligned, /* 1 if request submitted for someone else */ 7 29 2 set_bit_cnt bit (1) unaligned, /* 1 if should set bit count after every write call */ 7 30 2 time_in_gmt bit (1) unaligned, /* 1 if deferred_time is in GMT */ 7 31 2 user_deferred_indefinitely bit (1) unaligned, /* 1 if operator is to say when to run it */ 7 32 2 secondary_ok bit (1) unaligned, /* 1 if ok to log in as secondary foreground user */ 7 33 2 truncate_absout bit (1) unaligned, /* 1 if .absout is to be truncated */ 7 34 2 restarted bit (1) unaligned, /* 1 if job is restarted */ 7 35 2 no_start_up bit (1) unaligned, /* 1 if requested -ns */ 7 36 2 attributes_pad bit (26) unaligned; 7 37 7 38 dcl ABS_ATTRIBUTE_NAMES (10) char (28) varying int static options(constant) init( 7 39 "restartable", 7 40 "user_deferred_until_time", 7 41 "proxy", 7 42 "set_bit_cnt", 7 43 "time_in_gmt", 7 44 "user_deferred_indefinitely", 7 45 "secondary_ok", 7 46 "truncate_absout", 7 47 "restarted", 7 48 "no_start_up"); 7 49 7 50 /* END INCLUDE FILE ... user_abs_attributes.incl.pl1 */ 7 51 6 112 6 113 6 114 /* END INCLUDE FILE ... user_attributes.incl.pl1 */ 204 /* not used, but needed by PL/I */ 205 /* BEGIN INCLUDE FILE ... user_table_entry.incl.pl1 */ 8 2 8 3 /* * * * * * * * * * * * * * * * * * * * * * * * * * */ 8 4 /* */ 8 5 /* This include file requires that the user include */ 8 6 /* user_attributes.incl.pl1 as well. It also includes */ 8 7 /* abs_attributes.incl.pl1 itself. */ 8 8 /* */ 8 9 /* This include file must be included to use absentee_user_table.incl.pl1, */ 8 10 /* answer_table.incl.pl1, and daemon_user_table.incl.pl1. */ 8 11 /* */ 8 12 /* * * * * * * * * * * * * * * * * * * * * * * * * * */ 8 13 8 14 /****^ HISTORY COMMENTS: 8 15* 1) change(81-12-21,Gilcrease), approve(86-03-27,MCR7370), 8 16* audit(86-06-23,Lippard), install(86-06-30,MR12.0-1082): 8 17* This comment for hcom. 8 18* 81-12-21 E. N. Kittlitz. derived from abs_user_tab.incl.pl1, 8 19* anstbl.incl.pl1, and dutbl.incl.pl1. 8 20* 82-01-02 E. N. Kittlitz. user_attributes.incl.pl1 changes 8 21* 84-04-04 BIM added privileged_dial_server and dial_server_ring 8 22* 84-07-12 BIM added min_process_authorization 8 23* 84-12-31 Keith Loepere added pdir_dir_quota 8 24* 85-01-16 by E. Swenson to add ute.session_uid 8 25* 2) change(85-11-16,Swenson), approve(87-07-13,MCR7737), 8 26* audit(87-04-14,GDixon), install(87-08-04,MR12.1-1056): 8 27* Added fields for DSA login server support. 8 28* 3) change(86-03-27,Gilcrease), approve(86-03-27,MCR7370), 8 29* audit(86-06-23,Lippard), install(86-06-30,MR12.0-1082): 8 30* Add truncate_absout and restarted bit for -truncate absout, SCP6297. 8 31* 4) change(86-04-09,Herbst), approve(87-07-13,MCR7697), 8 32* audit(87-04-14,GDixon), install(87-08-04,MR12.1-1056): 8 33* Added disconnection_rel_minutes. 8 34* 5) change(86-12-08,GDixon), approve(87-07-13,MCR7741), 8 35* audit(87-07-16,Brunelle), install(87-08-04,MR12.1-1056): 8 36* Changed structure under ute.abs_attributes to use like structure in 8 37* abs_attributes.incl.pl1. This allows the same attributes to be used 8 38* in abs_message_format.incl.pl1 and pit.incl.pl1 as well as this include 8 39* file. 8 40* 6) change(87-04-14,GDixon), approve(87-07-13,MCR7741), 8 41* audit(87-07-16,Brunelle), install(87-08-04,MR12.1-1056): 8 42* Move constants for ute.pw_flags.mask_ctl from answer_table.incl.pl1. 8 43* 7) change(87-04-16,GDixon), approve(87-07-13,MCR7741), 8 44* audit(87-07-16,Brunelle), install(87-08-04,MR12.1-1056): 8 45* A) Global reorganization to locate things by type of data. 8 46* B) Eliminate ute.uflags.logged_in. 8 47* 8) change(87-05-10,GDixon), approve(87-07-13,MCR7741), 8 48* audit(87-07-16,Brunelle), install(87-08-04,MR12.1-1056): 8 49* A) Reduced overlength person and project fields to proper length. 8 50* B) Adjusted dialed-console section to begin on even word boundary. 8 51* 9) change(87-05-13,GDixon), approve(87-07-13,MCR7741), 8 52* audit(87-07-16,Brunelle), install(87-08-04,MR12.1-1056): 8 53* Add ute.line_type. 8 54* 10) change(87-11-19,Parisek), approve(88-02-11,MCR7849), 8 55* audit(88-02-23,Lippard), install(88-07-13,MR12.2-1047): 8 56* Added the lowest_ring element. Used the upper half of ute.highest_ring 8 57* for the storage. SCP6367 8 58* END HISTORY COMMENTS */ 8 59 8 60 /* format: style4 */ 8 61 8 62 /* * * * * * * * * * * * * * * * * * * * * * * * * * */ 8 63 /* */ 8 64 /* Each of the named sections below defines a type of data. Typing comes */ 8 65 /* from data associated with the ute entry itself, with the person, with */ 8 66 /* login argument data, from the main user of the data (eg, dialup_, */ 8 67 /* load_ctl_, login server). Each section begins on a double-word boundary */ 8 68 /* and is an even number of words long. The total structure is 300 decimal */ 8 69 /* words long. */ 8 70 /* */ 8 71 /* * * * * * * * * * * * * * * * * * * * * * * * * * */ 8 72 8 73 8 74 dcl UTE_version_4 fixed bin internal static options (constant) init (4); 8 75 8 76 dcl utep pointer automatic init (null); 8 77 8 78 dcl 1 ute based (utep) aligned, /* individual entry in one of the user control tables */ 8 79 8 80 /* Variables which give state of this entry */ 8 81 2 active fixed bin, /* state of entry. 0=>free. see dialup_values.incl.pl1 */ 8 82 2 process_type fixed bin, /* 1=interactive, 2=absentee, 3=daemon */ 8 83 2 ute_index fixed bin, /* index of ute in (anstbl autbl dutbl).entry array */ 8 84 2 next_free fixed bin, /* points to previous free entry */ 8 85 8 86 /* Information user gave about person_id associated with this entry. */ 8 87 2 person char (24) unal, /* user's name */ 8 88 2 project char (12) unal, /* project of absentee user */ 8 89 2 tag char (1) unal, /* instance tag - someday will be generated */ 8 90 2 tag_pad bit (27) unal, 8 91 2 anonymous fixed bin, /* 1 if anonymous, otherwise 0 */ 8 92 2 login_flags, /* flags for login data */ 8 93 3 cpw bit (1) unal, /* flag for wish to change password */ 8 94 3 generate_pw bit (1) unal, /* flag meaning -generate_pw (-gpw) was used. */ 8 95 3 special_pw unal, /* dial or slave */ 8 96 4 dial_pw bit (1) unal, /* true if dial -user */ 8 97 4 slave_pw bit (1) unal, /* true if slave -user */ 8 98 3 cdp bit (1) unal, /* flag for wish to change default project */ 8 99 3 cda bit (1) unal, /* flag to change default authorization */ 8 100 3 auth_given bit (1) unal, /* flag to mean -authorization was used. */ 8 101 3 noprint bit (1) unal, /* used at logout. inhibits printing. */ 8 102 3 operator bit (1) unaligned, /* user specified -operator on login command line */ 8 103 3 pw_pad bit (25) unal, /* spare parts */ 8 104 3 mask_ctl bit (2) unal, /* bits controlling pw mask. See constants, below */ 8 105 /* Must remain last in pw_flags so it does not */ 8 106 /* appear in PW_FLAG_VALUES array below. */ 8 107 2 generated_pw char (8) unal, /* user must type this as new password */ 8 108 2 old_password char (8) unal, /* must match user's previous password (value scrambled) */ 8 109 2 process_authorization bit (72), /* access_authorization of this process */ 8 110 8 111 /* Information user gave about process associated with this entry. */ 8 112 2 outer_module char (32) unal, /* Name of console dim */ 8 113 2 home_dir char (64) unal, /* initial home directory */ 8 114 2 init_proc char (64) unal, /* name of login responder */ 8 115 2 ip_len fixed bin (17) unal, /* length of initproc string */ 8 116 2 ss_len fixed bin (17) unal, /* length of subsystem string */ 8 117 2 ur_at like user_attributes aligned, /* bits on means attributes given by user */ 8 118 2 at like user_attributes aligned, /* bits on means attribute is on */ 8 119 2 initial_ring fixed bin, /* ring process will be started in */ 8 120 2 arg_count fixed bin, /* number of arguments to absentee control segment */ 8 121 2 ln_args fixed bin, /* length of string containing arguments */ 8 122 2 arg_lengths_ptr ptr, /* pointer to array of argument lengths */ 8 123 2 args_ptr ptr, /* pointer to arguments to absentee control segment */ 8 124 8 125 /* Most of the following information is relevant only to absentee processes */ 8 126 2 input_seg char (168) unal, /* pathname of absentee control segment */ 8 127 2 output_seg char (168) unal, /* pathname of absentee output file */ 8 128 2 request_id fixed bin (71), /* time request was entered - used as uid of request */ 8 129 2 reservation_id fixed bin (71), /* nonzero if job has a resource reservation */ 8 130 2 message_id bit (72), /* message segment id assoc with absentee request */ 8 131 2 deferred_time fixed bin (71), /* time at which absentee process should be created */ 8 132 2 max_cpu_time fixed bin (35), /* maximum number of seconds this process can run */ 8 133 2 queue fixed bin, /* -1=daemon;0=interactive or foreground;>0=queue no. 8 134* (but see uflags.adjust_abs_q_no). */ 8 135 2 real_queue fixed bin, /* real queue number; ute.queue gets fudged sometimes */ 8 136 2 abs_attributes aligned like user_abs_attributes, /* include abs_attributes.incl.pl1 */ 8 137 2 abs_flags, 8 138 3 abs_run bit (1) unal, /* on if job was started by abs run command */ 8 139 3 notify bit (1) unal, /* on if user wants notification at login and logout */ 8 140 3 abs_flags_pad bit (34) unal, 8 141 2 abs_group char (8) unal, /* original group before load_ctl_ moves it to absentee group */ 8 142 2 sender char (32) unal, /* name of RJE station that job is from */ 8 143 2 proxy_person char (28) unal, /* name of user who actually entered the request, if proxy */ 8 144 2 proxy_project char (9) unal, 8 145 2 proxy_project_pad char (3) unal, 8 146 2 abs_pad fixed bin, 8 147 8 148 /* Information about process actually created */ 8 149 2 proc_id bit (36), /* process id of absentee process */ 8 150 2 session_uid fixed bin (35), /* Unique authentication session id */ 8 151 2 process_authorization_range (2) bit (72) aligned, 8 152 2 audit bit (36), /* audit flags for user */ 8 153 2 lot_size fixed bin, /* Size of linkage offset table */ 8 154 2 kst_size fixed bin, /* Size of process known segment table */ 8 155 2 cls_size fixed bin, /* Size of process combined linkage */ 8 156 2 sus_channel fixed bin (71), /* event channel on which suspended process is blocked */ 8 157 2 lowest_ring fixed bin (17) unal, /* lowest ring permitted */ 8 158 2 highest_ring fixed bin (17) unal, /* highest ring permitted */ 8 159 2 pdir_lvix fixed bin (17) unal, /* index in disk table of lv where pdir is */ 8 160 2 pdir_quota fixed bin (17) unal, /* process directory quota */ 8 161 2 pdir_dir_quota fixed bin (17) unal, /* process directory quota for dirs */ 8 162 2 pdir_pad fixed bin(17) unal, 8 163 2 process_pad fixed bin, 8 164 8 165 /* Information about primary terminal associated with this entry */ 8 166 2 tty_name char (32) unal, /* absentee=>"abs1", etc. daemon=>"bk", etc. */ 8 167 2 terminal_type char (32) unaligned, /* terminal type */ 8 168 2 line_type fixed bin, /* line type */ 8 169 2 tty_id_code char (4) unal, /* "none" for absentee */ 8 170 2 network_connection_type fixed bin, /* see net_event_message.incl.pl1 */ 8 171 2 channel ptr unal, /* points to CDT entry for user, if any */ 8 172 8 173 /* Variables useful for dialed terminals */ 8 174 2 ndialed_consoles fixed bin, /* if master, number of slaves */ 8 175 2 dial_qualifier char (22) unal, /* first argument to dial command */ 8 176 2 dial_server_ring fixed bin (3) unsigned unaligned, /* dial server intends to attach dialing in channels at this ring. */ 8 177 2 dial_server_flags, 8 178 3 registered_dial_server bit (1) unal, /* process is a registered dial server */ 8 179 3 privileged_dial_server bit (1) unal, /* "1"b -> serves range of AIM classes */ 8 180 3 dial_server_flags_pad bit (13) unal, /* fill out the word */ 8 181 2 dial_ev_chn fixed bin (71), /* if master, control event channel */ 8 182 8 183 /* Information about usage/accounting. Device usage meters are in a 8 184* separate segment, "devtab" */ 8 185 2 pdtep ptr, /* ptr to user's pdt entry, where usage meters live */ 8 186 2 cpu_this_process fixed bin (71), /* cpu used so far this process */ 8 187 2 cpu_usage fixed bin (71), /* total cpu time used in this session */ 8 188 2 mem_usage fixed bin (71), /* memory usage for previous processes in session */ 8 189 2 mem_this_process fixed bin (71), /* memory usage at last update */ 8 190 2 last_update_time fixed bin (71), /* time of last account update */ 8 191 2 session_cost float bin, /* dollar cost of session, for printing in logout messages */ 8 192 2 ndevices fixed bin, /* Count of attached devices */ 8 193 2 device_head fixed bin, /* Table index of head of device chain */ 8 194 2 device_tail fixed bin, /* Table index of tail of device chain */ 8 195 2 rs_number fixed bin (6) unsigned unal, /* rate structure number */ 8 196 2 rs_number_pad bit(30) unal, 8 197 2 usage_pad fixed bin, 8 198 8 199 /* Information for dialup_ (control variables). */ 8 200 2 event fixed bin (71), /* event associated with channel or user manager */ 8 201 2 uprojp ptr, /* ptr to user project sat entry */ 8 202 2 login_time fixed bin (71), /* time when absentee user approved by lg_ctl_ */ 8 203 2 cant_bump_until fixed bin (71), /* bump-protection clock */ 8 204 2 recent_fatal_error_time fixed bin (71), /* time of first error in the suspected loop */ 8 205 2 recent_fatal_error_count fixed bin, /* counter to detect fatal process error loops */ 8 206 2 failure_reason fixed bin, /* why login refused 1=lg_ctl, 2=act_ctl, 3=load_ctl */ 8 207 2 count fixed bin, /* counter for logins and dialups */ 8 208 2 n_processes fixed bin, /* number of processes created in this session */ 8 209 2 lock_value fixed bin, /* number of locks set for this entry */ 8 210 2 login_result fixed bin, /* 0=logged in;1=hopeless,hang him up;2=allow another attempt */ 8 211 2 login_code char (8) unal, /* login command from LOGIN line */ 8 212 2 preempted fixed bin, /* if ^= 0 user preempted (never for abs) */ 8 213 2 destroy_flag fixed bin, /* >8 when awaiting destroy */ 8 214 2 logout_type char (4) unal, /* type of logout */ 8 215 2 logout_index fixed bin, /* to save logout handler index while waiting for termsgnl */ 8 216 2 disconnection_rel_minutes fixed bin (17) unal, /* disconnected this many minutes after login_time */ 8 217 2 next_disconnected_ate_index fixed bin (17) unal, /* thread of list of user's disconnected processes */ 8 218 2 work_class fixed bin, /* work class used by priority scheduler */ 8 219 2 group char (8) unal, /* party group identifier */ 8 220 2 whotabx fixed bin, /* index of user's entry in whotab */ 8 221 8 222 2 uflags, /* Miscellaneous flags */ 8 223 3 dont_call_init_admin bit (1) unal, /* Call overseer directly */ 8 224 3 ip_given bit (1) unal, /* user gave an initproc arg on login line */ 8 225 3 ss_given bit (1) unal, /* initial_procedure contains a subsystem name */ 8 226 3 lvs_attached bit (1) unal, /* set and used by the lv_request_ procedure */ 8 227 3 send_initial_string bit (1) unal, /* initial string should be sent after login line read */ 8 228 3 adjust_abs_q_no bit (1) unal, /* this is an absentee job; user_profile.queue is NOT true Q # */ 8 229 3 foreground_secondary_ok bit (1) unal, /* ok to login foreground absentee job as secondary */ 8 230 3 foreground_job bit (1) unal, /* job was originally from foreground queue */ 8 231 3 sus_sent bit (1) unal, /* sus_ ips signal has been sent to process */ 8 232 3 suspended bit (1) unal, /* process has responded to sus_ signal */ 8 233 3 ignore_cpulimit bit (1) unal, /* process is released, but timer can't be turned off */ 8 234 3 deferral_logged bit (1) unal, /* abs job deferral has already been logged once */ 8 235 3 save_if_disconnected bit (1) unal, /* user wants process preserved across hangups */ 8 236 3 disconnected bit (1) unal, /* process is disconnected from terminal */ 8 237 3 disconnected_list bit (1) unal, /* this ate is on a list of disconnected processes */ 8 238 3 proc_create_ok bit (1) unal, /* lg_ctl_ has set the process creation variables */ 8 239 3 activity_can_unbump bit (1) unal, /* only bump pending is for inactivity */ 8 240 3 fpe_causes_logout bit (1) unal, /* "1"b means don't try to new_proc after fatal process error */ 8 241 3 user_specified_immediate bit (1) unal, /* "1"b -> don't wait around for process destruction. */ 8 242 3 uflags_pad bit (17) unal, 8 243 8 244 /* Information used by load_ctl_ for the process */ 8 245 2 user_weight fixed bin, /* usually 10 - used in load control */ 8 246 2 standby_line fixed bin, /* 0=user has primary line, 1=standby user */ 8 247 2 bump_grace fixed bin (71), /* bump grace in microseconds */ 8 248 8 249 8 250 /* Information for login server */ 8 251 2 login_server_info, 8 252 3 our_handle bit (72) aligned, /* how LS refers to us. */ 8 253 3 his_handle bit (72) aligned, /* how we talk to LS */ 8 254 3 termination_event_channel fixed bin (71), /* for process termination notifications to the LS */ 8 255 3 response_event_channel fixed bin (71), /* for other communications with the LS */ 8 256 3 process_id bit (36) aligned, /* process_id of login server */ 8 257 2 ls_pad (5) fixed bin; /* pad to 300 decimal words */ 8 258 8 259 /* values for ute.process_type */ 8 260 8 261 dcl (PT_INTERACTIVE initial (1), 8 262 PT_ABSENTEE initial (2), 8 263 PT_DAEMON initial (3)) fixed bin internal static options (constant); 8 264 8 265 dcl PROCESS_TYPE_NAMES (0:3) char(12) varying int static options(constant) init( 8 266 "INVALID-TYPE", 8 267 "interactive", 8 268 "absentee", 8 269 "daemon"); 8 270 8 271 dcl TABLE_NAMES (0:3) char(20) int static options(constant) init( 8 272 "UNKNOWN-TABLE", 8 273 "answer_table", 8 274 "absentee_user_table", 8 275 "daemon_user_table"); 8 276 8 277 8 278 /* values for ute.pw_flags.mask_ctl */ 8 279 8 280 dcl (DO_MASK init ("00"b), 8 281 DONT_MASK init ("01"b), 8 282 DERIVE_MASK init ("10"b)) bit (2) internal static options (constant); 8 283 8 284 dcl MASK_CTL_NAMES (0:3) char(12) varying int static options(constant) init( 8 285 "do_mask", "dont_mask", "derive_mask", ""); 8 286 8 287 8 288 /* names for ute.pw_flags */ 8 289 8 290 dcl PW_FLAG_NAMES (9) char (12) varying int static options(constant) init( 8 291 "cpw", 8 292 "generate_pw", 8 293 "dial_pw", 8 294 "slave_pw", 8 295 "cdp", 8 296 "cda", 8 297 "auth_given", 8 298 "noprint", 8 299 "operator"); 8 300 8 301 /* names for ute.uflags */ 8 302 8 303 dcl UFLAG_NAMES (19) char (24) varying int static options (constant) init ( 8 304 "dont_call_init_admin", 8 305 "ip_given", 8 306 "ss_given", 8 307 "lvs_attached", 8 308 "send_initial_string", 8 309 "adjust_abs_q_no", 8 310 "foreground_secondary_ok", 8 311 "foreground_job", 8 312 "sus_sent", 8 313 "suspended", 8 314 "ignore_cpulimit", 8 315 "deferral_logged", 8 316 "save_if_disconnected", 8 317 "disconnected", 8 318 "disconnected_list", 8 319 "proc_create_ok", 8 320 "activity_can_unbump", 8 321 "fpe_causes_logout", 8 322 "user_specified_immediate"); 8 323 8 324 /* names for ute.abs_flags */ 8 325 8 326 dcl ABS_FLAG_NAMES (2) char (8) varying int static options (constant) init ( 8 327 "abs_run", 8 328 "notify"); 8 329 8 330 /* names of ute.dial_server_flags */ 8 331 8 332 dcl DIAL_SERVER_FLAG_NAMES (2) char (12) varying int static options (constant) init ( 8 333 "registered", 8 334 "privileged"); 8 335 8 336 /* values of ute.login_result */ 8 337 8 338 dcl LOGIN_RESULT_VALUES (0:2) char(24) varying int static options(constant) init( 8 339 "logged in", 8 340 "login failed, hangup", 8 341 "login failed, try again"); 8 342 8 343 /* END INCLUDE FILE ... user_table_entry.incl.pl1 */ 205 206 207 end uc_ls_list_request_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 07/13/88 0938.3 uc_ls_list_request_.pl1 >special_ldd>install>MR12.2-1047>uc_ls_list_request_.pl1 198 1 08/06/87 0913.4 login_server_messages.incl.pl1 >ldd>include>login_server_messages.incl.pl1 199 2 09/13/84 0921.6 pdt.incl.pl1 >ldd>include>pdt.incl.pl1 2-29 3 04/21/82 1211.8 author.incl.pl1 >ldd>include>author.incl.pl1 202 4 08/06/87 0913.5 sys_log_constants.incl.pl1 >ldd>include>sys_log_constants.incl.pl1 203 5 08/06/87 0913.5 uc_disc_proc_list.incl.pl1 >ldd>include>uc_disc_proc_list.incl.pl1 204 6 08/06/87 0913.6 user_attributes.incl.pl1 >ldd>include>user_attributes.incl.pl1 6-112 7 07/13/88 0900.1 user_abs_attributes.incl.pl1 >special_ldd>install>MR12.2-1047>user_abs_attributes.incl.pl1 205 8 07/13/88 0903.2 user_table_entry.incl.pl1 >special_ldd>install>MR12.2-1047>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. LOGIN_SERVER_LIST_RESPONSE_VERSION_1 000250 constant char(8) initial packed unaligned dcl 1-360 ref 142 LS_LIST_RESPONSE constant fixed bin(17,0) initial dcl 1-228 ref 141 ME 000252 constant char(19) initial packed unaligned dcl 92 ref 190 P_code parameter fixed bin(35,0) dcl 60 set ref 45 168* P_ls_ipc_reply_ptr parameter pointer dcl 59 ref 45 P_ls_request_lth parameter fixed bin(18,0) dcl 56 ref 45 P_ls_request_ptr parameter pointer dcl 55 ref 45 107 P_ls_request_server_info_ptr parameter pointer dcl 53 ref 45 P_ls_response_lth parameter fixed bin(18,0) dcl 58 set ref 45 167* P_ls_response_ptr parameter pointer dcl 57 ref 45 108 SL_LOG_SILENT constant fixed bin(17,0) initial dcl 4-14 ref 189 access_class_range 24 based bit(72) array level 4 dcl 1-347 set ref 157* addr builtin function dcl 96 ref 191 191 arg_list_ptr 2 000120 automatic pointer level 2 dcl 4-24 set ref 188* authorization 10 based bit(72) array level 3 dcl 1-347 set ref 147* caller 17 000120 automatic varying char(65) level 2 dcl 4-24 set ref 190* cleanup 000102 stack reference condition dcl 102 ref 116 code 000100 automatic fixed bin(35,0) dcl 64 in procedure "uc_ls_list_request_" set ref 110* 168 192* code 16 000120 automatic fixed bin(35,0) level 2 in structure "sl_info" dcl 4-24 in procedure "uc_ls_list_request_" set ref 192 connection_info 14 based structure array level 3 dcl 1-347 connection_name 14 based char(32) array level 4 dcl 1-347 set ref 153* creation_time 6 based fixed bin(71,0) array level 3 dcl 1-347 set ref 146* cu_$arg_list_ptr 000022 constant entry external dcl 184 ref 188 currentsize builtin function dcl 96 ref 167 default_ring 56 based fixed bin(17,0) level 2 packed packed unaligned dcl 2-58 ref 149 error_table_$id_not_found 000020 external static fixed bin(35,0) dcl 77 set ref 124* get_system_free_area_ 000012 constant entry external dcl 69 ref 112 handle 40 based bit(72) level 2 dcl 1-156 set ref 122* 124* header based structure level 2 dcl 1-347 i 000101 automatic fixed bin(17,0) dcl 65 set ref 144* 145 146 147 149 152 153 157 158 159 160* initial_ring 101 based fixed bin(17,0) level 2 in structure "ute" dcl 8-78 in procedure "uc_ls_list_request_" ref 149 149 initial_ring 12 based fixed bin(17,0) array level 3 in structure "login_server_list_response" dcl 1-347 in procedure "uc_ls_list_request_" set ref 149* 152* line_type 41 based fixed bin(17,0) array level 4 in structure "login_server_list_response" dcl 1-347 in procedure "uc_ls_list_request_" set ref 160* line_type 336 based fixed bin(17,0) level 2 in structure "ute" dcl 8-78 in procedure "uc_ls_list_request_" ref 160 login_server_list_request based structure level 1 dcl 1-156 login_server_list_response based structure level 1 dcl 1-347 set ref 140* 167 login_server_list_response_n_processes 000114 automatic fixed bin(17,0) dcl 1-358 set ref 133* 136* 143 144 login_server_response_header based structure level 1 dcl 1-258 login_time 402 based fixed bin(71,0) level 2 dcl 8-78 ref 146 ls_request_header based structure level 1 dcl 1-54 ls_request_ptr 000110 automatic pointer dcl 1-50 set ref 107* 122 124 ls_response_ptr 000112 automatic pointer dcl 1-254 set ref 108* 140 141 142 143 146 147 149 152 153 157 158 159 160 167 message_type based fixed bin(17,0) level 3 dcl 1-347 set ref 141* n_disconnected_processes 2 based fixed bin(17,0) level 2 dcl 5-17 ref 118 136 164 n_processes 4 based fixed bin(17,0) level 2 dcl 1-347 set ref 140 143* 167 null builtin function dcl 96 ref 112 115 124 133 163 165 201 8-76 118 pdtep 354 based pointer level 2 dcl 8-78 ref 149 pdtp 000116 automatic pointer initial dcl 201 set ref 201* process 4 based structure array level 2 dcl 5-17 process_authorization 24 based bit(72) level 2 dcl 8-78 ref 147 process_info 6 based structure array level 2 dcl 1-347 severity 15 000120 automatic fixed bin(17,0) level 2 dcl 4-24 set ref 189* sl_info 000120 automatic structure level 1 dcl 4-24 set ref 187* 191 191 sl_info_code_msg 000000 constant structure level 1 dcl 4-187 ref 187 sys_log_$general 000024 constant entry external dcl 185 ref 191 system_area based area(1024) dcl 82 ref 118 164 system_area_ptr 000010 internal static pointer initial dcl 87 set ref 112 112* 118 130* 164 terminal_id 40 based char(4) array level 4 dcl 1-347 set ref 159* terminal_type 326 based char(32) level 2 in structure "ute" packed packed unaligned dcl 8-78 in procedure "uc_ls_list_request_" ref 158 terminal_type 30 based char(32) array level 4 in structure "login_server_list_response" dcl 1-347 in procedure "uc_ls_list_request_" set ref 158* tty_id_code 337 based char(4) level 2 packed packed unaligned dcl 8-78 ref 159 tty_name 316 based char(32) level 2 packed packed unaligned dcl 8-78 ref 153 uc_disconnected_process_list based structure level 1 dcl 5-17 ref 118 164 uc_disconnected_process_list_ptr 000370 automatic pointer dcl 5-15 set ref 115* 118 118 130* 133 136 145 163 164 165* uc_list_disconnected_procs_ 000014 constant entry external dcl 70 ref 130 unspec builtin function dcl 96 set ref 140* user based structure level 1 dcl 2-58 user_abs_attributes based structure level 1 dcl 7-25 user_attributes based structure level 1 dcl 6-21 user_connection_info based structure level 1 dcl 1-65 user_table_mgr_$utep_from_handle 000016 constant entry external dcl 72 ref 122 ute based structure level 1 dcl 8-78 utep 000372 automatic pointer initial dcl 8-76 in procedure "uc_ls_list_request_" set ref 122* 124 130* 145* 146 147 149 149 149 153 158 159 160 8-76* utep 4 based pointer array level 3 in structure "uc_disconnected_process_list" dcl 5-17 in procedure "uc_ls_list_request_" ref 145 version 2 based char(8) level 3 dcl 1-347 set ref 142* NAMES DECLARED BY DECLARE STATEMENT AND NEVER REFERENCED. ABS_ATTRIBUTE_NAMES internal static varying char(28) initial array dcl 7-38 ABS_FLAG_NAMES internal static varying char(8) initial array dcl 8-326 ALT_USER_ATTRIBUTE_NAMES internal static char(20) initial array packed unaligned dcl 6-77 CONNECT_REQ internal static fixed bin(17,0) initial dcl 1-457 CREATE_REQ internal static fixed bin(17,0) initial dcl 1-457 DERIVE_MASK internal static bit(2) initial packed unaligned dcl 8-280 DESTROY_REQ internal static fixed bin(17,0) initial dcl 1-457 DIAL_SERVER_FLAG_NAMES internal static varying char(12) initial array dcl 8-332 DONT_MASK internal static bit(2) initial packed unaligned dcl 8-280 DO_MASK internal static bit(2) initial packed unaligned dcl 8-280 ENTERP_REQ internal static fixed bin(17,0) initial dcl 1-457 ENTER_REQ internal static fixed bin(17,0) initial dcl 1-457 LIST_REQ internal static fixed bin(17,0) initial dcl 1-457 LOGIN_REQ internal static fixed bin(17,0) initial dcl 1-457 LOGIN_RESULT_VALUES internal static varying char(24) initial array dcl 8-338 LOGIN_SERVER_DIAL_RESPONSE_VERSION_1 internal static char(8) initial packed unaligned dcl 1-378 LOGIN_SERVER_NEW_PROC_RESPONSE_VERSION_1 internal static char(8) initial packed unaligned dcl 1-420 LOGIN_SERVER_OPERATOR_REQUEST_VERSION_1 internal static char(8) initial packed unaligned dcl 1-222 LOGIN_SERVER_OPERATOR_RESPONSE_VERSION_1 internal static char(8) initial packed unaligned dcl 1-438 LOGIN_SERVER_PROCESS_RESPONSE_VERSION_1 internal static char(8) initial packed unaligned dcl 1-341 LOGIN_SERVER_TERMINATION_RESPONSE_VERSION_1 internal static char(8) initial packed unaligned dcl 1-407 LS_DIAL_REQUEST internal static fixed bin(17,0) initial dcl 1-31 LS_DIAL_REQUEST_VERSION_1 internal static char(8) initial packed unaligned dcl 1-180 LS_DIAL_RESPONSE internal static fixed bin(17,0) initial dcl 1-228 LS_DISCONNECT_REQUEST internal static fixed bin(17,0) initial dcl 1-31 LS_DISCONNECT_REQUEST_VERSION_1 internal static char(8) initial packed unaligned dcl 1-193 LS_LIST_REQUEST internal static fixed bin(17,0) initial dcl 1-31 LS_LIST_REQUEST_VERSION_1 internal static char(8) initial packed unaligned dcl 1-160 LS_LOGOUT_REQUEST internal static fixed bin(17,0) initial dcl 1-31 LS_LOGOUT_REQUEST_VERSION_1 internal static char(8) initial packed unaligned dcl 1-203 LS_NEW_PROC_RESPONSE internal static fixed bin(17,0) initial dcl 1-228 LS_OPERATOR_REQUEST internal static fixed bin(17,0) initial dcl 1-31 LS_OPERATOR_RESPONSE internal static fixed bin(17,0) initial dcl 1-228 LS_PROCESS_REQUEST internal static fixed bin(17,0) initial dcl 1-31 LS_PROCESS_REQUEST_VERSION_1 internal static char(8) initial packed unaligned dcl 1-150 LS_PROCESS_RESPONSE internal static fixed bin(17,0) initial dcl 1-228 LS_REQUEST_HEADER_VERSION_1 internal static char(8) initial packed unaligned dcl 1-63 LS_REQUEST_TYPES internal static char(10) initial array packed unaligned dcl 1-40 LS_RESPONSE_TYPES internal static char(10) initial array packed unaligned dcl 1-238 LS_TERMINATION_RESPONSE internal static fixed bin(17,0) initial dcl 1-228 LS_UNKNOWN_RESPONSE internal static fixed bin(17,0) initial dcl 1-228 LS_VALIDATE_REQUEST internal static fixed bin(17,0) initial dcl 1-31 LS_VALIDATE_REQUEST_VERSION_1 internal static char(8) initial packed unaligned dcl 1-97 LS_VALIDATE_RESPONSE internal static fixed bin(17,0) initial dcl 1-228 LS_VALIDATE_RESPONSE_VERSION_1 internal static char(8) initial packed unaligned dcl 1-297 MASK_CTL_NAMES internal static varying char(12) initial array dcl 8-284 NETWORK_CONNECTION_DSA_FILE_TRANSFER internal static fixed bin(17,0) initial dcl 1-471 NETWORK_CONNECTION_LOGIN internal static fixed bin(17,0) initial dcl 1-471 NEW_PROC_REQ internal static fixed bin(17,0) initial dcl 1-457 PDT_entry_lth internal static fixed bin(17,0) initial dcl 2-19 PDT_header_lth internal static fixed bin(17,0) initial dcl 2-19 PDT_person_id_length internal static fixed bin(17,0) initial dcl 2-19 PDT_project_name_length internal static fixed bin(17,0) initial dcl 2-19 PDT_version internal static fixed bin(17,0) initial dcl 2-19 PROCESS_TYPE_NAMES internal static varying char(12) initial array dcl 8-265 PT_ABSENTEE internal static fixed bin(17,0) initial dcl 8-261 PT_DAEMON internal static fixed bin(17,0) initial dcl 8-261 PT_INTERACTIVE internal static fixed bin(17,0) initial dcl 8-261 PW_FLAG_NAMES internal static varying char(12) initial array dcl 8-290 SL_INFO_arg_given_in_structure internal static fixed bin(17,0) initial dcl 4-69 SL_INFO_arg_not_given internal static fixed bin(17,0) initial dcl 4-69 SL_INFO_as_mode internal static fixed bin(17,0) initial dcl 4-65 SL_INFO_command_mode internal static fixed bin(17,0) initial dcl 4-65 SL_INFO_version_1 internal static char(8) initial packed unaligned dcl 4-62 SL_LOG internal static fixed bin(17,0) initial dcl 4-14 SL_LOG_BEEP internal static fixed bin(17,0) initial dcl 4-14 SL_LOG_CRASH internal static fixed bin(17,0) initial dcl 4-14 SL_TYPE internal static fixed bin(17,0) initial dcl 4-14 SL_TYPE_BEEP internal static fixed bin(17,0) initial dcl 4-14 SL_TYPE_CRASH internal static fixed bin(17,0) initial dcl 4-14 TABLE_NAMES internal static char(20) initial array packed unaligned dcl 8-271 UC_DISCONNECTED_PROCESS_LIST_VERSION_1 internal static char(8) initial packed unaligned dcl 5-25 UFLAG_NAMES internal static varying char(24) initial array dcl 8-303 USER_ATTRIBUTES_always_allowed internal static bit(36) initial dcl 6-100 USER_ATTRIBUTES_default_in_pdt internal static bit(36) initial dcl 6-104 USER_ATTRIBUTES_settable_by_user internal static bit(36) initial dcl 6-108 USER_ATTRIBUTE_NAMES internal static char(20) initial array packed unaligned dcl 6-50 UTE_version_4 internal static fixed bin(17,0) initial dcl 8-74 login_server_dial_request based structure level 1 dcl 1-170 login_server_dial_response based structure level 1 dcl 1-366 login_server_disconnect_request based structure level 1 dcl 1-188 login_server_logout_request based structure level 1 dcl 1-199 login_server_new_proc_response based structure level 1 dcl 1-414 login_server_operator_request based structure level 1 dcl 1-214 login_server_operator_response based structure level 1 dcl 1-426 login_server_process_request based structure level 1 dcl 1-103 login_server_process_response based structure level 1 dcl 1-303 login_server_termination_response based structure level 1 dcl 1-385 login_server_validate_request based structure level 1 dcl 1-76 login_server_validate_response based structure level 1 dcl 1-267 ls_process_request_arg_string_length automatic fixed bin(21,0) dcl 1-148 ls_process_request_n_args automatic fixed bin(17,0) dcl 1-147 ls_process_response_accounting_message_length automatic fixed bin(17,0) dcl 1-339 ls_reply_message based structure level 1 dcl 1-445 ls_reply_message_ptr automatic pointer dcl 1-443 pdt based structure level 1 dcl 2-27 sl_info_msg internal static structure level 1 dcl 4-214 sl_info_sev_code_label_msg internal static structure level 1 dcl 4-161 sl_info_sev_code_msg internal static structure level 1 dcl 4-82 sl_info_sev_coded_msg internal static structure level 1 dcl 4-134 sl_info_sev_msg internal static structure level 1 dcl 4-108 uc_n_disconnected_processes automatic fixed bin(17,0) dcl 5-16 NAMES DECLARED BY EXPLICIT CONTEXT. Abort 000640 constant entry internal dcl 181 ref 124 RETURN 000633 constant label dcl 168 ref 193 uc_ls_list_request_ 000315 constant entry external dcl 45 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 1042 1070 706 1052 Length 1444 706 26 337 133 2 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME uc_ls_list_request_ 295 external procedure is an external procedure. on unit on line 116 64 on unit Abort 70 internal procedure is declared options(variable). STORAGE FOR INTERNAL STATIC VARIABLES. LOC IDENTIFIER BLOCK NAME 000010 system_area_ptr uc_ls_list_request_ STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME uc_ls_list_request_ 000100 code uc_ls_list_request_ 000101 i uc_ls_list_request_ 000110 ls_request_ptr uc_ls_list_request_ 000112 ls_response_ptr uc_ls_list_request_ 000114 login_server_list_response_n_processes uc_ls_list_request_ 000116 pdtp uc_ls_list_request_ 000120 sl_info uc_ls_list_request_ 000370 uc_disconnected_process_list_ptr uc_ls_list_request_ 000372 utep uc_ls_list_request_ THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. call_ext_out call_int_this_desc return_mac tra_ext_1 enable_op ext_entry int_entry op_freen_ THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. cu_$arg_list_ptr get_system_free_area_ sys_log_$general uc_list_disconnected_procs_ user_table_mgr_$utep_from_handle THE FOLLOWING EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. error_table_$id_not_found LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 45 000307 201 000322 8 76 000324 107 000325 108 000331 110 000334 112 000335 115 000346 116 000350 118 000364 120 000377 122 000400 124 000412 130 000443 133 000456 136 000464 140 000467 141 000501 142 000503 143 000506 144 000510 145 000517 146 000523 147 000531 149 000535 152 000546 153 000547 157 000553 158 000575 159 000603 160 000605 161 000607 163 000611 164 000615 165 000623 167 000625 168 000633 170 000636 181 000637 187 000645 188 000651 189 000657 190 000662 191 000667 192 000700 193 000703 ----------------------------------------------------------- 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