Displaying 20 results from an estimated 156 matches for "symlinkat".
Did you mean:
symlink
2009 Nov 26
1
[PATCH] daemon/Win32: use gnulib modules connect, socket and symlinkat (for readlinkat).
...redhat.com/~rjones/virt-top
-------------- next part --------------
>From 97b25cc5a5a30ad9fabb3a705d808051c813f2b8 Mon Sep 17 00:00:00 2001
From: Richard Jones <rjones at redhat.com>
Date: Thu, 26 Nov 2009 11:52:28 +0000
Subject: [PATCH] daemon/Win32: use gnulib modules connect, socket and symlinkat (for readlinkat).
---
daemon/.gitignore | 1 +
daemon/Makefile.am | 9 ++++++++-
daemon/guestfsd.c | 2 ++
daemon/m4/gnulib-cache.m4 | 5 ++++-
4 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/daemon/.gitignore b/daemon/.gitignore
index 0d9dac7..d...
2013 Nov 12
0
[klibc:master] syscalls: Fixup some of the -at syscall declarations
...Mon, 11 Nov 2013 17:04:10 +0000
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Mon, 11 Nov 2013 19:30:11 -0800
[klibc] syscalls: Fixup some of the -at syscall declarations
mknodat and mkdirat contain a spurious repeated parameter, linkat
is missing the final int flags parameter, symlinkat has the first
two parameters transposed, and fchmodat is missing the flags
parameter and is declared in the wrong header.
Also declarations are missing for utimensat and fchownat.
This patch fixes up these syscall declarations.
Originally-by: Neil Williams <codehelp at debian.org>
Original...
2020 Apr 08
3
samba 4.12 build on hp-ux unsupported system calls
Hi Team,
We are having compile/linking time warning due unsatisfied system calls and macros.
We have checked and confirm 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.1...
2013 Aug 25
1
modules in gnulib that are GPL
gettime
hash
human
memcpy
openat-die
openat-safer
quote
quotearg
readlinkat
save-cwd
symlinkat
timespec
utimens
xstrtol
xstrtoll
xstrtoumax
xvasprintf
I didnt track where they are uses, some of them arent used directly.
2019 Sep 18
2
[PATCH] build: remove unused gnulib modules
...fstatat
-fts
full-read
full-write
futimens
-getaddrinfo
getline
getprogname
gitlog-to-changelog
@@ -143,22 +138,18 @@ mkstemps
netdb
netinet_in
nonblocking
-openat
perror
pipe2
pread
-ptsname_r
read-file
readlink
select
setenv
sleep
socket
-stat-time
strchrnul
strerror
strndup
-symlinkat
sys_select
sys_types
sys_wait
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index 49dbf1998..7c71920c4 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -225,13 +225,9 @@ guestfsd_LDADD = \
$(HIVEX_LIBS) \
$(SD_JOURNAL_LIBS) \
$(top_builddir)/gnulib/lib/.libs/libgnu.a \
-...
2013 Oct 09
0
[PATCH 1/1] Porting klibc to AArch64
...int mkdirat(int, const char *, const char *, mode_t);
+__extern int mkdirat(int, const char *, mode_t);
__extern int rmdir(const char *);
__extern int pipe(int *);
__extern int pipe2(int *, int);
__extern int chroot(const char *);
__extern int symlink(const char *, const char *);
-__extern int symlinkat(int, const char *, const char *);
+__extern int symlinkat(const char *, int, const char *);
__extern int readlink(const char *, char *, size_t);
__extern int readlinkat(int, const char *, char *, size_t);
__extern int chown(const char *, uid_t, gid_t);
diff --git a/usr/klibc/SYSCALLS.def b/usr/k...
2011 Jun 05
1
another missing link in febootstrap; failing tests for libguestfs
...;fr_FR.UTF-8' LOCALE_JA='ja_JP.EUC-JP' LOCALE_ZH_CN='zh_CN.GB18030' LOCALE_FR_UTF8='fr_FR.UTF-8' LOCALE_FR='fr_FR' LOCALE_FR_UTF8='fr_FR.UTF-8' LOCALE_JA='ja_JP.EUC-JP' LOCALE_ZH_CN='zh_CN.GB18030' MAKE='make' ${dir}$tst
FAIL: test-symlinkat
-Hilko
diff --git a/helper/init.c b/helper/init.c
index 50ed19e..8f3834f 100644
--- a/helper/init.c
+++ b/helper/init.c
@@ -181,6 +181,12 @@ main ()
chdir ("/");
mount_proc ();
+ if (mount ("tmpfs", "/run", "tmpfs",
+ MS_NOEXEC|MS_NOSUI...
2019 Sep 18
0
Re: [PATCH] build: remove unused gnulib modules
...g
> @@ -143,22 +138,18 @@ mkstemps
> netdb
> netinet_in
> nonblocking
> -openat
> perror
> pipe2
> pread
> -ptsname_r
> read-file
> readlink
> select
> setenv
> sleep
> socket
> -stat-time
> strchrnul
> strerror
> strndup
> -symlinkat
> sys_select
> sys_types
> sys_wait
> diff --git a/daemon/Makefile.am b/daemon/Makefile.am
> index 49dbf1998..7c71920c4 100644
> --- a/daemon/Makefile.am
> +++ b/daemon/Makefile.am
> @@ -225,13 +225,9 @@ guestfsd_LDADD = \
> $(HIVEX_LIBS) \
> $(SD_JOURNAL_LIBS)...
2019 Sep 23
0
[PATCH v2 5/5] build: remove unused gnulib modules
...b
-gnu-make
gnumakefile
hash
hash-pjw
human
-iconv
ignore-value
intprops
lock
@@ -141,24 +133,18 @@ memmem
mkdtemp
mkstemps
netdb
-netinet_in
nonblocking
-openat
perror
pipe2
pread
-ptsname_r
-read-file
readlink
select
setenv
sleep
socket
-stat-time
strchrnul
strerror
strndup
-symlinkat
sys_select
sys_types
sys_wait
@@ -166,9 +152,6 @@ tls
vasprintf
vc-list-files
warnings
-xalloc
-xalloc-die
-xgetcwd
xstrtol
xstrtoll
xvasprintf
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index 49dbf1998..7c71920c4 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -225,1...
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:
2020 Apr 08
0
samba 4.12 build on hp-ux unsupported system calls
...nking time warning due unsatisfied system calls and macros.
> We have checked and confirm 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 prov...
2022 Jan 19
0
[Announce] Samba 4.15.4 Available for Download
...calling the "Reconnecting with SMB1 for workgroup listing" path.
?? * BUG 14944: Missing pop_sec_ctx() in error path inside
close_directory().
o? Pavel Filipensk? <pfilipen at redhat.com>
?? * BUG 14940: Cross device copy of the crossrename module always fails.
?? * BUG 14941: symlinkat function from VFS cap module always fails with an
???? error.
?? * BUG 14942: Fix possible fsp pointer deference.
o? Volker Lendecke <vl at samba.org>
?? * BUG 14934: kill_tcp_connections does not work.
o? Stefan Metzmacher <metze at samba.org>
?? * BUG 14932: Failed to parse NTLM...
2022 Jan 19
0
[Announce] Samba 4.15.4 Available for Download
...calling the "Reconnecting with SMB1 for workgroup listing" path.
?? * BUG 14944: Missing pop_sec_ctx() in error path inside
close_directory().
o? Pavel Filipensk? <pfilipen at redhat.com>
?? * BUG 14940: Cross device copy of the crossrename module always fails.
?? * BUG 14941: symlinkat function from VFS cap module always fails with an
???? error.
?? * BUG 14942: Fix possible fsp pointer deference.
o? Volker Lendecke <vl at samba.org>
?? * BUG 14934: kill_tcp_connections does not work.
o? Stefan Metzmacher <metze at samba.org>
?? * BUG 14932: Failed to parse NTLM...
2013 Oct 09
0
[PATCH 0/1] Porting klibc to AArch64
.../klibc/tests/stat.c
What has this todo with aarch64?
> The above changes broadly include the following:
> 1. start-up code in crt0.S
> 2. wrapper to system calls as generated from sysstub.ph and error handling
> in syscall.S
> 3. corrections to some system call definitions such as symlinkat, mkdirat
> etc.
> 4. corrections to some data structure definitions such as stat etc.
> 5. separate aarch64 specific definition for some syscalls such as fork,
> vfork etc.
> 6. fixes to setjmp and longjmp functions
>
> Manual testing as provided within the package has been do...
2013 Oct 09
5
[PATCH 0/1] Porting klibc to AArch64
...tub.ph
usr/klibc/arch/aarch64/vfork.S
usr/klibc/statfs.c
usr/klibc/tests/stat.c
The above changes broadly include the following:
1. start-up code in crt0.S
2. wrapper to system calls as generated from sysstub.ph and error handling
in syscall.S
3. corrections to some system call definitions such as symlinkat, mkdirat
etc.
4. corrections to some data structure definitions such as stat etc.
5. separate aarch64 specific definition for some syscalls such as fork,
vfork etc.
6. fixes to setjmp and longjmp functions
Manual testing as provided within the package has been done with all tests
passing. This inc...
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
2019 Sep 23
6
[PATCH v2 0/5] remove unused gnulib modules
This is an extended version of:
https://www.redhat.com/archives/libguestfs/2019-September/msg00178.html
It adds a couple of simple code changes, so it makes it possible to
drop more modules. In addition, more unused modules were dropped.
Pino Toscano (5):
tests: switch away from xgetcwd
daemon: move read_whole_file to common utils
daemon: switch from read_file to read_whole_file
daemon:
2019 Nov 27
7
[PATCH v3 0/6] remove unused build stuff
This is an extended version of:
https://www.redhat.com/archives/libguestfs/2019-September/msg00288.html
Apparently I forgot it on my tree, so I'm posting that series again,
adding an extra cleanup more due to the v2v/common splits.
Pino Toscano (6):
tests: switch away from xgetcwd
daemon: move read_whole_file to common utils
daemon: switch from read_file to read_whole_file
daemon:
2013 Nov 08
0
[PATCH 2/3] syscalls: Add syscalls needed by arm64
...onst char *);
+<?> int rmdir(const char *);
<!alpha,ia64,mips,mips64,sh,sparc,sparc64> int pipe(int *);
int pipe2(int *, int);
mode_t umask(mode_t);
int chroot(const char *);
-int symlink(const char *, const char *);
+<?> int symlink(const char *, const char *);
<?> int symlinkat(const char *, int, const char *);
-int readlink(const char *, char *, size_t);
+<?> int readlink(const char *, char *, size_t);
<?> int readlinkat(int, const char *, char *, int);
<!ppc64> int stat64,stat::stat(const char *, struct stat *);
<!ppc64> int lstat64,lstat::lst...
2017 Mar 01
2
[PATCH libguestfs] Use AC_HEADER_MAJOR to find definitions of major, minor, makedev.
...++++++
m4/guestfs_libraries.m4 | 3 +++
mllib/unix_utils-c.c | 8 +++++++-
p2v/main.c | 6 ++++++
8 files changed, 43 insertions(+), 1 deletion(-)
diff --git a/bootstrap b/bootstrap
index 037d07e..faa10a3 100755
--- a/bootstrap
+++ b/bootstrap
@@ -92,6 +92,7 @@ strerror
strndup
symlinkat
sys_select
+sys_types
sys_wait
vasprintf
vc-list-files
diff --git a/cat/ls.c b/cat/ls.c
index e0b5ff8..7568a5f 100644
--- a/cat/ls.c
+++ b/cat/ls.c
@@ -31,7 +31,14 @@
#include <assert.h>
#include <time.h>
#include <libintl.h>
+
+#if MAJOR_IN_MKDEV
+#include <sys/mkdev.h&...