Displaying 6 results from an estimated 6 matches for "at_removedir".
2020 Apr 08
3
samba 4.12 build on hp-ux unsupported system calls
...firm that these are not supported by hp-ux kernel and enabling them will require changes in VFS layer and physical filesystem.
Unsatisfied system calls
* renameat
* symlinkat
* linkat
* unlinkat
* readlinkat
* mkdirat
Undefined MACRO's
* AT_REMOVEDIR
* AT_FDCWD
These system calls have been added newly in samba 4.12.
Please provide workaround/patch to use older syscalls like mkdir,readlink,unlink etc within samba 4.12.
Regards,
Arjit
2020 Apr 08
0
samba 4.12 build on hp-ux unsupported system calls
...n VFS layer and physical filesystem.
>
> Unsatisfied system calls
>
> * renameat
>
> * symlinkat
>
> * linkat
>
> * unlinkat
>
> * readlinkat
>
> * mkdirat
>
> Undefined MACRO's
>
> * AT_REMOVEDIR
>
> * AT_FDCWD
>
> These system calls have been added newly in samba 4.12.
>
> Please provide workaround/patch to use older syscalls like mkdir,readlink,unlink etc within samba 4.12.
I'm afraid that can't be done.
It's not possible to write a secure path-sa...
2013 Nov 08
0
[PATCH 2/3] syscalls: Add syscalls needed by arm64
...usr/klibc/rmdir.c
new file mode 100644
index 0000000..94ae5f2
--- /dev/null
+++ b/usr/klibc/rmdir.c
@@ -0,0 +1,12 @@
+#include <fcntl.h>
+#include <unistd.h>
+#include <sys/syscall.h>
+
+#ifndef __NR_rmdir
+
+int rmdir(const char *pathname)
+{
+ return unlinkat(AT_FDCWD, pathname, AT_REMOVEDIR);
+}
+
+#endif /* __NR_rmdir */
diff --git a/usr/klibc/select.c b/usr/klibc/select.c
new file mode 100644
index 0000000..e416794
--- /dev/null
+++ b/usr/klibc/select.c
@@ -0,0 +1,34 @@
+#include <sys/time.h>
+#include <sys/types.h>
+#include <sys/select.h>
+#include <errno.h>...
2013 Nov 12
0
[klibc:master] syscalls: Add syscalls needed by arm64
...usr/klibc/rmdir.c
new file mode 100644
index 0000000..94ae5f2
--- /dev/null
+++ b/usr/klibc/rmdir.c
@@ -0,0 +1,12 @@
+#include <fcntl.h>
+#include <unistd.h>
+#include <sys/syscall.h>
+
+#ifndef __NR_rmdir
+
+int rmdir(const char *pathname)
+{
+ return unlinkat(AT_FDCWD, pathname, AT_REMOVEDIR);
+}
+
+#endif /* __NR_rmdir */
diff --git a/usr/klibc/select.c b/usr/klibc/select.c
new file mode 100644
index 0000000..e416794
--- /dev/null
+++ b/usr/klibc/select.c
@@ -0,0 +1,34 @@
+#include <sys/time.h>
+#include <sys/types.h>
+#include <sys/select.h>
+#include <errno.h>...
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: