Skip to content

Commit ebbb3c9

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

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

testcases/kernel/syscalls/socketpair/socketpair01.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,8 @@ struct test_case_t {
3434
{PF_INET, 75, 0, fds, -1, EINVAL, "invalid type"},
3535
{PF_UNIX, SOCK_DGRAM, 0, fds, 0, 0, "UNIX domain dgram"},
3636
{PF_INET, SOCK_RAW, 0, fds, -1, EPROTONOSUPPORT, "raw open as non-root"},
37-
#ifndef UCLINUX
3837
{PF_UNIX, SOCK_STREAM, 0, 0, -1, EFAULT, "bad aligned pointer"},
3938
{PF_UNIX, SOCK_STREAM, 0, (int *)7, -1, EFAULT, "bad unaligned pointer"},
40-
#endif
4139
{PF_INET, SOCK_DGRAM, 17, fds, -1, EOPNOTSUPP, "UDP socket"},
4240
{PF_INET, SOCK_DGRAM, 6, fds, -1, EPROTONOSUPPORT, "TCP dgram"},
4341
{PF_INET, SOCK_STREAM, 6, fds, -1, EOPNOTSUPP, "TCP socket"},

testcases/kernel/syscalls/sockioctl/sockioctl01.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,11 @@ struct test_case_t {
8787
(struct sockaddr *)&fsin1, sizeof(fsin1), -1,
8888
EINVAL, setup0, cleanup0, "not a socket"}
8989
,
90-
#if !defined(UCLINUX)
9190
{
9291
PF_INET, SOCK_STREAM, 0, SIOCATMARK, 0,
9392
(struct sockaddr *)&fsin1, sizeof(fsin1), -1,
9493
EFAULT, setup1, cleanup1, "invalid option buffer"}
9594
,
96-
#endif
9795
{
9896
PF_INET, SOCK_DGRAM, 0, SIOCATMARK, &optval,
9997
(struct sockaddr *)&fsin1, sizeof(fsin1), -1,

0 commit comments

Comments
 (0)