Use FreeBSDs procctl to disable gdb&Co from attaching to kscreenlocker and kcheckpass.
What is not so nice is that when CMake runs we get the output:
-- The following features have been enabled: * procctl-trace , Required for disallow ptrace on greeter and kcheckpass process [...] -- The following features have been disabled: * prctl-dumpable , Required for disallow ptrace on greeter and kcheckpass process
This should probably be unified.
Also, as this will probably crop up all over the place, would it maybe be sensible to define some enableTracing() and disableTracing() functions so that this change has not have to be applied everywhere?