Age | Commit message (Collapse) | Author | Files | Lines |
|
This patch enables the compile-time checking of strings assable by means of
sizeof(). (Original code had the configure check reversed).
This is extended to all safe_strcpy() users, push_string and pull_string,
as well as the cli and srv derivitives. There is an attempt to cap strings
at the end of the cli buffer, and clobber_region() of the speified length
(when not -1 :-).
Becouse of the way they are declared, the 'overmalloc a string' users of
safe_strcpy() have been changed to use overmalloc_safe_strcpy() (which skips
some of the checks).
This whole ball of mud worked fine, until I pulled out my 'fix' for our
statcache. When jeremy fixes that, we should be able to get back to testing
this stuff.
This patch also includes a 'marker' of the last caller to clobber_region (ie,
the function that called pstrcpy() that called clobber_region) to assist in
debugging problems that may have smashed the stack. This is printed at
smb_panic() time. (Original idea and patch by metze).
It also removes some unsused functions, and #if 0's some others that are
unused but probably should be used in the near future.
For now, this patch gives us some confidence on one class of trivial parsing
error in our code.
Andrew Bartlett
(This used to be commit 31f4827acc2a2f00399a5528fc83a0dae5cebaf4)
|
|
etc. So check for that as well as the old names.
(This used to be commit 1ffa4d75b75979b8abb409634212ce43a0826467)
|
|
(This used to be commit 0ece70d631bf095bf9c8819180b6c59990159cd0)
|
|
failures for some compile-time properties this way.
Andrew Bartlett
(This used to be commit ce618624b7df797e228f8ef0f19820b318c62ae9)
|
|
We have compiled relitivly 'clean' with this setting since I did a massive
cleanup last month. This should help us stay that way.
Andrew Bartlett
(This used to be commit 284479bf388f5e39d9be78eeb1ac6cdd001fb8df)
|
|
keys for kerberos authentication.
Andrew Bartlett
(This used to be commit 8b798f03dbbdd670ff9af4eb46f7b0845c611e0f)
|
|
(make it possible to build both shared and static) and -lcrypt handling.
(This used to be commit 30510f50077fd157664c127ac0182ce26843d43f)
|
|
what I use in Midgard for past few years, modified for Samba needs.
(This used to be commit 747d2d70a9eb4d9222d7b63e5fcec269eda76672)
|
|
(This used to be commit 48dcf5b97f2d53617c41237e09369ec678ab65e9)
|
|
and vfstest.
(This used to be commit bcbc2213230e95d732a774b5aee67295fba4380b)
|
|
as we don't need it for autoconf 2.53. Remove it from CVS, and assert the
newer autotools in configure.in
Andrew Bartlett
(This used to be commit 14b38c004f4bd5b695d04941b03e3bfa31372da3)
|
|
CFLAGS/CPPFLAGS
and LIBS/LDFALGS. In particular, they often don't check where the appropriate libraries
were installed and pass -I/usr/include and -L/usr/lib as part of CFLAGS/LDFLAGS.
While the latter isn't dangerous, passing system include directory through -I lead
to change of its status in CPP from system to user-defined in many cases.
This patch cleans up CFLAGS/CPPFLAGS from errorenous -I/usr/include and LIBS/LDFLAGS
from -L/usr/lib. This is done as two m4 macros which are called before AC_OUTPUT.
(This used to be commit 643172ac1a9b53823d704690eb03120074bbef78)
|
|
(This used to be commit c88a5b1abaaee9aea3ece5677fce8b79bcd00552)
|
|
traditional guessing only if krb5-config was not found.
(This used to be commit ca27334ba0f2ffbe0fd2a18ef5edf644d4e52190)
|
|
<michael.steffens@hp.com>
Jeremy.
(This used to be commit ba0f47f78db488bd8dcd59023f48aa77a1cb2c27)
|
|
Andrew Bartlett
(This used to be commit f364921864bf4c33580c432f0d328c7ffc48a7df)
|
|
(This used to be commit 29d25382ac394707da372d4af2b828bfcd0d6874)
|
|
Let's not assume that because one dir exists the whole shebang is there...
(This used to be commit 44fd5c827537bd14c2220f62f5e44190247ae556)
|
|
(This used to be commit dbb29495e7cd94b4ad07efd656d021d9551f5eb6)
|
|
Jeremy
(This used to be commit d63849db6d02b1a9430072e6e15a67e1c526e5e7)
|
|
(This used to be commit 726181537db6bdd299fd9256a5e6def6b4b8ae33)
|
|
support shared libraries
(This used to be commit f739a7263d9da6edc2ecba5b942253c22f7cb3f8)
|
|
(This used to be commit 84b6f32cff2096ac44778160ed2c17ca271d6d45)
|
|
(This used to be commit fdd449fe7b4e858765f485cbbe2cc1b91a4e0c53)
|
|
Jeremy.
(This used to be commit 193cc4f4fc876c66e97ea6b82bae431d0247c1fa)
|
|
to add a function without an explicit #ifdef HEIMDAL which I'm trying
to avoid.
Jeremy.
(This used to be commit 77aeb262ef7c7cd3d206afe2d5445caaca943dfd)
|
|
for instructions.
(This used to be commit d51e12df78ff8fc721d693fedbd1c633f39edd49)
|
|
Jeremy.
(This used to be commit c3544c119e4cafb817479b4c5dfae178c3de000b)
|
|
detect for now, I still have vague hopes of hiding the differences
between MIT and Heimdal with a compatibility layer....
Jeremy.
(This used to be commit a776fbef3244ae82a17c57a7f62de115fd023c86)
|
|
yp_get_default_domain to be misdetected.
According to the autoconf manual we need to check for libraries before
looking for functions in them.
(This used to be commit 468c487df42c6fc25d1862f36995b3d9a78902ff)
|
|
(This used to be commit 50adb8cc1074e9bedac365a92db96c5f01f30223)
|
|
(This used to be commit 26660f939f0e0650d54631bf8243b22f32b64132)
|
|
were broken. This works for 4.3 and 4.6.2.
(This used to be commit 91e2d21bd1401ca874c59f4d93f8b429c38b642d)
|
|
(This used to be commit 2a9d183cf6ae8333dc7d9d9445c17dce005c1d24)
|
|
Jeremy.
(This used to be commit 9cf56dc97733589d5591990b44c883c7c61d1ea2)
|
|
Jeremy.
(This used to be commit 4a9c995e50b24e6ee6ec58c46da32100a8197724)
|
|
(This used to be commit 5739ee4e63a35d7778506047ae3ad2ddceb69ec5)
|
|
be used.
(This used to be commit 8c306804c6f3f0523ff5347e4b9360474d696a50)
|
|
Andrew Bartlett
(This used to be commit 3f5608c7e0175184fa599176178d391d54087b3d)
|
|
(This used to be commit f5fa4801ceb56b21facccb382db09165936df319)
|
|
(This used to be commit 1cf0cfa1b7f00946c439b2b1a30ab3981df4a459)
|
|
now combined all the ad-hoc AC_SUBST variables into three generalised
ones:
EXTRA_BIN_PROGS Additional programs to install in ${prefix}/sbin
EXTRA_SBIN_PROGS Additional programs to install in ${prefix}/bin
EXTRA_ALL_TARGETS Additional targets to build by default
SHLIB_PROGS Shared library objects (pam, winbind) to build
We also build some extra stuff by default: the python extensions (if
--with-python specified), smbmount related binaries (if
--with-smbmount specified), and the samba torture suite.
The idea behind this is to have everything that is configured built by
default to detect breakage as soon as possible when people make low
level changes.
(This used to be commit d6dfe3ea69d4672339559389c6fb16e78a9152b0)
|
|
the extensions are not built until you specifically "make python_ext".
(This used to be commit 47c5c2209e3999b8f58204c978b30a9dd646497a)
|
|
Andrew Bartlett
(This used to be commit efa639c5cef51f2ca903c08d2ad19db70ab7206c)
|
|
to build shared libs (but not with .po suffix).
Andrew Bartlett
(This used to be commit 2fd47d0c25bdf1d5351f79164c6cb35b83a9cc5f)
|
|
(This used to be commit 7b860414b11ec3b2ecb34c515536c598322f06ee)
|
|
instead :-)
(This used to be commit 9d8aa4bd51736709a9295791f54c9481b876699f)
|
|
exist (e.g. in SuSE 8.1) (by metze)
(This used to be commit 5f16343e0d7c8120a7a5786097b8920a5b7d047b)
|
|
the libs they depend on are available
(This used to be commit 018a44055d6a8435528279523567f9a86b2f3069)
|
|
(This used to be commit 98cb778cb7d48dd545b5dcf395567defd0198f86)
|