1# $FreeBSD$ 2LIBTHREAD_1_0 { 3global: 4 ___creat; 5 ___pause; 6 ___pselect; 7 ___sleep; 8 ___system; 9 ___tcdrain; 10 ___usleep; 11 ___wait; 12 ___waitpid; 13 __accept; 14 __aio_suspend; 15 __close; 16 __connect; 17 __error; 18 __fcntl; 19 __fsync; 20 __msync; 21 __nanosleep; 22 __open; 23 __poll; 24 __pthread_cond_timedwait; 25 __pthread_cond_wait; 26 __pthread_mutex_init; 27 __pthread_mutex_lock; 28 __pthread_mutex_timedlock; 29 __pthread_mutex_trylock; 30 __read; 31 __readv; 32 __recvfrom; 33 __recvmsg; 34 __select; 35 __sendmsg; 36 __sendto; 37 __sigsuspend; 38 __sigtimedwait; 39 __sigwait; 40 __sigwaitinfo; 41 __wait3; 42 __wait4; 43 __write; 44 __writev; 45 _fork; 46 _pthread_atfork; 47 _pthread_barrier_destroy; 48 _pthread_barrier_init; 49 _pthread_barrier_wait; 50 _pthread_barrierattr_destroy; 51 _pthread_barrierattr_getpshared; 52 _pthread_barrierattr_init; 53 _pthread_barrierattr_setpshared; 54 _pthread_attr_destroy; 55 _pthread_attr_get_np; 56 _pthread_attr_getdetachstate; 57 _pthread_attr_getguardsize; 58 _pthread_attr_getinheritsched; 59 _pthread_attr_getschedparam; 60 _pthread_attr_getschedpolicy; 61 _pthread_attr_getscope; 62 _pthread_attr_getstack; 63 _pthread_attr_getstackaddr; 64 _pthread_attr_getstacksize; 65 _pthread_attr_init; 66 _pthread_attr_setcreatesuspend_np; 67 _pthread_attr_setdetachstate; 68 _pthread_attr_setguardsize; 69 _pthread_attr_setinheritsched; 70 _pthread_attr_setschedparam; 71 _pthread_attr_setschedpolicy; 72 _pthread_attr_setscope; 73 _pthread_attr_setstack; 74 _pthread_attr_setstackaddr; 75 _pthread_attr_setstacksize; 76 _pthread_cancel; 77 _pthread_cleanup_pop; 78 _pthread_cleanup_push; 79 _pthread_cond_broadcast; 80 _pthread_cond_destroy; 81 _pthread_cond_init; 82 _pthread_cond_signal; 83 _pthread_cond_timedwait; 84 _pthread_cond_wait; 85 _pthread_condattr_destroy; 86 _pthread_condattr_getclock; 87 _pthread_condattr_getpshared; 88 _pthread_condattr_init; 89 _pthread_condattr_setclock; 90 _pthread_condattr_setpshared; 91 _pthread_create; 92 _pthread_detach; 93 _pthread_equal; 94 _pthread_exit; 95 _pthread_getconcurrency; 96 _pthread_getprio; 97 _pthread_getschedparam; 98 _pthread_getspecific; 99 _pthread_join; 100 _pthread_key_create; 101 _pthread_key_delete; 102 _pthread_kill; 103 _pthread_main_np; 104 _pthread_multi_np; 105 _pthread_mutex_destroy; 106 _pthread_mutex_getprioceiling; 107 _pthread_mutex_init; 108 _pthread_mutex_lock; 109 _pthread_mutex_setprioceiling; 110 _pthread_mutex_timedlock; 111 _pthread_mutex_trylock; 112 _pthread_mutex_unlock; 113 _pthread_mutexattr_destroy; 114 _pthread_mutexattr_getkind_np; 115 _pthread_mutexattr_getprioceiling; 116 _pthread_mutexattr_getprotocol; 117 _pthread_mutexattr_getpshared; 118 _pthread_mutexattr_gettype; 119 _pthread_mutexattr_init; 120 _pthread_mutexattr_setkind_np; 121 _pthread_mutexattr_setprioceiling; 122 _pthread_mutexattr_setprotocol; 123 _pthread_mutexattr_setpshared; 124 _pthread_mutexattr_settype; 125 _pthread_once; 126 _pthread_resume_all_np; 127 _pthread_resume_np; 128 _pthread_rwlock_destroy; 129 _pthread_rwlock_init; 130 _pthread_rwlock_rdlock; 131 _pthread_rwlock_timedrdlock; 132 _pthread_rwlock_timedwrlock; 133 _pthread_rwlock_tryrdlock; 134 _pthread_rwlock_trywrlock; 135 _pthread_rwlock_unlock; 136 _pthread_rwlock_wrlock; 137 _pthread_rwlockattr_destroy; 138 _pthread_rwlockattr_getpshared; 139 _pthread_rwlockattr_init; 140 _pthread_rwlockattr_setpshared; 141 _pthread_self; 142 _pthread_set_name_np; 143 _pthread_setcancelstate; 144 _pthread_setcanceltype; 145 _pthread_setconcurrency; 146 _pthread_setprio; 147 _pthread_setschedparam; 148 _pthread_setspecific; 149 _pthread_sigmask; 150 _pthread_single_np; 151 _pthread_spin_destroy; 152 _pthread_spin_init; 153 _pthread_spin_lock; 154 _pthread_spin_trylock; 155 _pthread_spin_unlock; 156 _pthread_suspend_all_np; 157 _pthread_suspend_np; 158 _pthread_switch_add_np; 159 _pthread_switch_delete_np; 160 _pthread_testcancel; 161 _pthread_timedjoin_np; 162 _pthread_yield; 163 _raise; 164 _sem_destroy; 165 _sem_getvalue; 166 _sem_init; 167 _sem_post; 168 _sem_timedwait; 169 _sem_trywait; 170 _sem_wait; 171 _sigaction; 172 _sigprocmask; 173 _sigsuspend; 174 _sigtimedwait; 175 _sigwait; 176 _sigwaitinfo; 177 _spinlock; 178 _spinlock_debug; 179 _spinunlock; 180 _vfork; 181 accept; 182 aio_suspend; 183 close; 184 connect; 185 creat; 186 execve; 187 fcntl; 188 fork; 189 fsync; 190 msync; 191 nanosleep; 192 open; 193 pause; 194 poll; 195 pselect; 196 pthread_atfork; 197 pthread_barrier_destroy; 198 pthread_barrier_init; 199 pthread_barrier_wait; 200 pthread_barrierattr_destroy; 201 pthread_barrierattr_getpshared; 202 pthread_barrierattr_init; 203 pthread_barrierattr_setpshared; 204 pthread_attr_destroy; 205 pthread_attr_get_np; 206 pthread_attr_getdetachstate; 207 pthread_attr_getguardsize; 208 pthread_attr_getinheritsched; 209 pthread_attr_getschedparam; 210 pthread_attr_getschedpolicy; 211 pthread_attr_getscope; 212 pthread_attr_getstack; 213 pthread_attr_getstackaddr; 214 pthread_attr_getstacksize; 215 pthread_attr_init; 216 pthread_attr_setcreatesuspend_np; 217 pthread_attr_setdetachstate; 218 pthread_attr_setguardsize; 219 pthread_attr_setinheritsched; 220 pthread_attr_setschedparam; 221 pthread_attr_setschedpolicy; 222 pthread_attr_setscope; 223 pthread_attr_setstack; 224 pthread_attr_setstackaddr; 225 pthread_attr_setstacksize; 226 pthread_cancel; 227 pthread_cleanup_pop; 228 pthread_cleanup_push; 229 pthread_cond_broadcast; 230 pthread_cond_destroy; 231 pthread_cond_init; 232 pthread_cond_signal; 233 pthread_cond_timedwait; 234 pthread_cond_wait; 235 pthread_condattr_destroy; 236 pthread_condattr_getclock; 237 pthread_condattr_getpshared; 238 pthread_condattr_init; 239 pthread_condattr_setclock; 240 pthread_condattr_setpshared; 241 pthread_create; 242 pthread_detach; 243 pthread_equal; 244 pthread_exit; 245 pthread_getconcurrency; 246 pthread_getprio; 247 pthread_getschedparam; 248 pthread_getspecific; 249 pthread_join; 250 pthread_key_create; 251 pthread_key_delete; 252 pthread_kill; 253 pthread_main_np; 254 pthread_multi_np; 255 pthread_mutex_destroy; 256 pthread_mutex_getprioceiling; 257 pthread_mutex_init; 258 pthread_mutex_lock; 259 pthread_mutex_setprioceiling; 260 pthread_mutex_timedlock; 261 pthread_mutex_trylock; 262 pthread_mutex_unlock; 263 pthread_mutexattr_destroy; 264 pthread_mutexattr_getkind_np; 265 pthread_mutexattr_getprioceiling; 266 pthread_mutexattr_getpshared; 267 pthread_mutexattr_getprotocol; 268 pthread_mutexattr_gettype; 269 pthread_mutexattr_init; 270 pthread_mutexattr_setkind_np; 271 pthread_mutexattr_setprioceiling; 272 pthread_mutexattr_setprotocol; 273 pthread_mutexattr_setpshared; 274 pthread_mutexattr_settype; 275 pthread_once; 276 pthread_resume_all_np; 277 pthread_resume_np; 278 pthread_rwlock_destroy; 279 pthread_rwlock_init; 280 pthread_rwlock_rdlock; 281 pthread_rwlock_timedrdlock; 282 pthread_rwlock_timedwrlock; 283 pthread_rwlock_tryrdlock; 284 pthread_rwlock_trywrlock; 285 pthread_rwlock_unlock; 286 pthread_rwlock_wrlock; 287 pthread_rwlockattr_destroy; 288 pthread_rwlockattr_getpshared; 289 pthread_rwlockattr_init; 290 pthread_rwlockattr_setpshared; 291 pthread_self; 292 pthread_set_name_np; 293 pthread_setcancelstate; 294 pthread_setcanceltype; 295 pthread_setconcurrency; 296 pthread_setprio; 297 pthread_setschedparam; 298 pthread_setspecific; 299 pthread_sigmask; 300 pthread_single_np; 301 pthread_spin_destroy; 302 pthread_spin_init; 303 pthread_spin_lock; 304 pthread_spin_trylock; 305 pthread_spin_unlock; 306 pthread_suspend_all_np; 307 pthread_suspend_np; 308 pthread_switch_add_np; 309 pthread_switch_delete_np; 310 pthread_testcancel; 311 pthread_timedjoin_np; 312 pthread_yield; 313 raise; 314 read; 315 readv; 316 recvfrom; 317 recvmsg; 318 select; 319 sem_destroy; 320 sem_getvalue; 321 sem_init; 322 sem_post; 323 sem_timedwait; 324 sem_trywait; 325 sem_wait; 326 sendmsg; 327 sendto; 328 sigaction; 329 sigprocmask; 330 sigsuspend; 331 sigwait; 332 sigwaitinfo; 333 sigtimedwait; 334 sleep; 335 system; 336 tcdrain; 337 usleep; 338 vfork; 339 wait; 340 wait3; 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 wait3; 542 wait4; 543 waitpid; 544 write; 545 writev; 546local: 547 *; 548}; 549 550# 551# List the private interfaces reserved for use in FreeBSD libraries. 552# These are not part of our application ABI. 553# 554FBSDprivate { 555global: 556 ___creat; 557 ___pause; 558 ___pselect; 559 ___sleep; 560 ___system; 561 ___tcdrain; 562 ___usleep; 563 ___wait; 564 ___waitpid; 565 __accept; 566 __aio_suspend; 567 __close; 568 __connect; 569 __fcntl; 570 __fsync; 571 __msync; 572 __nanosleep; 573 __open; 574 __poll; 575 __pthread_cond_timedwait; 576 __pthread_cond_wait; 577 __pthread_mutex_init; 578 __pthread_mutex_lock; 579 __pthread_mutex_timedlock; 580 __pthread_mutex_trylock; 581 __read; 582 __readv; 583 __recvfrom; 584 __recvmsg; 585 __select; 586 __sendmsg; 587 __sendto; 588 __sigsuspend; 589 __sigtimedwait; 590 __sigwait; 591 __sigwaitinfo; 592 __wait3; 593 __wait4; 594 __write; 595 __writev; 596 _fork; 597 _pthread_atfork; 598 _pthread_barrier_destroy; 599 _pthread_barrier_init; 600 _pthread_barrier_wait; 601 _pthread_barrierattr_destroy; 602 _pthread_barrierattr_getpshared; 603 _pthread_barrierattr_init; 604 _pthread_barrierattr_setpshared; 605 _pthread_attr_destroy; 606 _pthread_attr_get_np; 607 _pthread_attr_getdetachstate; 608 _pthread_attr_getguardsize; 609 _pthread_attr_getinheritsched; 610 _pthread_attr_getschedparam; 611 _pthread_attr_getschedpolicy; 612 _pthread_attr_getscope; 613 _pthread_attr_getstack; 614 _pthread_attr_getstackaddr; 615 _pthread_attr_getstacksize; 616 _pthread_attr_init; 617 _pthread_attr_setcreatesuspend_np; 618 _pthread_attr_setdetachstate; 619 _pthread_attr_setguardsize; 620 _pthread_attr_setinheritsched; 621 _pthread_attr_setschedparam; 622 _pthread_attr_setschedpolicy; 623 _pthread_attr_setscope; 624 _pthread_attr_setstack; 625 _pthread_attr_setstackaddr; 626 _pthread_attr_setstacksize; 627 _pthread_cancel; 628 _pthread_cleanup_pop; 629 _pthread_cleanup_push; 630 _pthread_cond_broadcast; 631 _pthread_cond_destroy; 632 _pthread_cond_init; 633 _pthread_cond_signal; 634 _pthread_cond_timedwait; 635 _pthread_cond_wait; 636 _pthread_condattr_destroy; 637 _pthread_condattr_getclock; 638 _pthread_condattr_getpshared; 639 _pthread_condattr_init; 640 _pthread_condattr_setclock; 641 _pthread_condattr_setpshared; 642 _pthread_create; 643 _pthread_detach; 644 _pthread_equal; 645 _pthread_exit; 646 _pthread_getconcurrency; 647 _pthread_getprio; 648 _pthread_getschedparam; 649 _pthread_getspecific; 650 _pthread_join; 651 _pthread_key_create; 652 _pthread_key_delete; 653 _pthread_kill; 654 _pthread_main_np; 655 _pthread_multi_np; 656 _pthread_mutex_destroy; 657 _pthread_mutex_getprioceiling; 658 _pthread_mutex_init; 659 _pthread_mutex_lock; 660 _pthread_mutex_setprioceiling; 661 _pthread_mutex_timedlock; 662 _pthread_mutex_trylock; 663 _pthread_mutex_unlock; 664 _pthread_mutexattr_destroy; 665 _pthread_mutexattr_getkind_np; 666 _pthread_mutexattr_getprioceiling; 667 _pthread_mutexattr_getprotocol; 668 _pthread_mutexattr_getpshared; 669 _pthread_mutexattr_gettype; 670 _pthread_mutexattr_init; 671 _pthread_mutexattr_setkind_np; 672 _pthread_mutexattr_setprioceiling; 673 _pthread_mutexattr_setprotocol; 674 _pthread_mutexattr_setpshared; 675 _pthread_mutexattr_settype; 676 _pthread_once; 677 _pthread_resume_all_np; 678 _pthread_resume_np; 679 _pthread_rwlock_destroy; 680 _pthread_rwlock_init; 681 _pthread_rwlock_rdlock; 682 _pthread_rwlock_timedrdlock; 683 _pthread_rwlock_timedwrlock; 684 _pthread_rwlock_tryrdlock; 685 _pthread_rwlock_trywrlock; 686 _pthread_rwlock_unlock; 687 _pthread_rwlock_wrlock; 688 _pthread_rwlockattr_destroy; 689 _pthread_rwlockattr_getpshared; 690 _pthread_rwlockattr_init; 691 _pthread_rwlockattr_setpshared; 692 _pthread_self; 693 _pthread_set_name_np; 694 _pthread_setcancelstate; 695 _pthread_setcanceltype; 696 _pthread_setconcurrency; 697 _pthread_setprio; 698 _pthread_setschedparam; 699 _pthread_setspecific; 700 _pthread_sigmask; 701 _pthread_single_np; 702 _pthread_spin_destroy; 703 _pthread_spin_init; 704 _pthread_spin_lock; 705 _pthread_spin_trylock; 706 _pthread_spin_unlock; 707 _pthread_suspend_all_np; 708 _pthread_suspend_np; 709 _pthread_switch_add_np; 710 _pthread_switch_delete_np; 711 _pthread_testcancel; 712 _pthread_timedjoin_np; 713 _pthread_yield; 714 _raise; 715 _sem_destroy; 716 _sem_getvalue; 717 _sem_init; 718 _sem_post; 719 _sem_timedwait; 720 _sem_trywait; 721 _sem_wait; 722 _sigaction; 723 _sigprocmask; 724 _sigsuspend; 725 _sigtimedwait; 726 _sigwait; 727 _sigwaitinfo; 728 _spinlock; 729 _spinlock_debug; 730 _spinunlock; 731 _vfork; 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