newlib-cygwin/winsup/cygwin
Corinna Vinschen 2b0a111fcf * fork.cc (fork): Eliminate superfluous call to getuid().
* security.h: New define `NO_SID'. Remove declarations of functions
        moved to methods into class cygsid.
        (class cygsid): Declare new methods `getfromstr', `get_sid',
        `getfrompw', `getfromgr', `get_rid', `get_uid', `get_gid', `string'
        and new constructors and operators =, == and !=.
        Declare new global cygsids `well_known_XXX_sid' substituting the
        corresponding `get_XXX_sid' functions. Remove declarations of
        these functions.
        * sec_helper.cc (well_known_admin_sid): New global variable.
        (well_known_system_sid): Ditto
        (well_known_creator_owner_sid): Ditto
        (well_known_world_sid): Ditto
        (cygsid::string): New method, substituting `convert_sid_to_string_sid'.
        (cygsid::get_sid): New method, substituting `get_sid'.
        (cygsid::getfromstr): New method, substituting
        `convert_string_sid_to_sid'.
        (cygsid::getfrompw): New method, substituting `get_pw_sid'.
        (cygsid::getfromgr): New method, substituting `get_gr_sid'.
        (cygsid::get_id): New method, substituting `get_id_from_sid'.
        (get_admin_sid): Eliminated.
        (get_system_sid): Ditto.
        (get_creator_owner_sid): Ditto.
        (get_world_sid): Ditto.
        * grp.cc: Use new cygsid methods and well known sids throughout.
        * registry.cc: Ditto.
        * sec_acl.cc: Ditto.
        * security.cc: Ditto.
        * shared.cc: Ditto.
        * syscalls.cc (seteuid): Ditto. Eliminate redundant conditional.
        * uinfo.cc (internal_getlogin): Ditto.
        * spawn.cc (spawn_guts) Revert previous patch.
2001-05-15 19:23:31 +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 * fork.cc (fork): Eliminate superfluous call to getuid(). 2001-05-15 19:23:31 +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 autoload statements for ws2_32 functions 2001-05-15 08:15:54 +00:00
autoload.h * autoload.cc: Use new definition of LoadDLLinitfunc throughout. 2001-05-03 09:35:08 +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 * cygheap.cc (_cfree): Add regparm attribute. 2001-05-08 15:16:49 +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): Eliminate superfluous call to getuid(). 2001-05-15 19:23:31 +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 * fork.cc (fork): Eliminate superfluous call to getuid(). 2001-05-15 19:23:31 +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 * autoload.cc: Add autoload statements for ws2_32 functions 2001-05-15 08:15:54 +00:00
ntdll.h minor formatting changes. 2001-04-29 02:54:36 +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: Eliminate MAX_DOMAIN_NAME define. 2001-04-30 18:21:48 +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 * fork.cc (fork): Eliminate superfluous call to getuid(). 2001-05-15 19:23:31 +00:00
security.cc * fork.cc (fork): Eliminate superfluous call to getuid(). 2001-05-15 19:23:31 +00:00
security.h * fork.cc (fork): Eliminate superfluous call to getuid(). 2001-05-15 19:23:31 +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 * fork.cc (fork): Eliminate superfluous call to getuid(). 2001-05-15 19:23:31 +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 * fork.cc (fork): Eliminate superfluous call to getuid(). 2001-05-15 19:23:31 +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 * fork.cc (fork): Eliminate superfluous call to getuid(). 2001-05-15 19:23:31 +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