[Xenomai-git] Philippe Gerum : cobalt/syscalls: reject binding attempt to disabled core with EAGAIN
Module: xenomai-3 Branch: next Commit: ff077e980455959b13f379042d3047c6624b98e8 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ff077e980455959b13f379042d3047c6624b98e8 Author: Philippe GerumDate: Thu Jun 1 09:43:53 2017 +0200 cobalt/syscalls: reject binding attempt to disabled core with EAGAIN --- kernel/cobalt/posix/syscall.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/posix/syscall.c b/kernel/cobalt/posix/syscall.c index 25d21ea..0f905bf 100644 --- a/kernel/cobalt/posix/syscall.c +++ b/kernel/cobalt/posix/syscall.c @@ -314,7 +314,7 @@ static COBALT_SYSCALL(bind, lostage, f = _ret; featreq = breq.feat_req; if (!realtime_core_running() && (featreq & __xn_feat_control) == 0) - return -EPERM; + return -EAGAIN; /* * Calculate the missing feature set: ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/syscalls: reject binding attempt to disabled core with EAGAIN
Module: xenomai-3 Branch: next Commit: f4b3e987a176b372a8f07d99172a675cc1bdf543 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f4b3e987a176b372a8f07d99172a675cc1bdf543 Author: Philippe GerumDate: Thu Jun 1 09:43:53 2017 +0200 cobalt/syscalls: reject binding attempt to disabled core with EAGAIN --- kernel/cobalt/posix/syscall.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/posix/syscall.c b/kernel/cobalt/posix/syscall.c index 25d21ea..0f905bf 100644 --- a/kernel/cobalt/posix/syscall.c +++ b/kernel/cobalt/posix/syscall.c @@ -314,7 +314,7 @@ static COBALT_SYSCALL(bind, lostage, f = _ret; featreq = breq.feat_req; if (!realtime_core_running() && (featreq & __xn_feat_control) == 0) - return -EPERM; + return -EAGAIN; /* * Calculate the missing feature set: ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : cobalt/syscalls: reject binding attempt to disabled core with EAGAIN
Module: xenomai-3 Branch: next Commit: 3620a7d6b7b5c68194822dd923137bd913b66509 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3620a7d6b7b5c68194822dd923137bd913b66509 Author: Philippe GerumDate: Thu Jun 1 09:43:53 2017 +0200 cobalt/syscalls: reject binding attempt to disabled core with EAGAIN --- kernel/cobalt/posix/syscall.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/posix/syscall.c b/kernel/cobalt/posix/syscall.c index 25d21ea..0f905bf 100644 --- a/kernel/cobalt/posix/syscall.c +++ b/kernel/cobalt/posix/syscall.c @@ -314,7 +314,7 @@ static COBALT_SYSCALL(bind, lostage, f = _ret; featreq = breq.feat_req; if (!realtime_core_running() && (featreq & __xn_feat_control) == 0) - return -EPERM; + return -EAGAIN; /* * Calculate the missing feature set: ___ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git