blob: 3a1ae2b75f05bbb47e3ee73d4703c29478c4afa6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
|
#ifndef _ASM_PARISC_UNISTD_H_
#define _ASM_PARISC_UNISTD_H_
/*
* This file contains the system call numbers.
*/
/*
* HP-UX system calls get their native numbers for binary compatibility.
*/
#define __NR_HPUX_exit 1
#define __NR_HPUX_fork 2
#define __NR_HPUX_read 3
#define __NR_HPUX_write 4
#define __NR_HPUX_open 5
#define __NR_HPUX_close 6
#define __NR_HPUX_wait 7
#define __NR_HPUX_creat 8
#define __NR_HPUX_link 9
#define __NR_HPUX_unlink 10
#define __NR_HPUX_execv 11
#define __NR_HPUX_chdir 12
#define __NR_HPUX_time 13
#define __NR_HPUX_mknod 14
#define __NR_HPUX_chmod 15
#define __NR_HPUX_chown 16
#define __NR_HPUX_break 17
#define __NR_HPUX_lchmod 18
#define __NR_HPUX_lseek 19
#define __NR_HPUX_getpid 20
#define __NR_HPUX_mount 21
#define __NR_HPUX_umount 22
#define __NR_HPUX_setuid 23
#define __NR_HPUX_getuid 24
#define __NR_HPUX_stime 25
#define __NR_HPUX_ptrace 26
#define __NR_HPUX_alarm 27
#define __NR_HPUX_oldfstat 28
#define __NR_HPUX_pause 29
#define __NR_HPUX_utime 30
#define __NR_HPUX_stty 31
#define __NR_HPUX_gtty 32
#define __NR_HPUX_access 33
#define __NR_HPUX_nice 34
#define __NR_HPUX_ftime 35
#define __NR_HPUX_sync 36
#define __NR_HPUX_kill 37
#define __NR_HPUX_stat 38
#define __NR_HPUX_setpgrp3 39
#define __NR_HPUX_lstat 40
#define __NR_HPUX_dup 41
#define __NR_HPUX_pipe 42
#define __NR_HPUX_times 43
#define __NR_HPUX_profil 44
#define __NR_HPUX_ki_call 45
#define __NR_HPUX_setgid 46
#define __NR_HPUX_getgid 47
#define __NR_HPUX_sigsys 48
#define __NR_HPUX_reserved1 49
#define __NR_HPUX_reserved2 50
#define __NR_HPUX_acct 51
#define __NR_HPUX_set_userthreadid 52
#define __NR_HPUX_oldlock 53
#define __NR_HPUX_ioctl 54
#define __NR_HPUX_reboot 55
#define __NR_HPUX_symlink 56
#define __NR_HPUX_utssys 57
#define __NR_HPUX_readlink 58
#define __NR_HPUX_execve 59
#define __NR_HPUX_umask 60
#define __NR_HPUX_chroot 61
#define __NR_HPUX_fcntl 62
#define __NR_HPUX_ulimit 63
#define __NR_HPUX_getpagesize 64
#define __NR_HPUX_mremap 65
#define __NR_HPUX_vfork 66
#define __NR_HPUX_vread 67
#define __NR_HPUX_vwrite 68
#define __NR_HPUX_sbrk 69
#define __NR_HPUX_sstk 70
#define __NR_HPUX_mmap 71
#define __NR_HPUX_vadvise 72
#define __NR_HPUX_munmap 73
#define __NR_HPUX_mprotect 74
#define __NR_HPUX_madvise 75
#define __NR_HPUX_vhangup 76
#define __NR_HPUX_swapoff 77
#define __NR_HPUX_mincore 78
#define __NR_HPUX_getgroups 79
#define __NR_HPUX_setgroups 80
#define __NR_HPUX_getpgrp2 81
#define __NR_HPUX_setpgrp2 82
#define __NR_HPUX_setitimer 83
#define __NR_HPUX_wait3 84
#define __NR_HPUX_swapon 85
#define __NR_HPUX_getitimer 86
#define __NR_HPUX_gethostname42 87
#define __NR_HPUX_sethostname42 88
#define __NR_HPUX_getdtablesize 89
#define __NR_HPUX_dup2 90
#define __NR_HPUX_getdopt 91
#define __NR_HPUX_fstat 92
#define __NR_HPUX_select 93
#define __NR_HPUX_setdopt 94
#define __NR_HPUX_fsync 95
#define __NR_HPUX_setpriority 96
#define __NR_HPUX_socket_old 97
#define __NR_HPUX_connect_old 98
#define __NR_HPUX_accept_old 99
#define __NR_HPUX_getpriority 100
#define __NR_HPUX_send_old 101
#define __NR_HPUX_recv_old 102
#define __NR_HPUX_socketaddr_old 103
#define __NR_HPUX_bind_old 104
#define __NR_HPUX_setsockopt_old 105
#define __NR_HPUX_listen_old 106
#define __NR_HPUX_vtimes_old 107
#define __NR_HPUX_sigvector 108
#define __NR_HPUX_sigblock 109
#define __NR_HPUX_siggetmask 110
#define __NR_HPUX_sigpause 111
#define __NR_HPUX_sigstack 112
#define __NR_HPUX_recvmsg_old 113
#define __NR_HPUX_sendmsg_old 114
#define __NR_HPUX_vtrace_old 115
#define __NR_HPUX_gettimeofday 116
#define __NR_HPUX_getrusage 117
#define __NR_HPUX_getsockopt_old 118
#define __NR_HPUX_resuba_old 119
#define __NR_HPUX_readv 120
#define __NR_HPUX_writev 121
#define __NR_HPUX_settimeofday 122
#define __NR_HPUX_fchown 123
#define __NR_HPUX_fchmod 124
#define __NR_HPUX_recvfrom_old 125
#define __NR_HPUX_setresuid 126
#define __NR_HPUX_setresgid 127
#define __NR_HPUX_rename 128
#define __NR_HPUX_truncate 129
#define __NR_HPUX_ftruncate 130
#define __NR_HPUX_flock_old 131
#define __NR_HPUX_sysconf 132
#define __NR_HPUX_sendto_old 133
#define __NR_HPUX_shutdown_old 134
#define __NR_HPUX_socketpair_old 135
#define __NR_HPUX_mkdir 136
#define __NR_HPUX_rmdir 137
#define __NR_HPUX_utimes_old 138
#define __NR_HPUX_sigcleanup_old 139
#define __NR_HPUX_setcore 140
#define __NR_HPUX_getpeername_old 141
#define __NR_HPUX_gethostid 142
#define __NR_HPUX_sethostid 143
#define __NR_HPUX_getrlimit 144
#define __NR_HPUX_setrlimit 145
#define __NR_HPUX_killpg_old 146
#define __NR_HPUX_cachectl 147
#define __NR_HPUX_quotactl 148
#define __NR_HPUX_get_sysinfo 149
#define __NR_HPUX_getsockname_old 150
#define __NR_HPUX_privgrp 151
#define __NR_HPUX_rtprio 152
#define __NR_HPUX_plock 153
#define __NR_HPUX_reserved3 154
#define __NR_HPUX_lockf 155
#define __NR_HPUX_semget 156
#define __NR_HPUX_osemctl 157
#define __NR_HPUX_semop 158
#define __NR_HPUX_msgget 159
#define __NR_HPUX_omsgctl 160
#define __NR_HPUX_msgsnd 161
#define __NR_HPUX_msgrecv 162
#define __NR_HPUX_shmget 163
#define __NR_HPUX_oshmctl 164
#define __NR_HPUX_shmat 165
#define __NR_HPUX_shmdt 166
#define __NR_HPUX_m68020_advise 167
/* [168,189] are for Discless/DUX */
#define __NR_HPUX_csp 168
#define __NR_HPUX_cluster 169
#define __NR_HPUX_mkrnod 170
#define __NR_HPUX_test 171
#define __NR_HPUX_unsp_open 172
#define __NR_HPUX_reserved4 173
#define __NR_HPUX_getcontext_old 174
#define __NR_HPUX_osetcontext 175
#define __NR_HPUX_bigio 176
#define __NR_HPUX_pipenode 177
#define __NR_HPUX_lsync 178
#define __NR_HPUX_getmachineid 179
#define __NR_HPUX_cnodeid 180
#define __NR_HPUX_cnodes 181
#define __NR_HPUX_swapclients 182
#define __NR_HPUX_rmt_process 183
#define __NR_HPUX_dskless_stats 184
#define __NR_HPUX_sigprocmask 185
#define __NR_HPUX_sigpending 186
#define __NR_HPUX_sigsuspend 187
#define __NR_HPUX_sigaction 188
#define __NR_HPUX_reserved5 189
#define __NR_HPUX_nfssvc 190
#define __NR_HPUX_getfh 191
#define __NR_HPUX_getdomainname 192
#define __NR_HPUX_setdomainname 193
#define __NR_HPUX_async_daemon 194
#define __NR_HPUX_getdirentries 195
#define __NR_HPUX_statfs 196
#define __NR_HPUX_fstatfs 197
#define __NR_HPUX_vfsmount 198
#define __NR_HPUX_reserved6 199
#define __NR_HPUX_waitpid 200
/* 201 - 223 missing */
#define __NR_HPUX_sigsetreturn 224
#define __NR_HPUX_sigsetstatemask 225
/* 226 missing */
#define __NR_HPUX_cs 227
#define __NR_HPUX_cds 228
#define __NR_HPUX_set_no_trunc 229
#define __NR_HPUX_pathconf 230
#define __NR_HPUX_fpathconf 231
/* 232, 233 missing */
#define __NR_HPUX_nfs_fcntl 234
#define __NR_HPUX_ogetacl 235
#define __NR_HPUX_ofgetacl 236
#define __NR_HPUX_osetacl 237
#define __NR_HPUX_ofsetacl 238
#define __NR_HPUX_pstat 239
#define __NR_HPUX_getaudid 240
#define __NR_HPUX_setaudid 241
#define __NR_HPUX_getaudproc 242
#define __NR_HPUX_setaudproc 243
#define __NR_HPUX_getevent 244
#define __NR_HPUX_setevent 245
#define __NR_HPUX_audwrite 246
#define __NR_HPUX_audswitch 247
#define __NR_HPUX_audctl 248
#define __NR_HPUX_ogetaccess 249
#define __NR_HPUX_fsctl 250
/* 251 - 258 missing */
#define __NR_HPUX_swapfs 259
#define __NR_HPUX_fss 260
/* 261 - 266 missing */
#define __NR_HPUX_tsync 267
#define __NR_HPUX_getnumfds 268
#define __NR_HPUX_poll 269
#define __NR_HPUX_getmsg 270
#define __NR_HPUX_putmsg 271
#define __NR_HPUX_fchdir 272
#define __NR_HPUX_getmount_cnt 273
#define __NR_HPUX_getmount_entry 274
#define __NR_HPUX_accept 275
#define __NR_HPUX_bind 276
#define __NR_HPUX_connect 277
#define __NR_HPUX_getpeername 278
#define __NR_HPUX_getsockname 279
#define __NR_HPUX_getsockopt 280
#define __NR_HPUX_listen 281
#define __NR_HPUX_recv 282
#define __NR_HPUX_recvfrom 283
#define __NR_HPUX_recvmsg 284
#define __NR_HPUX_send 285
#define __NR_HPUX_sendmsg 286
#define __NR_HPUX_sendto 287
#define __NR_HPUX_setsockopt 288
#define __NR_HPUX_shutdown 289
#define __NR_HPUX_socket 290
#define __NR_HPUX_socketpair 291
#define __NR_HPUX_proc_open 292
#define __NR_HPUX_proc_close 293
#define __NR_HPUX_proc_send 294
#define __NR_HPUX_proc_recv 295
#define __NR_HPUX_proc_sendrecv 296
#define __NR_HPUX_proc_syscall 297
/* 298 - 311 missing */
#define __NR_HPUX_semctl 312
#define __NR_HPUX_msgctl 313
#define __NR_HPUX_shmctl 314
#define __NR_HPUX_mpctl 315
#define __NR_HPUX_exportfs 316
#define __NR_HPUX_getpmsg 317
#define __NR_HPUX_putpmsg 318
/* 319 missing */
#define __NR_HPUX_msync 320
#define __NR_HPUX_msleep 321
#define __NR_HPUX_mwakeup 322
#define __NR_HPUX_msem_init 323
#define __NR_HPUX_msem_remove 324
#define __NR_HPUX_adjtime 325
#define __NR_HPUX_kload 326
#define __NR_HPUX_fattach 327
#define __NR_HPUX_fdetach 328
#define __NR_HPUX_serialize 329
#define __NR_HPUX_statvfs 330
#define __NR_HPUX_fstatvfs 331
#define __NR_HPUX_lchown 332
#define __NR_HPUX_getsid 333
#define __NR_HPUX_sysfs 334
/* 335, 336 missing */
#define __NR_HPUX_sched_setparam 337
#define __NR_HPUX_sched_getparam 338
#define __NR_HPUX_sched_setscheduler 339
#define __NR_HPUX_sched_getscheduler 340
#define __NR_HPUX_sched_yield 341
#define __NR_HPUX_sched_get_priority_max 342
#define __NR_HPUX_sched_get_priority_min 343
#define __NR_HPUX_sched_rr_get_interval 344
#define __NR_HPUX_clock_settime 345
#define __NR_HPUX_clock_gettime 346
#define __NR_HPUX_clock_getres 347
#define __NR_HPUX_timer_create 348
#define __NR_HPUX_timer_delete 349
#define __NR_HPUX_timer_settime 350
#define __NR_HPUX_timer_gettime 351
#define __NR_HPUX_timer_getoverrun 352
#define __NR_HPUX_nanosleep 353
#define __NR_HPUX_toolbox 354
/* 355 missing */
#define __NR_HPUX_getdents 356
#define __NR_HPUX_getcontext 357
#define __NR_HPUX_sysinfo 358
#define __NR_HPUX_fcntl64 359
#define __NR_HPUX_ftruncate64 360
#define __NR_HPUX_fstat64 361
#define __NR_HPUX_getdirentries64 362
#define __NR_HPUX_getrlimit64 363
#define __NR_HPUX_lockf64 364
#define __NR_HPUX_lseek64 365
#define __NR_HPUX_lstat64 366
#define __NR_HPUX_mmap64 367
#define __NR_HPUX_setrlimit64 368
#define __NR_HPUX_stat64 369
#define __NR_HPUX_truncate64 370
#define __NR_HPUX_ulimit64 371
#define __NR_HPUX_pread 372
#define __NR_HPUX_preadv 373
#define __NR_HPUX_pwrite 374
#define __NR_HPUX_pwritev 375
#define __NR_HPUX_pread64 376
#define __NR_HPUX_preadv64 377
#define __NR_HPUX_pwrite64 378
#define __NR_HPUX_pwritev64 379
#define __NR_HPUX_setcontext 380
#define __NR_HPUX_sigaltstack 381
#define __NR_HPUX_waitid 382
#define __NR_HPUX_setpgrp 383
#define __NR_HPUX_recvmsg2 384
#define __NR_HPUX_sendmsg2 385
#define __NR_HPUX_socket2 386
#define __NR_HPUX_socketpair2 387
#define __NR_HPUX_setregid 388
#define __NR_HPUX_lwp_create 389
#define __NR_HPUX_lwp_terminate 390
#define __NR_HPUX_lwp_wait 391
#define __NR_HPUX_lwp_suspend 392
#define __NR_HPUX_lwp_resume 393
/* 394 missing */
#define __NR_HPUX_lwp_abort_syscall 395
#define __NR_HPUX_lwp_info 396
#define __NR_HPUX_lwp_kill 397
#define __NR_HPUX_ksleep 398
#define __NR_HPUX_kwakeup 399
/* 400 missing */
#define __NR_HPUX_pstat_getlwp 401
#def
|