newlib-cygwin/winsup/cygwin/include/sys
Corinna Vinschen 0191627a26 * include/sys/cygwin.h: Add new cygwin_getinfo_type
CW_SET_EXTERNAL_TOKEN.
	Add new enum CW_TOKEN_IMPERSONATION, CW_TOKEN_RESTRICTED.
	* cygheap.h (cyguser): New flags ext_token_is_restricted,
	curr_token_is_restricted and setuid_to_restricted.
	* external.cc (cygwin_internal): Add CW_SET_EXTERNAL_TOKEN.
	* sec_auth.cc (set_imp_token): New function.
	(cygwin_set_impersonation_token): Call set_imp_token ().
	* security.h (set_imp_token): New prototype.
	* spawn.cc (spawn_guts): Use CreateProcessAsUserW if restricted token
	was enabled by setuid().  Do not create new window station in this case.
	* syscalls.cc (seteuid32): Add handling of restricted external tokens.
	Set HANDLE_FLAG_INHERIT for primary token.
	(setuid32): Set setuid_to_restricted flag.
	* uinfo.cc (uinfo_init): Do not reimpersonate if restricted token was
	enabled by setuid ().  Initialize user.*_restricted flags.
2009-10-13 10:23:31 +00:00
..
acl.h
copying.dj
cygwin.h * include/sys/cygwin.h: Add new cygwin_getinfo_type 2009-10-13 10:23:31 +00:00
dirent.h * dir.cc (readdir_worker): Initialize dirent.d_type and __d_unused1. 2008-11-28 09:04:35 +00:00
elf32.h
elf64.h
elf_common.h
elf_generic.h
file.h
ioctl.h
ipc.h
kd.h
lock.h
mman.h * cygwin.din (shm_open): Export. 2007-02-08 13:36:53 +00:00
mount.h cygwin ChangeLog 2009-05-14 03:25:45 +00:00
msg.h
mtio.h
param.h * include/limits.h (NGROUPS_MAX): Set to a more sane value. 2009-08-11 07:28:22 +00:00
poll.h
procfs.h
queue.h * Makefile.in (DLL_OFILES): Add xsique.o. 2007-06-12 15:24:46 +00:00
resource.h
sched.h * fhandler_floppy.cc (fhandler_dev_floppy::open): Fix format. Add 2009-02-09 18:28:53 +00:00
select.h * include/sys/select.h: Guard definitions with __USE_W32_SOCKETS as 2009-05-08 10:54:58 +00:00
sem.h
shm.h
smallprint.h
socket.h
soundcard.h
statfs.h
statvfs.h
stdio.h Perform whitespace cleanup throughout. 2008-02-15 17:53:11 +00:00
strace.h * pinfo.cc (pinfo_basic): New class. 2008-12-19 19:09:51 +00:00
syslimits.h
syslog.h
sysmacros.h
sysproto.h
termio.h
termios.h * cygwin/include/sys/termios.h: Make default erase character "^?". 2009-05-30 17:21:22 +00:00
ttychars.h
uio.h
un.h * include/sys/un.h: #include <string.h> for strlen. 2009-03-23 08:45:18 +00:00
utime.h
utmp.h * cygwin.din (_getutline): Remove. 2008-07-30 04:58:24 +00:00
utsname.h
vfs.h
wait.h