summaryrefslogtreecommitdiffstats
path: root/winsup/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* * cygcheck.cc (dump_sysinfo): Handle Windows 10/Server 2014(?).Corinna Vinschen2014-11-104-30/+57
|
* Add accidentally missing patchCorinna Vinschen2014-11-031-1/+1
|
* * mkgroup.c (enum_local_groups): Don't generate leading separator charCorinna Vinschen2014-11-031-0/+5
| | | | for builtin accounts.
* * setfacl.c (setfacl): Fix bracketing in expression.Corinna Vinschen2014-10-292-1/+5
|
* * setfacl.c (usage): Add -b to require options.Corinna Vinschen2014-10-272-1/+5
|
* * setfacl.c (action_t): Add DeleteAll value.Corinna Vinschen2014-10-272-13/+79
| | | | | | | | | | | (delacl): New function to remove all ACL entries not representing POSIX permissions. (setfacl): Rearrange conditional expression into switch statement. Add DeleteAll case. (usage): Add and describe -b option. (longopts): Add --remove-all option. (opts): Add -b option. (main): Handle -b option.
* * cygcheck.cc (CYGLSA64_DLL): Remove unused macro.Corinna Vinschen2014-10-212-4/+21
| | | | | (dump_sysinfo): If COMSPEC isn't set in the MSVCRT environment, set it. Explain why.
* * setfacl.c (addmissing): New function to add missing acl entries toCorinna Vinschen2014-09-032-0/+71
| | | | | a modified acl per the rules set by aclcheck. (setfacl): Call addmissing unless action is Delete.
* * setfacl.c (getaclentry): Fix previous fix again. Allow lone 'm' asCorinna Vinschen2014-09-032-10/+23
| | | | | well as any lone default entry if action is Delete. Fix comments. (usage): Align usage text.
* * setfacl.c (getaclentry): Fix return value in case of a lone 'm' ifCorinna Vinschen2014-09-032-4/+8
| | | | | action is Delete. Drop requirement for a trailing colon if action is Delete.
* * setfacl.c (usage): Drop outdated note that default ACEs are notCorinna Vinschen2014-08-312-3/+8
| | | | taken into account.
* * getfacl.c (usage): Add flags description.Corinna Vinschen2014-08-312-2/+13
| | | | (main): Print suid/sgid/vtx flags if available.
* * configure.ac: Convert to new AC_INIT style.Corinna Vinschen2014-08-153-23/+39
| | | | * configure: Regenerate.
* * utils.xml: Move to ../doc.Corinna Vinschen2014-08-142-2104/+4
|
* * passwd.c (usage): Rename DAYS to MINDAYS and MAXDAYS.Corinna Vinschen2014-08-063-21/+21
| | | | * utils.xml (passwd): Ditto.
* Add missing utils.xmlCorinna Vinschen2014-07-291-0/+1
|
* * mkgroup.c (usage): Move info message that this /etc/group isn't reallyCorinna Vinschen2014-07-294-16/+24
| | | | | required anymore more to the top of the usage output. * mkpasswd.c (usage): Ditto for /etc/passwd. Drop old text from output.
* * passwd.c (main): Fix typo in error output.Corinna Vinschen2014-06-162-1/+6
|
* * minidumper.cc (filter_minidump_type): New function.Jon TURNEY2014-05-132-0/+73
| | | | | | | (minidump): Change default dump type from MiniDumpNormal to something with more useful information without getting too big. Use filter_minidump_type() to filter out unsupported dump types.
* * Makefile.in (minidumper.exe): Link directly with dbghelp.Jon TURNEY2014-05-133-37/+16
| | | | * minidumper.cc (minidump): Ditto.
* * minidumper.cc (minidump): Fix copy and paste error in checkingJon TURNEY2014-04-212-1/+6
| | | | result of OpenProcess().
* Fix ChangeLog entry date.Corinna Vinschen2014-03-111-1/+1
|
* * mkgroup.c (domlist_t): Drop id_offset.Corinna Vinschen2014-02-244-701/+415
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (get_dcname): Remove. (current_group): Remove. (enum_unix_groups): Simplify. Change space to underscore in domain name. (enum_local_groups): Simplify to accommodate the fact that it's only called for foreign machines. (enum_groups): Ditto. (print_special_by_sid): Remove. (print_special_by_name): Remove. (usage): Align to new code. (fetch_primary_domain): Remove. (main): Use cygwin_internal CW_SETENT, CW_GETENT and CW_ENDENT method. Call enum_local_groups, enum_groups, and enum_unix_groups only for foreign machines. * mkpasswd.c (get_dcname): Remove. (current_user): Remove. (enum_unix_users): Simplify. Change space to underscore in domain name. (enum_users): Simplify to accommodate the fact that it's only called for foreign machines. (print_special_by_sid): Remove. (usage): Align to new code. (longopts): Add -b/--no-builtin option. (opts): Add -b option. (print_special_by_name): Remove. (enum_std_accounts): Remove. (fetch_primary_domain): Remove. (main): Use cygwin_internal CW_SETENT, CW_GETENT and CW_ENDENT method. Call enum_users and enum_unix_users only for foreign machines. * utils.xml (mkgroup): Align documentation to new usage. (mkpasswd): Ditto.
* * minidumper.cc (minidump): Fix -t option argument handling.Jon TURNEY2014-02-232-1/+5
|
* 2014-02-07 Jon TURNEY <jon.turney@dronecode.org.uk>Jon TURNEY2014-02-094-1/+280
| | | | | | * minidumper.cc: New file. * Makefile.in (CYGWIN_BINS): Add minidumper. * utils.xml (minidumper): New section.
* * cygcheck.cc (RtlGetVersion): Declare.Corinna Vinschen2013-11-192-9/+18
| | | | | | | | (dump_sysinfo): Call RtlGetVersion rather than GetVersionEx to get correct OS info even on Windows 8.1. Don't check return value since RtlGetVersion never fails per MSDN. Move fetching kernel32 module handle where it's really needed. Drop temporary comment added by previous checkin.
* * cygcheck.cc (dump_sysinfo): Revert Windows 8.1 hack. It's notCorinna Vinschen2013-11-192-11/+9
| | | | working. Add a (hopefully temporary) comment.
* Add missing entryCorinna Vinschen2013-11-191-0/+3
|
* * cygcheck.cc (dump_sysinfo): Drop code trying to fetch OSVERSIONINFOCorinna Vinschen2013-11-192-21/+22
| | | | | | if fetching OSVERSIONINFOEX failed. Drop code handling unsupported platform IDs. Add code to tweak dwMinorVersion on Windows 8.1 if no manifest is present.
* * Makefile.in (cygcheck.exe): Link against wininet.dll.Corinna Vinschen2013-11-194-102/+26
| | | | | | | | | | (dumper.exe): Link against psapi.dll. * cygcheck.cc (_WIN32_WINNT): Define as 0x0602. (pInternetCloseHandle): Drop pointer. (PRODUCT_UNLICENSED): Drop definition. (PRODUCT_PROFESSIONAL_WMC): Ditto. (package_grep): Delete code loading wininet functions dynamically, just call functions directly.
* * cygcheck.cc (dump_sysinfo): Distinguish Windows 8 and 8.1, as wellCorinna Vinschen2013-11-192-47/+33
| | | | | | | | | as Windows Server 2012 and 2012 R2. Add missing commas in products array to avoid crashes. Drop Windows NT4 and 2000 printouts. Just call IsWow64Process, GetNativeSystemInfo, and GetDiskFreeSpaceEx directly, rather than loading them dynamically, since they are exported by all supported OS versions. Fix questionable type usage in call to GetDiskFreeSpaceEx.
* winsup/ChangeLog:Christopher Faylor2013-11-074-33/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * dump_setup.cc (find_tar_ext): Generalize search for .tar extension, avoidingChristopher Faylor2013-09-162-9/+9
| | | | looking for specific compression types.
* * cygcheck.cc (package_grep): Accommodate arch-specific package layout.Christopher Faylor2013-08-232-2/+10
|
* * Makefile.in (MINGW_LDFLAGS): Don't link against w32api libs. TheseCorinna Vinschen2013-07-312-1/+6
| | | | are only for Cygwin executables.
* * cygcheck.cc (dll_info): Detect and report on symlinks. Output wrongChristopher Faylor2013-07-073-17/+38
| | | | | | architecture message inline with stdout for clarity. * path.cc (is_symlink): Always reset file pointer to beginning on exit. (readlink): Assume that file pointer is set to the beginning.
* * cygpath.cc (do_pathconv): when -p option is given, generate wideCorinna Vinschen2013-06-263-5/+12
| | | | | | path without long path prefixing. * wide_path.h (wide_path::wide_path): Allow extra bool parameter to specify whether or not performing Windows long path prefixing.
* Reinstantiate accidentally removed patch from 2009-05-16:Corinna Vinschen2013-05-212-2/+10
| | | | | | | * Makefile.in (cygpath.exe): Link against cygwin.a before linking against ntdll.dll to avoid linking symbols defined in both DLLs from ntdll. (ps.exe): Ditto.
* - Added <?xml> and <!DOCTYPE> tags to the top of utils.xml and pretty-Warren Young2013-05-103-3454/+1171
| | | | | | | | printed it. - Removed obsolete utils.sgml - Added a ChangeLog entry for this replacement, which partially took place days ago. This checkin formalizes the switch from SGML to DocBook XML for this file.
* Modernized user guide, API reference, and FAQ generation. OverallWarren Young2013-05-011-0/+2190
| | | | | | effect is to move away from DocBook SGML and DJ Delorie's doctool and toward pure DocBook XSL. (There remains just one use of doctool, and we have plans for replacing it, too.) See ChangeLog for details.
* * Merge in cygwin-64bit-branch.Corinna Vinschen2013-04-2322-254/+419
|
* * Makefile.in (CYGWIN_LDFLAGS): Replace -static-lib* with -static.Yaakov Selkowitz2013-02-212-3/+9
| | | | | (MINGW_LDFLAGS): Ditto. (ZLIB): Simplify accordingly.
* Update copyrightsChristopher Faylor2013-01-2118-25/+27
|
* * utils.sgml (mount): Document sparse mount option.Corinna Vinschen2012-12-142-0/+6
|
* * Makefile.in: Move CFLAGS and CXXFLAGS so that they can be manipulated byChristopher Faylor2012-11-283-11/+22
| | | | | | | | Makefile.common. Add -static-libstdc++ to *LDFLAGS. Add dependencies for loadlib.h. * loadlib.h: Update copyright. (_load_sys_library): Properly define set_dll_library as WINAPI to avoid stack corruption.
* * Makefile.in (ZLIBS): Common define to force static load.Christopher Faylor2012-11-272-3/+9
| | | | (MINGW_LDFLAGS): Use static libgcc.
* * Makefile.in: Make sure that libz is always loaded staticly.Christopher Faylor2012-11-272-2/+6
|
* ChangeLog:Christopher Faylor2012-11-264-101/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * bloda.cc: Drop Mingw.org considerations.Corinna Vinschen2012-11-264-26/+13
| | | | | * dump_setup.cc: Ditto. * strace.cc: Ditto.
* ChangeLog:Christopher Faylor2012-11-2310-1319/+382
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.