| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
The macros "[un]likely" are already defined on SuSE 9.0.
Patch from Volker.
|
|
|
|
|
|
|
|
|
|
|
|
| |
In pstring removal 4ae4b23586, the behaviour of tab_depth was
changed to create an extra debug header (by using the DEBUGLVL
macro).
This extracts the debug level check from DEBUGLVL into
a macro CHECK_DEBUGLVL without the debug header creation
and uses this instead of DEBUGLVL in tab_depth.
Michael
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
On my Laptop with some limited netbench runs this gains about 1.5% of
performance. When looking at the assembler output I would suspect the biggest
gain is by the fact that with this in place the calls to the debug functions is
moved to the function end, out of the way of the normal code paths. valgrind
tests pending I would suspect this to be much more cache friendly.
Comments?
Volker
|
|
|
|
|
|
| |
one horror (pstring_clean_name()) which will have to
remain until I've removed all pstrings from the client code.
Jeremy.
|
|
|
|
|
|
|
| |
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
| |
header.
Control this by a new boolean smb.conf option "debug class" which is
by default set to "no" to keep the default debug header unchanged.
Michael
Note: You need to make clean for this patch.
|
|
|
|
| |
Guenther
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is produced when a process exits abnormally.
First, we coalesce the core dumping code so that we greatly improve our
odds of being able to produce a core file, even in the case of a memory
fault. I've removed duplicates of dump_core() and split it in two to
reduce the amount of work needed to actually do the dump.
Second, we refactor the exit_server code path to always log an explanation
and a stack trace. My goal is to always produce enough log information
for us to be able to explain any server exit, though there is a risk
that this could produce too much log information on a flaky network.
Finally, smbcontrol has gained a smbd fault injection operation to test
the changes above. This is only enabled for developer builds.
|
|
|
|
| |
HSM is interested in. Tested on both IRIX and SLES9.
|
| |
|
|
|
|
| |
Guenther
|
|
|
|
|
| |
Looking forward to the day he can commit these himself :-).
Jeremy.
|
|
|
|
| |
so our numbers don't get out of sync
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
XFS_GROUP_QUOTA -> GRPQUOTA
* Fix disk_free calculation with group quotas.
* Add debug class 'quota' and a lot of DEBUG()'s
to the quota code.
metze
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We really need idmap_ldap to have a good solution with ldapsam, porting
it from the prvious code is beeing made, the code is really simple to do
so I am confident it is not a problem to commit this code in.
Not committing it would have been worst.
I really would have been able to finish also the group code, maybe we can
put it into a followin release after 3.0.0 even if it may be an upgrade
problem.
The code has been tested and seem to work right, more testing is needed for
corner cases.
Currently winbind pdc (working only for users and not for groups) is
disabled as I was not able to make a complete group code replacement that
works somewhat in a week (I have a complete patch, but there are bugs)
Simo.
|
|
|
|
| |
>Remove FILE_MACRO as __FILE__ is ANSI C.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- heimdal updates to configure
- make DEBUG() const
- add testsuite for:
- preexec
- preexec close
- valid users
- fix testsuite for 'invalid users'
Andrew Bartlett
|
| |
|
| |
|
|
|
|
| |
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
|
|
|
|
|
|
| |
This allows embedded systems to compile out the higher debug
levels. It should gain speed as well as reducing the code
size. Setting it to 1 saves about 300k of code on my system.
|
| |
|
|
|
|
|
|
|
|
| |
by default in Samba 3.x
- got rid of some unused parameters in Makefile.in
- declare DEBUGLEVEL in debug.h rather than in each file
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
recognise it as there was no distinction made between zeroing a debug
class and just not setting it to anything. I've added a
debuglevel_isset array in parallel with the debuglevel_class array to
fix this.
Added a couple of new debug classes which I might start filling out
to get smb, rpc header and rpc marshall/unmarshalling debugs tidied
up.
Fixed a bunch of cut&paste bugs in include/debug.h
Modified smbcontrol and the messaging system debug handler to like the
debuglevel_isset stuff.
|
|
|
|
|
|
|
|
| |
- cleaned up GNUC printf attribute macros
- added enum handling in mkproto
- removed non-vararg code
- made slprintf and vslprintf just macros for snprintf and vsnprintf
- don't need slprintf code any more
|
|
|
|
|
| |
updated the POSIX_ACL code to be in sync.
Jeremy.
|
|
|
|
|
| |
Added "codepage directory" patch from Peter.Polkinghorne@brunel.ac.uk
Jeremy.
|
|
|
|
| |
that matter. crh
|
|
|
|
| |
#included by VFS modules without bringing in too much other junk.
|
|
|
|
| |
that were in the head branch but weren't in SAMBA_2_0
|
|
|