newlib-cygwin/winsup/cygwin/tlsoffsets64.h

118 lines
3.3 KiB
C
Raw Normal View History

2013-04-23 17:44:36 +08:00
//;# autogenerated: Do not edit.
//; $tls::start_offset = -12800;
//; $tls::locals = -12800;
//; $tls::plocals = 0;
* cygheap.h (enum cygheap_pwdgrp::cache_t): Remove. (cygheap_pwdgrp::caching): Convert to bool. (cygheap_pwdgrp::pwd_cache): Add cygserver member. (cygheap_pwdgrp::grp_cache): Ditto. (cygheap_pwdgrp::nss_db_caching): Drop. (cygheap_pwdgrp::nss_db_full_caching): Drop. (cygheap_pwdgrp::nss_cygserver_caching): New method. (cygheap_pwdgrp::nss_disable_cygserver_caching): New method. * cygserver.h (client_request::request_code_t): Add CYGSERVER_REQUEST_PWDGRP. * cygserver_pwdgrp.h: New file. * cygtls.h (struct _local_storage): Remove pwbuf and grbuf members. * grp.cc (pwdgrp::prep_tls_grbuf): Drop. (internal_getgrsid): Handle cygserver caching and rearrange to check the caches first. (internal_getgrnam): Ditto. (internal_getgrgid): Ditto. (gr_ent::enumerate_caches): Handle cygserver cache. * passwd.cc (pwdgrp::prep_tls_pwbuf): Drop. (internal_getpwsid): Handle cygserver caching and rearrange to check the caches first. (internal_getpwnam): Ditto. (internal_getpwuid): Ditto. (pw_ent::enumerate_caches): Handle cygserver cache. * pwdgrp.h (pwdgrp::add_account_from_cygserver): New method declaration. (pwdgrp::fetch_account_from_cygserver): New method declaration. (pwdgrp::prep_tls_pwbuf): Drop declaration. (pwdgrp::prep_tls_grbuf): Drop declaration. (pwdgrp::add_user_from_cygserver): New inline methods. (pwdgrp::add_group_from_cygserver): New inline methods. * tlsoffsets.h: Regenerate. * tlsoffsets64.h: Regenerate. * uinfo.cc (internal_getlogin): Call internal_getgroups if cygserver caching is not available. (cygheap_pwdgrp::init): Initialize pwd_cache.cygserver and grp_cache.cygserver. Set caching to true. (cygheap_pwdgrp::nss_init_line): Drop db_cache handling entirely. (pwdgrp::add_account_from_windows): Drop no caching handling. (client_request_pwdgrp::client_request_pwdgrp): New method. (pwdgrp::fetch_account_from_cygserver): New method. (pwdgrp::add_account_from_cygserver): New method. * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix formatting. * include/sys/cygwin.h: Ditto.
2014-03-13 01:36:56 +08:00
//; $tls::local_clib = -11264;
//; $tls::plocal_clib = 1536;
//; $tls::__dontuse = -11264;
//; $tls::p__dontuse = 1536;
//; $tls::func = -9376;
//; $tls::pfunc = 3424;
//; $tls::saved_errno = -9368;
//; $tls::psaved_errno = 3432;
//; $tls::sa_flags = -9364;
//; $tls::psa_flags = 3436;
//; $tls::oldmask = -9360;
//; $tls::poldmask = 3440;
//; $tls::deltamask = -9352;
//; $tls::pdeltamask = 3448;
//; $tls::errno_addr = -9344;
//; $tls::perrno_addr = 3456;
//; $tls::sigmask = -9336;
//; $tls::psigmask = 3464;
//; $tls::sigwait_mask = -9328;
//; $tls::psigwait_mask = 3472;
//; $tls::sigwait_info = -9320;
//; $tls::psigwait_info = 3480;
//; $tls::signal_arrived = -9312;
//; $tls::psignal_arrived = 3488;
//; $tls::will_wait_for_signal = -9304;
//; $tls::pwill_wait_for_signal = 3496;
//; $tls::thread_context = -9296;
//; $tls::pthread_context = 3504;
//; $tls::thread_id = -8464;
//; $tls::pthread_id = 4336;
//; $tls::infodata = -8460;
//; $tls::pinfodata = 4340;
//; $tls::tid = -8312;
//; $tls::ptid = 4488;
//; $tls::_ctinfo = -8304;
//; $tls::p_ctinfo = 4496;
//; $tls::andreas = -8296;
//; $tls::pandreas = 4504;
//; $tls::wq = -8288;
//; $tls::pwq = 4512;
//; $tls::sig = -8240;
//; $tls::psig = 4560;
//; $tls::incyg = -8236;
//; $tls::pincyg = 4564;
//; $tls::spinning = -8232;
//; $tls::pspinning = 4568;
//; $tls::stacklock = -8228;
//; $tls::pstacklock = 4572;
//; $tls::stackptr = -8224;
//; $tls::pstackptr = 4576;
//; $tls::stack = -8216;
//; $tls::pstack = 4584;
//; $tls::initialized = -6168;
//; $tls::pinitialized = 6632;
2013-04-23 17:44:36 +08:00
//; __DATA__
#define tls_locals (-12800)
#define tls_plocals (0)
* cygheap.h (enum cygheap_pwdgrp::cache_t): Remove. (cygheap_pwdgrp::caching): Convert to bool. (cygheap_pwdgrp::pwd_cache): Add cygserver member. (cygheap_pwdgrp::grp_cache): Ditto. (cygheap_pwdgrp::nss_db_caching): Drop. (cygheap_pwdgrp::nss_db_full_caching): Drop. (cygheap_pwdgrp::nss_cygserver_caching): New method. (cygheap_pwdgrp::nss_disable_cygserver_caching): New method. * cygserver.h (client_request::request_code_t): Add CYGSERVER_REQUEST_PWDGRP. * cygserver_pwdgrp.h: New file. * cygtls.h (struct _local_storage): Remove pwbuf and grbuf members. * grp.cc (pwdgrp::prep_tls_grbuf): Drop. (internal_getgrsid): Handle cygserver caching and rearrange to check the caches first. (internal_getgrnam): Ditto. (internal_getgrgid): Ditto. (gr_ent::enumerate_caches): Handle cygserver cache. * passwd.cc (pwdgrp::prep_tls_pwbuf): Drop. (internal_getpwsid): Handle cygserver caching and rearrange to check the caches first. (internal_getpwnam): Ditto. (internal_getpwuid): Ditto. (pw_ent::enumerate_caches): Handle cygserver cache. * pwdgrp.h (pwdgrp::add_account_from_cygserver): New method declaration. (pwdgrp::fetch_account_from_cygserver): New method declaration. (pwdgrp::prep_tls_pwbuf): Drop declaration. (pwdgrp::prep_tls_grbuf): Drop declaration. (pwdgrp::add_user_from_cygserver): New inline methods. (pwdgrp::add_group_from_cygserver): New inline methods. * tlsoffsets.h: Regenerate. * tlsoffsets64.h: Regenerate. * uinfo.cc (internal_getlogin): Call internal_getgroups if cygserver caching is not available. (cygheap_pwdgrp::init): Initialize pwd_cache.cygserver and grp_cache.cygserver. Set caching to true. (cygheap_pwdgrp::nss_init_line): Drop db_cache handling entirely. (pwdgrp::add_account_from_windows): Drop no caching handling. (client_request_pwdgrp::client_request_pwdgrp): New method. (pwdgrp::fetch_account_from_cygserver): New method. (pwdgrp::add_account_from_cygserver): New method. * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix formatting. * include/sys/cygwin.h: Ditto.
2014-03-13 01:36:56 +08:00
#define tls_local_clib (-11264)
#define tls_plocal_clib (1536)
#define tls___dontuse (-11264)
#define tls_p__dontuse (1536)
#define tls_func (-9376)
#define tls_pfunc (3424)
#define tls_saved_errno (-9368)
#define tls_psaved_errno (3432)
#define tls_sa_flags (-9364)
#define tls_psa_flags (3436)
#define tls_oldmask (-9360)
#define tls_poldmask (3440)
#define tls_deltamask (-9352)
#define tls_pdeltamask (3448)
#define tls_errno_addr (-9344)
#define tls_perrno_addr (3456)
#define tls_sigmask (-9336)
#define tls_psigmask (3464)
#define tls_sigwait_mask (-9328)
#define tls_psigwait_mask (3472)
#define tls_sigwait_info (-9320)
#define tls_psigwait_info (3480)
#define tls_signal_arrived (-9312)
#define tls_psignal_arrived (3488)
#define tls_will_wait_for_signal (-9304)
#define tls_pwill_wait_for_signal (3496)
#define tls_thread_context (-9296)
#define tls_pthread_context (3504)
#define tls_thread_id (-8464)
#define tls_pthread_id (4336)
#define tls_infodata (-8460)
#define tls_pinfodata (4340)
#define tls_tid (-8312)
#define tls_ptid (4488)
#define tls__ctinfo (-8304)
#define tls_p_ctinfo (4496)
#define tls_andreas (-8296)
#define tls_pandreas (4504)
#define tls_wq (-8288)
#define tls_pwq (4512)
#define tls_sig (-8240)
#define tls_psig (4560)
#define tls_incyg (-8236)
#define tls_pincyg (4564)
#define tls_spinning (-8232)
#define tls_pspinning (4568)
#define tls_stacklock (-8228)
#define tls_pstacklock (4572)
#define tls_stackptr (-8224)
#define tls_pstackptr (4576)
#define tls_stack (-8216)
#define tls_pstack (4584)
#define tls_initialized (-6168)
#define tls_pinitialized (6632)