newlib-cygwin/winsup/cygwin/include/sys
Corinna Vinschen 29b7313d22 * 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-12 17:36:56 +00:00
..
acl.h
copying.dj
cygwin.h * cygheap.h (enum cygheap_pwdgrp::cache_t): Remove. 2014-03-12 17:36:56 +00:00
dirent.h Throughout, keep function definitions and declarations in sync with 2013-11-25 11:38:08 +00:00
elf.h * include/elf.h: Update from FreeBSD. 2012-06-06 04:45:48 +00:00
elf32.h * include/elf.h: Update from FreeBSD. 2012-06-06 04:45:48 +00:00
elf64.h * include/elf.h: Update from FreeBSD. 2012-06-06 04:45:48 +00:00
elf_common.h * include/sys/elf_common.h (R_386_16): Define. 2012-06-10 18:28:16 +00:00
elf_generic.h * include/elf.h: Update from FreeBSD. 2012-06-06 04:45:48 +00:00
file.h * fhandler_disk_file.cc (fhandler_disk_file::fchown): Fix typo in 2014-02-06 20:38:35 +00:00
ioctl.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
ipc.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
kd.h
lock.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
mman.h
mount.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
msg.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
mtio.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
param.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
poll.h * include/sys/poll.h: Include signal.h to get definition of sigset_t. 2011-04-21 07:18:42 +00:00
procfs.h
resource.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
select.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
sem.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
shm.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
smallprint.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
socket.h * include/sys/socket.h: Move SHUT_xx definitoins from here... 2013-05-31 18:08:25 +00:00
soundcard.h
statfs.h
statvfs.h
stdio.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
strace.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
sysinfo.h Adapt to changes in newlib's sys/cdefs.h: 2013-04-22 10:33:09 +00:00
syslimits.h
syslog.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
sysmacros.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
sysproto.h
termio.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
termios.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
ttychars.h
uio.h
un.h * include/sys/un.h (UNIX_PATH_MAX): Rename from UNIX_PATH_LEN to 2013-03-07 15:39:35 +00:00
utime.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
utmp.h
utsname.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
vfs.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
wait.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
xattr.h * include/sys/xattr.h: New file. 2011-03-29 08:03:35 +00:00