1# $FreeBSD$ 2LIBTHREAD_1_0 { 3global: 4 ___creat; 5 __accept; 6 __close; 7 __connect; 8 __error; 9 __fcntl; 10 __fsync; 11 __msync; 12 __nanosleep; 13 __open; 14 __poll; 15 __pthread_cond_timedwait; 16 __pthread_cond_wait; 17 __pthread_mutex_init; 18 __pthread_mutex_lock; 19 __pthread_mutex_timedlock; 20 __pthread_mutex_trylock; 21 __read; 22 __readv; 23 __recvfrom; 24 __recvmsg; 25 __select; 26 __sendmsg; 27 __sendto; 28 __sigsuspend; 29 __sigtimedwait; 30 __sigwait; 31 __sigwaitinfo; 32 __wait4; 33 __write; 34 __writev; 35 _aio_suspend; 36 _execve; 37 _fork; 38 _nanosleep; 39 _pause; 40 _pselect; 41 _pthread_atfork; 42 _pthread_barrier_destroy; 43 _pthread_barrier_init; 44 _pthread_barrier_wait; 45 _pthread_barrierattr_destroy; 46 _pthread_barrierattr_getpshared; 47 _pthread_barrierattr_init; 48 _pthread_barrierattr_setpshared; 49 _pthread_attr_destroy; 50 _pthread_attr_get_np; 51 _pthread_attr_getdetachstate; 52 _pthread_attr_getguardsize; 53 _pthread_attr_getinheritsched; 54 _pthread_attr_getschedparam; 55 _pthread_attr_getschedpolicy; 56 _pthread_attr_getscope; 57 _pthread_attr_getstack; 58 _pthread_attr_getstackaddr; 59 _pthread_attr_getstacksize; 60 _pthread_attr_init; 61 _pthread_attr_setcreatesuspend_np; 62 _pthread_attr_setdetachstate; 63 _pthread_attr_setguardsize; 64 _pthread_attr_setinheritsched; 65 _pthread_attr_setschedparam; 66 _pthread_attr_setschedpolicy; 67 _pthread_attr_setscope; 68 _pthread_attr_setstack; 69 _pthread_attr_setstackaddr; 70 _pthread_attr_setstacksize; 71 _pthread_cancel; 72 _pthread_cleanup_pop; 73 _pthread_cleanup_push; 74 _pthread_cond_broadcast; 75 _pthread_cond_destroy; 76 _pthread_cond_init; 77 _pthread_cond_signal; 78 _pthread_cond_timedwait; 79 _pthread_cond_wait; 80 _pthread_condattr_destroy; 81 _pthread_condattr_getclock; 82 _pthread_condattr_getpshared; 83 _pthread_condattr_init; 84 _pthread_condattr_setclock; 85 _pthread_condattr_setpshared; 86 _pthread_create; 87 _pthread_detach; 88 _pthread_equal; 89 _pthread_exit; 90 _pthread_getconcurrency; 91 _pthread_getprio; 92 _pthread_getschedparam; 93 _pthread_getspecific; 94 _pthread_join; 95 _pthread_key_create; 96 _pthread_key_delete; 97 _pthread_kill; 98 _pthread_main_np; 99 _pthread_multi_np; 100 _pthread_mutex_destroy; 101 _pthread_mutex_getprioceiling; 102 _pthread_mutex_init; 103 _pthread_mutex_lock; 104 _pthread_mutex_setprioceiling; 105 _pthread_mutex_timedlock; 106 _pthread_mutex_trylock; 107 _pthread_mutex_unlock; 108 _pthread_mutexattr_destroy; 109 _pthread_mutexattr_getkind_np; 110 _pthread_mutexattr_getprioceiling; 111 _pthread_mutexattr_getprotocol; 112 _pthread_mutexattr_getpshared; 113 _pthread_mutexattr_gettype; 114 _pthread_mutexattr_init; 115 _pthread_mutexattr_setkind_np; 116 _pthread_mutexattr_setprioceiling; 117 _pthread_mutexattr_setprotocol; 118 _pthread_mutexattr_setpshared; 119 _pthread_mutexattr_settype; 120 _pthread_once; 121 _pthread_resume_all_np; 122 _pthread_resume_np; 123 _pthread_rwlock_destroy; 124 _pthread_rwlock_init; 125 _pthread_rwlock_rdlock; 126 _pthread_rwlock_timedrdlock; 127 _pthread_rwlock_timedwrlock; 128 _pthread_rwlock_tryrdlock; 129 _pthread_rwlock_trywrlock; 130 _pthread_rwlock_unlock; 131 _pthread_rwlock_wrlock; 132 _pthread_rwlockattr_destroy; 133 _pthread_rwlockattr_getpshared; 134 _pthread_rwlockattr_init; 135 _pthread_rwlockattr_setpshared; 136 _pthread_self; 137 _pthread_set_name_np; 138 _pthread_setcancelstate; 139 _pthread_setcanceltype; 140 _pthread_setconcurrency; 141 _pthread_setprio; 142 _pthread_setschedparam; 143 _pthread_setspecific; 144 _pthread_sigmask; 145 _pthread_single_np; 146 _pthread_spin_destroy; 147 _pthread_spin_init; 148 _pthread_spin_lock; 149 _pthread_spin_trylock; 150 _pthread_spin_unlock; 151 _pthread_suspend_all_np; 152 _pthread_suspend_np; 153 _pthread_switch_add_np; 154 _pthread_switch_delete_np; 155 _pthread_testcancel; 156 _pthread_timedjoin_np; 157 _pthread_yield; 158 _raise; 159 _sem_destroy; 160 _sem_getvalue; 161 _sem_init; 162 _sem_post; 163 _sem_timedwait; 164 _sem_trywait; 165 _sem_wait; 166 _sigaction; 167 _sigprocmask; 168 _sigsuspend; 169 _sigtimedwait; 170 _sigwait; 171 _sigwaitinfo; 172 _sleep; 173 _spinlock; 174 _spinlock_debug; 175 _spinunlock; 176 _system; 177 _tcdrain; 178 _usleep; 179 _vfork; 180 _wait; 181 _waitpid; 182 accept; 183 aio_suspend; 184 close; 185 connect; 186 creat; 187 execve; 188 fcntl; 189 fork; 190 fsync; 191 msync; 192 nanosleep; 193 open; 194 pause; 195 poll; 196 pselect; 197 pthread_atfork; 198 pthread_barrier_destroy; 199 pthread_barrier_init; 200 pthread_barrier_wait; 201 pthread_barrierattr_destroy; 202 pthread_barrierattr_getpshared; 203 pthread_barrierattr_init; 204 pthread_barrierattr_setpshared; 205 pthread_attr_destroy; 206 pthread_attr_get_np; 207 pthread_attr_getdetachstate; 208 pthread_attr_getguardsize; 209 pthread_attr_getinheritsched; 210 pthread_attr_getschedparam; 211 pthread_attr_getschedpolicy; 212 pthread_attr_getscope; 213 pthread_attr_getstack; 214 pthread_attr_getstackaddr; 215 pthread_attr_getstacksize; 216 pthread_attr_init; 217 pthread_attr_setcreatesuspend_np; 218 pthread_attr_setdetachstate; 219 pthread_attr_setguardsize; 220 pthread_attr_setinheritsched; 221 pthread_attr_setschedparam; 222 pthread_attr_setschedpolicy; 223 pthread_attr_setscope; 224 pthread_attr_setstack; 225 pthread_attr_setstackaddr; 226 pthread_attr_setstacksize; 227 pthread_cancel; 228 pthread_cleanup_pop; 229 pthread_cleanup_push; 230 pthread_cond_broadcast; 231 pthread_cond_destroy; 232 pthread_cond_init; 233 pthread_cond_signal; 234 pthread_cond_timedwait; 235 pthread_cond_wait; 236 pthread_condattr_destroy; 237 pthread_condattr_getclock; 238 pthread_condattr_getpshared; 239 pthread_condattr_init; 240 pthread_condattr_setclock; 241 pthread_condattr_setpshared; 242 pthread_create; 243 pthread_detach; 244 pthread_equal; 245 pthread_exit; 246 pthread_getconcurrency; 247 pthread_getprio; 248 pthread_getschedparam; 249 pthread_getspecific; 250 pthread_join; 251 pthread_key_create; 252 pthread_key_delete; 253 pthread_kill; 254 pthread_main_np; 255 pthread_multi_np; 256 pthread_mutex_destroy; 257 pthread_mutex_getprioceiling; 258 pthread_mutex_init; 259 pthread_mutex_lock; 260 pthread_mutex_setprioceiling; 261 pthread_mutex_timedlock; 262 pthread_mutex_trylock; 263 pthread_mutex_unlock; 264 pthread_mutexattr_destroy; 265 pthread_mutexattr_getkind_np; 266 pthread_mutexattr_getprioceiling; 267 pthread_mutexattr_getpshared; 268 pthread_mutexattr_getprotocol; 269 pthread_mutexattr_gettype; 270 pthread_mutexattr_init; 271 pthread_mutexattr_setkind_np; 272 pthread_mutexattr_setprioceiling; 273 pthread_mutexattr_setprotocol; 274 pthread_mutexattr_setpshared; 275 pthread_mutexattr_settype; 276 pthread_once; 277 pthread_resume_all_np; 278 pthread_resume_np; 279 pthread_rwlock_destroy; 280 pthread_rwlock_init; 281 pthread_rwlock_rdlock; 282 pthread_rwlock_timedrdlock; 283 pthread_rwlock_timedwrlock; 284 pthread_rwlock_tryrdlock; 285 pthread_rwlock_trywrlock; 286 pthread_rwlock_unlock; 287 pthread_rwlock_wrlock; 288 pthread_rwlockattr_destroy; 289 pthread_rwlockattr_getpshared; 290 pthread_rwlockattr_init; 291 pthread_rwlockattr_setpshared; 292 pthread_self; 293 pthread_set_name_np; 294 pthread_setcancelstate; 295 pthread_setcanceltype; 296 pthread_setconcurrency; 297 pthread_setprio; 298 pthread_setschedparam; 299 pthread_setspecific; 300 pthread_sigmask; 301 pthread_single_np; 302 pthread_spin_destroy; 303 pthread_spin_init; 304 pthread_spin_lock; 305 pthread_spin_trylock; 306 pthread_spin_unlock; 307 pthread_suspend_all_np; 308 pthread_suspend_np; 309 pthread_switch_add_np; 310 pthread_switch_delete_np; 311 pthread_testcancel; 312 pthread_timedjoin_np; 313 pthread_yield; 314 raise; 315 read; 316 readv; 317 recvfrom; 318 recvmsg; 319 select; 320 sem_destroy; 321 sem_getvalue; 322 sem_init; 323 sem_post; 324 sem_timedwait; 325 sem_trywait; 326 sem_wait; 327 sendmsg; 328 sendto; 329 sigaction; 330 sigprocmask; 331 sigsuspend; 332 sigwait; 333 sigwaitinfo; 334 sigtimedwait; 335 sleep; 336 system; 337 tcdrain; 338 usleep; 339 vfork; 340 wait; 341 wait4; 342 waitpid; 343 write; 344 writev; 345 346 # Debugger needs these. 347 _libthr_debug; 348 _thread_active_threads; 349 _thread_bp_create; 350 _thread_bp_death; 351 _thread_event_mask; 352 _thread_keytable; 353 _thread_last_event; 354 _thread_list; 355 _thread_max_keys; 356 _thread_off_attr_flags; 357 _thread_off_dtv; 358 _thread_off_event_buf; 359 _thread_off_event_mask; 360 _thread_off_key_allocated; 361 _thread_off_key_destructor; 362 _thread_off_linkmap; 363 _thread_off_next; 364 _thread_off_report_events; 365 _thread_off_state; 366 _thread_off_tcb; 367 _thread_off_tid; 368 _thread_off_tlsindex; 369 _thread_size_key; 370 _thread_state_running; 371 _thread_state_zoombie; 372local: 373 *; 374}; 375 376# 377# Use the same naming scheme as libc. 378# 379FBSD_1.0 { 380global: 381 __error; 382 accept; 383 aio_suspend; 384 close; 385 connect; 386 creat; 387 execve; 388 fcntl; 389 fork; 390 fsync; 391 msync; 392 nanosleep; 393 open; 394 pause; 395 poll; 396 pselect; 397 pthread_atfork; 398 pthread_barrier_destroy; 399 pthread_barrier_init; 400 pthread_barrier_wait; 401 pthread_barrierattr_destroy; 402 pthread_barrierattr_getpshared; 403 pthread_barrierattr_init; 404 pthread_barrierattr_setpshared; 405 pthread_attr_destroy; 406 pthread_attr_get_np; 407 pthread_attr_getdetachstate; 408 pthread_attr_getguardsize; 409 pthread_attr_getinheritsched; 410 pthread_attr_getschedparam; 411 pthread_attr_getschedpolicy; 412 pthread_attr_getscope; 413 pthread_attr_getstack; 414 pthread_attr_getstackaddr; 415 pthread_attr_getstacksize; 416 pthread_attr_init; 417 pthread_attr_setcreatesuspend_np; 418 pthread_attr_setdetachstate; 419 pthread_attr_setguardsize; 420 pthread_attr_setinheritsched; 421 pthread_attr_setschedparam; 422 pthread_attr_setschedpolicy; 423 pthread_attr_setscope; 424 pthread_attr_setstack; 425 pthread_attr_setstackaddr; 426 pthread_attr_setstacksize; 427 pthread_cancel; 428 pthread_cleanup_pop; 429 pthread_cleanup_push; 430 pthread_cond_broadcast; 431 pthread_cond_destroy; 432 pthread_cond_init; 433 pthread_cond_signal; 434 pthread_cond_timedwait; 435 pthread_cond_wait; 436 pthread_condattr_destroy; 437 pthread_condattr_getclock; 438 pthread_condattr_getpshared; 439 pthread_condattr_init; 440 pthread_condattr_setclock; 441 pthread_condattr_setpshared; 442 pthread_create; 443 pthread_detach; 444 pthread_equal; 445 pthread_exit; 446 pthread_getconcurrency; 447 pthread_getprio; 448 pthread_getschedparam; 449 pthread_getspecific; 450 pthread_join; 451 pthread_key_create; 452 pthread_key_delete; 453 pthread_kill; 454 pthread_main_np; 455 pthread_multi_np; 456 pthread_mutex_destroy; 457 pthread_mutex_getprioceiling; 458 pthread_mutex_init; 459 pthread_mutex_lock; 460 pthread_mutex_setprioceiling; 461 pthread_mutex_timedlock; 462 pthread_mutex_trylock; 463 pthread_mutex_unlock; 464 pthread_mutexattr_destroy; 465 pthread_mutexattr_getkind_np; 466 pthread_mutexattr_getprioceiling; 467 pthread_mutexattr_getpshared; 468 pthread_mutexattr_getprotocol; 469 pthread_mutexattr_gettype; 470 pthread_mutexattr_init; 471 pthread_mutexattr_setkind_np; 472 pthread_mutexattr_setprioceiling; 473 pthread_mutexattr_setprotocol; 474 pthread_mutexattr_setpshared; 475 pthread_mutexattr_settype; 476 pthread_once; 477 pthread_resume_all_np; 478 pthread_resume_np; 479 pthread_rwlock_destroy; 480 pthread_rwlock_init; 481 pthread_rwlock_rdlock; 482 pthread_rwlock_timedrdlock; 483 pthread_rwlock_timedwrlock; 484 pthread_rwlock_tryrdlock; 485 pthread_rwlock_trywrlock; 486 pthread_rwlock_unlock; 487 pthread_rwlock_wrlock; 488 pthread_rwlockattr_destroy; 489 pthread_rwlockattr_getpshared; 490 pthread_rwlockattr_init; 491 pthread_rwlockattr_setpshared; 492 pthread_self; 493 pthread_set_name_np; 494 pthread_setcancelstate; 495 pthread_setcanceltype; 496 pthread_setconcurrency; 497 pthread_setprio; 498 pthread_setschedparam; 499 pthread_setspecific; 500 pthread_sigmask; 501 pthread_single_np; 502 pthread_spin_destroy; 503 pthread_spin_init; 504 pthread_spin_lock; 505 pthread_spin_trylock; 506 pthread_spin_unlock; 507 pthread_suspend_all_np; 508 pthread_suspend_np; 509 pthread_switch_add_np; 510 pthread_switch_delete_np; 511 pthread_testcancel; 512 pthread_timedjoin_np; 513 pthread_yield; 514 raise; 515 read; 516 readv; 517 recvfrom; 518 recvmsg; 519 select; 520 sem_destroy; 521 sem_getvalue; 522 sem_init; 523 sem_post; 524 sem_timedwait; 525 sem_trywait; 526 sem_wait; 527 sendmsg; 528 sendto; 529 sigaction; 530 sigprocmask; 531 sigsuspend; 532 sigwait; 533 sigwaitinfo; 534 sigtimedwait; 535 sleep; 536 system; 537 tcdrain; 538 usleep; 539 vfork; 540 wait; 541 wait4; 542 waitpid; 543 write; 544 writev; 545local: 546 *; 547}; 548 549# 550# List the private interfaces reserved for use in FreeBSD libraries. 551# These are not part of our application ABI. 552# 553FBSDprivate { 554global: 555 ___creat; 556 __accept; 557 __close; 558 __connect; 559 __fcntl; 560 __fsync; 561 __msync; 562 __nanosleep; 563 __open; 564 __poll; 565 __pthread_cond_timedwait; 566 __pthread_cond_wait; 567 __pthread_mutex_init; 568 __pthread_mutex_lock; 569 __pthread_mutex_timedlock; 570 __pthread_mutex_trylock; 571 __read; 572 __readv; 573 __recvfrom; 574 __recvmsg; 575 __select; 576 __sendmsg; 577 __sendto; 578 __sigsuspend; 579 __sigtimedwait; 580 __sigwait; 581 __sigwaitinfo; 582 __wait4; 583 __write; 584 __writev; 585 _aio_suspend; 586 _execve; 587 _fork; 588 _nanosleep; 589 _pause; 590 _pselect; 591 _pthread_atfork; 592 _pthread_barrier_destroy; 593 _pthread_barrier_init; 594 _pthread_barrier_wait; 595 _pthread_barrierattr_destroy; 596 _pthread_barrierattr_getpshared; 597 _pthread_barrierattr_init; 598 _pthread_barrierattr_setpshared; 599 _pthread_attr_destroy; 600 _pthread_attr_get_np; 601 _pthread_attr_getdetachstate; 602 _pthread_attr_getguardsize; 603 _pthread_attr_getinheritsched; 604 _pthread_attr_getschedparam; 605 _pthread_attr_getschedpolicy; 606 _pthread_attr_getscope; 607 _pthread_attr_getstack; 608 _pthread_attr_getstackaddr; 609 _pthread_attr_getstacksize; 610 _pthread_attr_init; 611 _pthread_attr_setcreatesuspend_np; 612 _pthread_attr_setdetachstate; 613 _pthread_attr_setguardsize; 614 _pthread_attr_setinheritsched; 615 _pthread_attr_setschedparam; 616 _pthread_attr_setschedpolicy; 617 _pthread_attr_setscope; 618 _pthread_attr_setstack; 619 _pthread_attr_setstackaddr; 620 _pthread_attr_setstacksize; 621 _pthread_cancel; 622 _pthread_cleanup_pop; 623 _pthread_cleanup_push; 624 _pthread_cond_broadcast; 625 _pthread_cond_destroy; 626 _pthread_cond_init; 627 _pthread_cond_signal; 628 _pthread_cond_timedwait; 629 _pthread_cond_wait; 630 _pthread_condattr_destroy; 631 _pthread_condattr_getclock; 632 _pthread_condattr_getpshared; 633 _pthread_condattr_init; 634 _pthread_condattr_setclock; 635 _pthread_condattr_setpshared; 636 _pthread_create; 637 _pthread_detach; 638 _pthread_equal; 639 _pthread_exit; 640 _pthread_getconcurrency; 641 _pthread_getprio; 642 _pthread_getschedparam; 643 _pthread_getspecific; 644 _pthread_join; 645 _pthread_key_create; 646 _pthread_key_delete; 647 _pthread_kill; 648 _pthread_main_np; 649 _pthread_multi_np; 650 _pthread_mutex_destroy; 651 _pthread_mutex_getprioceiling; 652 _pthread_mutex_init; 653 _pthread_mutex_lock; 654 _pthread_mutex_setprioceiling; 655 _pthread_mutex_timedlock; 656 _pthread_mutex_trylock; 657 _pthread_mutex_unlock; 658 _pthread_mutexattr_destroy; 659 _pthread_mutexattr_getkind_np; 660 _pthread_mutexattr_getprioceiling; 661 _pthread_mutexattr_getprotocol; 662 _pthread_mutexattr_getpshared; 663 _pthread_mutexattr_gettype; 664 _pthread_mutexattr_init; 665 _pthread_mutexattr_setkind_np; 666 _pthread_mutexattr_setprioceiling; 667 _pthread_mutexattr_setprotocol; 668 _pthread_mutexattr_setpshared; 669 _pthread_mutexattr_settype; 670 _pthread_once; 671 _pthread_resume_all_np; 672 _pthread_resume_np; 673 _pthread_rwlock_destroy; 674 _pthread_rwlock_init; 675 _pthread_rwlock_rdlock; 676 _pthread_rwlock_timedrdlock; 677 _pthread_rwlock_timedwrlock; 678 _pthread_rwlock_tryrdlock; 679 _pthread_rwlock_trywrlock; 680 _pthread_rwlock_unlock; 681 _pthread_rwlock_wrlock; 682 _pthread_rwlockattr_destroy; 683 _pthread_rwlockattr_getpshared; 684 _pthread_rwlockattr_init; 685 _pthread_rwlockattr_setpshared; 686 _pthread_self; 687 _pthread_set_name_np; 688 _pthread_setcancelstate; 689 _pthread_setcanceltype; 690 _pthread_setconcurrency; 691 _pthread_setprio; 692 _pthread_setschedparam; 693 _pthread_setspecific; 694 _pthread_sigmask; 695 _pthread_single_np; 696 _pthread_spin_destroy; 697 _pthread_spin_init; 698 _pthread_spin_lock; 699 _pthread_spin_trylock; 700 _pthread_spin_unlock; 701 _pthread_suspend_all_np; 702 _pthread_suspend_np; 703 _pthread_switch_add_np; 704 _pthread_switch_delete_np; 705 _pthread_testcancel; 706 _pthread_timedjoin_np; 707 _pthread_yield; 708 _raise; 709 _sem_destroy; 710 _sem_getvalue; 711 _sem_init; 712 _sem_post; 713 _sem_timedwait; 714 _sem_trywait; 715 _sem_wait; 716 _sigaction; 717 _sigprocmask; 718 _sigsuspend; 719 _sigtimedwait; 720 _sigwait; 721 _sigwaitinfo; 722 _sleep; 723 _spinlock; 724 _spinlock_debug; 725 _spinunlock; 726 _system; 727 _tcdrain; 728 _usleep; 729 _vfork; 730 _wait; 731 _waitpid; 732 733 # Debugger needs these. 734 _libthr_debug; 735 _thread_active_threads; 736 _thread_bp_create; 737 _thread_bp_death; 738 _thread_event_mask; 739 _thread_keytable; 740 _thread_last_event; 741 _thread_list; 742 _thread_max_keys; 743 _thread_off_attr_flags; 744 _thread_off_dtv; 745 _thread_off_event_buf; 746 _thread_off_event_mask; 747 _thread_off_key_allocated; 748 _thread_off_key_destructor; 749 _thread_off_linkmap; 750 _thread_off_next; 751 _thread_off_report_events; 752 _thread_off_state; 753 _thread_off_tcb; 754 _thread_off_tid; 755 _thread_off_tlsindex; 756 _thread_size_key; 757 _thread_state_running; 758 _thread_state_zoombie; 759local: 760 *; 761}; 762