[PATCH] Harden Samba module functions

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed May 31 09:30:57 UTC 2017


On Wed, May 31, 2017 at 11:24:45AM +0200, Andreas Schneider wrote:
> We have a test and in that test we want to make sure that the tests fails if 
> the module is loaded using the absolute path. So if the module is loaded we 
> need to fail the test ...

Can't we do something that can be checked externally? Like a "I was
here" graffiti somewhere in a tmp directory? And check for that later
in the test?

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de



More information about the samba-technical mailing list