newlib-cygwin/winsup/cygwin
Corinna Vinschen 1fcc912f13 * autoload.cc: Add load statements for `LookupAccountNameW',
`LsaClose', `LsaEnumerateAccountRights', `LsaFreeMemory',
        `LsaOpenPolicy', `LsaQueryInformationPolicy', `NetLocalGroupEnum',
        `NetLocalGroupGetMembers', `NetServerEnum', `NetUserGetGroups' and
        `NtCreateToken'.
        * ntdll.h: Add declaration for `NtCreateToken'.
        * sec_helper.cc: Add `well_known_local_sid', `well_known_dialup_sid',
        `well_known_network_sid', `well_known_batch_sid',
        `well_known_interactive_sid', `well_known_service_sid' and
        `well_known_authenticated_users_sid'.
        (cygsid::string): Define as const method.
        (cygsid::get_sid): Set psid to NO_SID on error.
        (cygsid::getfromstr): Ditto.
        (cygsid::getfrompw): Simplify.
        (cygsid::getfromgr): Check for gr == NULL.
        (legal_sid_type): Move to security.h.
        (set_process_privilege): Return -1 on error, otherwise 0 or 1 related
        to previous privilege setting.
        * security.cc (extract_nt_dom_user): Remove `static'.
        (lsa2wchar): New function.
        (open_local_policy): Ditto.
        (close_local_policy): Ditto.
        (get_lsa_srv_inf): Ditto.
        (get_logon_server): Ditto.
        (get_logon_server_and_user_domain): Ditto.
        (get_user_groups): Ditto.
        (is_group_member): Ditto.
        (get_user_local_groups): Ditto.
        (sid_in_token_groups): Ditto.
        (get_user_primary_group): Ditto.
        (get_group_sidlist): Ditto.
        (get_system_priv_list): Ditto.
        (get_priv_list): Ditto.
        (get_dacl): Ditto.
        (create_token): Ditto.
        (subauth): Return immediately if SE_TCB_NAME can't be assigned.
        Change all return statements in case of error to jumps to `out'
        label. Add `out' label to support cleanup.
        * security.h: Add extern declarations for `well_known_local_sid',
        `well_known_dialup_sid', `well_known_network_sid',
        `well_known_batch_sid', `well_known_interactive_sid',
        `well_known_service_sid' and `well_known_authenticated_users_sid'.
        Add extern declarations for functions `create_token',
        `extract_nt_dom_user' and `get_logon_server_and_user_domain'.
        (class cygsid): Add method `assign'. Change operator= to call new
        `assign' method. Add `debug_print' method.
        (class cygsidlist): New class.
        (legal_sid_type): Moved from sec_helper.cc to here.
        * spawn.cc (spawn_guts) Revert reversion of previous patch.
        Call `RevertToSelf' and `ImpersonateLoggedOnUser' instead of `seteuid'
        again.
        * syscalls.cc (seteuid): Rearranged. Call `create_token' now when
        needed. Call `subauth' if `create_token' fails. Try setting token
        owner and primary group only if token was not explicitely created
        by `create_token'.
        * uinfo.cc (internal_getlogin): Try harder to generate correct user
        information. Especially don't trust return value of `GetUserName'.
2001-05-20 08:10:47 +00:00
..
config/i386 Whitespace cleanup. 2000-10-28 05:41:44 +00:00
include * include/pthread.h: Remove C++ comment. 2001-05-09 14:45:47 +00:00
lib * cygheap.cc (_cfree): Add regparm attribute. 2001-05-08 15:16:49 +00:00
regexp * exceptions.cc (ctrl_c_handler): Always send signal to process if it has no 2001-05-04 20:39:38 +00:00
CYGWIN_LICENSE import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ChangeLog * autoload.cc: Add load statements for `LookupAccountNameW', 2001-05-20 08:10:47 +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
ChangeLog-2000 Wed Jan 3 09:20:20 2001 Jason Tishler <jt@dothill.com> 2001-01-03 14:44:13 +00:00
Makefile.in * dlmalloc.c: New file. Port of Doug Lea's malloc 2001-04-24 15:25:31 +00:00
ROADMAP hinfo -> dtable 2000-08-18 19:51:02 +00:00
acconfig.h * acconfig.h: Add support for NEWVFORK. 2000-07-16 17:38:41 +00:00
ansi.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
assert.cc * pinfo.cc (codepage_init): Move function. 2001-01-08 04:02:02 +00:00
autoload.cc * autoload.cc: Add load statements for `LookupAccountNameW', 2001-05-20 08:10:47 +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
child_info.h * include/cygwin/version.h: Bump minor version number. 2001-04-25 14:59:49 +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 * cygheap.cc (_cfree): Add regparm attribute. 2001-05-08 15:16:49 +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.din * cygwin.din: Export asctime_r, ctime_r, gmtime_r, localtime_r 2001-04-25 16:18:43 +00:00
cygwin_version.h Break out more header info into separate files. Use appropriate header files 2000-09-08 02:56:55 +00:00
dcrt0.cc * cygheap.cc (_cfree): Add regparm attribute. 2001-05-08 15:16:49 +00:00
debug.cc Revert much of previous erroneous checkin. Add ChangeLog entry. 2001-05-04 21:02:15 +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 * dir.cc (rmdir): Rearrange slightly to allow removing directories 2001-05-12 16:24:05 +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 import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
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 * autoload.h: Eliminate. 2001-05-16 05:07:51 +00:00
dtable.h * cygheap.cc (_cfree): Add regparm attribute. 2001-05-08 15:16:49 +00:00
dtable.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
environ.cc Christopher Faylor <cgf@redhat.com> 2001-05-11 03:27:22 +00:00
environ.h * Makefile.in: Remove some obsolete stuff. 2000-10-16 23:55:58 +00:00
errno.cc * errno.cc (_sys_errlist): Add missing commas. 2001-05-14 19:39:57 +00:00
exceptions.cc * exceptions.cc (handle_exceptions): Don't print message when executing from a 2001-05-11 05:11:12 +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 * external.cc (fillout_pinfo): Use correct pids. 2001-05-11 21:01:44 +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.cc Remove trailing underscore from fhandler_base and friends, throughout. 2001-04-24 02:07:58 +00:00
fhandler.h * fhandler.h (fhandler_termios::echo_erase): Declare new method. 2001-05-09 18:53:55 +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 * cygheap.cc (_cfree): Add regparm attribute. 2001-05-08 15:16:49 +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 * fhandler_socket.cc (fhandler_socket::ioctl): Convert s_addr 2001-05-15 08:42:15 +00:00
fhandler_tape.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +00:00
fhandler_termios.cc remove erroneous header. 2001-05-09 20:22:35 +00:00
fhandler_tty.cc * fhandler_tty.cc (fhandler_tty_common::dup): Preserve O_NOCTTY when duping a 2001-05-13 18:05:52 +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
fork.cc * fork.cc (fork_parent): Move atforkprepare call here. 2001-05-20 01:19:20 +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 import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
grp.cc * grp.cc (read_etc_group): Don't copy mutex on fork. 2001-05-19 05:29:00 +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 * cygheap.cc (_cfree): Add regparm attribute. 2001-05-08 15:16:49 +00:00
malloc_wrapper.cc Throughout, change fdtab references to cygheap->fdtab. 2001-04-18 21:10:15 +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
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 (wsock_event::wait): Explicitely cancel IO when a signal 2001-05-18 08:33:33 +00:00
ntdll.h * autoload.cc: Add load statements for `LookupAccountNameW', 2001-05-20 08:10:47 +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 * grp.cc (read_etc_group): Don't copy mutex on fork. 2001-05-19 05:29:00 +00:00
path.cc * path.cc (path_conv::check): Revert allow_ntsec check so that volume info is 2001-05-14 02:52:12 +00:00
path.h * path.h (path_conv::add_ext_from_sym): Declare. 2001-04-17 23:12:11 +00:00
path.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
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 minor formatting changes. 2001-04-29 02:54:36 +00:00
pinfo.h oops. 2001-05-04 21:09:47 +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 clean up SGML for latest version of jade/docbook 2000-04-19 00:55:19 +00:00
profil.c * cygrun.c (main): Fix compiler warning. 2001-04-03 02:53:25 +00:00
profil.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
pthread.cc * fork.cc (fork_child): Call the __pthread_atforkchild function. 2001-04-13 15:28:20 +00:00
registry.cc * fork.cc (fork): Eliminate superfluous call to getuid(). 2001-05-15 19:23:31 +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
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 * fork.cc (fork): Eliminate superfluous call to getuid(). 2001-05-15 19:23:31 +00:00
sec_helper.cc * autoload.cc: Add load statements for `LookupAccountNameW', 2001-05-20 08:10:47 +00:00
security.cc * autoload.cc: Add load statements for `LookupAccountNameW', 2001-05-20 08:10:47 +00:00
security.h * autoload.cc: Add load statements for `LookupAccountNameW', 2001-05-20 08:10:47 +00:00
select.cc * exceptions.cc (handle_exceptions): Break out of "loop" if the debugger 2001-05-03 15:00:38 +00:00
select.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
shared.cc * fork.cc (fork): Eliminate superfluous call to getuid(). 2001-05-15 19:23:31 +00:00
shared.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
shared_info.h * path.cc (mkrelpath): New function. 2001-05-01 02:03:10 +00:00
shortcut.c oops. 2001-05-04 21:09:47 +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 Revert much of previous erroneous checkin. Add ChangeLog entry. 2001-05-04 21:02:15 +00:00
sigproc.h * thread.cc (thread_init_wrapper): Use _REENT_INIT to initialize the reent 2001-04-27 18:50:59 +00:00
smallprint.c * exceptions.cc (ctrl_c_handler): Always send signal to process if it has no 2001-05-04 20:39:38 +00:00
spawn.cc * autoload.cc: Add load statements for `LookupAccountNameW', 2001-05-20 08:10:47 +00:00
strace.cc Update copyright. 2001-03-07 17:45:03 +00:00
string.h * string.h (cygwin_strchr): Make 'static inline' so that things will still work 2001-05-06 16:00:23 +00:00
strsep.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
sync.cc Revert much of previous erroneous checkin. Add ChangeLog entry. 2001-05-04 21:02:15 +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 load statements for `LookupAccountNameW', 2001-05-20 08:10:47 +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 import winsup-2000-02-17 snapshot 2000-02-17 19:38:31 +00:00
textmode.c * autoload.c (cygwin_premain0): Add missing parameter. 2001-03-06 12:05:45 +00:00
thread.cc Sun May 6 17:05:00 2001 Robert Collins <rbtcollins@hotmail.com> 2001-05-06 22:23:43 +00:00
thread.h Sun May 6 17:05:00 2001 Robert Collins <rbtcollins@hotmail.com> 2001-05-06 22:23:43 +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 Throughout, change 'tty_attached' to 'real_tty_attached', for clarity. 2001-04-28 23:48:28 +00:00
tty.h Throughout, change 'tty_attached' to 'real_tty_attached', for clarity. 2001-04-28 23:48:28 +00:00
tz_posixrules.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
uinfo.cc * autoload.cc: Add load statements for `LookupAccountNameW', 2001-05-20 08:10:47 +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 Revert much of previous erroneous checkin. Add ChangeLog entry. 2001-05-04 21:02:15 +00:00
winver.rc Update copyright info. 2000-07-19 17:42:16 +00:00