Brian Cox
|
d06b001efe
|
Platform macros for QNX, & recognize the QNX-only 'Named special file' filetype
|
2017-09-27 20:25:24 -07:00 |
Brian Cox
|
7545beb0e6
|
Make sure cFile_i is constructed & destructed cleanly; clean up GetSymLinkStr a bit more; improve Debug/Basic & UnixFSServices/GetExecutableFilename unit tests
|
2017-09-21 01:12:28 -07:00 |
Brian Cox
|
769874d34b
|
Path fixes for FreeDOS/DJGPP
|
2017-09-13 21:35:56 -07:00 |
Brian Cox
|
140ed7c26c
|
Build fix for AROS (wasn't pulling in errno.h in fsprocalc.cpp, which is now needed for ERANGE symlink check)
|
2017-09-07 20:42:00 -07:00 |
Brian Cox
|
078bf28164
|
A few little tweaks for SkyOS unit tests & configure robustitude (i.e. relying on stdint.h (if present) to tell us which intrinsic type is 64 bits)
|
2017-09-07 01:00:58 -07:00 |
Brian Cox
|
03bca0ebd4
|
Modify GetSymLinkStr for platforms that return ERANGE when buffer is too small, like HP_UX; tweak field splitting in crc32 test-harness test, for platforms that separate cksum fields with tabs, like Solaris 10 & maybe earlier.
|
2017-09-06 12:25:52 -07:00 |
Brian Cox
|
25ddcc0ca6
|
Break some big unit tests into smaller ones
|
2017-09-04 11:47:35 -07:00 |
Brian Cox
|
5184fe01c4
|
Customize 'make clean' to also remove test data dirs and gcov files
|
2017-08-31 19:51:50 -07:00 |
Brian Cox
|
d724c07873
|
Use a static cFSPropDisplayer instead of creating a fresh one each time someone asks. Addresses a valgrind leak that only manifests in interactive db update mode.
|
2017-08-27 22:58:58 -07:00 |
Brian Cox
|
f5e76827be
|
Robustify symlink reading in cFSPropCalc, & add a unit test for it. Tweak other unit tests to use a test directory we control, rather than dumping stuff in /tmp
|
2017-08-23 23:36:21 -07:00 |
Brian Cox
|
97a2d44481
|
Disable incomplete impl for long property names, but don't remove it in case we want to finish it someday. This ensures that '&unimplemented' is not recognized as a valid property name in policy files.
|
2017-08-19 20:13:07 -07:00 |
Brian Cox
|
180bf761e0
|
Buildsys files regenerated with automake 1.15.1, with no exciting new features
|
2017-07-08 22:18:04 -07:00 |
Brian Cox
|
dae64c48ed
|
Update copyright years
|
2017-04-25 18:31:11 -07:00 |
Brian Cox
|
8ba032c424
|
Change uses of _DEBUG and _DEBUG_DB defines to be DEBUG, since that's the only symbol that gets defined by configuring with --enable-debug.
|
2017-04-12 21:44:51 -07:00 |
Brian Cox
|
a1e614d694
|
Remove irritating 'eof:' comments, and some ancient dead code in stringutil.cpp
|
2017-04-11 21:29:32 -07:00 |
Brian Cox
|
e653e83058
|
Expanded exception handling for file operations during a check, plus some refactoring & cleanup
|
2017-04-11 21:23:25 -07:00 |
Brian Cox
|
9c38b49839
|
Prefer prefix ++/-- operators where possible, for performance reasons (per CppCheck)
|
2017-03-23 19:30:52 -07:00 |
Brian Cox
|
5275975d86
|
Correctly handle rule w/ leading whitespace within a quoted path. Uncomment test case that validates correct behavior.
|
2017-03-19 23:09:05 -07:00 |
Brian Cox
|
8bd86fe60d
|
Address more cppcheck warnings, mostly around assignment operators & explicit constructors
|
2017-03-15 23:41:23 -07:00 |
Brian Cox
|
900fad8ca4
|
Remove some dead code, including objectpool & Unicode-only utf8 stuff
|
2017-03-15 20:58:49 -07:00 |
Brian Cox
|
1fb5f332e6
|
For clarity, remove a bunch of IS_UNIX ifdefs, since configure.ac always defines IS_UNIX to 1 no matter the OS.
|
2017-03-15 20:31:38 -07:00 |
brc0x1
|
86baf94ddf
|
Fix man page handling in make install
|
2017-02-20 17:03:24 -08:00 |
Brian Cox
|
f9aa5de896
|
Add ability to optionally *not* resolve uid/gid to name, to accomodate the Linux static binary vs. nsswitch name resolution issue; add RESOLVE_IDS_TO_NAMES config option to control this feature; avoid redundant lstats when turning IDs into names, since the lstat is to fetch the ID we already have; remove a bunch of unused code in UnixFSServices
|
2016-11-24 17:26:02 -08:00 |
Brian Cox
|
0d8bdcc4d8
|
Support native-style paths on DOS/DJGPP
|
2016-06-29 21:02:12 -07:00 |
Brian Cox
|
207189dafd
|
Update platform macros in platform.h, and use them instead of compiler-defined OS macros.
|
2016-06-23 23:12:22 -07:00 |
Brian Cox
|
78fdac5efc
|
Tweak include paths so we're buildable outside of source tree.
|
2016-06-20 19:49:21 -07:00 |
Brian Cox
|
f41e3e06b6
|
Use the right 'ar' when cross compiling, instead of always wanting to use default system 'ar'. This happened because autoconf doesn't have a builtin AC_PROG_AR macro, so we have to provide our own.
|
2016-06-17 20:33:10 -07:00 |
Brian Cox
|
03622ed0f0
|
Specify headers in makefiles, so 'make dist' knows to include them
|
2016-06-14 01:15:37 -07:00 |
Brian Cox
|
bf0c230404
|
Use open+readlinkat() to avoid bumping access time on symlinks (where available)
|
2016-06-13 16:12:19 -07:00 |
Brian Cox
|
48a4392343
|
Update buildsys to automake 1.15 and fix resulting warnings. This involved an autoreconf -if, and then reverting config.guess and config.sub since they're actually newer than the ones automake wants to install, and they've been customized a bit to detect e.g. MidnightBSD
|
2016-06-06 19:51:38 -07:00 |
Brian Cox
|
b543a36d89
|
Use posix_fadvise() maybe-correctly; only use O_DIRECT for hashing, if requested; better exception handling in fspropcalc & fsdatasourceiter to prevent errors scanning individual objects from blowing up the whole init/check.
|
2016-05-06 11:24:24 -07:00 |
Brian Cox
|
eaca9fcedf
|
Support posix_fadvise() where available; optionally enable O_DIRECT/F_NOCACHE if DIRECT_IO=true in tw.cfg; fix internal naming of update 'secure mode' flag for clarity.
|
2016-05-05 00:19:56 -07:00 |
Brian Cox
|
728795af3d
|
Replace tabs with 4 spaces in all remaining OST code, since this inconsistency can now result in 'misleading indentation' warnings in GCC 6.0+.
|
2016-04-23 00:33:17 -07:00 |
Brian Cox
|
5819201c68
|
GCC 6's new 'misleading indentation' warning showed up a few times in OST, so this commit squashes all the current examples of that. Also adds Fedora 24 alpha 7 (x64) + gcc 6.0.0 to the list of tested platforms.
|
2016-04-22 18:27:02 -07:00 |
Brian Cox
|
677162cc6e
|
Revive the old unit test suite. Needs autoconf/buildsys work, and tests don't all pass yet.
|
2016-04-16 19:16:32 -07:00 |
Brian Cox
|
ea361e91fe
|
Fix warnings around explicitly calling base class constructors in copy constructors
|
2016-04-15 17:16:32 -07:00 |
Brian Cox
|
9e5dd61e39
|
Fix various compiler warnings; enable -Wextra warnings except for unused params.
|
2016-04-15 12:42:31 -07:00 |
Brian Cox
|
f47e5e7a9d
|
Resolve a bunch of non-virtual destructor warnings
|
2016-04-14 21:45:46 -07:00 |
Brian Cox
|
2d04929991
|
Display doors & event ports correctly (Solaris)
|
2016-04-07 23:56:58 -07:00 |
Brian Cox
|
c41aba17db
|
Set _LARGEFILE_SOURCE; use O_NONBLOCK where available, in case of file-to-fifo switch or mandatory file locking
|
2016-04-07 18:56:39 -07:00 |
Brian Cox
|
e71023730e
|
Add Posix<-->Native path conversion, and handle absence of Unix unlinked-but-open tempfile trick on AROS
|
2016-04-01 18:01:59 -07:00 |
Brian Cox
|
9698ca5333
|
Update buildsys for oddball platforms that don't support hardlinks, or have gethostbyname() in a weird library. Still generated w/ older v1.8.x automake/aclocal in order to keep diffs a reviewable size.
|
2016-03-25 10:59:56 -07:00 |
Ken Westin
|
c8dc58df50
|
Open Source Tripwire 2.4.2.2
Initial commit of code from Sourceforge repository.
|
2015-05-03 22:26:18 -07:00 |