search for: f0e19c2

Displaying 5 results from an estimated 5 matches for "f0e19c2".

2013 May 13
0
[klibc:sysconf] Framework and trivial implementation of sysconf(3)
...+{ + switch (__val) { + case _SC_PAGESIZE: + return getpagesize(); + default: + errno = EINVAL; + return -1; + } +} + +#define sysconf(x) \ + (__builtin_constant_p(x) ? __sysconf_inline(x) : sysconf(x)) + +#endif /* _SYS_SYSCONF_H */ diff --git a/usr/include/unistd.h b/usr/include/unistd.h index f0e19c2..d425df8 100644 --- a/usr/include/unistd.h +++ b/usr/include/unistd.h @@ -144,13 +144,13 @@ __extern int optind, opterr, optopt; __extern int isatty(int); __extern unsigned int __page_size; -static __inline__ int getpagesize(void) +__must_inline int getpagesize(void) { return __page_size; }...
2013 Nov 12
0
[klibc:master] syscalls: Fixup some of the -at syscall declarations
...__extern int mkfifo(const char *, mode_t); +__extern int utimensat(int, const char *, const struct timespec *, int); +__extern int fchmodat(int, const char *, mode_t, int); __extern_inline int mkfifo(const char *__p, mode_t __m) { diff --git a/usr/include/unistd.h b/usr/include/unistd.h index f0e19c2..6c08d4e 100644 --- a/usr/include/unistd.h +++ b/usr/include/unistd.h @@ -61,28 +61,28 @@ __extern int setfsuid(uid_t); __extern int access(const char *, int); __extern int faccessat(int, const char *, int, int); __extern int link(const char *, const char *); -__extern int linkat(int, const char...
2013 Oct 09
0
[PATCH 1/1] Porting klibc to AArch64
...ev_t); -__extern int mknodat(int, const char *, const char *, mode_t, dev_t); +__extern int mknodat(int, const char *, mode_t, dev_t); __extern int mkfifo(const char *, mode_t); __extern_inline int mkfifo(const char *__p, mode_t __m) diff --git a/usr/include/unistd.h b/usr/include/unistd.h index f0e19c2..ff08a40 100644 --- a/usr/include/unistd.h +++ b/usr/include/unistd.h @@ -61,22 +61,22 @@ __extern int setfsuid(uid_t); __extern int access(const char *, int); __extern int faccessat(int, const char *, int, int); __extern int link(const char *, const char *); -__extern int linkat(int, const char...
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: