1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/testsuite/build_farm
Gary Lockyer d11473b15d source3: remove sock_exec
Remove the sock_exec code which is no longer needed and additionally has been
used by exploit code.

This was originally test support code, the tests relying on the sock_exec
code have been removed.

Past exploits have used sock_exec as a proxy for system() matching a talloc
destructor prototype.

See for example:
Exploit for Samba vulnerabilty (CVE-2015-0240) at
    https://gist.github.com/worawit/051e881fc94fe4a49295
    and the Red Hat post at
    https://access.redhat.com/blogs/766093/posts/1976553

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Nov 20 07:20:13 CET 2017 on sn-devel-144
2017-11-20 07:20:13 +01:00
..
template
backtrace
basicsmb-domainsec-nt4.test
basicsmb-domainsec.test
basicsmb-hostsdeny.test
basicsmb-hostsequiv.test
basicsmb-invalidusers.test
basicsmb-local-pass-change.test
basicsmb-preexec.test
basicsmb-remote-pass-change.test
basicsmb-serversec.test
basicsmb-shareguest.test
basicsmb-sharelist.test
basicsmb-sharesec.test
basicsmb-usersec.test
basicsmb.fns
runlist
torture_setup.fns
torture-ATTR.test
torture-BROWSE.test
torture-DELETE.test
torture-DENY1.test
torture-DENY2.test
torture-DIR1.test
torture-DIR.test
torture-FDPASS.test
torture-FDSESS.test
torture-LOCK1.test
torture-LOCK2.test
torture-LOCK3.test
torture-LOCK4.test
torture-LOCK5.test
torture-LOCK6.test
torture-LOCK7.test
torture-MANGLE.test
torture-OPEN.test
torture-OPLOCK1.test
torture-PROPERTIES.test
torture-RANDOMIPC.test
torture-RENAME.test
torture-RW1.test
torture-RW2.test
torture-TCON1.test
torture-TCON2.test
torture-TCON.test
torture-TCONDEV.test
torture-TORTURE.test
torture-TRANS2.test
torture-UNLINK.test
torture-XCOPY.test