newlib-cygwin/winsup/cygwin/include/sys
Corinna Vinschen 51303cbd0c * Makefile.in (DLL_OFILES): Add setlsapwd.o.
* cygserver.h (CYGWIN_SERVER_VERSION_API): Bump.
	(request_code_t): Define CYGSERVER_REQUEST_SETPWD request type.
	* cygserver_msg.h (client_request_msg::retval): Use default value of -1
	for retval if msglen is 0.
	* cygserver_sem.h (client_request_sem::retval): Ditto.
	* cygserver_shm.h (client_request_shm::retval): Ditto.
	* cygserver_setpwd.h: New file.
	* external.cc (cygwin_internal): Implement new CW_SET_PRIV_KEY type.
	* sec_auth.cc (open_local_policy): Make externally available.
	Get ACCESS_MASK as argument.
	(create_token): Accommodate change to open_local_policy.
	(lsaauth): Ditto.
	(lsaprivkeyauth): New function fetching token by retrieving
	password stored in Cygwin or Interix LSA private data area and
	calling LogonUser with it.
	* security.h (lsaprivkeyauth): Declare.
	(open_local_policy): Declare.
	* setlsapwd.cc: New file implementing setting LSA private data password
	using LsaStorePrivateData or by calling cygserver if available.
	* syscalls.cc (seteuid32): Add workaround to get the original token
	when switching back to the original privileged user, even if
	setgroups group list is still active.  Add long comment to explain why.
	Call lsaprivkeyauth first, only if that fails call lsaauth or
	create_token.
	* include/cygwin/version.h: Bump API minor number.
	* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_SET_PRIV_KEY.
2008-11-26 10:18:10 +00:00
..
acl.h
copying.dj
cygwin.h * Makefile.in (DLL_OFILES): Add setlsapwd.o. 2008-11-26 10:18:10 +00:00
dirent.h * dcrt0.cc (initial_env): Use PATH_MAX instead of CYG_MAX_PATH for path 2007-12-06 18:24:06 +00:00
elf32.h
elf64.h
elf_common.h
elf_generic.h
file.h
ioctl.h * include/sys/ioctl.h: Pick up termios.h, for TIOCGWINSZ. 2006-12-06 14:08:08 +00:00
ipc.h
kd.h * fhandler.h (class dev_console): Add `metabit' indicating the 2006-07-03 15:29:10 +00:00
lock.h
mman.h * cygwin.din (shm_open): Export. 2007-02-08 13:36:53 +00:00
mount.h Add case-sensitivity. 2008-07-16 20:20:45 +00:00
msg.h
mtio.h
param.h * include/sys/param.h (MAXPATHLEN): Define as PATH_MAX. 2007-10-18 10:42:43 +00:00
poll.h * fhandler_socket.cc (fhandler_socket::recv_internal): Fix a problem 2006-07-31 14:27:56 +00:00
procfs.h
queue.h * Makefile.in (DLL_OFILES): Add xsique.o. 2007-06-12 15:24:46 +00:00
resource.h
select.h
sem.h
shm.h
smallprint.h
socket.h 2006-07-25 Corinna Vinschen <corinna@vinschen.de> 2006-07-25 19:23:23 +00:00
soundcard.h
statfs.h
statvfs.h
stdio.h Perform whitespace cleanup throughout. 2008-02-15 17:53:11 +00:00
strace.h
syslimits.h * fhandler.cc (check_posix_perm): Moved here from syscalls.cc. 2006-11-07 17:59:54 +00:00
syslog.h
sysmacros.h
sysproto.h
termio.h
termios.h * Makefile.in: Add -c option which is now removed from COMPILE_C*. 2008-09-12 22:32:07 +00:00
ttychars.h
uio.h
un.h
utime.h
utmp.h * cygwin.din (_getutline): Remove. 2008-07-30 04:58:24 +00:00
utsname.h
vfs.h
wait.h * include/sys/wait.h: Move definition of wait constants from here... 2006-06-12 14:25:05 +00:00