newlib-cygwin/winsup/cygwin
Corinna Vinschen 64b3062937 * cygwin.din: Define symbols for `cygwin_logon_user' and
`cygwin_set_impersonation_token'.
        * dcrt0.cc (dll_crt0_1): Eliminate superfluous conditional
        statements.
        Add load statements for `ImpersonateLoggedOnUser', `LogonUserA'
        and `RevertToSelf'.
        * fork.cc (fork): Care for correct impersonation of parent
        and child process.
        * security.cc (cygwin_set_impersonation_token): New function.
        (cygwin_logon_user): Ditto.
        shared.h (class pinfo): New members `orig_uid', `orig_gid',
        `real_uid' nad `real_gid'.
        spawn.cc (spawn_guts): Care for impersonation when starting
        child process in a different user context.
        * syscalls.cc (setgid): Call `setegid' now. Set real_gid.
        (setuid): Call `seteuid' now. Set real_uid.
        (seteuid): Functionality moved from setuid to here. Care for
        correct impersonation.
        (setegid): Functionality moved from setgid to here.
        * uinfo.cc (uinfo_init): Initialization of additional pinfo
        members.
        (getuid): Return real uid.
        (getgid): Return real gid.
        (geteuid): Return effective uid.
        (getegid): Return effective gid.
        include/sys/cygwin.h: Add prototypes for `cygwin_logon_user' and
        `cygwin_set_impersonation_token'.
        include/cygwin/version.h: Bumb API minor version to 22.
2000-06-16 19:36:07 +00:00
..
config/i386 import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
include * cygwin.din: Define symbols for `cygwin_logon_user' and 2000-06-16 19:36:07 +00:00
libc * select.cc (thread_pipe): Add paranoid check to ensure thread termination. 2000-05-18 18:32:05 +00:00
regexp Eliminate RCS stuff. 2000-02-24 20:59:30 +00:00
testsuite * testsuite/winsup.api/crlf.c: New 2000-05-17 17:21:36 +00:00
CYGWIN_LICENSE import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ChangeLog * cygwin.din: Define symbols for `cygwin_logon_user' and 2000-06-16 19:36:07 +00:00
ChangeLog-1995 import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ChangeLog-1996 import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ChangeLog-1997 import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ChangeLog-1998 import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ChangeLog-1999 Update. 2000-02-21 03:18:37 +00:00
Makefile.in * exceptions.cc: Remove unneeded include. 2000-06-01 05:57:54 +00:00
ROADMAP import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
acconfig.h Remove obsolete setting. 2000-04-16 23:00:38 +00:00
ansi.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
assert.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
autoload.h * exceptions.cc: Remove unneeded include. 2000-06-01 05:57:54 +00:00
config.h.in * Makefile.in: Remove libadvapi32.a. 2000-05-30 00:38:51 +00:00
configure * errno.cc (errmap): Correct DIRECTORY mapping to ENOTDIR. 2000-05-06 03:33:10 +00:00
configure.in * errno.cc (errmap): Correct DIRECTORY mapping to ENOTDIR. 2000-05-06 03:33:10 +00:00
cygrun.c import winsup-2000-02-17 snapshot 2000-02-17 19:38:31 +00:00
cygwin.din * cygwin.din: Define symbols for `cygwin_logon_user' and 2000-06-16 19:36:07 +00:00
dcrt0.cc * cygwin.din: Define symbols for `cygwin_logon_user' and 2000-06-16 19:36:07 +00:00
debug.cc * path.cc (mount_info::cygdrive_posix_path): Don't add trailing slash if 2000-05-17 05:49:51 +00:00
debug.h Fix final round of gcc warnings relating to unused parameters. 2000-02-24 06:45:32 +00:00
delqueue.cc * configure.in: Use -gstabs+ as compile debug option. This seems to promote 2000-05-04 19:46:32 +00:00
dir.cc * dir.cc (rmdir): Use file attributes that have already been discovered by 2000-05-25 21:45:04 +00:00
dlfcn.cc * exceptions.cc (interruptible): Allocate slightly more space for directory 2000-04-26 05:13:32 +00:00
dll_entry.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:31 +00:00
dll_init.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
dll_init.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
dll_init.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
dll_main.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:31 +00:00
dtable.cc * Makefile.in: Add dependencies for fhandler_random.o 2000-05-03 15:39:10 +00:00
dtable.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
environ.cc * environ.cc (conv_envvars): Detect and convert all environment variables used 2000-06-15 03:50:03 +00:00
errno.cc * errno.cc (errmap): Map ERROR_BAD_NET_NAME to errno ENOSHARE. 2000-05-26 09:17:08 +00:00
exceptions.cc * exceptions.cc: Remove unneeded include. 2000-06-01 05:57:54 +00:00
exec.cc * exceptions.cc (interruptible): Allocate slightly more space for directory 2000-04-26 05:13:32 +00:00
external.cc * select.cc (thread_pipe): Add paranoid check to ensure thread termination. 2000-05-18 18:32:05 +00:00
external.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
fcntl.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
fhandler.cc * fhandler.cc (fhandler_disk_file::open): Check for directory 2000-06-08 13:56:28 +00:00
fhandler.h * Makefile.in (DLL_OFILES): Sort. 2000-05-12 05:06:43 +00:00
fhandler_console.cc * fhandler_console.cc (fhandler_console::read): Detect extended keycode 2000-04-24 21:41:11 +00:00
fhandler_floppy.cc * exceptions.cc (interruptible): Change method for determining if something is 2000-02-24 02:49:44 +00:00
fhandler_random.cc * fhandler_random.cc (read): Call CryptAquireContext with 2000-06-11 14:01:18 +00:00
fhandler_raw.cc * fhandler_raw.cc (write_file, read_file): New wrapper functions 2000-05-12 18:34:50 +00:00
fhandler_serial.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
fhandler_tape.cc * fhandler_tape.cc (fhandler_dev_tape::ioctl): Check 2000-05-16 21:42:55 +00:00
fhandler_termios.cc Respond to a multitude of g++ warnings. 2000-02-21 05:20:38 +00:00
fhandler_tty.cc * Makefile.in (DLL_OFILES): Sort. 2000-05-12 05:06:43 +00:00
fhandler_windows.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
fhandler_zero.cc Respond to a multitude of g++ warnings. 2000-02-21 05:20:38 +00:00
fork.cc * cygwin.din: Define symbols for `cygwin_logon_user' and 2000-06-16 19:36:07 +00:00
gcrt0.c import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
glob.c import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
gmon.c import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
gmon.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
grp.cc * grp.cc (parse_grp): Save empty array instead of 2000-04-03 18:08:13 +00:00
heap.cc * exceptions.cc (interruptible): Change method for determining if something is 2000-02-24 02:49:44 +00:00
init.cc * init.cc (dll_entry): Use better check for determining when to set thread 2000-04-16 22:57:05 +00:00
ioctl.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
libccrt0.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:31 +00:00
libcmain.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:31 +00:00
localtime.c Throughout use strace class in place of individual functions and variables. 2000-03-07 05:33:09 +00:00
malloc_wrapper.cc * path.cc (mount_info::cygdrive_posix_path): Don't add trailing slash if 2000-05-17 05:49:51 +00:00
mcount.c * sigproc.cc (sig_send): Eliminate sync_sig_send synchronization since it 2000-03-07 18:32:40 +00:00
misc-std.sgml clean up SGML for latest version of jade/docbook 2000-04-19 00:55:19 +00:00
mkvers.sh * mkvers.sh: Use snapshot date as build date since it is more interesting. 2000-05-23 05:18:48 +00:00
mmap.cc * mmap.cc (list::erase): Increment loop counter. 2000-05-11 22:30:45 +00:00
net.cc * exceptions.cc: Remove unneeded include. 2000-06-01 05:57:54 +00:00
ntea.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
passwd.cc Respond to a multitude of g++ warnings. 2000-02-21 05:20:38 +00:00
path.cc * path.cc (chdir): Don't set cache to offending chdir. Change comment to 2000-06-15 22:14:14 +00:00
path.h Needed for previous changes. 2000-05-30 13:45:20 +00:00
path.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
pinfo.cc * exceptions.cc (interruptible): Allocate slightly more space for directory 2000-04-26 05:13:32 +00:00
pipe.cc Pipe changes throughout suggested by Eric Fifer <EFifer@sanwaint.com> 2000-03-15 04:49:36 +00:00
posix.sgml clean up SGML for latest version of jade/docbook 2000-04-19 00:55:19 +00:00
profil.c import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
profil.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
pthread.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
registry.cc * path.cc (mount_info::conv_to_posix_path): Avoid putting a trailing slash on a 2000-05-23 14:08:52 +00:00
resource.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
scandir.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
security.cc * cygwin.din: Define symbols for `cygwin_logon_user' and 2000-06-16 19:36:07 +00:00
select.cc * select.cc (thread_pipe): Add paranoid check to ensure thread termination. 2000-05-18 18:32:05 +00:00
select.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
shared.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
shared.h * cygwin.din: Define symbols for `cygwin_logon_user' and 2000-06-16 19:36:07 +00:00
shared.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
signal.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
sigproc.cc * sigproc.h (sigframe::set): Accept a default frame pointer. 2000-05-26 06:24:58 +00:00
sigproc.h * sigproc.h (sigframe::set): Accept a default frame pointer. 2000-05-26 06:24:58 +00:00
smallprint.c import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
spawn.cc * cygwin.din: Define symbols for `cygwin_logon_user' and 2000-06-16 19:36:07 +00:00
strace.cc Pipe changes throughout suggested by Eric Fifer <EFifer@sanwaint.com> 2000-03-15 04:49:36 +00:00
strsep.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
sync.cc * dcrt0.cc (dll_crt0_1): Initialize mainthread stuff here before anything needs 2000-05-18 03:20:01 +00:00
sync.h * path.cc (mount_info::cygdrive_posix_path): Don't add trailing slash if 2000-05-17 05:49:51 +00:00
syscalls.cc * cygwin.din: Define symbols for `cygwin_logon_user' and 2000-06-16 19:36:07 +00:00
sysconf.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
syslog.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
termios.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
test.c import winsup-2000-02-17 snapshot 2000-02-17 19:38:31 +00:00
thread.cc * path.cc (mount_info::cygdrive_posix_path): Don't add trailing slash if 2000-05-17 05:49:51 +00:00
thread.h * thread.h: Shorten "current_directory" variables to "cwd_*" throughout. 2000-06-13 04:40:36 +00:00
times.cc * times.cc: Fix extern declarations for variables that are exported but used by 2000-03-19 04:14:07 +00:00
tty.cc * fhandler.cc (fhandler_base::get_readahead_into_buffer): New function. 2000-03-12 06:29:54 +00:00
tz_posixrules.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
uinfo.cc * cygwin.din: Define symbols for `cygwin_logon_user' and 2000-06-16 19:36:07 +00:00
uname.cc * uname.cc (uname): Use a "s" to denote a snapshot to avoid confusion with the 2000-05-23 14:10:31 +00:00
wait.cc * exceptions.cc (interruptible): Change method for determining if something is 2000-02-24 02:49:44 +00:00
window.cc * window.cc (setitimer): Check for overflow condition 2000-05-09 13:28:11 +00:00
winsup.h * path.cc (mount_info::cygdrive_posix_path): Don't add trailing slash if 2000-05-17 05:49:51 +00:00
winver.rc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00