Skip to content

Commit b36429d

Browse files
pevikmetan-ucw
authored andcommitted
syscalls/read02: Remove UCLINUX
Signed-off-by: Petr Vorel <[email protected]> Reviewed-by: Cyril Hrubis <[email protected]>
1 parent ebbb3c9 commit b36429d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

testcases/kernel/syscalls/read/read02.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ static struct tcase {
5252
} tcases[] = {
5353
{&badfd, &bufaddr, 1, EBADF},
5454
{&fd2, &bufaddr, 1, EISDIR},
55-
#ifndef UCLINUX
5655
{&fd3, &outside_buf, 1, EFAULT},
57-
#endif
5856
{&fd4, &addr4, 1, EINVAL},
5957
{&fd4, &addr5, 4096, EINVAL},
6058
};
@@ -98,10 +96,8 @@ static void setup(void)
9896

9997
fd3 = SAFE_OPEN("test_file", O_RDWR);
10098

101-
#if !defined(UCLINUX)
10299
outside_buf = SAFE_MMAP(0, 1, PROT_NONE,
103100
MAP_PRIVATE | MAP_ANONYMOUS, 0, 0);
104-
#endif
105101

106102
addr4 = SAFE_MEMALIGN(getpagesize(), (4096 * 10));
107103
addr5 = addr4 + 1;

0 commit comments

Comments
 (0)