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  


_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to