1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/torture
Jeremy Allison 9f83d435bb s4: torture: Fix race condition in test_smb2_kernel_oplocks8.
The child process gets the kernel lease and then notifies
the parent process to continue by writing a byte up a pipe.
It then sets the alarm and calls pause() to wait for the
parent process to contact the smbd and get it to trigger
the break request using an open call.

It is possible for the parent to run and trigger the break
request after the child has written to the pipe, but *before*
the child calls pause(). We then miss the signal notifying
the child to break the lease.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13121

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
2017-12-01 23:46:14 +01:00
..
auth s4: popt: Global replace of cmdline_credentials -> popt_get_cmdline_credentials(). 2017-05-11 20:30:13 +02:00
basic s4-torture: fix truncation warnings 2017-11-24 01:13:15 +01:00
dfs s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
dns samdb: Rework samdb_connect_url() to return LDB error code and an error string 2017-09-20 02:25:30 +02:00
drs schema: Make writing indices flag an enum for a new state 2017-11-24 01:13:14 +01:00
gpo Fix formating of sources to be less than 80 lines 2017-11-21 01:51:59 +01:00
krb5 s4-smbtorture: Show that the KDC provides no protection from CVE-2017-11103 2017-11-02 07:16:50 +01:00
ldap s4-cldap/netlogon: Match Windows 2012R2 and return NETLOGON_NT_VERSION_5 when version unspecified 2017-07-28 00:25:15 +02:00
ldb ldb: Avoid multiple tiny allocations during full DB scan 2016-08-31 10:53:09 +02:00
libnet s4:torture: Do not overrun arrays in test_displayshares() 2017-08-25 16:15:08 +02:00
libnetapi s4: popt: Global replace of cmdline_credentials -> popt_get_cmdline_credentials(). 2017-05-11 20:30:13 +02:00
libsmbclient s4-torture: remove obsolete comment in libsmbclient torture suite. 2017-10-30 21:09:14 +01:00
local s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
man docs: remove duplicate mention of "smbtorture" in smbtorture manpage. 2013-11-19 09:52:39 +01:00
nbench s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
nbt s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
ndr s4-torture: point out why we cannot validate MSZIP compressed files 2017-07-20 01:38:02 +02:00
ntp s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
rap s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
raw s4-torture: fix truncation warnings 2017-11-24 01:13:15 +01:00
rpc s4-torture: fix type of enum in various places 2017-11-24 01:13:15 +01:00
smb2 s4: torture: Fix race condition in test_smb2_kernel_oplocks8. 2017-12-01 23:46:14 +01:00
tests s4-torture: Fix kinit of samba4.blackbox.locktest 2017-04-29 23:31:10 +02:00
unix s4: popt: Global replace of cmdline_credentials -> popt_get_cmdline_credentials(). 2017-05-11 20:30:13 +02:00
vfs s4/torture: fruit: in test_adouble_conversion() also check stream list and AFPINFO_STREAM 2017-11-29 04:35:25 +01:00
winbind s4: popt: Global replace of cmdline_credentials -> popt_get_cmdline_credentials(). 2017-05-11 20:30:13 +02:00
gentest.c s4: torture: Remove talloc_autofree_context() from gentest. 2017-05-05 15:52:14 +02:00
locktest.c s4: torture: Remove talloc_autofree_context() from locktest. 2017-05-05 15:52:14 +02:00
masktest.c s4:torture: Fix comparison between pointer and zero character constant 2017-06-01 23:42:58 +02:00
shell.c s4: popt: Global replace of cmdline_credentials -> popt_get_cmdline_credentials(). 2017-05-11 20:30:13 +02:00
smbtorture.c s4: popt: Change from talloc_autofree_context() to NULL context. 2017-05-11 20:30:13 +02:00
smbtorture.h s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
torture.c s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
util_smb.c s4: popt: Global replace of cmdline_credentials -> popt_get_cmdline_credentials(). 2017-05-11 20:30:13 +02:00
util.h torture: Add a new w2k12 target 2013-09-05 13:46:10 -07:00
wscript_build gpo: Add gpo tests 2017-11-20 21:41:15 +01:00