Age | Commit message (Collapse) | Author | Files | Lines |
|
On Tru64 this brings in socklen_t and some other socket stuff
metze
(cherry picked from commit d42f2e5759332f1f0c6c1269bd29ac62ddb11016)
(This used to be commit af3772e22f5e6e0158783086e9791ffc95ee5368)
|
|
metze
(cherry picked from commit 05b4619c5beff474488d1abe5e647acd94a3e20c)
(This used to be commit 58932ca791024bd9a543ff5e21bc26970ceed477)
|
|
metze
(cherry picked from commit a07c983fde52607806745914bb41039afb5618cc)
(This used to be commit 3db37038b3e5a59a9baa85f6bcd32ac6e5ec2da1)
|
|
Guenther
(This used to be commit 645f2376d40fabdc787902ac7506ad7234616619)
|
|
Guenther
(This used to be commit f297ea259d58f7a12924b7111ab79818188cff46)
|
|
(This used to be commit 8c89d60924b0380231da834cd3c097b4f8cdc369)
|
|
Guenther
(This used to be commit 8858e403e1940c362d307b4d4125f977abb0b96a)
|
|
Guenther
(This used to be commit 4ca33928512bd71268bafd41d2b608e814a7295f)
|
|
Guenther
(This used to be commit d4c5b323229c6f43c824e3559084c98e370730a5)
|
|
Guenther
(This used to be commit 30458116b389889cad845eb96b54c3edc833e722)
|
|
Guenther
(This used to be commit 96f645553ae5c75aabfe588e1a67f3d4bfacb5cb)
|
|
Guenther
(This used to be commit 733e07a06ce3c903ff5837df6a5119f6d6e3eccb)
|
|
for a name '[<ipv6 addr>'.
Jeremy.
(This used to be commit f2aa921505e49f894bfed4e5e2f9fc01918b1bb0)
|
|
Tridge, Jeremy, please check!
Thanks,
Volker
(This used to be commit e4f46d527411c54e8f26c05033b744c751810c32)
|
|
(This used to be commit 4f95c58040f46f343f55f9a5db2655a5e3b62c00)
|
|
(This used to be commit 625241c4773ae5c80dd0cb0c07a86aff633c1ede)
|
|
(This used to be commit 871cee04f26da97756804b38acfd366b6011dc9e)
|
|
Make registry based configs more fool-proof.
Michael
(This used to be commit 2ea55c03b25eb5e98be3449e12004a7246319acd)
|
|
Michael
(This used to be commit c5a7d421c512a6221b0300549d7b5de0368d252e)
|
|
(http://samba.org/~tridge/3_0-ctdb)
Signed-off-by: Alexander Bokovoy <ab@samba.org>(This used to be commit 0c8e23afbbb2d081fc23908bafcad04650bfacea)
|
|
minor fix to transaction_write_existing: tridge.
Jeremy.
(This used to be commit 874425c8f680fb2f737b46a3177b239e69302af5)
|
|
names is a 'const char **names' here, passed from upper level. Passing
'names' as a talloc context will break things as 'names' is usually
likely is a local variable, not a talloc'd. And we want to have array
elements on a context of the array anyway.
Jeremy.
(This used to be commit 22a4129fabf70e01cc638c2f7347c28201838830)
|
|
(This used to be commit 9f002eeff9bcf33a00e5641cb14338e866a17afe)
|
|
(This used to be commit c91e9c785b5bf4b0c479edf8eb33da22bf615387)
|
|
(This used to be commit 4aaf4e7e73a5c7fa97ef730fbff5c7cb12df2d6c)
|
|
The libnet_conf_ctx stores the information necessary to interoperate
with the configuration. It is created by calling libnet_conf_open()
and destroyed by calling libnet_conf_close(). The context is passed
to all the libnet_conf functions. It currently stores the token to
access the registry. Later, it could store more data, e.g. the server
to connect to, credentials, and so on. For support of other backends
than registry or support of remote configuration, only the open
function will have to be changed.
In net_conf, the calls to the actual net_conf functions is wrapped
into a function that calls libnet_conf_open()/_close(). Thus an
individual variant of net_conf_runfunction2() and functable2 is
used to cope with functions being called by the wrapper with the
additional libnet_conf_ctx argument.
Michael
(This used to be commit c2a9346faa26e79af5948197a1b322e545f0ed09)
|
|
In this low-level code, play tricks to reduce the number of allocations to the
possible minimum. I would not recommend this for higher-level code, but here it
pays off.
(This used to be commit 71b1e6ff1595fbaa8dd49b996c45541531c7e98c)
|
|
module.
Jeremy.
(This used to be commit 8809eaeb154ea12543455f589e31172dc905d83a)
|
|
this. Fixes insidious problem with order n^2 freelist merging.
Jeremy.
(This used to be commit c6609c042b128e7d63eb64cfdfb0f6b65cb59d76)
|
|
Guenther
(This used to be commit 19a980f52044a170618629e5b0484c1f6b586e5f)
|
|
Guenther
(This used to be commit 1ad7a0a361edfa5ac738f011db1d6a9db256ac2c)
|
|
Guenther
(This used to be commit 23b92a6fa57858c8a23c737a9cd00c076ef5dadd)
|
|
Guenther
(This used to be commit 3b450a8bcc97b6d03c4b7b9373a3a382c0fcea30)
|
|
(This used to be commit c82c1d462be6ddccd6e395b4a9630df91dacbda2)
|
|
Also, don't auto-generate prototypes of the (two) exported functions
but make a start in having handwritten prototypes in dedicated header
files (not in includes.h ... :-)
Michael
(This used to be commit 395f29d8b768a56af20b37f185eccdc5f37b68d5)
|
|
Michael
(This used to be commit 4ed238b1e46f7680a29ebdbfe9500d16718f9057)
|
|
Michael
(This used to be commit 7b0af7cdc97d4bbcbd73a9474871217511b92c3a)
|
|
This removes the in_fsp and out_fsp global variables hack from smbd/vfs.c.
Michael
(This used to be commit b2e7cdc6e899ca3c16edbb6c8786ff9aa999fa6e)
|
|
(This used to be commit ac2bb838d537ca563ad2fe770b3e1c2fe8b1d9e7)
|
|
(This used to be commit ee905a085fff5410d02c3e5fa2664e989de4afd4)
|
|
(This used to be commit 0272b46515b4c4515d5cad8e86fab61d8e91e29e)
|
|
(This used to be commit d89e42f1d2faa018c584025296d6be8195cbcf20)
|
|
This way talloc_stackframe() can benefit from a pool put on the stack further
up. No need to remove talloc_stackframe().
(This used to be commit be6fe381168321ae62e079cd977cbef675c532d4)
|
|
This now matches 3.0.x on my micro-tests.
Jeremy.
(This used to be commit 329b924cba8225002ca40db26c45b31d141a0925)
|
|
Jeremy.
(This used to be commit d27e6c0548d21394f6399d3b737d175ffed8420d)
|
|
A talloc pool is a chunk of memory that can be used as a context for further
talloc calls. Allocations with the pool as the parent just chew from that
memory by incrementing a pointer. If the talloc pool is full, then we fall back
to the normal system-level malloc(3) to get memory.
The use case for talloc pools is the transient memory that is used for handling
a single SMB request. Incrementing a pointer will be way faster than any malloc
implementation.
There is a downside of this: If you use talloc_steal() to move something out of
the pool, the whole pool memory is kept around until the last object inside the
pool is freed. So if you talloc_free() the pool, it might happen that the
memory is freed later. So don't hang anything off a talloc pool that should
live long.
Volker
(This used to be commit 287e29d988813007eeebc0c2bef3b46ab8bedee9)
|
|
(This used to be commit 2a5c53220a5cc2b4a80fc7c6cb38e87789c5e797)
|
|
Michael
(This used to be commit 9cd30fb25c42e79946b5140994d0bf2ef4c62f90)
|
|
Michael
(This used to be commit ed4dd00c5ae8e4995ace9326f915ae4bd15d96b3)
|
|
Michael
(This used to be commit 6b2b9a60ef857ec31da5fea631535205fbdede4a)
|