mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-16 18:10:11 +00:00
72e1a75071
* hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is nonzero, use cthread_fork to create the signal thread. * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize _hurd_msgport_thread here (to self). * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end is zero, instead compute child signal thread's starting SP from parent signal thread's current SP and the threadvar_stack variables. * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach. These are now referenced weakly by _hurdsig_init. * hurd/report-wait.c (_S_msg_report_wait): Fix typo: &_hurd_itimer_thread not &_hurd_msgport_thread. 1999-10-01 Roland McGrath <roland@baalperazim.frob.com> * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite without HURD_DPORT_USE to clean up warnings. * hurd/dtable.c (get_dtable_port): Likewise. * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty. (install_ctty): Do the changing of the cttyid port cell here, inside the critical section while we holding the dtable lock. (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing the port cell and calling rectty_dtable. (_hurd_locked_install_cttyid): New function, split out of install_ctty. (install_ctty): Use it inside a critical section, with the lock held. * sysdeps/mach/hurd/setsid.c (__setsid): Use _hurd_locked_install_cttyid to effect the cttyid and dtable changes after proc_setsid, having held the dtable lock throughout. * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the cttyid port for null and bail out early if so. The dtable lock serializes us after any cttyid change and its associated dtable update.
121 lines
2.9 KiB
Plaintext
121 lines
2.9 KiB
Plaintext
libc {
|
|
GLIBC_2.0 {
|
|
# These few symbols are here only for binary compatibility
|
|
# with the pre-versioning libc.so.0.2 ABI. Their replacements
|
|
# are in the GLIBC_2.1 version set. When the soname changes,
|
|
# these can be removed.
|
|
__getuids;
|
|
__hurd_file_name_lookup;
|
|
_hurd_proc_init; _hurd_umask;
|
|
|
|
# necessary for the Hurd brk implementation
|
|
_end;
|
|
|
|
# variables used in macros & inline functions
|
|
__hurd_sigthread_stack_base; __hurd_sigthread_stack_end;
|
|
__hurd_sigthread_variables;
|
|
__hurd_threadvar_max;
|
|
__hurd_threadvar_stack_mask; __hurd_threadvar_stack_offset;
|
|
|
|
# functions used in macros & inline functions
|
|
__hurd_errno_location;
|
|
|
|
# functions used in libmachuser and libhurduser
|
|
_S_catch_exception_raise;
|
|
_S_msg_add_auth; _S_msg_del_auth;
|
|
_S_msg_describe_ports;
|
|
_S_msg_get_dtable; _S_msg_set_dtable;
|
|
_S_msg_get_env_variable; _S_msg_set_env_variable;
|
|
_S_msg_get_environment; _S_msg_set_environment;
|
|
_S_msg_get_fd; _S_msg_set_fd;
|
|
_S_msg_get_init_int; _S_msg_set_init_int;
|
|
_S_msg_get_init_ints; _S_msg_set_init_ints;
|
|
_S_msg_get_init_port; _S_msg_set_init_port;
|
|
_S_msg_get_init_ports; _S_msg_set_init_ports;
|
|
_S_msg_proc_newids; _S_msg_report_wait;
|
|
_S_msg_sig_post; _S_msg_sig_post_untraced;
|
|
_hurd_intr_rpc_mach_msg; _hurdsig_fault_catch_exception_raise;
|
|
|
|
# "quasi-internal" variables
|
|
_hurd_device_master;
|
|
_hurd_dtable; _hurd_dtablesize; _hurd_dtable_lock;
|
|
_hurd_host_priv;
|
|
_hurd_msgport;
|
|
_hurd_ports;
|
|
|
|
# "quasi-internal" functions
|
|
_hurd_canonicalize_directory_name_internal;
|
|
_hurd_critical_section_lock;
|
|
_hurd_critical_section_unlock;
|
|
_hurd_exception2signal;
|
|
_hurd_exec;
|
|
_hurd_fd_get;
|
|
_hurd_init;
|
|
_hurd_intern_fd;
|
|
_hurd_port_cleanup;
|
|
_hurd_port_free;
|
|
_hurd_port_get;
|
|
_hurd_port_locked_get;
|
|
_hurd_ports_use;
|
|
_hurd_thread_sigstate;
|
|
|
|
# functions in normal name space
|
|
|
|
# f*
|
|
file_name_lookup; file_name_lookup_under; file_name_path_lookup;
|
|
file_name_split;
|
|
fopenport;
|
|
|
|
# g*
|
|
get_privileged_ports;
|
|
getauth; getcrdir; getcwdir; getcttyid; getdport; getproc; getumask;
|
|
|
|
# h*
|
|
hurd_catch_signal;
|
|
hurd_check_cancel;
|
|
hurd_file_name_lookup; hurd_file_name_lookup_retry;
|
|
hurd_file_name_path_lookup; hurd_file_name_split;
|
|
hurd_preempt_signals;
|
|
hurd_safe_copyin; hurd_safe_copyout;
|
|
hurd_safe_memmove; hurd_safe_memset;
|
|
hurd_sig_post;
|
|
hurd_thread_cancel; hurd_thread_self;
|
|
hurd_unpreemt_signals;
|
|
|
|
# o*
|
|
openport;
|
|
|
|
# p*
|
|
pid2task;
|
|
|
|
# s*
|
|
setauth; setcrdir; setcwdir; setproc; setcttyid;
|
|
|
|
# t*
|
|
task2pid;
|
|
|
|
# v*
|
|
vpprintf;
|
|
}
|
|
GLIBC_2.1 {
|
|
# "quasi-internal" functions
|
|
_hurd_proc_init;
|
|
|
|
# g*
|
|
geteuids;
|
|
|
|
# s*
|
|
seteuids;
|
|
}
|
|
GLIBC_2.1.3 {
|
|
# c*
|
|
cthread_fork; cthread_detach;
|
|
|
|
# d*
|
|
directory_name_split;
|
|
|
|
# h*
|
|
hurd_directory_name_split;
|
|
}
|
|
}
|