[ Please pull from git://git.xenomai.org/xenomai-jki.git for-upstream ]
Add missing range checks for select parameters and refactor the code.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
ksrc/skins/posix/syscall.c | 17 ++---
1 files changed, 10 insertions(+), 7
[ Please pull from git://git.xenomai.org/xenomai-jki.git for-2.4.x ]
The test for __xn_access_ok was inverted, thus rejected valid requests.
Fix this and refactor the code in order to check for the actual size of
the passed fd sets.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
Jan Kiszka wrote:
[ Please pull from git://git.xenomai.org/xenomai-jki.git for-2.4.x ]
The test for __xn_access_ok was inverted, thus rejected valid requests.
Fix this and refactor the code in order to check for the actual size of
the passed fd sets.
Signed-off-by: Jan Kiszka
Gilles Chanteperdrix wrote:
Jan Kiszka wrote:
[ Please pull from git://git.xenomai.org/xenomai-jki.git for-2.4.x ]
The test for __xn_access_ok was inverted, thus rejected valid requests.
Fix this and refactor the code in order to check for the actual size of
the passed fd sets.
Jan Kiszka wrote:
Gilles Chanteperdrix wrote:
Jan Kiszka wrote:
[ Please pull from git://git.xenomai.org/xenomai-jki.git for-2.4.x ]
The test for __xn_access_ok was inverted, thus rejected valid requests.
Fix this and refactor the code in order to check for the actual size of
the passed fd