Retire the utmp specific ttyslot() function, like FreeBSD did.
[dragonfly.git] / lib / libc / gen / Symbol.map
1 DF306.0 {
2         /*
3          * These symbols are weakly bound to libc and must match the
4          * versions defined in libexec/rtld-elf/Symbol.map
5          */
6     __tls_get_addr;
7     __tls_get_addr_tcb;
8         /*
9          * These are weakly bound to rtld.  Matching versions may not
10          * be necessary but let's keep the rtld functions together.
11          */
12     dl_iterate_phdr;
13     dladdr;
14     dlclose;
15     dlerror;
16     dlfunc;
17     dlinfo;
18     dlopen;
19     dlsym;
20     dlvsym;
21     fdlopen;
22 };
23
24 DF404.0 {
25         /* pthread stubs */
26     pthread_atfork;
27     pthread_attr_destroy;
28     pthread_attr_get_np;
29     pthread_attr_getaffinity_np;
30     pthread_attr_getdetachstate;
31     pthread_attr_getguardsize;
32     pthread_attr_getinheritsched;
33     pthread_attr_getschedparam;
34     pthread_attr_getschedpolicy;
35     pthread_attr_getscope;
36     pthread_attr_getstack;
37     pthread_attr_getstackaddr;
38     pthread_attr_getstacksize;
39     pthread_attr_init;
40     pthread_attr_setaffinity_np;
41     pthread_attr_setcreatesuspend_np;
42     pthread_attr_setdetachstate;
43     pthread_attr_setguardsize;
44     pthread_attr_setinheritsched;
45     pthread_attr_setschedparam;
46     pthread_attr_setschedpolicy;
47     pthread_attr_setscope;
48     pthread_attr_setstack;
49     pthread_attr_setstackaddr;
50     pthread_attr_setstacksize;
51     pthread_barrier_destroy;
52     pthread_barrier_init;
53     pthread_barrier_wait;
54     pthread_barrierattr_destroy;
55     pthread_barrierattr_getpshared;
56     pthread_barrierattr_init;
57     pthread_barrierattr_setpshared;
58     pthread_cleanup_pop;
59     pthread_cleanup_push;
60     pthread_cond_broadcast;
61     pthread_cond_destroy;
62     pthread_cond_init;
63     pthread_cond_signal;
64     pthread_cond_timedwait;
65     pthread_cond_wait;
66     pthread_condattr_destroy;
67     pthread_condattr_getclock;
68     pthread_condattr_getpshared;
69     pthread_condattr_init;
70     pthread_condattr_setclock;
71     pthread_condattr_setpshared;
72     pthread_detach;
73     pthread_equal;
74     pthread_exit;
75     pthread_getaffinity_np;
76     pthread_getconcurrency;
77     pthread_getprio;
78     pthread_getschedparam;
79     pthread_getspecific;
80     pthread_init;
81     pthread_init_early;
82     pthread_join;
83     pthread_key_create;
84     pthread_key_delete;
85     pthread_kill;
86     pthread_main_np;
87     pthread_multi_np;
88     pthread_mutex_destroy;
89     pthread_mutex_getprioceiling;
90     pthread_mutex_init;
91     pthread_mutex_lock;
92     pthread_mutex_setprioceiling;
93     pthread_mutex_timedlock;
94     pthread_mutex_trylock;
95     pthread_mutex_unlock;
96     pthread_mutexattr_destroy;
97     pthread_mutexattr_getkind_np;
98     pthread_mutexattr_getprioceiling;
99     pthread_mutexattr_getprotocol;
100     pthread_mutexattr_getpshared;
101     pthread_mutexattr_gettype;
102     pthread_mutexattr_init;
103     pthread_mutexattr_setkind_np;
104     pthread_mutexattr_setprioceiling;
105     pthread_mutexattr_setprotocol;
106     pthread_mutexattr_setpshared;
107     pthread_mutexattr_settype;
108     pthread_once;
109     pthread_resume_all_np;
110     pthread_resume_np;
111     pthread_rwlock_destroy;
112     pthread_rwlock_init;
113     pthread_rwlock_rdlock;
114     pthread_rwlock_timedrdlock;
115     pthread_rwlock_timedwrlock;
116     pthread_rwlock_tryrdlock;
117     pthread_rwlock_trywrlock;
118     pthread_rwlock_unlock;
119     pthread_rwlock_wrlock;
120     pthread_rwlockattr_destroy;
121     pthread_rwlockattr_getpshared;
122     pthread_rwlockattr_init;
123     pthread_rwlockattr_setpshared;
124     pthread_self;
125     pthread_set_name_np;
126     pthread_setaffinity_np;
127     pthread_setcancelstate;
128     pthread_setcanceltype;
129     pthread_setconcurrency;
130     pthread_setprio;
131     pthread_setschedparam;
132     pthread_setspecific;
133     pthread_sigmask;
134     pthread_single_np;
135     pthread_spin_destroy;
136     pthread_spin_init;
137     pthread_spin_lock;
138     pthread_spin_trylock;
139     pthread_spin_unlock;
140     pthread_suspend_all_np;
141     pthread_suspend_np;
142     pthread_switch_add_np;
143     pthread_switch_delete_np;
144     pthread_testcancel;
145     pthread_timedjoin_np;
146     pthread_yield;
147     sem_close;
148     sem_destroy;
149     sem_getvalue;
150     sem_init;
151     sem_open;
152     sem_post;
153     sem_timedwait;
154     sem_trywait;
155     sem_unlink;
156     sem_wait;
157
158         /* termios */
159     cfgetispeed;
160     cfgetospeed;
161     cfmakeraw;
162     cfsetispeed;
163     cfsetospeed;
164     cfsetspeed;
165     tcdrain;
166     tcflow;
167     tcflush;
168     tcgetattr;
169     tcgetpgrp;
170     tcgetsid;
171     tcsendbreak;
172     tcsetattr;
173     tcsetpgrp;
174
175         /* utmpx */
176     endutxent;
177     getlastlogx;
178     getutxent;
179     getutxid;
180     getutxline;
181     pututxline;
182     setutxdb;
183     setutxent;
184     updlastlogx;
185     updwtmpx;
186     utmpxname;
187
188         /* normal functions */
189     __assert;
190     __diagassert;
191     _getprogname;
192     alarm;
193     alphasort;
194     arc4random;
195     arc4random_addrandom;
196     arc4random_buf;
197     arc4random_stir;
198     arc4random_uniform;
199     basename;
200     cgetcap;
201     cgetclose;
202     cgetent;
203     cgetfirst;
204     cgetmatch;
205     cgetnext;
206     cgetnum;
207     cgetset;
208     cgetstr;
209     cgetustr;
210     clock;
211     closedir;
212     closelog;
213     confstr;
214     creat;
215     ctermid;
216     ctermid_r;
217     daemon;
218     devname;
219     devname_r;
220     dirfd;
221     dirname;
222     drand48;
223     endfsent;
224     endgrent;
225     endnetgrent;
226     endpwent;
227     endttyent;
228     endusershell;
229     endvfsent;
230     erand48;
231     err;
232     err_set_exit;
233     err_set_file;
234     errc;
235     errno;
236     errx;
237     execl;
238     execle;
239     execlp;
240     execv;
241     execvP;
242     execvp;
243     fdevname;
244     fdevname_r;
245     fdopendir;
246     fflagstostr;
247     finite;
248     finitef;
249     fmtcheck;
250     fmtmsg;
251     fnmatch;
252     frexp;
253     ftok;
254     fts_children;
255     fts_close;
256     fts_get_clientptr;
257     fts_get_stream;
258     fts_open;
259     fts_read;
260     fts_set;
261     fts_set_clientptr;
262     ftw;
263     getbootfile;
264     getbsize;
265     getcwd;
266     getdevpath;
267     getdiskbyname;
268     getdisktabbyname;
269     getdomainname;
270     getfsent;
271     getfsfile;
272     getfsspec;
273     getfstab;
274     getgrent;
275     getgrent_r;
276     getgrgid;
277     getgrgid_r;
278     getgrnam;
279     getgrnam_r;
280     getgrouplist;
281     gethostid;
282     gethostname;
283     getloadavg;
284     getlogin_r;
285     getmntinfo;
286     getmntvinfo;
287     getmode;
288     getnetgrent;
289     getobjformat;
290     getosreldate;
291     getpagesize;
292     getpass;
293     getpeereid;
294     getprogname;
295     getpwent;
296     getpwent_r;
297     getpwnam;
298     getpwnam_r;
299     getpwuid;
300     getpwuid_r;
301     getttyent;
302     getttynam;
303     getusershell;
304     getvfsbyname;
305     getvfsbytype;
306     getvfsent;
307     getwd;
308     glob;
309     globfree;
310     group_from_gid;
311     initgroups;
312     innetgr;
313     isatty;
314     isdialuptty;
315     isinf;
316     isnan;
317     isnanf;
318     isnettty;
319     jrand48;
320     killpg;
321     lcong48;
322     ldexp;
323     lockf;
324     longjmperror;
325     lrand48;
326     modf;
327     mrand48;
328     new_getvfsbyname;
329     nftw;
330     nice;
331     nlist;
332     nrand48;
333     ntp_gettime;
334     opendir;
335     openlog;
336     pause;
337     pclose;
338     popen;
339     posix_madvise;
340     posix_spawn;
341     posix_spawn_file_actions_addclose;
342     posix_spawn_file_actions_adddup2;
343     posix_spawn_file_actions_addopen;
344     posix_spawn_file_actions_destroy;
345     posix_spawn_file_actions_init;
346     posix_spawnattr_destroy;
347     posix_spawnattr_getflags;
348     posix_spawnattr_getpgroup;
349     posix_spawnattr_getschedparam;
350     posix_spawnattr_getschedpolicy;
351     posix_spawnattr_getsigdefault;
352     posix_spawnattr_getsigmask;
353     posix_spawnattr_init;
354     posix_spawnattr_setflags;
355     posix_spawnattr_setpgroup;
356     posix_spawnattr_setschedparam;
357     posix_spawnattr_setschedpolicy;
358     posix_spawnattr_setsigdefault;
359     posix_spawnattr_setsigmask;
360     posix_spawnp;
361     psiginfo;
362     psignal;
363     raise;
364     readdir;
365     readdir_r;
366     readpassphrase;
367     rewinddir;
368     scandir;
369     seed48;
370     seekdir;
371     semctl;
372     setcontext;
373     setdomainname;
374     setfsent;
375     setfstab;
376     setgrent;
377     setgroupent;
378     sethostname;
379     setlogmask;
380     setmode;
381     setnetgrent;
382     setpassent;
383     setproctitle;
384     setprogname;
385     setpwent;
386     setttyent;
387     setusershell;
388     setvfsent;
389     shm_open;
390     shm_unlink;
391     sigaddset;
392     sigdelset;
393     sigemptyset;
394     sigfillset;
395     siginterrupt;
396     sigismember;
397     signal;
398     sigwait;
399     sl_add;
400     sl_find;
401     sl_free;
402     sl_init;
403     sleep;
404     srand48;
405     strnvis;
406     strtofflags;
407     strunvis;
408     strunvisx;
409     strvis;
410     strvisx;
411     swapcontext;
412     sys_errlist;
413     sys_nerr;
414     sys_nsig;
415     sys_siglist;
416     sys_signame;
417     sysconf;
418     sysctl;
419     sysctlbyname;
420     sysctlnametomib;
421     syslog;
422     telldir;
423     time;
424     times;
425     ttyname;
426     ttyname_r;
427     ualarm;
428     ulimit;
429     uname;
430     unvis;
431     user_from_uid;
432     usleep;
433     utime;
434     valloc;
435     verr;
436     verrc;
437     verrx;
438     vfsisloadable;
439     vfsload;
440     vis;
441     vsyslog;
442     vwarn;
443     vwarnc;
444     vwarnx;
445     wait3;
446     wait;
447     waitpid;
448     warn;
449     warnc;
450     warnx;
451     wordexp;
452     wordfree;
453 };
454
455 DF410.0 {
456     clock_getcpuclockid;
457         /* pthread stubs */
458     pthread_getcpuclockid;
459     pthread_getthreadid_np;
460 };
461
462 DF502.0 {
463     cfmakesane;
464 };
465
466 DF504.0 {
467     gid_from_group;
468     nvis;
469     pwcache_groupdb;
470     pwcache_userdb;
471     snvis;
472     stravis;
473     strenvisx;
474     strnunvis;
475     strnunvisx;
476     strnvisx;
477     strsenvisx;
478     strsnvis;
479     strsnvisx;
480     strsvis;
481     strsvisx;
482     svis;
483     tcsetsid;
484     uid_from_user;
485     waitid;
486 };
487
488 DF506.0 {
489     dup3;
490 };
491
492 DF508.0 {
493     getutxuser;
494 };
495
496 DFprivate_1.0 {
497         /* pthread stubs */
498     _pthread_atfork;
499     _pthread_attr_destroy;
500     _pthread_attr_get_np;
501     _pthread_attr_getaffinity_np;
502     _pthread_attr_getdetachstate;
503     _pthread_attr_getguardsize;
504     _pthread_attr_getinheritsched;
505     _pthread_attr_getschedparam;
506     _pthread_attr_getschedpolicy;
507     _pthread_attr_getscope;
508     _pthread_attr_getstack;
509     _pthread_attr_getstackaddr;
510     _pthread_attr_getstacksize;
511     _pthread_attr_init;
512     _pthread_attr_setaffinity_np;
513     _pthread_attr_setcreatesuspend_np;
514     _pthread_attr_setdetachstate;
515     _pthread_attr_setguardsize;
516     _pthread_attr_setinheritsched;
517     _pthread_attr_setschedparam;
518     _pthread_attr_setschedpolicy;
519     _pthread_attr_setscope;
520     _pthread_attr_setstack;
521     _pthread_attr_setstackaddr;
522     _pthread_attr_setstacksize;
523     _pthread_barrier_destroy;
524     _pthread_barrier_init;
525     _pthread_barrier_wait;
526     _pthread_barrierattr_destroy;
527     _pthread_barrierattr_getpshared;
528     _pthread_barrierattr_init;
529     _pthread_barrierattr_setpshared;
530     _pthread_cancel;
531     _pthread_cleanup_pop;
532     _pthread_cleanup_push;
533     _pthread_cond_broadcast;
534     _pthread_cond_destroy;
535     _pthread_cond_init;
536     _pthread_cond_signal;
537     _pthread_cond_timedwait;
538     _pthread_cond_wait;
539     _pthread_condattr_destroy;
540     _pthread_condattr_getclock;
541     _pthread_condattr_getpshared;
542     _pthread_condattr_init;
543     _pthread_condattr_setclock;
544     _pthread_condattr_setpshared;
545     _pthread_detach;
546     _pthread_distribute_static_tls;
547     _pthread_equal;
548     _pthread_exit;
549     _pthread_getaffinity_np;
550     _pthread_getconcurrency;
551     _pthread_getcpuclockid;
552     _pthread_getprio;
553     _pthread_getschedparam;
554     _pthread_getspecific;
555     _pthread_getthreadid_np;
556     _pthread_init;
557     _pthread_init_early;
558     _pthread_join;
559     _pthread_key_create;
560     _pthread_key_delete;
561     _pthread_kill;
562     _pthread_main_np;
563     _pthread_multi_np;
564     _pthread_mutex_destroy;
565     _pthread_mutex_getprioceiling;
566     _pthread_mutex_init;
567     _pthread_mutex_lock;
568     _pthread_mutex_setprioceiling;
569     _pthread_mutex_timedlock;
570     _pthread_mutex_trylock;
571     _pthread_mutex_unlock;
572     _pthread_mutexattr_destroy;
573     _pthread_mutexattr_getkind_np;
574     _pthread_mutexattr_getprioceiling;
575     _pthread_mutexattr_getprotocol;
576     _pthread_mutexattr_getpshared;
577     _pthread_mutexattr_gettype;
578     _pthread_mutexattr_init;
579     _pthread_mutexattr_setkind_np;
580     _pthread_mutexattr_setprioceiling;
581     _pthread_mutexattr_setprotocol;
582     _pthread_mutexattr_setpshared;
583     _pthread_mutexattr_settype;
584     _pthread_once;
585     _pthread_resume_all_np;
586     _pthread_resume_np;
587     _pthread_rwlock_destroy;
588     _pthread_rwlock_init;
589     _pthread_rwlock_rdlock;
590     _pthread_rwlock_timedrdlock;
591     _pthread_rwlock_timedwrlock;
592     _pthread_rwlock_tryrdlock;
593     _pthread_rwlock_trywrlock;
594     _pthread_rwlock_unlock;
595     _pthread_rwlock_wrlock;
596     _pthread_rwlockattr_destroy;
597     _pthread_rwlockattr_getpshared;
598     _pthread_rwlockattr_init;
599     _pthread_rwlockattr_setpshared;
600     _pthread_self;
601     _pthread_set_name_np;
602     _pthread_setaffinity_np;
603     _pthread_setcancelstate;
604     _pthread_setcanceltype;
605     _pthread_setconcurrency;
606     _pthread_setprio;
607     _pthread_setschedparam;
608     _pthread_setspecific;
609     _pthread_sigmask;
610     _pthread_single_np;
611     _pthread_spin_destroy;
612     _pthread_spin_init;
613     _pthread_spin_lock;
614     _pthread_spin_trylock;
615     _pthread_spin_unlock;
616     _pthread_suspend_all_np;
617     _pthread_suspend_np;
618     _pthread_switch_add_np;
619     _pthread_switch_delete_np;
620     _pthread_testcancel;
621     _pthread_timedjoin_np;
622     _pthread_yield;
623     _sem_close;
624     _sem_destroy;
625     _sem_getvalue;
626     _sem_init;
627     _sem_open;
628     _sem_post;
629     _sem_timedwait;
630     _sem_trywait;
631     _sem_unlink;
632     _sem_wait;
633
634         /* spinlock stubs */
635     _atomic_lock;
636     _spinlock;
637     _spinlock_debug;
638     _spintrylock;
639     _spinunlock;
640
641         /* thread init stubs */
642     _thread_autoinit_dummy_decl;
643     _thread_init;
644
645         /* math bridge */
646     __fpclassifyd;
647     __fpclassifyf;
648     __fpclassifyl;
649     __isfinite;
650     __isfinitef;
651     __isinf;
652     __isinff;
653     __isinfl;
654     __isnan;
655     __isnanf;
656     __isnormal;
657     __isnormalf;
658     __signbit;
659     __signbitf;
660
661         /* thread locale storage */
662     _init_tls;
663     _libc_allocate_tls;
664     _rtld_allocate_tls;
665     _rtld_call_init;
666     _rtld_free_tls;
667
668         /* remaining private functions */
669     __creat;
670     __elf_phdr_match_addr;
671     __fdnlist;
672     __fdopendir2;
673     __isthreaded;
674     __opendir2;
675     __pause;
676     __pw_scan;
677     __sleep;
678     __tcdrain;
679     __usleep;
680     __wait;
681     __waitpid;
682     __waitid;
683     _creat;
684     _err;
685     _readdir_unlocked;
686     _reclaim_telldir;
687     _rtld_addr_phdr;
688     _rtld_error;
689     _rtld_get_stack_prot;
690     _rtld_thread_init;
691     _rtld_thread_prefork;
692     _rtld_thread_postfork;
693     _rtld_thread_childfork;
694     _rtld_setthreaded;
695     _thread_finalize;
696     _seekdir;
697     _setcontext;
698     _sigwait;
699     _sleep;
700     _swapcontext;
701     _updwtmpx;
702     _usleep;
703     _wait;
704     _waitpid;
705     _waitid;
706     _warn;
707 };