Changeset 61
- Timestamp:
- Sep 11, 2006, 10:31:56 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/aclocal.m4
r47 r61 1195 1195 # 1196 1196 if test "x$GCC" = xyes; then 1197 AC_MSG_CHECKING([for non-apple i386])1197 AC_MSG_CHECKING([for non-apple non-cygwin i386]) 1198 1198 samhain_i386=no 1199 1199 $CC -E -dM - < /dev/null | egrep '__i386__' >/dev/null 2>&1 1200 1200 if test $? = 0; then 1201 1201 # apples gcc does not understand the assembly we provide 1202 $CC -E -dM - < /dev/null | egrep ' __APPLE__' >/dev/null 2>&1 || samhain_i386=yes1202 $CC -E -dM - < /dev/null | egrep '(__APPLE__|__CYGWIN__)' >/dev/null 2>&1 || samhain_i386=yes 1203 1203 fi 1204 1204 if test "x$samhain_i386" = xyes; then -
trunk/configure.ac
r59 r61 13 13 dnl start 14 14 dnl 15 AM_INIT_AUTOMAKE(samhain, 2.2. 4)15 AM_INIT_AUTOMAKE(samhain, 2.2.5) 16 16 AC_CANONICAL_HOST 17 17 … … 195 195 196 196 AC_CHECK_HEADERS(stddef.h libgen.h sched.h \ 197 sys/vfs.h \197 sys/vfs.h mntent.h \ 198 198 sys/select.h sys/socket.h netinet/in.h \ 199 199 regex.h glob.h \ … … 261 261 seteuid setreuid setresuid lstat getwd getcwd ptrace \ 262 262 usleep setpriority getpeereid nanosleep \ 263 strptime basename sched_yield \263 strptime basename sched_yield hasmntopt \ 264 264 inet_aton gethostbyname setutent setrlimit gethostname uname \ 265 265 initgroups getpagesize \ -
trunk/docs/BUGS
r1 r61 1 2 MacOS X: 3 ------- 4 5 (1) Pointed out by David: static linking is not supported on MacOS X, 6 see http://developer.apple.com/qa/qa2001/qa1118.html 1 7 2 8 Solaris: -
trunk/docs/Changelog
r60 r61 1 2.2.4: 1 2.2.5: 2 * workaround for glob(3) sillyness on MacOS X (reported by David) 3 * fix for broken resorce fork check (reported by David) 4 * fix for broken compilation on cygwin (reported by Elias) 5 6 2.2.4 (03-09-2006): 2 7 * add regression test for the GrowingLogFiles issue to test suite 3 8 * fixed sh_unix.c: bug in database init if GrowingLogFiles used -
trunk/docs/FAQ.html
r19 r61 129 129 <br><center><h2>Rainer Wichmann</h2></center> 130 130 <hr> 131 <p><i>FAQ Revised: Tuesday 31 January 2006 21:28:35</i></p>131 <p><i>FAQ Revised: Monday 11 September 2006 22:18:54</i></p> 132 132 <hr><h2>Table of Contents</h2> 133 133 <dl> … … 150 150 <li><a href="#Build and install7">2.8. ./install-sh: strip: not found (Solaris)</a></li> 151 151 <li><a href="#Build and install8">2.9. What is sh_tiger1.s?</a></li> 152 <li><a href="#Build and install9">2.10. Why does static compiling (<code>--enable-static</code>) on MaxOS X fail ?</a></li> 152 153 </ul></dd> 153 154 <dt><b>3. File checking</b></dt> … … 391 392 it would be impossible to maintain a library of optimal compile options 392 393 for every version of gcc.<br><br></dd> 394 <dt><b><a name="Build and install9">2.10. Why does static compiling (<code>--enable-static</code>) on MaxOS X fail ?</a></b></dt> 395 <dd>Static linking is not supported on MacOS X, see 396 <a href="http://developer.apple.com/qa/qa2001/qa1118.html">Technical Q&A QA1118</a>. 397 This is a MacOS X issue and not a bug in samhain.<br><br></dd> 393 398 </dl> 394 399 <hr><h2>3. File checking</h2> -
trunk/src/sh_files.c
r46 r61 721 721 722 722 SL_ENTER(_("sh_files_globerr")); 723 724 if (errnum == ENOTDIR || errnum == ENOENT) 725 { 726 SL_RETURN(0, _("sh_files_globerr")); 727 } 723 728 724 729 p = sh_util_safe_name (epath); … … 2068 2073 if (sl_strlen(testpath) == (17 + sl_strlen(fullpath))) 2069 2074 { 2070 if (0 == sh_unix_file_stat (testpath))2075 if (0 != sh_unix_file_stat (testpath)) 2071 2076 { 2072 2077 sh_files_filecheck (class, fullpath, rsrc, &dummy, 1); -
trunk/src/sh_suidchk.c
r55 r61 521 521 0 != strcmp(tmpcat, ShSuidchkExclude))) 522 522 { 523 /* fs is a STATIC string 523 /* fs is a STATIC string or NULL 524 524 */ 525 525 fs = filesystem_type (tmpcat, tmpcat, &buf); … … 1771 1771 /* check for the "nosuid" option 1772 1772 */ 1773 #ifdef HAVE_HASMNTOPT 1773 1774 if (NULL == hasmntopt(mnt, "nosuid")) 1774 1775 type = mnt->mnt_type; 1775 1776 else 1776 type = _("nosuid"); 1777 type = _("nosuid"); /* hasmntopt (nosuid) */ 1778 #else 1779 type = mnt->mnt_type; 1780 #endif 1777 1781 } 1778 1782 }
Note:
See TracChangeset
for help on using the changeset viewer.