newlib/winsup/cygwin
Eric Blake 3dbe243afa Fix faccessat(,0) and access() semantics.
* fhandler.h (fhandler_base::fhaccess): Add parameter.
* security.h (check_file_access, check_registry_access): Likewise.
* security.cc (check_file_access, check_registry_access)
(check_access): Implement new parameter.
* fhandler.cc (fhandler_base::fhaccess): Likewise.
(device_access_denied): Update caller.
* syscalls.cc (access, faccessat): Update callers.
* spawn.cc (find_exec, fixup): Likewise.
2009-09-25 13:44:45 +00:00
..
config/i386 * config/i386/profile.h (mcount): Mark asms volatile. 2008-08-05 19:20:58 +00:00
include * cxx.cc (default_cygwin_cxx_malloc): Enhance commenting. 2009-08-13 07:35:50 +00:00
lib * external.cc (cygwin_internal): Add hack to always reset cxx_malloc to proper 2009-09-21 02:19:31 +00:00
libc * libc/minires.c (scanline): Fix type in calls to ctype functions 2009-05-06 12:03:34 +00:00
regex * libc/minires.c (scanline): Fix type in calls to ctype functions 2009-05-06 12:03:34 +00:00
ChangeLog Fix faccessat(,0) and access() semantics. 2009-09-25 13:44:45 +00:00
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002 * ChangeLog-2002: Fix typo. 2009-09-22 02:49:15 +00:00
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006 * ChangeLog: Happy New Year. 2007-01-03 11:14:53 +00:00
ChangeLog-2007 * newsym: First stab at understanding data as well as functions. 2008-01-01 18:51:23 +00:00
ChangeLog-2008 * ChangeLog-2002: Fix typo. 2009-09-22 02:49:15 +00:00
Makefile.in * Makefile.in: Don't do anything special with any RCS directories. 2009-07-12 21:15:47 +00:00
ROADMAP
acconfig.h ChangeLog: 2009-01-21 17:14:39 +00:00
aclocal.m4
analyze_sigfe
assert.cc Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
autoload.cc * autoload.cc (WSARecv): Define. 2009-09-22 14:27:57 +00:00
automode.c
binmode.c
child_info.h * Makefile.in: Use all compile options when calculating magic values. 2009-04-05 16:49:15 +00:00
config.h.in ChangeLog: 2009-01-21 17:14:39 +00:00
configure ChangeLog: 2009-01-21 17:14:39 +00:00
configure.in ChangeLog: 2009-01-21 17:14:39 +00:00
cpuid.h
crt0.c
ctype.cc * ctype.cc (__set_ctype): Copy exact part of the current active 2009-04-21 20:10:55 +00:00
cxx.cc * cxx.cc (default_cygwin_cxx_malloc): Enhance commenting. 2009-08-13 07:35:50 +00:00
cygerrno.h * cygerrno.h (save_errno::~save_errno): Set errno directly to avoid 2009-06-08 19:44:33 +00:00
cygheap.cc * cygheap_malloc.h: New file. 2009-08-01 19:52:46 +00:00
cygheap.h * cygheap.h (cwdstuff::get_posix): Convert to const inline method just 2009-09-21 19:29:16 +00:00
cygheap_malloc.h * cygheap_malloc.h: New file. 2009-08-01 19:52:46 +00:00
cyglsa.h Change length for domain buffers from INTERNET_MAX_HOST_NAME_LENGTH to 2008-07-11 10:00:36 +00:00
cygmagic
cygmalloc.h * cygmalloc.h (__set_ENOMEM): Declare. 2007-02-08 11:35:52 +00:00
cygserver.h * Makefile.in (DLL_OFILES): Add setlsapwd.o. 2008-11-26 10:18:10 +00:00
cygserver_ipc.h
cygserver_msg.h * Makefile.in (DLL_OFILES): Add setlsapwd.o. 2008-11-26 10:18:10 +00:00
cygserver_sem.h * Makefile.in (DLL_OFILES): Add setlsapwd.o. 2008-11-26 10:18:10 +00:00
cygserver_setpwd.h * Makefile.in (DLL_OFILES): Add setlsapwd.o. 2008-11-26 10:18:10 +00:00
cygserver_shm.h * Makefile.in (DLL_OFILES): Add setlsapwd.o. 2008-11-26 10:18:10 +00:00
cygthread.cc Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
cygthread.h
cygtls.cc * cygtls.cc (_cygtls::init_exception_handler): Test for e, not e->prev or we 2009-07-17 18:17:11 +00:00
cygtls.h * cygtls.h (struct _local_storage): Add thread storage pointers for 2009-07-06 15:42:01 +00:00
cygwin-cxx.h winsup/ChangeLog: 2009-07-07 20:12:44 +00:00
cygwin-shilka Perform whitespace cleanup throughout. 2008-02-15 17:53:11 +00:00
cygwin.din winsup/ChangeLog: 2009-07-07 20:12:44 +00:00
cygwin.sc * cygwin.sc: Remove unrequired and erroneous definition. 2008-06-03 02:22:36 +00:00
cygwin_version.h
dcrt0.cc * dcrt0.cc (dll_crt0_1): Add another hack to REALLY make sure that cxx_malloc 2009-09-21 02:32:06 +00:00
debug.cc * cygheap.h (cygheap_debug::endh): Delete. 2009-08-05 04:44:27 +00:00
debug.h * cygheap.cc (creturn): Reorganize to avoid a new compiler warning/error. 2008-09-11 04:34:24 +00:00
devices.cc Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
devices.h * devices.h (FH_PROCESSFD): New device type. 2009-01-20 17:22:11 +00:00
devices.in Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
dir.cc * dir.cc (readdir_worker): Initialize dirent.d_type and __d_unused1. 2008-11-28 09:04:35 +00:00
dlfcn.cc * cxx.cc (default_cygwin_cxx_malloc): Enhance commenting. 2009-08-13 07:35:50 +00:00
dll_init.cc * dll_init.h (has_dtors): New flag. 2009-08-21 21:32:06 +00:00
dll_init.h * dll_init.h (has_dtors): New flag. 2009-08-21 21:32:06 +00:00
dll_init.sgml
dllfixdbg Perform whitespace cleanup throughout. 2008-02-15 17:53:11 +00:00
dlmalloc.c
dlmalloc.h
dtable.cc Match dup2 and fcntl error values to POSIX. 2009-09-22 04:09:03 +00:00
dtable.h Match dup2 and fcntl error values to POSIX. 2009-09-22 04:09:03 +00:00
dtable.sgml
environ.cc * cygheap.cc (cygheap_init): Set Cygwin default locale values. 2009-05-14 19:49:37 +00:00
environ.h Add miscfuncs.h to files as needed throughout. 2008-04-07 16:15:45 +00:00
errno.cc * errno.cc (errmap): Add mapping for ERROR_IO_INCOMPLETE. 2009-06-14 23:42:09 +00:00
exceptions.cc * exceptions.cc (sigpacket::process): Explicitly set thread-specific handler 2009-09-19 15:34:19 +00:00
exec.cc Remove unneeded header files from source files throughout. 2008-04-07 18:45:59 +00:00
external.cc * external.cc (cygwin_internal): Add hack to always reset cxx_malloc to proper 2009-09-21 02:19:31 +00:00
external.sgml
fcntl.cc Match dup2 and fcntl error values to POSIX. 2009-09-22 04:09:03 +00:00
fhandler.cc Fix faccessat(,0) and access() semantics. 2009-09-25 13:44:45 +00:00
fhandler.h Fix faccessat(,0) and access() semantics. 2009-09-25 13:44:45 +00:00
fhandler_clipboard.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_console.cc * fhandler_console.cc (create_invisible_console_workaround): Fix size of cmd in 2009-08-10 15:25:58 +00:00
fhandler_disk_file.cc * fhandler_disk_file.cc (fhandler_disk_file::link): Drop faking hardlink 2009-09-21 10:56:50 +00:00
fhandler_dsp.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_fifo.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_floppy.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_mailslot.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_mem.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_netdrive.cc * fhandler_netdrive.cc (GET_RESOURCE_INFO): Remove. 2009-07-15 18:18:03 +00:00
fhandler_nodevice.cc Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
fhandler_proc.cc * autoload.cc (GetSystemTimes): Remove. 2009-06-09 09:45:29 +00:00
fhandler_process.cc * fhandler_proc.cc (proc_tab): Add entry for mounts symlink. 2009-02-04 16:40:04 +00:00
fhandler_procnet.cc * fhandler_procnet.cc: Reorganize global procnet content data into a 2009-01-20 18:04:32 +00:00
fhandler_random.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_raw.cc Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
fhandler_registry.cc * fhandler_procnet.cc: Reorganize global procnet content data into a 2009-01-20 18:04:32 +00:00
fhandler_serial.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_socket.cc * autoload.cc (WSARecv): Define. 2009-09-22 14:27:57 +00:00
fhandler_tape.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_termios.cc Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
fhandler_tty.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_virtual.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_virtual.h * devices.h (FH_PROCESSFD): New device type. 2009-01-20 17:22:11 +00:00
fhandler_windows.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
fhandler_zero.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
flock.cc * fhandler.h (enum del_lock_called_from): New enumeration. 2009-07-22 15:46:36 +00:00
fork.cc * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
gcrt0.c
gendef * gendef (cleanup): Rename from 'nocr'. Remove comments and trailing spaces. 2009-06-28 18:23:35 +00:00
gendevices
gentls_offsets * cygheap.cc (cygheap_user::~cygheap_user): Remove unneeded if 0'ed code. 2008-12-13 21:05:31 +00:00
glob.cc Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
glob_pattern_p.cc * glob_pattern_p.cc: New file. 2008-12-31 21:33:34 +00:00
globals.cc * globals.cc (ro_u_volume): New R/O unicode string. 2009-08-24 11:14:30 +00:00
gmon.c Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
gmon.h
grp.cc * grp.cc (getgrgid_r): Simplify code by using stpcpy. 2009-01-26 13:20:46 +00:00
heap.cc * heap.cc (heap_init): Fix typo in comment. 2009-06-05 11:15:28 +00:00
heap.h
hires.h
hookapi.cc * cygheap.cc (creturn): Reorganize to avoid a new compiler warning/error. 2008-09-11 04:34:24 +00:00
how-autoload-works.txt
how-cygheap-works.txt
how-cygtls-works.txt
how-fhandlers-work.txt
how-signals-work.txt
how-spawn-works.txt * how-spawn-works.txt: Add "out of date" note. 2009-07-12 21:26:40 +00:00
how-to-debug-cygwin.txt
how-vfork-works.txt * how-spawn-works.txt: Add "out of date" note. 2009-07-12 21:26:40 +00:00
init.cc Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
ioctl.cc Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
ipc.cc Remove unneeded header files from source files throughout. 2008-04-07 18:45:59 +00:00
kernel32.cc * kernel32.cc (CreateMutexW): Use correct access mask. 2009-09-24 09:09:45 +00:00
libstdcxx_wrapper.cc * fhandler.h (fhandler_cygdrive:DRVSZ): New enum. 2009-08-04 04:20:36 +00:00
localtime.cc * localtime.cc (time2): Take another stab at fixing a compiler warning. 2009-06-14 09:35:35 +00:00
lsearch.cc Remove unneeded header files from source files throughout. 2008-04-07 18:45:59 +00:00
malloc.cc
malloc_wrapper.cc * cygwin.din: Export reallocf. 2009-02-16 20:22:38 +00:00
mcount.c Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
miscfuncs.cc * ctype.cc (_CTYPE_DATA_0_127): Add _B class to TAB character. 2009-03-24 12:18:34 +00:00
miscfuncs.h * ctype.cc (_CTYPE_DATA_0_127): Add _B class to TAB character. 2009-03-24 12:18:34 +00:00
mkglobals_h * include/sys/cygwin.h (CW_SETERRNO): Define. 2009-01-09 05:18:02 +00:00
mkimport * mkimport: Specify .text for stub explicitly. 2009-04-18 17:23:45 +00:00
mkstatic Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
mktemp.cc * cygwin.din (fpurge, mkstemps): New exports. 2009-07-03 13:01:17 +00:00
mkvers.sh
mmap.cc * mmap.cc (mmap64): Allocate fh_disk_file on cygheap. Delete 2009-08-21 08:47:59 +00:00
mmap_helper.h * winsup.h: Turn on DEBUGGING by default for now. 2006-08-10 14:15:00 +00:00
mount.cc * mount.cc (fs_info::update): Add comment. 2009-08-25 11:27:03 +00:00
mount.h * mount.h (enum fs_info_type): New type. 2009-07-28 10:39:55 +00:00
msg.cc ChangeLog: 2009-01-21 17:14:39 +00:00
mtinfo.h * fhandler_tape.cc (mtinfo::initialize): Remove synchronization stuff. 2008-07-15 11:42:45 +00:00
net.cc * (fhandler_socket::getsockname): Fix length returned for unbound 2009-08-14 06:58:44 +00:00
netdb.cc Remove unneeded header files from source files throughout. 2008-04-07 18:45:59 +00:00
nfs.cc Remove unneeded whitespace. 2008-11-26 17:21:04 +00:00
nfs.h * Makefile.in (DLL_OFILES): Add nfs.o. 2008-05-20 15:11:23 +00:00
ntdll.h Throughout avoid having to initialize constant UNICODE_STRINGs. 2009-07-14 17:37:42 +00:00
ntea.cc * ntea.c (write_ea): Don't abort if not-samba. 2009-09-16 16:23:51 +00:00
passwd.cc * grp.cc (getgrgid_r): Simplify code by using stpcpy. 2009-01-26 13:20:46 +00:00
path.cc * path.cc (symlink_worker): Rework error handling to generate Linux 2009-09-22 09:24:30 +00:00
path.h * path.h (INTERIX_SYMLINK_COOKIE): Define. 2009-08-26 20:32:35 +00:00
path.sgml * path.sgml: Remove documentation for old path API. Add documentation 2008-03-13 15:18:10 +00:00
perprocess.h
pinfo.cc * Makefile.in: Don't do anything special with any RCS directories. 2009-07-12 21:15:47 +00:00
pinfo.h * pinfo.h (pinfo::thisproc): Declare. Rename from set_myself. 2008-12-20 17:32:31 +00:00
pipe.cc * pipe.cc (fhandler_pipe::create_selectable): Add -pipe to default pipe names. 2009-08-17 12:45:51 +00:00
poll.cc Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
posix.sgml * posix.sgml (std-notes): Remove obsolete reference to CYGWIN=server. 2009-07-27 08:05:47 +00:00
posix_ipc.cc * posix_ipc.cc (mq_open): Avoid closing the same descriptor twice in 2009-09-24 09:25:35 +00:00
profil.c Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
profil.h
pseudo-reloc.cc
pthread.cc * pthread.cc (pthread_create): Very minor formatting change. 2008-10-07 23:28:30 +00:00
pwdgrp.h * pwdgrp.h (pwdgrp::refresh): Fix indentation. 2008-12-20 09:35:18 +00:00
random.cc * cygheap.cc (creturn): Reorganize to avoid a new compiler warning/error. 2008-09-11 04:34:24 +00:00
registry.cc Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
registry.h * Fix copyright dates. 2008-04-01 13:22:47 +00:00
resource.cc Match dup2 and fcntl error values to POSIX. 2009-09-22 04:09:03 +00:00
scandir.cc
sched.cc * localtime.cc (increment_overflow): Mark as non-inline to prevent compiler 2008-09-11 05:43:11 +00:00
sec_acl.cc * fhandler_disk_file.cc (fhandler_disk_file::fchown): Catch an 2009-04-09 09:19:03 +00:00
sec_auth.cc * sec_auth.cc (lsaauth): Close unused handle. 2009-06-25 08:22:09 +00:00
sec_helper.cc * fhandler_disk_file.cc (fhandler_disk_file::fchown): Catch an 2009-04-09 09:19:03 +00:00
security.cc Fix faccessat(,0) and access() semantics. 2009-09-25 13:44:45 +00:00
security.h Fix faccessat(,0) and access() semantics. 2009-09-25 13:44:45 +00:00
security.sgml * path.sgml: Remove documentation for old path API. Add documentation 2008-03-13 15:18:10 +00:00
select.cc * select.cc (peek_console): Always check window size when there is ANY keyboard 2009-09-01 14:25:10 +00:00
select.h * cygtls.h (struct _local_storage): Add thread storage pointers for 2009-07-06 15:42:01 +00:00
sem.cc ChangeLog: 2009-01-21 17:14:39 +00:00
setlsapwd.cc ChangeLog: 2009-01-21 17:14:39 +00:00
shared.cc * cygheap.h (mini_cygheap): New struct. 2009-06-08 03:53:40 +00:00
shared_info.h * cygheap.h (mini_cygheap): New struct. 2009-06-08 03:53:40 +00:00
shm.cc * shm.cc (struct shm_attached_list): Convert access type to ULONG. 2009-03-31 14:58:14 +00:00
signal.cc * signal.cc (abort): Only flush streams after signal handler. 2008-06-09 13:45:59 +00:00
sigproc.cc * sigproc.cc (stopped_or_terminated): Don't return a match when stopsig == 2009-08-02 21:38:40 +00:00
sigproc.h * sigproc.h (wait_for_sigthread): Eliminate parameter. 2009-07-24 20:54:33 +00:00
smallprint.cc * smallprint.cc (__small_vsprintf): Handle NULL PWCHAR and 2009-03-23 15:48:16 +00:00
sortdin
spawn.cc Fix faccessat(,0) and access() semantics. 2009-09-25 13:44:45 +00:00
speclib * mkimport: Specify .text for stub explicitly. 2009-04-18 17:23:45 +00:00
stackdump.sgml
strace.cc Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
strfuncs.cc * strfuncs.cc (__set_charset_from_codepage): Fetch current ANSI 2009-09-23 17:13:55 +00:00
string.h * string.h (strchr): Eliminate. 2008-05-22 01:25:37 +00:00
strsep.cc
strsig.cc * cygwin.din (sys_sigabbrev): Add this here. 2008-09-11 06:22:31 +00:00
sync.cc Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +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 Fix faccessat(,0) and access() semantics. 2009-09-25 13:44:45 +00:00
sysconf.cc Remove unneeded header files from source files throughout. 2008-04-07 18:45:59 +00:00
syslog.cc Remove unneeded header files from source files throughout. 2008-04-07 18:45:59 +00:00
termios.cc * sigproc.cc (stopped_or_terminated): Don't return a match when stopsig == 2009-08-02 21:38:40 +00:00
textmode.c
textreadmode.c
thread.cc * thread.cc (__cygwin_lock_lock): Delete racy optimisation. 2009-06-04 01:45:05 +00:00
thread.h * select.h: New file split from fhandler.h. 2009-06-30 21:18:44 +00:00
timer.cc * pthread.cc (pthread_create): Very minor formatting change. 2008-10-07 23:28:30 +00:00
times.cc Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
tls_pbuf.cc Remove unneeded header files from source files throughout. 2008-04-07 18:45:59 +00:00
tls_pbuf.h * winsup.h (NT_MAX_PATH): Revert ill-advised change to 32767. 2008-03-12 12:41:50 +00:00
tlsoffsets.h * Makefile.in (clean): Clean generated files in srcdir. 2009-07-06 23:19:08 +00:00
tty.cc * dcrt0.cc (jit_debug): New global. 2009-07-03 18:05:51 +00:00
tty.h * dcrt0.cc (jit_debug): New global. 2009-07-03 18:05:51 +00:00
tz_posixrules.h
uinfo.cc * cygheap.cc (cygheap_init): Set umask to a sane default. 2009-05-06 11:52:20 +00:00
uname.cc Remove unneeded header files from source files throughout. 2008-04-07 18:45:59 +00:00
wait.cc * exceptions.cc (sig_handle_tty_stop): Set stopsig to SIGCONT when continuing. 2009-07-18 20:25:07 +00:00
wchar.h * wincap.h (wincaps::has_always_all_codepages): New element. 2009-07-20 15:44:55 +00:00
winbase.h * winbase.h (ilockexch): Avoid making 'ret' volatile. 2009-07-07 21:41:43 +00:00
wincap.cc * dtable.cc (dtable::init_std_file_from_handle): Fix comment to 2009-08-08 20:24:54 +00:00
wincap.h * wincap.h (wincaps::has_always_all_codepages): New element. 2009-07-20 15:44:55 +00:00
window.cc Remove unneeded header files from source files throughout. 2008-04-07 18:45:59 +00:00
winf.cc * cygheap_malloc.h: New file. 2009-08-01 19:52:46 +00:00
winf.h * cygheap_malloc.h: New file. 2009-08-01 19:52:46 +00:00
wininfo.h
winsup.h * globals.cc: Reorder constant UNICODE_STRINGs for clarity. 2009-07-16 09:56:25 +00:00
winver.rc * winver.rc: Fix Copyright date. 2009-02-19 16:12:02 +00:00