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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Wed Oct 29 12:38:13 2014 +0100

cobalt/posix/sched: switch set/getconfig calls to conforming mode

---

 kernel/cobalt/posix/sched.c     |    4 ++--
 kernel/cobalt/posix/syscall.c   |    4 ++--
 kernel/cobalt/posix/syscall32.c |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/kernel/cobalt/posix/sched.c b/kernel/cobalt/posix/sched.c
index 2dcdfcd..20221a4 100644
--- a/kernel/cobalt/posix/sched.c
+++ b/kernel/cobalt/posix/sched.c
@@ -631,7 +631,7 @@ int __cobalt_sched_setconfig_np(int cpu, int policy,
        return ret;
 }
 
-COBALT_SYSCALL(sched_setconfig_np, current,
+COBALT_SYSCALL(sched_setconfig_np, conforming,
               int, (int cpu, int policy,
                     union sched_config __user *u_config,
                     size_t len))
@@ -672,7 +672,7 @@ ssize_t __cobalt_sched_getconfig_np(int cpu, int policy,
        return ret;
 }
 
-COBALT_SYSCALL(sched_getconfig_np, current,
+COBALT_SYSCALL(sched_getconfig_np, conforming,
               ssize_t, (int cpu, int policy,
                         union sched_config __user *u_config,
                         size_t len))
diff --git a/kernel/cobalt/posix/syscall.c b/kernel/cobalt/posix/syscall.c
index 537defe..e327f7e 100644
--- a/kernel/cobalt/posix/syscall.c
+++ b/kernel/cobalt/posix/syscall.c
@@ -693,8 +693,8 @@ static const int cobalt_sysmodes[] = {
        __COBALT_MODE(event_wait, primary),
        __COBALT_MODE(event_sync, current),
        __COBALT_MODE(event_inquire, current),
-       __COBALT_MODE(sched_setconfig_np, current),
-       __COBALT_MODE(sched_getconfig_np, current),
+       __COBALT_MODE(sched_setconfig_np, conforming),
+       __COBALT_MODE(sched_getconfig_np, conforming),
        __COBALT_MODE(open, lostage),
        __COBALT_MODE(socket, lostage),
        __COBALT_MODE(close, lostage),
diff --git a/kernel/cobalt/posix/syscall32.c b/kernel/cobalt/posix/syscall32.c
index 6620fdf..9bc852e 100644
--- a/kernel/cobalt/posix/syscall32.c
+++ b/kernel/cobalt/posix/syscall32.c
@@ -421,7 +421,7 @@ static ssize_t sys32_put_config(int policy,
        return ret ?: u_len;
 }
 
-COBALT_SYSCALL32emu(sched_setconfig_np, current,
+COBALT_SYSCALL32emu(sched_setconfig_np, conforming,
                    int, (int cpu, int policy,
                          union compat_sched_config __user *u_config,
                          size_t len))
@@ -430,7 +430,7 @@ COBALT_SYSCALL32emu(sched_setconfig_np, current,
                                           sys32_fetch_config, 
sys32_ack_config);
 }
 
-COBALT_SYSCALL32emu(sched_getconfig_np, current,
+COBALT_SYSCALL32emu(sched_getconfig_np, conformin,
                    ssize_t, (int cpu, int policy,
                              union compat_sched_config __user *u_config,
                              size_t len))


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

Reply via email to