summaryrefslogtreecommitdiff
path: root/source3/torture/vfstest.c
AgeCommit message (Collapse)AuthorFilesLines
2012-10-26vfstest: set umask(0) in vfstestAndrew Bartlett1-0/+5
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Oct 26 10:07:03 CEST 2012 on sn-devel-104
2012-10-19s3:smbd: add exit_server to the smbd_shim hooksStefan Metzmacher1-3/+11
This is in preparation of moving sessionid_tdb and conn_tdb to smbd exclusively. metze Signed-off-by: Michael Adam <obnox@samba.org>
2012-08-16s3-torture: Use talloc more in vfstestAndrew Bartlett1-17/+18
This matches the rest of Samba, which allocates many of these structures with talloc. Andrew Bartlett
2012-02-22s3-vfstest: Return an error code if cmd failedVolker Lendecke1-4/+5
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 22 23:56:18 CET 2012 on sn-devel-104
2012-02-22s3-vfstest: Fake smb_requestsVolker Lendecke1-0/+24
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 22 17:32:28 CET 2012 on sn-devel-104
2012-02-22s3-vfstest: Initialize some moreVolker Lendecke1-0/+4
2012-02-20s3-vfstest: Remove an unused variableVolker Lendecke1-2/+0
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Feb 20 17:01:11 CET 2012 on sn-devel-104
2012-02-19s3-vfstest: Initialize some moreVolker Lendecke1-0/+12
2012-02-02s3-vfstest: Fix an uninitialized read in closeVolker Lendecke1-0/+4
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 2 18:00:58 CET 2012 on sn-devel-104
2012-02-01s3-vfstest: Correctly initialize the connection pathVolker Lendecke1-0/+2
2012-02-01s3-vfstest: Fix some uninitialized varsVolker Lendecke1-2/+2
2012-02-01s3-vfstest: Fix some pointless staticsVolker Lendecke1-4/+4
2012-02-01s3-vfstest: Fix a typoVolker Lendecke1-1/+1
2012-02-01s3-vfstest: Fix some nonblank line endingsVolker Lendecke1-15/+14
2011-12-15s3:smbd: pass smbd_server_connection and a snumused function pointer to ↵Stefan Metzmacher1-1/+1
reload_services() metze
2011-12-13s3:vfstest: reload_services() doesn't need a messaging_contextStefan Metzmacher1-1/+1
It's only used to get the global smbd_server_connection, which is used in conn_snum_used() via lp_killunused(). But there we don't need it, as we don't have any tree connects at startup time. metze
2011-06-09s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_P() to talloc()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc.
2011-05-31s3-globals Remove smbd_event_context() (use server_event_context())Andrew Bartlett1-10/+0
This has been a wrapper around server_event_context() for some time now, and removing this from dummmysmbd.c assists with library dependencies. Andrew Bartlett
2011-03-30s3-vfs: include smbd/smbd.h in vfs modules.Günther Deschner1-0/+1
Guenther
2010-12-10s3-vfstest: fixed paths in vfstestAndrew Tridgell1-0/+2
vfstest tries to create /messages.tdb as loadparm has not been initialised
2010-11-02s3-debug Remove last direct assignements to DEBUGLEVELAndrew Bartlett1-1/+1
All future assignments of the debug level should go via lp_set_cmdline("log level", "x") because this will ensure the value is not overwritten in an smb.conf load. Andrew Bartlett
2010-11-02s3-debug Impove setup_logging() to specify logging to stderrAndrew Bartlett1-1/+1
This change improves the setup_logging() API so that callers which wish to set up logging to stderr can simply ask for it, rather than directly modify the dbf global variable. Andrew Bartlett
2010-10-01samba: share readline wrappers among all buildsystems.Günther Deschner1-0/+1
Guenther
2010-08-29s3: Remove smbd_server_fd()Volker Lendecke1-7/+1
This breaks the perfcol_onefs() build. Tim, Steve, this use of smbd_server_fd is replacable by calls into substitute.c. I don't have a onefs environment around to build a fix, so I've decided to insert an #error, making it not compile. The fix should be pretty obvious, you can get the socket data via "%I" and "%i" substitutions.
2010-08-18s3: Lift smbd_server_fd from reload_services()Volker Lendecke1-1/+1
2010-08-16s3: Remove get_client_fd()Volker Lendecke1-5/+0
2010-08-08s3: Lift the smbd_messaging_context from reload_servicesVolker Lendecke1-1/+1
2010-08-05s3-popt: Only include popt-common.h when needed.Andreas Schneider1-0/+1
2010-05-28s3:smbd move messaging_context and memcache into globals.cAndrew Bartlett1-24/+0
This helps vfstest, which previously had duplicate copies of these functions. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28s3:smbd split reload services/printers functions from server.cAndrew Bartlett1-56/+0
This helps vfstest, as it previously had duplicate copies of these functions. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-23s3: Consolidate server_id_self into the equivalent procid_self()Volker Lendecke1-1/+1
2009-06-05source3/torture/vfstest.c(process_file): fixed file descriptor leak.Slava Semushin1-0/+4
Found by cppcheck: [./source3/torture/vfstest.c:400]: (error) Resource leak: file
2009-06-03s3:smbd: move tcon specific globals to struct smbd_server_connectionStefan Metzmacher1-3/+3
metze
2008-10-18Use separate make variables for libutil and libcrypto.Jelmer Vernooij1-1/+1
2008-05-10Remove "user" from connection_structVolker Lendecke1-1/+0
(This used to be commit 368454a27cb53a408ec416cbf37235b304592fb5)
2007-12-18Add a in-memory cacheVolker Lendecke1-0/+13
This is a more general API that caches data with a LRU scheme. See include/cache.h. No comments yet, I'm still working on it. But Jeremy has given me a hint in one of his checkins that he would like to make use of this now. The idea is that we get rid of all our silly little caches and merge them all into one cache that we can then very easily trim, for example even with a smbcontrol message if someone decides memory is tight. The main user is the stat cache, this patch also converts the getwd cache. More caches to come. (This used to be commit 7a911b35713538d82001a3c9f34152e293fe1943)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-3/+3
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-06Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison1-3/+6
Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
2007-12-04The usual !pstring...Jeremy Allison1-44/+36
Jeremy. (This used to be commit b676262a781363e7be49b21817668a53cca75c2d)
2007-11-09Remove the silly "user_socket_options" global variableVolker Lendecke1-3/+2
This is better done with a 'lp_do_parameter(-1, "socket options", ..); (This used to be commit 814bed029efa391e664ac432d0d68dfeab26381f)
2007-11-03Remove most of the remaining globals out of lib/util_sock.c.Jeremy Allison1-0/+5
I have a plan for dealing with the remaining..... Watch this space. Jeremy. (This used to be commit 963fc7685212689f02b3adcc05b4273ee5c382d4)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-3/+3
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r21090: Add some helper routinesVolker Lendecke1-0/+11
(This used to be commit 985dde8ed0a7e6da5adf9c55654a4fd362b22acb)
2007-10-10r20846: Before this gets out of control...Volker Lendecke1-0/+10
This add a struct event_context and infrastructure for fd events to smbd. This is step zero to import lib/events. Jeremy, I rely on you to watch the change in receive_message_or_smb() closely. For the normal code path this should be the only relevant change. The rest is either not yet used or is cosmetic. Volker (This used to be commit cd07f93a8aecb24c056e33b1ad3447a41959810f)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-1/+1
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r15034: Attempt to make the build farm happyVolker Lendecke1-1/+1
(This used to be commit 8b3e87184a3cc831fe0314c3b26b6d753cf74e4c)
2007-10-10r14898: This change is an attempt to improve the quality of the information thatJames Peach1-0/+5
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. (This used to be commit 56bc02d64498eb3faf89f0c5452b9299daea8e95)