diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-04-12 15:33:42 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-04-12 15:33:42 +0200 |
commit | b158f1d751b17acc1700fce9777d2b85ffa8e914 (patch) | |
tree | d010162076d1b77ba27de3b31e45a49bb7983a5e /gnu/system.scm | |
parent | ce6fc7d6a5345fd1c28e1a59cca807e81244b3e2 (diff) | |
download | guix-b158f1d751b17acc1700fce9777d2b85ffa8e914.tar.gz |
system: Allow users to PTRACE_ATTACH to their own processes.
* gnu/build/activation.scm (activate-ptrace-attach): New procedure. * gnu/system.scm (operating-system-activation-script): Use it.
Diffstat (limited to 'gnu/system.scm')
-rw-r--r-- | gnu/system.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/system.scm b/gnu/system.scm index a91c7136da..6cf12df604 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -681,6 +681,9 @@ etc." (activate-firmware (string-append #$firmware "/lib/firmware")) + ;; Let users debug their own processes! + (activate-ptrace-attach) + ;; Run the services' activation snippets. ;; TODO: Use 'load-compiled'. (for-each primitive-load '#$actions) |