summaryrefslogtreecommitdiffstats
path: root/winsup/cygserver
Commit message (Collapse)AuthorAgeFilesLines
* Fix typoCorinna Vinschen2014-07-161-1/+1
|
* * bsd_helper.cc (ipcexit_creat_hookthread): Delete shs in another errorCorinna Vinschen2014-06-232-0/+6
| | | | case to make Coverity really happy (CID 59993).
* * client.cc: Throughout, fix debug output of signed byte count value.Corinna Vinschen2014-06-232-8/+12
|
* * bsd_mutex.cc (msleep_sync_array::~msleep_sync_array): New destructorCorinna Vinschen2014-05-192-0/+7
| | | | to make Coverity happy (CID 59838).
* * bsd_helper.cc (ipcexit_creat_hookthread): Delete shs to makeCorinna Vinschen2014-05-193-4/+18
| | | | | | Coverity happy (CID 59993). * transport_pipes.cc (transport_layer_pipes::listen): Make listen_pipe and connect_pipe statics to make Coverity happy (CID 60010/60011).
* * pwdgrp.cc (client_request_pwdgrp::pwd_serve): Add 1 to the messageCorinna Vinschen2014-04-162-2/+7
| | | | length to account for the trailing NUL.
* * cygserver-config: Use numeric id 18 instead of "system" in chown.Corinna Vinschen2014-04-162-2/+6
|
* * process.cc (process::process): Only notice that signal_arrived isCorinna Vinschen2014-04-072-2/+6
| | | | NULL in debug output.
* * Makefile.in (OBJS): Add pwdgrp.o.Corinna Vinschen2014-03-124-2/+174
| | | | | | * client.cc (client_request::handle_request): Handle CYGSERVER_REQUEST_PWDGRP message. * pwdgrp.cc: New file implementing CYGSERVER_REQUEST_PWDGRP.
* * Throughout, fix format specifiers in debug statements to accommodateCorinna Vinschen2014-03-128-94/+85
| | | | x86_64.
* * setpwd.cc (client_request_setpwd::serve): Use RtlSecureZeroMemory toCorinna Vinschen2014-03-062-2/+7
| | | | delete password from memory.
* winsup/ChangeLog:Christopher Faylor2013-11-074-140/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2013-11-06 Christopher Faylor <me.cygwin2013@cgf.cx> * configure.ac: Detect windows headers/libs after we've figured out the C compiler. * configure: Regenerate. * aclocal.m4: Regenerate. * configure.cygwin: Default to '.' if can't find a winsup directory. winsup/cygserver/ChangeLog: 2013-11-06 Christopher Faylor <me.cygwin2013@cgf.cx> * configure.ac: Detect windows headers/libs after we've figured out the C compiler. * configure: Regenerate. * aclocal.m4: Regenerate. winsup/cygwin/ChangeLog: 2013-11-06 Christopher Faylor <me.cygwin2013@cgf.cx> * configure.ac: Detect windows headers/libs after we've figured out the C compiler. * configure: Regenerate. * aclocal.m4: Regenerate. winsup/utils/ChangeLog: 2013-11-06 Christopher Faylor <me.cygwin2013@cgf.cx> * configure.ac: Detect windows headers/libs after we've figured out the C compiler. * configure: Regenerate. * aclocal.m4: Regenerate.
* * Merge in cygwin-64bit-branch.Corinna Vinschen2013-04-2316-53/+139
|
* * Makefile.in: Remove old from CFLAGS and move C*FLAGS so that they can beChristopher Faylor2012-11-282-3/+9
| | | | manipulated by Makefile.common.
* ChangeLog:Christopher Faylor2012-11-264-114/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx> * configure.ac: Rename from configure.in. * configure.in: Delete. * configure: Regenerate. cygserver/ChangeLog: 2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx> * configure.ac: Rename from configure.in. * configure.in: Delete. * configure: Regenerate. cygwin/ChangeLog: 2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx> * configure.ac: Rename from configure.in. * configure.in: Delete. * configure: Regenerate. doc/ChangeLog: 2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx> * configure.ac: Rename from configure.in. * configure.in: Delete. * configure: Regenerate. lsaauth/ChangeLog: 2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx> * configure.ac: Rename from configure.in. * configure.in: Delete. * configure: Regenerate. testsuite/ChangeLog: 2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx> * configure.ac: Rename from configure.in. * configure.in: Delete. * configure: Regenerate. utils/ChangeLog: 2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx> * configure.ac: Rename from configure.in. * configure.in: Delete. * configure: Regenerate.
* * transport_pipes.cc (pipe_instance_lock_once): Remove.Corinna Vinschen2012-11-262-33/+10
| | | | | | | | (pipe_instance_lock): Remove. (pipe_instance): Remove. (initialise_pipe_instance_lock): Remove. (transport_layer_pipes::accept): Drop entire pipe_instance handling. (transport_layer_pipes::close): Ditto.
* * cygserver.cc (main): Call listen right after creating theCorinna Vinschen2012-11-233-30/+44
| | | | | | | | | transport. * transport_pipes.cc (transport_layer_pipes::listen): Create first instance of the named pipe here. Connect the client side to block it for further use by the system. (transport_layer_pipes::accept): Don't handle first pipe instance here. Change debug output accordingly.
* cygwin/ChangeLog:Christopher Faylor2012-11-232-5/+6
| | | | | | | | | | | | | | | | | 2012-11-23 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.in: Use explicit path to mkdir. lsaauth/ChangeLog: 2012-11-23 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.in: Use /bin/mkdir to make directories. testsuite/ChangeLog: 2012-11-23 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.in: Remove old Makefile.common'isms. Don't rely on in-build tools.
* * sysv_sem.cc (semundo_clear): Move condition to break fromCorinna Vinschen2012-11-232-2/+7
| | | | inner loop to the right spot.
* ChangeLog:Christopher Faylor2012-11-236-1319/+676
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-11-12 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.common: Revamp for new configury. Add default compilation targets, include .E processing. Add magic for allowing "CFLAGS" to control optimization options in "CXXFLAGS". * configure.cygwin: New include for Cygwin configure.in's. * acinclude.m4: Delete old definitions. Implement AC_WINDOWS_HEADERS, AC_WINDOWS_LIBS, AC_CYGWIN_INCLUDES, target_builddir, winsup_srcdir. * aclocal.m4: Regenerate. * autogen.sh: New file. * ccwrap: New script. * c++wrap: New script. * config.guess: New script. * config.sub: New script. * configure: Regenerate. * configure.in: Eliminate LIB_AC_PROG_* calls in favor of standard. Delete ancient target test. * install-sh: New script. cygserver/ChangeLog: 2012-11-12 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.in: Revamp for new configury. * configure.in: Revamp for new configury. * aclocal.m4: Regenerate. * configure: Ditto. * autogen.sh: New script. cygwin/ChangeLog: 2012-11-22 Christopher Faylor <me.cygwin2012@cgf.cx> * select.cc (select): Don't return -1 when we've timed out after looping. 2012-11-22 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.in: Revamp for new configury. (datarootdir): Add variable setting. (winver_stamp): Accommodate changes to mkvers.sh setting. (libc.a): Fix race when libm.a might not have been built yet. * configure.in: Revamp for new configury. * aclocal.m4: Regenerate. * configure: Ditto. * autogen.sh: New script. * mkvers.sh: Find include directives via CFLAGS and friends rather than assuming that w32api lives nearby. utils/ChangeLog: 2012-11-12 Christopher Faylor <me.cygwin2012@cgf.cx> * aclocal.m4: Regenerate. * configure: Ditto. * autogen.sh: New script. * configure.in: Revamp for new configury. * Makefile.in: Revamp for new configury. Rename ALL_* to just *. Always use "VERBOSE" setting. (MINGW_CXX): Don't include CFLAGS in definition. (all): Define target first, before everything else so that it is the default. (ps.exe): Don't add useless -lcygwin. (ldh.exe): For consistency, add to existing MINGW_LDFLAGS rather than redefining them. (cygcheck.exe): Always include -lz for MINGW_LDFLAGS. Don't try to figure out where to find it. (dumper.exe): Simplify check. Assume libraries are installed rather than trying to retrieve from source tree. (install): Just use /bin/mkdir to create directories. (Makefile): Regenerate when standard dependencies change. * dump_setup.cc: Always include zlib.h. Remove accommodations for it possibly not existing. * parse_pe.cc: Add define which allows building with installed binutils package. * dumper.cc: Ditto.
* * bsd_helper.cc (adjust_identity_info): Fix typo in log message.Corinna Vinschen2012-10-252-2/+6
|
* * woutsup.h: Just include winlean.h.Corinna Vinschen2012-07-192-16/+5
|
* * client.cc: Revert sigproc.h inclusion since it was fixed elsewhere.Christopher Faylor2012-03-192-4/+4
|
* * client.cc: Include sigproc.h if __INSIDE_CYGWIN__ is defined.Corinna Vinschen2012-03-192-0/+8
|
* * client.cc: Remove unneeded #include "sigproc.h".Christopher Faylor2012-03-192-2/+4
|
* * transport_pipes.cc (transport_layer_pipes::transport_layer_pipes):Corinna Vinschen2012-02-142-7/+6
| | | | Always use cygwin_internal to fetch installation key.
* * cygserver.cc (print_usage): Align output to utilities in utilsCorinna Vinschen2011-10-102-26/+29
| | | | | directory. (print_version): Ditto.
* * sysv_shm.cc (ACCESSPERMS): Remove to fix redefined warning, asYaakov Selkowitz2011-08-192-1/+5
| | | | this is now defined in <sys/stat.h>.
* * configure.in: Remove AC_ALLOCA test and test for __builtin_memset.Corinna Vinschen2011-02-073-3018/+2973
| | | | * configure: Regenerate.
* * transport_pipes.cc: Include ntdef.h to accommodate cygerrno.h.Christopher Faylor2010-04-202-0/+5
|
* * Makefile.in (cygserver.exe): Link with -static to avoid linkingCorinna Vinschen2009-11-162-1/+6
| | | | against cygstdc++-6.dll due to references to __cxa_pure_virtual.
* * transport_pipes.cc (transport_layer_pipes::transport_layer_pipes):Corinna Vinschen2009-11-062-1/+11
| | | | | | Check cygwin_internal for returning 0 rather than for != 0. (transport_layer_pipes::accept): Add debug output. (transport_layer_pipes::connect): Ditto.
* * transport_pipes.h (PIPE_NAME_PREFIX): New define.Corinna Vinschen2009-10-313-16/+46
| | | | | | | | | | | | | | | (PIPE_NAME_SUFFIX): Ditto. (class transport_layer_pipes): Convert _pipe_name from char pointer to wchar_t array. * transport_pipes.cc (transport_layer_pipes::transport_layer_pipes): Accommodate the fact that _pipe_name is a wchar_t array, rather than a char pointer. (transport_layer_pipes::transport_layer_pipes): Initialize _pipe_name with variable pipe name based in installation key fetched from Cygwin DLL. (transport_layer_pipes::accept): Call CreateNamedPipeW explicitely. (transport_layer_pipes::connect): Call CreateFileW and WaitNamedPipeW explicitely.
* * Makefile.in (CXXFLAGS): Allow override.Corinna Vinschen2009-08-182-1/+5
|
* * README: Remove "How to use" section, as CYGWIN="server" isCorinna Vinschen2009-03-272-32/+5
| | | | no longer required.
* * cygserver-config: Remove misleading text describing theCorinna Vinschen2009-03-202-7/+5
| | | | "CYGWIN=server" setting for the client.
* Add DESTDIR functionality to Makefile.in's.Christopher Faylor2009-02-242-8/+12
|
* ChangeLog:Corinna Vinschen2009-01-212-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Remove --enable-server option. Allways add the cygserver directory to $SUBDIRS. * configure: Regenerate. cygwin/ChangeLog: Remove USE_SERVER define. Accommodate throughout. * configure.in: Remove --enable-server option. * configure: Regenerate. * environ.cc: Remove CYGWIN=server setting. cygserver/ChangeLog: * client.cc (allow_server): Remove variable. (client_request_get_version::client_request_get_version): Drop checking allow_server. utils/ChangeLog: * passwd.c: Remove CYGWIN=server requirement from usage text. doc/ChangeLog: * cygserver.sgml: Remove the "How to use the Cygserver services" section. * cygwinenv.sgml: Move "(no)server" to the removed options section. * faq-programming.xml: Remove CYGWIN=server requirement for running the Cygwin testsuite. * ntsec.sgml: Ditto for using `passwd -R'.
* * Makefile.in (CFLAGS): Look in cygwin's build directory for header files.Christopher Faylor2009-01-032-2/+7
|
* * setpwd.cc (client_request_setpwd::serve): Don't treat removingCorinna Vinschen2008-12-152-1/+8
| | | | non-existant private data as error.
* * setpwd.cc (client_request_setpwd::serve): Explicitely erase passwordCorinna Vinschen2008-12-152-0/+7
| | | | buffer content after usage.
* * Makefile.in (OBJS): Add setpwd.o.Corinna Vinschen2008-11-267-2/+125
| | | | | | | | | | | * README: Explain new service to store passwords in the LSA registry area. * bsd_helper.cc (get_token_info): Make externally available. * bsd_helper.h (get_token_info): Declare. * client.cc (client_request::handle_request): Add case for CYGSERVER_REQUEST_SETPWD request. * setpwd.cc: New file implementing the CYGSERVER_REQUEST_SETPWD request.
* * Makefile.in: Use -static-libgcc when creating cygserver.exe.Christopher Faylor2008-10-302-7/+12
|
* * sysv_msg.cc: Add fix from upstream version 1.65.Corinna Vinschen2008-04-302-3/+15
| | | | | | | (msgsnd): Call msleep with timeout value. Handle EWOULDBLOCK. Make sure it's clear from where msleep has been called in debug output. (msgrcv): Make sure it's clear from where msleep has been called in debug output.
* * bsd_helper.cc: Replace %E __small_printf format specifier with %luCorinna Vinschen2008-02-064-11/+21
| | | | | | | and call to GetLastError throughout. * bsd_mutex.cc: Ditto. * sysv_sem.cc (semget): Replace %X __small_printf format specifier with %llx.
* Remove dependency from Cygwin internal code.Corinna Vinschen2008-02-064-12/+24
| | | | | | | | | | | * Makefile.in (CYGWIN_OBJS): Remove smallprint.o. (cygserver.exe): Remove strfuncs.o (strfuncs.o): Drop rule. * bsd_log.cc (_vlog): Use snprintf/vsnprintf instead of __small_sprintf/__small_vsprintf. * sysv_sem.cc (seminit): Use sys_malloc instead of malloc. Use snprintf instead of __small_sprintf. (semunload): Free the above allocated sema_mtx names here.
* * Makefile.in: Don't link strfuncs.o from the Cygwin build dir.Corinna Vinschen2008-02-042-2/+10
| | | | Build it again with __OUTSIDE_CYGWIN__ defined.
* * bsd_helper.cc (tunable_params): Add kern.ipc.shm_allow_removed asCorinna Vinschen2007-11-054-2/+20
| | | | | | | | bool parameter. * cygserver.conf: Add a description for the kern.ipc.shm_allow_removed parameter. * sysv_shm.cc (shminit): Set shm_allow_removed variable according to kern.ipc.shm_allow_removed setting.
* * smallprint.c: Remove.Corinna Vinschen2007-08-022-250/+4
|
* * Makefile.in: Add -lntdll to link line.Christopher Faylor2007-08-022-3/+8
| | | | (CYGWIN_OBJS): Include strfuncs.o.