diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-02-25 19:33:22 -0500 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-29 17:27:19 -0400 |
commit | 8815090d72fe0fe8f5f67e3bcc8fbe7a5ad1704d (patch) | |
tree | f28458e6acf755353d2109991d656483323d7c65 /kernel/time.c | |
parent | 8ad3e04b815e44d084b855cfa3dcda260cdf56ae (diff) |
Bugfix: make fdso syscalls 64bit clean
This fixes a bug found by liblitmus's regression test suite.
Before:
> ** LITMUS^RT test suite.
> ** Running tests for LINUX.
> ** Testing: don't open FMLP semaphores if FMLP is not supported...
> !! TEST FAILURE open_fmlp_sem(fd, 0) -> -16, Success (expected: EBUSY)
> at tests/fdso.c:21 (test_fmlp_not_active)
> ** Testing: reject invalid object descriptors... ok.
> ** Testing: reject invalid object types...
> !! TEST FAILURE od_open(0, -1, 0) -> -22, Bad file descriptor (expected: EINVAL)
> at tests/fdso.c:51 (test_invalid_obj_type)
> ** Testing: reject invalid rt_task pointers... ok.
> ** Result: 2 ok, 2 failed.
After:
> ** LITMUS^RT test suite.
> ** Running tests for LINUX.
> ** Testing: don't open FMLP semaphores if FMLP is not supported... ok.
> ** Testing: reject invalid object descriptors... ok.
> ** Testing: reject invalid object types... ok.
> ** Testing: reject invalid rt_task pointers... ok.
> ** Result: 4 ok, 0 failed.
Diffstat (limited to 'kernel/time.c')
0 files changed, 0 insertions, 0 deletions