aboutsummaryrefslogtreecommitdiff
path: root/winsup/utils
AgeCommit message (Collapse)AuthorFilesLines
2014-12-15 * setfacl.c (action_t): Add DeleteDef value.Corinna Vinschen2-7/+37
(delacl): Take new parameter to differe between DeleteAll and DeleteDef. Extend conditional to handle DefaultDef. Change comment accordingly. (setfacl): Call delacl in DefaultDef case as well. (usage): Add and describe -k option. Add -k to require options. (longopts): Add --remove-default option. (opts): Add -k option. (main): Handle -k option.
2014-12-05 * tzmap-from-unicode.org: Create tzmap as const.Corinna Vinschen3-2/+7
* tzmap.h: Regenerate.
2014-12-05 * Makefile.in: Add rules to create and depend on tzmap.h.Corinna Vinschen5-489/+627
* tzmap-from-unicode.org: New script to create tzmap.h. * tzmap.h: New auto-generated file. * tzset.c: Drop tzmap from here and include tzmap.h instead. Drop Windows 2000 considerations.
2014-11-28 * mkgroup.c (main): Call enum_local_groups with offset 0x30000 for localCorinna Vinschen2-2/+8
machine, too.
2014-11-27 * mkgroup.c (main): Call enum_groups with offset 0x30000 for localCorinna Vinschen3-12/+24
machine, same as from DB. * mkpasswd.c (enum_unix_users): Set pw_passwd field to '*'. (enum_users): Ditto. (main): Call enum_users with offset of 0x30000 for local machine, same as from DB.
2014-11-24 * passwd.c (GetPW): If server is NULL, and the user is not a localCorinna Vinschen2-14/+41
user, try to fetch the DC to use as server. (ChangePW): Get Windows username via extra parameter. (usage): Reduce -d help text to reflect above change. (main): Fix typo in comment. Call GetPW and ChangePW as per the changes above.
2014-11-12 * mkgroup.c (usage): Fix language.Corinna Vinschen3-40/+45
* mkpasswd.c (usage): Ditto.
2014-11-12 * mkgroup.c (enum_unix_groups): Always print groupname with machineCorinna Vinschen3-29/+79
prefix. (usage): Extend help output for -l option. (main): Drop superfluous goto and label. Make machine prefixing for local machine when using -l option dependend on options in /etc/nsswitch.conf. * mkpasswd.c: Ditto.
2014-11-10 * cygcheck.cc (dump_sysinfo): Handle Windows 10/Server 2014(?).Corinna Vinschen4-30/+57
2014-11-03Add accidentally missing patchCorinna Vinschen1-1/+1
2014-11-03 * mkgroup.c (enum_local_groups): Don't generate leading separator charCorinna Vinschen1-0/+5
for builtin accounts.
2014-10-29 * setfacl.c (setfacl): Fix bracketing in expression.Corinna Vinschen2-1/+5
2014-10-27 * setfacl.c (usage): Add -b to require options.Corinna Vinschen2-1/+5
2014-10-27 * setfacl.c (action_t): Add DeleteAll value.Corinna Vinschen2-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.
2014-10-21 * cygcheck.cc (CYGLSA64_DLL): Remove unused macro.Corinna Vinschen2-4/+21
(dump_sysinfo): If COMSPEC isn't set in the MSVCRT environment, set it. Explain why.
2014-09-03 * setfacl.c (addmissing): New function to add missing acl entries toCorinna Vinschen2-0/+71
a modified acl per the rules set by aclcheck. (setfacl): Call addmissing unless action is Delete.
2014-09-03 * setfacl.c (getaclentry): Fix previous fix again. Allow lone 'm' asCorinna Vinschen2-10/+23
well as any lone default entry if action is Delete. Fix comments. (usage): Align usage text.
2014-09-03 * setfacl.c (getaclentry): Fix return value in case of a lone 'm' ifCorinna Vinschen2-4/+8
action is Delete. Drop requirement for a trailing colon if action is Delete.
2014-08-31 * setfacl.c (usage): Drop outdated note that default ACEs are notCorinna Vinschen2-3/+8
taken into account.
2014-08-31 * getfacl.c (usage): Add flags description.Corinna Vinschen2-2/+13
(main): Print suid/sgid/vtx flags if available.
2014-08-15 * configure.ac: Convert to new AC_INIT style.Corinna Vinschen3-23/+39
* configure: Regenerate.
2014-08-14 * utils.xml: Move to ../doc.Corinna Vinschen2-2104/+4
2014-08-06 * passwd.c (usage): Rename DAYS to MINDAYS and MAXDAYS.Corinna Vinschen3-21/+21
* utils.xml (passwd): Ditto.
2014-07-29Add missing utils.xmlCorinna Vinschen1-0/+1
2014-07-29 * mkgroup.c (usage): Move info message that this /etc/group isn't reallyCorinna Vinschen4-16/+24
required anymore more to the top of the usage output. * mkpasswd.c (usage): Ditto for /etc/passwd. Drop old text from output.
2014-06-16* passwd.c (main): Fix typo in error output.Corinna Vinschen2-1/+6
2014-05-13 * minidumper.cc (filter_minidump_type): New function.Jon TURNEY2-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.
2014-05-13 * Makefile.in (minidumper.exe): Link directly with dbghelp.Jon TURNEY3-37/+16
* minidumper.cc (minidump): Ditto.
2014-04-21* minidumper.cc (minidump): Fix copy and paste error in checkingJon TURNEY2-1/+6
result of OpenProcess().
2014-03-11Fix ChangeLog entry date.Corinna Vinschen1-1/+1
2014-02-24 * mkgroup.c (domlist_t): Drop id_offset.Corinna Vinschen4-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.
2014-02-23 * minidumper.cc (minidump): Fix -t option argument handling.Jon TURNEY2-1/+5
2014-02-092014-02-07 Jon TURNEY <jon.turney@dronecode.org.uk>Jon TURNEY4-1/+280
* minidumper.cc: New file. * Makefile.in (CYGWIN_BINS): Add minidumper. * utils.xml (minidumper): New section.
2013-11-19 * cygcheck.cc (RtlGetVersion): Declare.Corinna Vinschen2-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.
2013-11-19 * cygcheck.cc (dump_sysinfo): Revert Windows 8.1 hack. It's notCorinna Vinschen2-11/+9
working. Add a (hopefully temporary) comment.
2013-11-19Add missing entryCorinna Vinschen1-0/+3
2013-11-19 * cygcheck.cc (dump_sysinfo): Drop code trying to fetch OSVERSIONINFOCorinna Vinschen2-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.
2013-11-19 * Makefile.in (cygcheck.exe): Link against wininet.dll.Corinna Vinschen4-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.
2013-11-19 * cygcheck.cc (dump_sysinfo): Distinguish Windows 8 and 8.1, as wellCorinna Vinschen2-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.
2013-11-07winsup/ChangeLog:Christopher Faylor4-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.
2013-09-16* dump_setup.cc (find_tar_ext): Generalize search for .tar extension, avoidingChristopher Faylor2-9/+9
looking for specific compression types.
2013-08-23* cygcheck.cc (package_grep): Accommodate arch-specific package layout.Christopher Faylor2-2/+10
2013-07-31 * Makefile.in (MINGW_LDFLAGS): Don't link against w32api libs. TheseCorinna Vinschen2-1/+6
are only for Cygwin executables.
2013-07-07* cygcheck.cc (dll_info): Detect and report on symlinks. Output wrongChristopher Faylor3-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.
2013-06-26 * cygpath.cc (do_pathconv): when -p option is given, generate wideCorinna Vinschen3-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.
2013-05-21 Reinstantiate accidentally removed patch from 2009-05-16:Corinna Vinschen2-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.
2013-05-10- Added <?xml> and <!DOCTYPE> tags to the top of utils.xml and pretty-Warren Young3-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.
2013-05-01Modernized user guide, API reference, and FAQ generation. OverallWarren Young1-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.
2013-04-23 * Merge in cygwin-64bit-branch.Corinna Vinschen22-254/+419
2013-02-21* Makefile.in (CYGWIN_LDFLAGS): Replace -static-lib* with -static.Yaakov Selkowitz2-3/+9
(MINGW_LDFLAGS): Ditto. (ZLIB): Simplify accordingly.