Disallow ptrace on greeter and kcheckpass process on FreeBSD
Use FreeBSDs procctl to disable gdb&Co from attaching to kscreenlocker and kcheckpass.
% gdb --pid <pid of kscreenlocker with --testing> Result successfully attached # gdb --pid <pid of kscreenlocker> Result successfully attached % gdb --pid <pid of kscreenlocker> Result Attaching to process <pid of kscreenlocker> ptrace: Operation not permitted.
Reviewers: rakuco, graesslin
Differential Revision: https://phabricator.kde.org/D1216