summaryrefslogtreecommitdiff
path: root/source4/include/includes.h
AgeCommit message (Collapse)AuthorFilesLines
2012-06-28Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls.Jeremy Allison1-0/+3
Will allow thread-specific credentials to be added by modifying the central definitions. Deliberately left the setXX[ug]id() call in popt as this is not used in Samba.
2011-09-23build: avoid util.h as a public header name due to conflict with MacOSAndrew Bartlett1-1/+1
2011-03-01lib/util: new merged debug systemAndrew Bartlett1-1/+1
This is the s3 debug system, with a number of changes to tidy it up for common use. The debug class system is simplified by the removal of the ISSET table, the system no longer attempts to cope with assignment of DEBUGLEVEL, and the full class table is always available (rather than just DEBUGLEVEL_CLASS[DBCG_ALL]) from startup. It is also no longer confusingly described as a hack, but as the initial table. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 04:32:12 CET 2011 on sn-devel-104
2011-03-01lib/util move debug.[ch] out of the wayAndrew Bartlett1-1/+1
This will allow a modified version of the s3 debug system to be the new common debug system. Andrew Bartlett
2010-11-17developer: only do the C++ reserved name checking on LinuxAndrew Tridgell1-1/+1
this prevents us breaking the solaris build, but will still mean we prevent C++ vars in our code
2010-02-05s4:UID wrapper - Fix includesMatthias Dieter Wallnöfer1-9/+0
The includes of the UID wrapper headers werent't really efficient according to metze's post on the technical mailing list (http://lists.samba.org/archive/samba-technical/2010-February/069165.html). To achieve this move the "uid_wrapper.h" includes into "lib/util/unix_privs.c", "lib/util/util.c", "ntvfs/posix/pvfs_acl.c" and "ntvfs/unixuid/vfs_unixuid.c".
2010-01-29Revert "s4:include/includes.h - Need to include "system/network.h""Matthias Dieter Wallnöfer1-1/+0
This reverts commit 97fd03a15a694450e80310fc776a58c6fde58a52. This obviously broke the build. Revert it for now.
2010-01-29s4:include/includes.h - Need to include "system/network.h"Matthias Dieter Wallnöfer1-0/+1
Otherwise I don't get the definition of "struct in_addr" for "lib/util/util.h" on CentOS 4.
2010-01-25s4 includes: Include system/locale.h to get access to <ctype.h>Kai Blin1-0/+1
2009-08-24s4:cmdline: setup talloc log and abort functionsStefan Metzmacher1-5/+0
metze
2009-08-05make the UID_WRAPPER skip checks at runtimeAndrew Tridgell1-1/+5
This fixes two issues pointed out by Andrew. It adds a runtime uwrap_enabled() call that wraps the skips needed for uid emulation. It also makes the skip in the directory_create_or_exist() function only change the uid checking code, not the permissions code
2009-08-05added a uid_wrapper libraryAndrew Tridgell1-0/+5
This library intercepts seteuid and related calls, and simulates them in a manner similar to the nss_wrapper and socket_wrapper libraries. This allows us to enable the vfs_unixuid NTVFS module in the build farm, which means we are more likely to catch errors in the token manipulation. The simulation is not complete, but it is enough for Samba4 for now. The major areas of incompleteness are: - no emulation of setreuid, setresuid or saved uids. These would be needed for use in Samba3 - no emulation of ruid changing. That would also be needed for Samba3 - no attempt to emulate file ownership changing, so code that (for example) tests whether st.st_uid matches geteuid() needs special handling
2009-04-14Try and fix the S4 build - include thread includes.Jeremy Allison1-0/+4
Jeremy.
2009-03-15Remove unused CONST_DISCARD macro.Jelmer Vernooij1-4/+0
2009-02-13Fix the build. When you do "make distclean; ./autogen; ./configure; make" ↵Jeremy Allison1-0/+4
and it still doesn't build you know it's messed up. Jeremy.
2009-02-02s4:includes: copy #error DONT_USE_CPLUSPLUS_RESERVED_NAMES from source3Stefan Metzmacher1-0/+16
We should not use c++ reserved names in source4 too. metze
2009-02-02s4:includes.h: stdlib.h and stdbool.h are already included by replace.hStefan Metzmacher1-2/+0
metze
2008-11-01Samba3: Include util.h header file rather than having custom prototypes.Jelmer Vernooij1-1/+3
2008-10-24Remove include/local.h and move defines to more appropriate places.Jelmer Vernooij1-2/+0
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-6/+0
2008-10-11Fix include, clean up .o files in ../lib and ../libcliJelmer Vernooij1-0/+1
Conflicts: source4/Makefile
2008-10-11Move lib/util from source4 to top-level libutil.Jelmer Vernooij1-2/+2
Conflicts: source4/Makefile
2008-09-16Make Samba 3 and Samba 4 both use the same single copy of libreplace.Jelmer Vernooij1-1/+1
2008-06-17Change our module code to not use the special symbol name init_module()Andrew Tridgell1-0/+6
Current glibc libraries include a function called init_module(). If we use the same name, then a dlsym() can find the glibc function if the module doesn't have an initialisation function. In ldb, none of our modules have an init_module(), so we end up calling the libc functions with bogus arguments. (This used to be commit 1b0621068998590e7b1e9528b78744dcd2cd5909)
2007-10-10r25555: Remove support for BOOL, True and False.Jelmer Vernooij1-5/+0
(This used to be commit 18a2bcfa9e7d4718648f401821259d1dbf5a3ff4)
2007-10-10r25301: Merge my includes.h cleanups.Jelmer Vernooij1-4/+0
(This used to be commit 37425495f392a2d0122a93aa2c42758eab7dab5a)
2007-10-10r25267: Move PRINTF_ATTRIBUTE to lib/util as well.Jelmer Vernooij1-16/+3
(This used to be commit 72b9d6c03661d72e83a5d60d43b75bb9bd5f5285)
2007-10-10r25265: Move attribute definitions to lib/util.Jelmer Vernooij1-57/+0
(This used to be commit 5bb9f041f47a1b7e03c3dc02e38546bc43bcc856)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-1/+0
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24816: Move the rest of the contents of core.h to more appropriate places.Jelmer Vernooij1-2/+3
include/ now only contains build system related headers, all other headers are now near the source code they're related to. (This used to be commit 6890a01dbfc6d8041a88ef5c6be52dfcd046fe80)
2007-10-10r24814: Fix headers, trim core.h even more.Jelmer Vernooij1-1/+1
(This used to be commit 9647f860bdd5c0a74583e886182bd041a45e7655)
2007-10-10r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij1-0/+6
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, ↵Jelmer Vernooij1-7/+35
_NORETURN_ and _WARN_UNUSED_RESULT_. (This used to be commit 44248f662f0b609dad6a7b437948f12d661a28f7)
2007-10-10r20298: Fix pidl tests (missing symlink..).Jelmer Vernooij1-0/+2
(This used to be commit ab3d57394630cefc1fefe859c8bd3d56f6e63695)
2007-10-10r19242: merge from samba3:Stefan Metzmacher1-3/+2
handle NO_CONFIG_H in libreplace metze (This used to be commit 909d736a4bf5a7adfcd64eecf6bb2a92211c6f96)
2007-10-10r18448: this gives nicer output...Stefan Metzmacher1-1/+1
metze (This used to be commit 6bdb329da5771b4be792d8889d3ece8f93a495b0)
2007-10-10r18447: make sure we bail out if the config.h is not generatedStefan Metzmacher1-0/+7
by samba's configure. this could happen when you have done a standalone build in lib/replace/, lib/talloc, ... metze (This used to be commit d8e88386748d3952c6a82726c9d36cad870992fd)
2007-10-10r18278: move more header checks and _GNU_SOURCE into libreplaceAndrew Tridgell1-14/+2
(This used to be commit 77c442cd469ba881215e025c87ce632c876eb617)
2007-10-10r18121: Simplify m4 code, hopefully fix Samba4 build problems.Jelmer Vernooij1-1/+1
(This used to be commit 1adf65b4d7c5d2d4f65d4b28575bdf2368a42139)
2007-10-10r18118: its the job of libreplace to handle things like thisAndrew Tridgell1-6/+0
(This used to be commit fa47301c0ea482612f9f452b027aa2787b3f93a7)
2007-10-10r18117: first steps in making samba4 use libreplaceAndrew Tridgell1-2/+1
(This used to be commit c079cedb084d621c5a0aac59310b237ba375df20)
2007-10-10r15224: Check whether -MT is actually supported by the compiler before usingJelmer Vernooij1-1/+1
automatic dependencies (This used to be commit 6598efc6b302984d0b26b0c76a4b7107f5feba21)
2007-10-10r14999: Remove more unused autoconf codeJelmer Vernooij1-0/+2
Simplify va_copy() replacement code a bit (This used to be commit a5c87360a7f14a90b831ea372277f4f89ee4c5f1)
2007-10-10r14844: Support a stdbool.h replacement in lib/replace/Jelmer Vernooij1-8/+0
(This used to be commit bccfddcafa1fdb56392e2301bbd404964ad9f7c3)
2007-10-10r14724: Rearrange some source files, install more headers.Jelmer Vernooij1-3/+1
(This used to be commit 7146c1600f29c349e5bb78f810e7e170b535dd37)
2007-10-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij1-3/+3
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10r14484: Install more headersJelmer Vernooij1-21/+0
(This used to be commit 430c6516d383bfd7f27287394bf8eef9f174b3e6)
2007-10-10r14411: mark smb_panic() as a noreturn function using gcc attributes, whichAndrew Tridgell1-0/+12
tells static analysers that it behaves like abort() (This used to be commit 3cde18beaed736a48e195550c7e423bccc95c820)
2007-10-10r14384: Remove orpc code from includes.hJelmer Vernooij1-1/+0
(This used to be commit 206d182cfb78ec2258ceca1be2dd5e3c06649312)