search for: 69da693

Displaying 5 results from an estimated 5 matches for "69da693".

2013 Nov 12
0
[klibc:master] poll, select: fix style problems
...t: fix style problems Fix whitespace style problems in poll.c and select.c. Signed-off-by: H. Peter Anvin <hpa at zytor.com> --- usr/klibc/poll.c | 2 +- usr/klibc/select.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/klibc/poll.c b/usr/klibc/poll.c index 69da693..f539b99 100644 --- a/usr/klibc/poll.c +++ b/usr/klibc/poll.c @@ -4,7 +4,7 @@ #ifndef __NR_poll -int poll (struct pollfd *fds, nfds_t nfds, long timeout) +int poll(struct pollfd *fds, nfds_t nfds, long timeout) { struct timespec timeout_ts; struct timespec *timeout_ts_p = NULL; diff --git...
2013 Nov 08
0
[PATCH 2/3] syscalls: Add syscalls needed by arm64
...(__NR_open) && _BITSIZE == 64 + +__extern int openat(int, const char *, int, ...); + +int open(const char *pathname, int flags, mode_t mode) +{ + return openat(AT_FDCWD, pathname, flags, mode); +} + +#endif diff --git a/usr/klibc/poll.c b/usr/klibc/poll.c new file mode 100644 index 0000000..69da693 --- /dev/null +++ b/usr/klibc/poll.c @@ -0,0 +1,21 @@ +#include <errno.h> +#include <sys/poll.h> +#include <sys/syscall.h> + +#ifndef __NR_poll + +int poll (struct pollfd *fds, nfds_t nfds, long timeout) +{ + struct timespec timeout_ts; + struct timespec *timeout_ts_p = NULL; + +...
2013 Nov 12
0
[klibc:master] syscalls: Add syscalls needed by arm64
...ev/null +++ b/usr/klibc/pipe.c @@ -0,0 +1,11 @@ +#include <unistd.h> +#include <sys/syscall.h> + +#ifndef __NR_pipe + +int pipe(int pipefd[2]) +{ + return pipe2(pipefd, 0); +} + +#endif /* __NR_pipe */ diff --git a/usr/klibc/poll.c b/usr/klibc/poll.c new file mode 100644 index 0000000..69da693 --- /dev/null +++ b/usr/klibc/poll.c @@ -0,0 +1,21 @@ +#include <errno.h> +#include <sys/poll.h> +#include <sys/syscall.h> + +#ifndef __NR_poll + +int poll (struct pollfd *fds, nfds_t nfds, long timeout) +{ + struct timespec timeout_ts; + struct timespec *timeout_ts_p = NULL; + +...
2013 Nov 11
5
[PATCH V2 0/3] Introduce arm64 support
Hello, Here is V2 of the arm64 support for klibc patch set. Notable changes since the original series: * fp regs dropped from setjmp/longjmp * chmod, lstat and stat re-implemented with *at functions. * open64 merged into open. As with the original, this series is to be applied against the latest klibc, just after 25a66fa README.klibc: update build information V2 has been tested on x86_64
2013 Nov 08
9
[PATCH 0/3] Introduce arm64 support
Hello, This series introduces arm64 support to klibc. I've rebased the work from Neil Williams and Anil Singhar into the following three patches. Most of the code changes are due to new syscall implementations being needed for arm64 as a only a minimal set of syscalls are defined in the arm64 kernel. This series is to be applied against the latest klibc, just after 25a66fa README.klibc: