[kde-freebsd] [SVN Commit] branches/plasma5/KDE/security/plasma5-kscreenlocker

Tobias Berner tcberner at gmail.com
Tue Mar 22 20:24:07 UTC 2016


SVN commit 12160 by tcberner:

This is an initial implementation to test a feature added recently in the linux
builds of kscreenlocker.

It blocks debuggers from tracing its process, using the linux call prctl(PR_SET_DUMPABLE, mode).

FreeBSD introduced a similar feature in 277322 procctl's PROC_TRACE_CTL:
https://svnweb.freebsd.org/changeset/base/277322


Testing done:

    % 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.




 M  +1 -0      Makefile  
 A             files (directory)  
 A             files/patch-block-gdb  




More information about the kde-freebsd mailing list