summaryrefslogtreecommitdiffstats
path: root/source3/torture/vfstest.c
Commit message (Collapse)AuthorAgeFilesLines
* s3:torture: avoid compiler warnings in vfstest.cStefan Metzmacher2014-04-021-18/+18
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* vfstext: Use just one messaging_context in vfstestVolker Lendecke2014-02-191-2/+4
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* vfstest: fix the "-c" multiple-command optionGuenter Kukkukk2013-03-111-1/+6
| | | | | Signed-off-by: Guenter Kukkukk <kukks@samba.org> Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
* s3:torture: make use of samba_tevent_context_init()Stefan Metzmacher2013-02-191-1/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3:torture/vfstest add memreport optionChristian Ambach2013-02-041-0/+8
| | | | | | | this will run a talloc_report_full on the talloc stackframe after each command Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* torture/vfstest.c: Always use create_conn_struct(). Don't hand create ↵Jeremy Allison2013-01-091-10/+22
| | | | | | | | connection structs. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* vfstest: set umask(0) in vfstestAndrew Bartlett2012-10-261-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
* s3:smbd: add exit_server to the smbd_shim hooksStefan Metzmacher2012-10-191-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>
* s3-torture: Use talloc more in vfstestAndrew Bartlett2012-08-161-17/+18
| | | | | | This matches the rest of Samba, which allocates many of these structures with talloc. Andrew Bartlett
* s3-vfstest: Return an error code if cmd failedVolker Lendecke2012-02-221-4/+5
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 22 23:56:18 CET 2012 on sn-devel-104
* s3-vfstest: Fake smb_requestsVolker Lendecke2012-02-221-0/+24
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 22 17:32:28 CET 2012 on sn-devel-104
* s3-vfstest: Initialize some moreVolker Lendecke2012-02-221-0/+4
|
* s3-vfstest: Remove an unused variableVolker Lendecke2012-02-201-2/+0
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Feb 20 17:01:11 CET 2012 on sn-devel-104
* s3-vfstest: Initialize some moreVolker Lendecke2012-02-191-0/+12
|
* s3-vfstest: Fix an uninitialized read in closeVolker Lendecke2012-02-021-0/+4
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 2 18:00:58 CET 2012 on sn-devel-104
* s3-vfstest: Correctly initialize the connection pathVolker Lendecke2012-02-011-0/+2
|
* s3-vfstest: Fix some uninitialized varsVolker Lendecke2012-02-011-2/+2
|
* s3-vfstest: Fix some pointless staticsVolker Lendecke2012-02-011-4/+4
|
* s3-vfstest: Fix a typoVolker Lendecke2012-02-011-1/+1
|
* s3-vfstest: Fix some nonblank line endingsVolker Lendecke2012-02-011-15/+14
|
* s3:smbd: pass smbd_server_connection and a snumused function pointer to ↵Stefan Metzmacher2011-12-151-1/+1
| | | | | | reload_services() metze
* s3:vfstest: reload_services() doesn't need a messaging_contextStefan Metzmacher2011-12-131-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
* s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
* s3-talloc Change TALLOC_P() to talloc()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc.
* s3-globals Remove smbd_event_context() (use server_event_context())Andrew Bartlett2011-05-311-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
* s3-vfs: include smbd/smbd.h in vfs modules.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-vfstest: fixed paths in vfstestAndrew Tridgell2010-12-101-0/+2
| | | | | vfstest tries to create /messages.tdb as loadparm has not been initialised
* s3-debug Remove last direct assignements to DEBUGLEVELAndrew Bartlett2010-11-021-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
* s3-debug Impove setup_logging() to specify logging to stderrAndrew Bartlett2010-11-021-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
* samba: share readline wrappers among all buildsystems.Günther Deschner2010-10-011-0/+1
| | | | Guenther
* s3: Remove smbd_server_fd()Volker Lendecke2010-08-291-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.
* s3: Lift smbd_server_fd from reload_services()Volker Lendecke2010-08-181-1/+1
|
* s3: Remove get_client_fd()Volker Lendecke2010-08-161-5/+0
|
* s3: Lift the smbd_messaging_context from reload_servicesVolker Lendecke2010-08-081-1/+1
|
* s3-popt: Only include popt-common.h when needed.Andreas Schneider2010-08-051-0/+1
|
* s3:smbd move messaging_context and memcache into globals.cAndrew Bartlett2010-05-281-24/+0
| | | | | | This helps vfstest, which previously had duplicate copies of these functions. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd split reload services/printers functions from server.cAndrew Bartlett2010-05-281-56/+0
| | | | | | | | | This helps vfstest, as it previously had duplicate copies of these functions. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Consolidate server_id_self into the equivalent procid_self()Volker Lendecke2010-02-231-1/+1
|
* source3/torture/vfstest.c(process_file): fixed file descriptor leak.Slava Semushin2009-06-051-0/+4
| | | | | Found by cppcheck: [./source3/torture/vfstest.c:400]: (error) Resource leak: file
* s3:smbd: move tcon specific globals to struct smbd_server_connectionStefan Metzmacher2009-06-031-3/+3
| | | | metze
* Use separate make variables for libutil and libcrypto.Jelmer Vernooij2008-10-181-1/+1
|
* Remove "user" from connection_structVolker Lendecke2008-05-101-1/+0
| | | | (This used to be commit 368454a27cb53a408ec416cbf37235b304592fb5)
* Add a in-memory cacheVolker Lendecke2007-12-181-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)
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-101-3/+3
| | | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
* Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison2007-12-061-3/+6
| | | | | | Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
* The usual !pstring...Jeremy Allison2007-12-041-44/+36
| | | | | Jeremy. (This used to be commit b676262a781363e7be49b21817668a53cca75c2d)
* Remove the silly "user_socket_options" global variableVolker Lendecke2007-11-091-3/+2
| | | | | This is better done with a 'lp_do_parameter(-1, "socket options", ..); (This used to be commit 814bed029efa391e664ac432d0d68dfeab26381f)
* Remove most of the remaining globals out of lib/util_sock.c.Jeremy Allison2007-11-031-0/+5
| | | | | | | I have a plan for dealing with the remaining..... Watch this space. Jeremy. (This used to be commit 963fc7685212689f02b3adcc05b4273ee5c382d4)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-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)
* 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)