summaryrefslogtreecommitdiffstats
path: root/source3/lib/tallocmsg.c
Commit message (Collapse)AuthorAgeFilesLines
* s3: only include gen_ndr headers where needed.Günther Deschner2010-05-061-0/+1
| | | | | | | | | | | | | | | | | This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
* s3: For "smbcontrol <pid> pool-usage", print the first 50 bytes of a stringVolker Lendecke2010-01-171-0/+17
|
* s3: Fix some nonempty blank linesVolker Lendecke2010-01-171-5/+5
|
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r22910: Make message_send_pid static to messages.cVolker Lendecke2007-10-101-7/+9
| | | | (This used to be commit 27224922cf964cc70aad7cf529ab6c03fb277a89)
* r22736: Start to merge the low-hanging fruit from the now 7000-line cluster ↵Volker Lendecke2007-10-101-1/+1
| | | | | | | | | | patch. This changes "struct process_id" to "struct server_id", keeping both is just too much hassle. No functional change (I hope ;-)) Volker (This used to be commit 0ad4b1226c9d91b72136310d3bbb640d2c5d67b8)
* r21064: The core of this patch isVolker Lendecke2007-10-101-2/+3
| | | | | | | | | | | | | | | | | | | | | | | void message_register(int msg_type, void (*fn)(int msg_type, struct process_id pid, - void *buf, size_t len)) + void *buf, size_t len, + void *private_data), + void *private_data) { struct dispatch_fns *dfn; So this adds a (so far unused) private pointer that is passed from message_register to the message handler. A prerequisite to implement a tiny samba4-API compatible wrapper around our messaging system. That itself is necessary for the Samba4 notify system. Yes, I know, I could import the whole Samba4 messaging system, but I want to do it step by step and I think getting notify in is more important in this step. Volker (This used to be commit c8ae60ed65dcce9660ee39c75488f2838cf9a28b)
* r20208: Change sprintf_append() never to use malloc,Jeremy Allison2007-10-101-4/+10
| | | | | | | but always use a talloc context. Thanks to simo for pointing this out. Jeremy. (This used to be commit 437cb7c88833d7eab0e3c3dcf175860df74a7a38)
* r17922: sync samba3's talloc with samba4's and move the samba3 specific ↵Stefan Metzmacher2007-10-101-5/+44
| | | | | | | stuff to tallocmsg.c metze (This used to be commit 7704e3e51dec1768772663024a0579cb4a271cc1)
* r17293: After the results from the cluster tests in Germany,Jeremy Allison2007-10-101-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | fix the messaging code to call the efficient calls : save_re_uid() set_effective_uid(0); messaging_op restore_re_uid(); instead of using heavyweight become_root()/unbecome_root() pairs around all messaging code. Fixup the messaging code to ensure sec_init() is called (only once) so that non-root processes still work when sending messages. This is a lighter weight solution to become_root()/unbecome_root() (which swaps all the supplemental groups) and should be more efficient. I will migrate all server code over to using this (a similar technique should be used in the passdb backend where needed). Jeremy. (This used to be commit 4ace291278d9a44f5c577bdd3b282c1231e543df)
* r11962: Bring talloc up to date with Samba4, re-add theJeremy Allison2007-10-101-5/+10
| | | | | | | | | | talloc_describe_all() function. Fix smbcontrol <pid> pool-usage as we desparately need it working in the field to track down memory leaks. Seriously, when new functionality like the Samba4 talloc is added, don't just disable working functionality like "pool-usage", fix the damn thing first ! Jeremy. (This used to be commit 2e262a75cca4575edd00db3d24e7e35760943120)
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-2/+2
| | | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
* r6595: This is Volkers new-talloc patch. Just got the go-ahead fromJeremy Allison2007-10-101-6/+5
| | | | | | Volker to commit. Woo Hoo ! Jeremy. (This used to be commit 316df944a456f150944761dab34add5e8c4ab699)
* Forward port the change to talloc_init() to make all talloc contextsJeremy Allison2002-12-201-1/+1
| | | | | | named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
* Removed version number from file header.Tim Potter2002-01-301-1/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* Add UNUSED(paramname) macro to be used in parameter lists, to quietenMartin Pool2002-01-091-1/+4
| | | | | | | gcc warnings about unused parameters. msg_pool_usage: assert msg_type is as expected. (This used to be commit 3ef135e91aaebf9648c4dd13f59686f57f4cff70)
* Send back talloc allocation information when POOL_USAGE is received.Martin Pool2002-01-031-2/+8
| | | | (This used to be commit 7cb8e95f9332d4c278d2aac5416f963639609d5a)
* smbd now sends a reply to MSG_REQ_POOL_USAGE, though it's prettyMartin Pool2002-01-031-1/+5
| | | | | boring so far. (This used to be commit 9b217dce7fe89d1e36a91d7d011c2a9fe185e0d3)
* smbd should register to receive MSG_REQ_POOL_USAGE. Response shouldMartin Pool2002-01-031-0/+45
be information about memory usage, but this is not done yet. (This used to be commit 830a126a442bdde28fc42e23e7260c344b6534b9)