newlib/winsup/cygwin
Corinna Vinschen cce28460fe * cygheap.h (init_cygheap::luid): Remove.
* mmap.cc (mlock): Accommodate parameter change in call to
	push_thread_privilege.
	(munlock): Ditto.
	* ntdll.h (STATUS_NOT_ALL_ASSIGNED): Define.
	(NtAdjustPrivilegesToken): Declare.
	* sec_helper.cc (cygpriv): Reorder to match numerical privilege order.
	(privilege_luid): Take job of privilege_luid_by_name, using new
	cygpriv.
	(privilege_luid_by_name): Remove.
	(privilege_name): Accommodate new cygpriv array.
	(set_privilege): Call NtAdjustPrivilegesToken to avoid using advapi32.
	Accommodate changes to privilege_name.
	(set_cygwin_privileges): Simplify.  Don't try to set
	SE_CREATE_GLOBAL_PRIVILEGE on systems not supporting it.
	* security.cc (sys_privs): Reorder to match numerical privilege order.
	Use real privilege values as defined in security.h.
	(get_system_priv_list): Drop unused grp_list argument.  Create
	list of privileges according to new wincapc::max_sys_priv value.
	(get_priv_list): Call privilege_luid instead of privilege_luid_by_name.
	Make priv a local value instead of a pointer.
	(create_token): Accommodate parameter change in call to
	push_self_privilege.
	(lsaauth): Ditto.
	(check_access): Use privilege values directly instead of calling
	privilege_luid.
	* security.h: Define real privilege values.
	(cygpriv_idx): Remove.
	(privilege_luid): Change declaration.
	(privilege_luid_by_name): Drop declaration.
	(set_privilege): Change declaration.
	(set_process_privilege): Drop definition.
	(_push_thread_privilege): Accomodate new set_privilege parameters.
	* wincap.h (wincapc::max_sys_priv): New element.
	* wincap.cc: Implement above element throughout.
	(wincap_2000sp4): New wincaps structure.
	(wincap_xpsp1): Ditto.
	(wincap_xpsp2): Ditto.
	(wincapc::init): Use new wincaps.
	(wincapc::max_sys_priv): New element.
2007-07-19 08:33:22 +00:00
..
config/i386
include * cygwin/strsig.cc (__signals): New macro. 2007-07-10 00:12:54 +00:00
lib * Makefile.in (DLL_OFILES): Add winf.o. 2006-04-12 15:53:22 +00:00
libc * Makefile.in (DLL_OFILES): Add xsique.o. 2007-06-12 15:24:46 +00:00
regex * cygtls.cc (_cygtls::handle_threadlist_exception): Make an error fatal. 2005-12-23 22:50:20 +00:00
regexp
CYGWIN_LICENSE * CYGWIN_LICENSE: Fix web pages and contact information. 2007-01-15 12:19:01 +00:00
ChangeLog * cygheap.h (init_cygheap::luid): Remove. 2007-07-19 08:33:22 +00:00
ChangeLog-1995 white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
ChangeLog-1996 white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
ChangeLog-1997 white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004 * ChangeLog: Split and create ChangeLog-2004. 2005-01-11 12:48:34 +00:00
ChangeLog-2005 fix minor typo 2006-01-16 19:52:21 +00:00
ChangeLog-2006 * ChangeLog: Happy New Year. 2007-01-03 11:14:53 +00:00
Makefile.in * Makefile.in (DLL_OFILES): Add newly-imported random.o. Eliminate reliance on 2007-07-08 15:04:34 +00:00
ROADMAP
acconfig.h
aclocal.m4 update to newer autoconf 2006-05-24 16:59:03 +00:00
analyze_sigfe * analyze_sigfe: New script. 2006-03-01 20:20:22 +00:00
assert.cc * assert.cc (__assert_func): New function, to match newlib header 2007-06-27 12:46:35 +00:00
autoload.cc * autoload.cc (WSAIoctl): Remove. 2007-06-21 15:57:54 +00:00
automode.c
binmode.c
child_info.h * child_info.h (child_info_spawn::__stdin): New element. 2006-12-11 18:55:29 +00:00
config.h.in white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
configure update to newer autoconf 2006-05-24 16:59:03 +00:00
configure.in * select.cc (start_thread_socket): Delay setting thread local exitsock until we 2006-05-24 03:39:29 +00:00
cpuid.h * path.cc (chdir): Always use the normalized_path as posix_cwd, except if it 2004-05-28 19:50:07 +00:00
crt0.c * crt0.cc: Remove PPC considerations. 2005-09-29 14:28:22 +00:00
ctype.cc * include/ctype.h: New file. 2005-03-23 17:11:24 +00:00
cxx.cc * child_info.h (fork_info): Use different method to alias variable. 2005-03-19 21:45:15 +00:00
cygerrno.h * cygerrno.h (geterrno_from_win_error): Change declaration to default to using 2005-08-20 06:19:55 +00:00
cygheap.cc * cygheap.h (shared_prefix): De-const. 2007-07-18 11:15:51 +00:00
cygheap.h * cygheap.h (init_cygheap::luid): Remove. 2007-07-19 08:33:22 +00:00
cyglsa.h * cyglsa.h: New header file. 2006-11-27 12:59:59 +00:00
cygmagic * cygmagic: Remove debugging cruft missed on 2005-05-21. 2005-05-30 00:54:01 +00:00
cygmalloc.h * cygmalloc.h (__set_ENOMEM): Declare. 2007-02-08 11:35:52 +00:00
cygserver.h * cygserver.h (CYGWIN_SERVER_VERSION_API): Bump. 2004-06-03 19:52:12 +00:00
cygserver_ipc.h
cygserver_msg.h Change foo (void) to foo () for all c++ functions throughout. Remove all 2005-07-05 03:16:46 +00:00
cygserver_sem.h Change foo (void) to foo () for all c++ functions throughout. Remove all 2005-07-05 03:16:46 +00:00
cygserver_shm.h Change foo (void) to foo () for all c++ functions throughout. Remove all 2005-07-05 03:16:46 +00:00
cygthread.cc * cygthread.cc (cygthread::terminate_thread): In debugging output, use name of 2006-06-03 21:44:01 +00:00
cygthread.h Change process_lock to lock_process throughout. Change all calls to new 2005-10-17 23:27:00 +00:00
cygtls.cc Throughout remove all usage of wincap.has_security. 2007-02-23 15:15:50 +00:00
cygtls.h 2006-07-25 Corinna Vinschen <corinna@vinschen.de> 2006-07-25 19:23:23 +00:00
cygwin-shilka
cygwin.din * cygwin.din: Export wcstol, wcstoll, wcstoul, wcstoull, wcsxfrm. 2007-07-06 20:05:44 +00:00
cygwin.sc * cygwin.sc: Remove duplicated .debug_macinfo section. 2007-04-18 13:11:35 +00:00
cygwin_version.h
dcrt0.cc * dcrt0.cc (dll_crt0_0): Call set_cygwin_privileges here, after 2007-07-19 07:24:17 +00:00
debug.cc * debug.cc (close_handle): Change debug output format slightly. 2007-07-10 01:21:03 +00:00
debug.h * debug.h (ModifyHandle): Define new macro. 2006-05-25 05:40:51 +00:00
delqueue.cc Throughout remove all usage of wincap.access_denied_on_delete. 2007-02-22 16:04:19 +00:00
devices.cc * devices.in: Change native device name to native NT device name for 2007-02-23 14:20:28 +00:00
devices.h * Makefile.in (DLL_OFILES): Add fhandler_procnet.o. 2007-01-17 19:26:58 +00:00
devices.in * devices.in: Change native device name to native NT device name for 2007-02-23 14:20:28 +00:00
dir.cc * dir.cc (closedir): Revert change from 2007-06-29. 2007-07-09 17:02:37 +00:00
dlfcn.cc * debug.cc (close_handle): Change debug output format slightly. 2007-07-10 01:21:03 +00:00
dll_init.cc * cygheap.cc (cygheap_fixup_in_child): Don't close parent handle here. Let the 2006-06-02 00:09:50 +00:00
dll_init.h * dcrt0.cc (do_global_dtors): Run DLL dtors. 2005-04-14 17:34:03 +00:00
dll_init.sgml
dllfixdbg * cygwin.sc: Remove duplicated .debug_macinfo section. 2007-04-18 13:11:35 +00:00
dlmalloc.c remove keyword stuff 2004-05-12 16:21:18 +00:00
dlmalloc.h
dtable.cc Preliminary change to make fifos/pipes interruptible and fifos reliable. 2007-07-07 17:00:33 +00:00
dtable.h Preliminary change to make fifos/pipes interruptible and fifos reliable. 2007-07-07 17:00:33 +00:00
dtable.sgml
environ.cc * Makefile (DLL_OFILES): Remove ntea.o 2007-03-01 15:13:47 +00:00
environ.h * environ.cc (env_win32_to_posix_path_list): Declare. 2006-08-02 15:11:48 +00:00
errno.cc * environ.cc (build_env): Don't put an empty environment variable into the 2006-09-07 20:42:53 +00:00
exceptions.cc * init.cc (in_dllentry): Delete. 2007-07-14 15:58:32 +00:00
exec.cc minor comment restructuring 2006-02-15 22:11:13 +00:00
external.cc * cygwin/external.cc (cygwin_internal): Implement CW_SET_DOS_FILE_WARNING. 2007-03-30 13:36:06 +00:00
external.sgml
fcntl.cc Reorganize header file inclusion throughout so that cygerrno.h comes first. 2005-01-12 22:40:46 +00:00
fhandler.cc * fhandler.cc (fhandler_base::fhaccess): Add check for R/O file system. 2007-07-17 14:39:02 +00:00
fhandler.h * debug.cc (close_handle): Change debug output format slightly. 2007-07-10 01:21:03 +00:00
fhandler_clipboard.cc * cygheap.h (init_cygheap::manage_console_count): Declare new function. 2005-11-14 04:28:45 +00:00
fhandler_console.cc * fhandler_console.cc (fhandler_console::need_invisible): Drop 2007-02-23 12:01:52 +00:00
fhandler_disk_file.cc * fhandler_disk_file.cc (fhandler_disk_file::opendir): Move setting 2007-07-17 13:22:21 +00:00
fhandler_dsp.cc * cygthread.cc (cygthread::terminate_thread): In debugging output, use name of 2006-06-03 21:44:01 +00:00
fhandler_fifo.cc Preliminary change to make fifos/pipes interruptible and fifos reliable. 2007-07-07 17:00:33 +00:00
fhandler_floppy.cc * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Don't invalidate 2007-05-22 07:16:19 +00:00
fhandler_mailslot.cc * fhandler_mailslot.cc (fhandler_mailslot::fstat): Set new stat member 2007-03-06 14:48:25 +00:00
fhandler_mem.cc * fhandler_mem.cc (fhandler_dev_mem::open): Fix comment. 2006-12-06 16:33:03 +00:00
fhandler_netdrive.cc * fhandler_disk_file.cc (path_conv::hasgood_inode): Make inline. 2006-04-14 14:20:58 +00:00
fhandler_nodevice.cc
fhandler_proc.cc * fhandler_disk_file.cc: White space. 2007-07-07 16:46:35 +00:00
fhandler_process.cc * cygwin.din: Export fdopendir. 2007-06-29 15:13:01 +00:00
fhandler_procnet.cc * cygwin.din: Export fdopendir. 2007-06-29 15:13:01 +00:00
fhandler_random.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
fhandler_raw.cc * fhandler_mailslot.cc (fhandler_mailslot::fstat): Set new stat member 2007-03-06 14:48:25 +00:00
fhandler_registry.cc * fhandler_mailslot.cc (fhandler_mailslot::fstat): Set new stat member 2007-03-06 14:48:25 +00:00
fhandler_serial.cc * exceptions.cc (dummy_ctrl_c_handler): Remove. 2007-02-23 10:51:59 +00:00
fhandler_socket.cc * autoload.cc (WSAIoctl): Remove. 2007-06-21 15:57:54 +00:00
fhandler_tape.cc * cygheap.h (struct init_cygheap): Remove shared_h and mt_h members. 2006-07-26 15:59:39 +00:00
fhandler_termios.cc * dcrt0.cc (dll_crt0_0): Call tty_list::init_session here. 2006-06-03 20:32:07 +00:00
fhandler_tty.cc Throughout remove all usage of wincap.has_security. 2007-02-23 15:15:50 +00:00
fhandler_virtual.cc * dir.cc (closedir): Revert change from 2007-06-29. 2007-07-09 17:02:37 +00:00
fhandler_windows.cc Remove some more unneeded 'return;'s throughout. 2005-09-14 14:27:56 +00:00
fhandler_zero.cc Remove some more unneeded 'return;'s throughout. 2005-09-14 14:27:56 +00:00
flock.cc
fork.cc * fork.cc: White space. 2007-07-07 16:43:03 +00:00
gcrt0.c
gendef * cygheap.cc (cygheap_fixup_in_child): Don't close parent handle here. Let the 2006-06-02 00:09:50 +00:00
gendevices * analyze_sigfe: New script. 2006-03-01 20:20:22 +00:00
gentls_offsets * sigproc.cc (no_signals_available): Detect hwait_sig == INVALID_HANDLE_VALUE. 2006-05-16 03:14:24 +00:00
glob.cc Add accidentally missing checkins. 2007-03-06 16:29:40 +00:00
gmon.c
gmon.h
grp.cc * cygheap.h (cygheap_user::curr_imp_token): Rename from current_token. 2007-07-16 20:01:15 +00:00
heap.cc * cygheap.h (struct user_heap_info): Add slop member. 2006-10-31 18:41:16 +00:00
heap.h
hires.h * hires.h (hires_ms::initime_ms): Delete. 2005-12-07 22:28:49 +00:00
hookapi.cc * hookapi.cc: Add comment header 2006-07-06 17:16:37 +00:00
how-autoload-works.txt white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
how-cygheap-works.txt
how-cygtls-works.txt * dcrt0.cc (cygwin_dll_init): Now initializes main_environ and cygtls. Comment 2005-06-04 02:11:50 +00:00
how-fhandlers-work.txt
how-signals-work.txt
how-spawn-works.txt
how-to-debug-cygwin.txt Put an underscore in front of the "active" in "strace.active". 2006-05-28 21:39:37 +00:00
how-vfork-works.txt minor cleanup 2004-12-05 02:30:20 +00:00
init.cc * init.cc (in_dllentry): Delete. 2007-07-14 15:58:32 +00:00
ioctl.cc * ioctl.cc (ioctl): Accommodate change in reported pty master device number. 2006-06-04 20:32:58 +00:00
ipc.cc
localtime.cc * libc: Add subdirectory. 2005-11-18 17:48:23 +00:00
lsearch.cc * Makefile.in (DLL_OFILES): Add xsique.o. 2007-06-12 15:24:46 +00:00
malloc.cc * malloc.cc: Update to version 2.8.3. 2005-12-10 17:09:58 +00:00
malloc_wrapper.cc * cygmalloc.h (__set_ENOMEM): Declare. 2007-02-08 11:35:52 +00:00
mcount.c
miscfuncs.cc * exceptions.cc (dummy_ctrl_c_handler): Remove. 2007-02-23 10:51:59 +00:00
mktemp.cc * mktemp.cc (_gettemp): Open temp files in binary mode. 2006-04-17 15:09:13 +00:00
mkvers.sh
mmap.cc * cygheap.h (init_cygheap::luid): Remove. 2007-07-19 08:33:22 +00:00
mmap_helper.h * winsup.h: Turn on DEBUGGING by default for now. 2006-08-10 14:15:00 +00:00
msg.cc Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
mtinfo.h * cygheap.h (struct init_cygheap): Remove shared_h and mt_h members. 2006-07-26 15:59:39 +00:00
net.cc * fork.cc: White space. 2007-07-07 16:43:03 +00:00
netdb.cc * Makefile.in (DLL_IMPORTS): Add libntdll.a. 2007-02-22 10:54:47 +00:00
newsym white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
ntdll.h * cygheap.h (init_cygheap::luid): Remove. 2007-07-19 08:33:22 +00:00
ntea.cc Remove extraneous whitespace. 2007-02-20 00:16:18 +00:00
passwd.cc Throughout remove all usage of wincap.has_security. 2007-02-23 15:15:50 +00:00
path.cc * path.cc (symlink_info::check_shortcut): Handle device "symlinks" specially - 2007-07-07 16:48:26 +00:00
path.h * path.cc (fs_info::update): Set and use is_cdrom. 2007-05-15 01:27:30 +00:00
path.sgml * path.sgml: Encode programming example with CDATA. 2004-12-31 01:13:28 +00:00
perprocess.h
pinfo.cc Preliminary change to make fifos/pipes interruptible and fifos reliable. 2007-07-07 17:00:33 +00:00
pinfo.h Preliminary change to make fifos/pipes interruptible and fifos reliable. 2007-07-07 17:00:33 +00:00
pipe.cc * debug.cc (close_handle): Change debug output format slightly. 2007-07-10 01:21:03 +00:00
poll.cc * fhandler_socket.cc (fhandler_socket::recv_internal): Fix a problem 2006-07-31 14:27:56 +00:00
posix.sgml * cygwin.din: Export fdopendir. 2007-06-29 15:13:01 +00:00
posix_ipc.cc * fork.cc: White space. 2007-07-07 16:43:03 +00:00
profil.c
profil.h
pseudo-reloc.cc
pthread.cc * cygwin.din (sem_unlink): Export. 2007-02-20 15:48:04 +00:00
pwdgrp.h * sync.h (muto::initforce): Delete flawed implementation. 2005-04-05 06:04:57 +00:00
random.cc * Makefile.in (DLL_OFILES): Add newly-imported random.o. Eliminate reliance on 2007-07-08 15:04:34 +00:00
registry.cc * Makefile.in (DLL_IMPORTS): Add libntdll.a. 2007-02-22 10:54:47 +00:00
registry.h * dir.cc (readdir_worker): Minor code cleanup. 2006-01-03 17:44:26 +00:00
resource.cc Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
rmsym
scandir.cc * fhandler_clipboard.cc (fhandler_dev_clipboard::write): Never set 2005-03-01 11:51:29 +00:00
sched.cc * Makefile.in (DLL_IMPORTS): Add libntdll.a. 2007-02-22 10:54:47 +00:00
sec_acl.cc * security.h (setacl): Add parameter for writability flag. 2007-01-07 12:44:10 +00:00
sec_helper.cc * cygheap.h (init_cygheap::luid): Remove. 2007-07-19 08:33:22 +00:00
security.cc * cygheap.h (init_cygheap::luid): Remove. 2007-07-19 08:33:22 +00:00
security.h * cygheap.h (init_cygheap::luid): Remove. 2007-07-19 08:33:22 +00:00
select.cc update copyright 2007-07-07 17:29:20 +00:00
sem.cc Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
shared.cc * shared_info.h (SHARED_INFO_CB): Accommodate change to shared_info. 2007-06-27 17:08:19 +00:00
shared.sgml Update Makefile to use xmlto 2004-12-27 19:03:56 +00:00
shared_info.h * shared_info.h (SHARED_INFO_CB): Accommodate change to shared_info. 2007-06-27 17:08:19 +00:00
shm.cc Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
signal.cc * signal.cc (usleep): Use useconds_t for the type as per POSIX. 2007-06-12 20:49:48 +00:00
sigproc.cc * init.cc (in_dllentry): Delete. 2007-07-14 15:58:32 +00:00
sigproc.h * sigproc.cc (waitq_head): Don't initialize to zero. 2006-07-14 00:50:55 +00:00
smallprint.c * dcrt0.cc (__api_fatal): Drop spare argument to __small_sprintf. 2006-10-27 10:41:51 +00:00
sortdin * sortdin: Ignore all leading underscores when deriving a sort key. 2006-07-05 16:06:50 +00:00
spawn.cc * spawn.cc (spawn_guts): Start pure-windows processes in a suspended state to 2007-03-28 14:34:24 +00:00
speclib
stackdump.sgml Update Makefile to use xmlto 2004-12-27 19:03:56 +00:00
strace.cc add copyright 2006-01-02 02:57:54 +00:00
string.h
strsep.cc
strsig.cc * cygwin/strsig.cc (__signals): New macro. 2007-07-10 00:12:54 +00:00
sync.cc Eliminate (void) cast on standalone function calls throughout. 2005-07-06 20:05:03 +00:00
sync.h * exceptions.cc (_cygtls::signal_exit): Only call myself.exit when when 2007-02-20 14:31:26 +00:00
syscalls.cc * cygheap.h (cygheap_user::curr_imp_token): Rename from current_token. 2007-07-16 20:01:15 +00:00
sysconf.cc * cygwin.din (confstr): Export. 2007-06-11 17:38:27 +00:00
syslog.cc * fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA. 2007-02-26 12:39:25 +00:00
termios.cc * termios.cc: Change include order to accomodate change to sys/ioctl.h. 2006-12-06 19:44:07 +00:00
textmode.c
textreadmode.c
thread.cc * cygheap.cc (cygheap_init): Fix formatting. Remove comment. Set 2007-03-29 16:37:36 +00:00
thread.h * dcrt0.cc (child_info_fork::alloc_stack_hard_way): Change sense of guard test. 2007-02-22 12:34:55 +00:00
timer.cc revert erroneous checkin 2006-02-20 02:06:37 +00:00
times.cc * times.cc (gettimeofday): Align definition to POSIX. 2007-07-06 20:09:23 +00:00
tlsoffsets.h 2006-07-25 Corinna Vinschen <corinna@vinschen.de> 2006-07-25 19:23:23 +00:00
tty.cc 2006-07-25 Corinna Vinschen <corinna@vinschen.de> 2006-07-25 19:23:23 +00:00
tty.h * cygheap.h (struct init_cygheap): Remove shared_h and mt_h members. 2006-07-26 15:59:39 +00:00
tz_posixrules.h
uinfo.cc * cygheap.h (cygheap_user::curr_imp_token): Rename from current_token. 2007-07-16 20:01:15 +00:00
uname.cc * exceptions.cc (dummy_ctrl_c_handler): Remove. 2007-02-23 10:51:59 +00:00
wait.cc Change pthread::cancelable_wait to just cancelable_wait, throughout. 2005-06-09 05:11:51 +00:00
winbase.h * pinfo.cc (pinfo::init): Define sa_buf as PSECURITY_ATTRIBUTES and 2005-06-07 19:31:42 +00:00
wincap.cc * cygheap.h (init_cygheap::luid): Remove. 2007-07-19 08:33:22 +00:00
wincap.h * cygheap.h (init_cygheap::luid): Remove. 2007-07-19 08:33:22 +00:00
window.cc Change process_lock to lock_process throughout. Change all calls to new 2005-10-17 23:27:00 +00:00
winf.cc * spawn.cc (spawn_guts): Revert patch which treated derived cygwin programs 2006-04-13 01:37:00 +00:00
winf.h * fhandler_console.cc (fhandler_console::need_invisible): Drop 2007-02-23 12:01:52 +00:00
wininfo.h GCC 4.1 fixes. 2006-07-17 19:30:30 +00:00
winsup.h * init.cc (in_dllentry): Delete. 2007-07-14 15:58:32 +00:00
winver.rc