Module: xenomai-3
Branch: master
Commit: bb2a470f35b49ea3862c17e63e1e9ecfeea9b85b
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=bb2a470f35b49ea3862c17e63e1e9ecfeea9b85b

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Wed Jul  1 21:18:27 2015 +0200

cobalt/kernel: Mark backtrace syscall as lostage

It uses Linux services, thus can't run in primary mode.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 kernel/cobalt/posix/syscall.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/cobalt/posix/syscall.c b/kernel/cobalt/posix/syscall.c
index 61f3008..74b8c18 100644
--- a/kernel/cobalt/posix/syscall.c
+++ b/kernel/cobalt/posix/syscall.c
@@ -192,7 +192,7 @@ static COBALT_SYSCALL(get_current, current,
                                      sizeof(*u_handle));
 }
 
-static COBALT_SYSCALL(backtrace, current,
+static COBALT_SYSCALL(backtrace, lostage,
                      (int nr, unsigned long __user *u_backtrace, int reason))
 {
        unsigned long backtrace[SIGSHADOW_BACKTRACE_DEPTH];
@@ -799,7 +799,7 @@ static const int cobalt_sysmodes[] = {
        __COBALT_MODE(trace, current),
        __COBALT_MODE(get_current, current),
        __COBALT_MODE(mayday, current),
-       __COBALT_MODE(backtrace, current),
+       __COBALT_MODE(backtrace, lostage),
        __COBALT_MODE(serialdbg, current),
        __COBALT_MODE(corectl, probing),
        __COBALT_MODE(fcntl, current),


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to