newlib/winsup/cygwin
Corinna Vinschen d551169a9f * autoload.cc: Add LoadDLLfunc statements for SetTokenInformation@16.
* cygheap.cc: Include security.h.
        * grp.cc (internal_getgrent): New function.
        (getgroups): Rearranged using `internal_getgrent' and the new
        `cygsid' class.
        * passwd.cc (internal_getpwent): New function.
        * sec_acl.cc: Use new `cygsid' class throughout.
        (acl_access): Use `internal_getgrent' instead of `getgrent'.
        * sec_helper.cc: Use new `cygsid' class throughout.
        (get_id_from_sid): Use `internal_getgrent' instead of `getgrent'.
        Use `internal_getpwent' instead of `getpwent'.
        * security.cc: Use new `cygsid' class throughout.
        * security.h: Move `MAX_SID_LEN' from winsup.h to here.
        Add extern declarations for `internal_getgrent' and `internal_getpwent'.
        (class cygsid): New class.
        * shared.cc (sec_user): Use new `cygsid' class.
        * syscalls.cc (seteuid): Try to set owner to user and primary group to
        current group in impersonation token before performing impersonation.
        (setegid): Try to set primary group in process token to the new group
        if ntsec is on.
        * uinfo.cc (internal_getlogin): Use new `cygsid' class.
        Try to set owner to user and primary group to current group in process
        token if the process has been started from a non cygwin process.
        (uinfo_init): Set primary group only if the process has been started
        from a non cygwin process.
        * winsup.h: Move define for `MAX_SID_LEN' to security.h.
2001-04-25 09:43:25 +00:00
..
config/i386 Whitespace cleanup. 2000-10-28 05:41:44 +00:00
include * include/cygwin/version.h: Bump Cygwin version and API version. 2001-04-23 00:48:23 +00:00
lib * lib/_cygwin_S_IEXEC.c: Remove "const" from globals or they never seem to be 2001-03-28 03:42:58 +00:00
regexp * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
acconfig.h * acconfig.h: Add support for NEWVFORK. 2000-07-16 17:38:41 +00:00
ansi.sgml
assert.cc * pinfo.cc (codepage_init): Move function. 2001-01-08 04:02:02 +00:00
autoload.cc * autoload.cc: Add LoadDLLfunc statements for SetTokenInformation@16. 2001-04-25 09:43:25 +00:00
autoload.h * autoload.h: Make DLL initializers global to avoid inlining. 2000-12-26 03:21:05 +00:00
automode.c * autoload.c (cygwin_premain0): Add missing parameter. 2001-03-06 12:05:45 +00:00
binmode.c * autoload.c (cygwin_premain0): Add missing parameter. 2001-03-06 12:05:45 +00:00
ChangeLog * autoload.cc: Add LoadDLLfunc statements for SetTokenInformation@16. 2001-04-25 09:43:25 +00:00
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000 Wed Jan 3 09:20:20 2001 Jason Tishler <jt@dothill.com> 2001-01-03 14:44:13 +00:00
child_info.h Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
config.h.in * dlmalloc.c: New file. Port of Doug Lea's malloc 2001-04-24 15:25:31 +00:00
configure * dlmalloc.c: New file. Port of Doug Lea's malloc 2001-04-24 15:25:31 +00:00
configure.in * dlmalloc.c: New file. Port of Doug Lea's malloc 2001-04-24 15:25:31 +00:00
cygerrno.h * cygerrno.h: Revert previous patch. 2001-02-22 14:51:16 +00:00
cygheap.cc * autoload.cc: Add LoadDLLfunc statements for SetTokenInformation@16. 2001-04-25 09:43:25 +00:00
cygheap.h Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
cygrun.c * cygrun.c (main): Fix compiler warning. 2001-04-03 02:53:25 +00:00
CYGWIN_LICENSE
cygwin_version.h Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
cygwin.din * cygwin.din: Add *scanf and *scan_r functions. 2001-04-20 23:38:43 +00:00
dcrt0.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
debug.cc *** empty log message *** 2001-03-03 03:56:34 +00:00
debug.h * dlmalloc.c: New file. Port of Doug Lea's malloc 2001-04-24 15:25:31 +00:00
delqueue.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
delqueue.h Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
dir.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
dlfcn.cc * dlfcn.cc (check_access): Eliminate. 2001-03-26 01:16:11 +00:00
dll_init.cc Whitespace cleanup. 2000-10-28 05:41:44 +00:00
dll_init.h * hinfo.cc (hinfo::linearize_fd_array): Make max_used_fd an int so that we can 2000-07-15 02:48:11 +00:00
dll_init.sgml
dlmalloc.c * dlmalloc.c: New file. Port of Doug Lea's malloc 2001-04-24 15:25:31 +00:00
dlmalloc.h * dlmalloc.c: New file. Port of Doug Lea's malloc 2001-04-24 15:25:31 +00:00
dtable.cc * include/sys/file.h: Move X_OK protection earlier. 2001-04-20 15:50:03 +00:00
dtable.h Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
dtable.sgml
environ.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
environ.h * Makefile.in: Remove some obsolete stuff. 2000-10-16 23:55:58 +00:00
errno.cc * dir.cc (mkdir): Check for case clash. 2001-04-12 21:21:37 +00:00
exceptions.cc * Makefile.in: Put -lgcc last in list of libraries, since stdc++ library needs 2001-04-09 00:44:25 +00:00
exec.cc * dlopen.c (dlopen): Return NULL when name is NULL (suggested by 2001-03-05 06:28:25 +00:00
external.cc Update copyright. 2001-03-18 03:25:30 +00:00
external.sgml *** empty log message *** 2000-11-19 04:58:18 +00:00
fcntl.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
fhandler_clipboard.cc Remove trailing underscore from fhandler_base and friends, throughout. 2001-04-24 02:07:58 +00:00
fhandler_console.cc Remove trailing underscore from fhandler_base and friends, throughout. 2001-04-24 02:07:58 +00:00
fhandler_dsp.cc * fhandler_dsp.cc: Improved handling of 8 bit playback modes. 2001-04-25 07:26:54 +00:00
fhandler_floppy.cc Update copyrights. 2001-03-18 03:34:05 +00:00
fhandler_mem.cc Remove trailing underscore from fhandler_base and friends, throughout. 2001-04-24 02:07:58 +00:00
fhandler_random.cc Remove trailing underscore from fhandler_base and friends, throughout. 2001-04-24 02:07:58 +00:00
fhandler_raw.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
fhandler_serial.cc Remove trailing underscore from fhandler_base and friends, throughout. 2001-04-24 02:07:58 +00:00
fhandler_socket.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
fhandler_tape.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
fhandler_termios.cc * fhandler.h (fhandler_tty_slave): Declare new methods. 2001-03-18 18:05:01 +00:00
fhandler_tty.cc Remove trailing underscore from fhandler_base and friends, throughout. 2001-04-24 02:07:58 +00:00
fhandler_windows.cc Remove trailing underscore from fhandler_base and friends, throughout. 2001-04-24 02:07:58 +00:00
fhandler_zero.cc Remove trailing underscore from fhandler_base and friends, throughout. 2001-04-24 02:07:58 +00:00
fhandler.cc Remove trailing underscore from fhandler_base and friends, throughout. 2001-04-24 02:07:58 +00:00
fhandler.h Remove trailing underscore from fhandler_base and friends, throughout. 2001-04-24 02:07:58 +00:00
fork.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
gcrt0.c Remove obvious brain freeze problem. 2001-03-11 16:46:28 +00:00
glob.c * pinfo.cc (codepage_init): Move function. 2001-01-08 04:02:02 +00:00
gmon.c * cygrun.c (main): Fix compiler warning. 2001-04-03 02:53:25 +00:00
gmon.h
grp.cc * autoload.cc: Add LoadDLLfunc statements for SetTokenInformation@16. 2001-04-25 09:43:25 +00:00
heap.cc Update copyrights. 2001-03-18 03:34:05 +00:00
heap.h * syscalls.cc (_link): Make sure that newpath does not exist. Set errno if it 2001-01-29 00:46:25 +00:00
host_dependent.h Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
init.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
ioctl.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
localtime.c Whitespace cleanup. 2000-10-28 05:41:44 +00:00
Makefile.in * dlmalloc.c: New file. Port of Doug Lea's malloc 2001-04-24 15:25:31 +00:00
malloc_wrapper.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
mcount.c
misc-std.sgml
miscfuncs.cc * Makefile.in: add miscfuncs.cc 2000-10-19 03:12:44 +00:00
mkvers.sh * mkvers.sh: Include config.h so that DEBUGGING is correctly defined. 2001-03-12 16:20:30 +00:00
mmap.cc * mmap.cc (mmap): Drop usage of the same memory area if the same 2001-04-19 07:44:34 +00:00
net.cc * net.cc [errmap]: Add '0' condition. 2001-04-23 16:46:30 +00:00
ntdll.h * ntdll.h: Remove IO_COUNTERS definition since it is now in winnt.h. 2000-11-02 06:59:07 +00:00
ntea.cc Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
passwd.cc * autoload.cc: Add LoadDLLfunc statements for SetTokenInformation@16. 2001-04-25 09:43:25 +00:00
path.cc * shortcut.c (check_shortcut): Close input file handle before returning. 2001-04-22 16:19:27 +00:00
path.h * path.h (path_conv::add_ext_from_sym): Declare. 2001-04-17 23:12:11 +00:00
path.sgml
perprocess.h * dlopen.c (dlopen): Return NULL when name is NULL (suggested by 2001-03-05 06:28:25 +00:00
perthread.h * debug.h: Add regparm attributes to some functions. 2001-01-12 05:38:25 +00:00
pinfo.cc * pinfo.cc (pinfo::init): Use INVALID_HANDLE_VALUE instead of 2001-01-30 08:10:04 +00:00
pinfo.h * sched.cc: New file. Implement sched*. 2001-03-21 02:17:58 +00:00
pipe.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
poll.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
posix.sgml
profil.c * cygrun.c (main): Fix compiler warning. 2001-04-03 02:53:25 +00:00
profil.h
pthread.cc * fork.cc (fork_child): Call the __pthread_atforkchild function. 2001-04-13 15:28:20 +00:00
registry.cc Throughout, change 'cygwin_shared.mount' to 'mount_table'. 2001-01-28 05:51:15 +00:00
registry.h Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
resource.cc * resource.cc (setrlimit): Support RLIMIT_NOFILE. 2001-01-18 09:30:37 +00:00
ROADMAP hinfo -> dtable 2000-08-18 19:51:02 +00:00
scandir.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
sched.cc * configure.in: Remove PTH_ALLOW. 2001-04-12 04:04:53 +00:00
sec_acl.cc * autoload.cc: Add LoadDLLfunc statements for SetTokenInformation@16. 2001-04-25 09:43:25 +00:00
sec_helper.cc * autoload.cc: Add LoadDLLfunc statements for SetTokenInformation@16. 2001-04-25 09:43:25 +00:00
security.cc * autoload.cc: Add LoadDLLfunc statements for SetTokenInformation@16. 2001-04-25 09:43:25 +00:00
security.h * autoload.cc: Add LoadDLLfunc statements for SetTokenInformation@16. 2001-04-25 09:43:25 +00:00
select.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
select.h
shared_info.h * shared_info.h (mount_info): Remove mnt_ elements. 2001-04-02 04:27:12 +00:00
shared.cc * autoload.cc: Add LoadDLLfunc statements for SetTokenInformation@16. 2001-04-25 09:43:25 +00:00
shared.sgml
shortcut.c * shortcut.c (check_shortcut): Close input file handle before returning. 2001-04-22 16:19:27 +00:00
shortcut.h * shortcut.c: New file. Provides a C interface to reading of 2001-02-22 12:56:36 +00:00
signal.cc * sigproc.h (class sigframe): Implement 'unregister()' method. 2001-04-01 00:06:17 +00:00
sigproc.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
sigproc.h * Makefile.in: Put -lgcc last in list of libraries, since stdc++ library needs 2001-04-09 00:44:25 +00:00
smallprint.c * fork.cc (fork): Set sigframe here, since it can pause for a considerable 2000-10-23 03:35:50 +00:00
spawn.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
strace.cc Update copyright. 2001-03-07 17:45:03 +00:00
strsep.cc
sync.cc * dcrt0.cc (sigthread::init): Correct overzealous ifdef. 2000-10-19 17:57:28 +00:00
sync.h * path.h: Add __attribute__ ((regparm(x))) to commonly used functions. 2000-11-12 04:57:41 +00:00
syscalls.cc * autoload.cc: Add LoadDLLfunc statements for SetTokenInformation@16. 2001-04-25 09:43:25 +00:00
sysconf.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
syslog.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
termios.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
test.c
textmode.c * autoload.c (cygwin_premain0): Add missing parameter. 2001-03-06 12:05:45 +00:00
thread.cc spacing changes. 2001-04-23 02:56:19 +00:00
thread.h Sun Apr 22 20:22:00 2001 Robert Collins <rbtcollins@hotmail.com> 2001-04-21 14:23:47 +00:00
times.cc * thread.h (struct _winsup_t): Remove obsolete elements. Add available_drives 2001-04-01 03:06:02 +00:00
tty.cc * dlmalloc.c: New file. Port of Doug Lea's malloc 2001-04-24 15:25:31 +00:00
tty.h * tty.h (tty::create_inuse): Add new parameter to allow non- 2001-03-19 18:27:37 +00:00
tz_posixrules.h
uinfo.cc * autoload.cc: Add LoadDLLfunc statements for SetTokenInformation@16. 2001-04-25 09:43:25 +00:00
uname.cc * uname.c (uname): Default n in in86 to 6 if Windows returns > 6. 2001-04-15 20:39:46 +00:00
wait.cc * sigproc.h (class sigframe): Implement 'unregister()' method. 2001-04-01 00:06:17 +00:00
window.cc Fix spacing, copyrights. 2001-03-18 21:11:25 +00:00
winsup.h * autoload.cc: Add LoadDLLfunc statements for SetTokenInformation@16. 2001-04-25 09:43:25 +00:00
winver.rc Update copyright info. 2000-07-19 17:42:16 +00:00