search for: readlinkat

Displaying 20 results from an estimated 139 matches for "readlinkat".

2009 Nov 26
1
[PATCH] daemon/Win32: use gnulib modules connect, socket and symlinkat (for readlinkat).
We should try to replace readlinkat with {a,x}readlinkat, but I'll leave that to a future change. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http...
2020 Apr 08
3
samba 4.12 build on hp-ux unsupported system calls
...e 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.12. Regards, Arjit
2023 Jan 13
0
[klibc:master] ls: Handle relative directory names correctly
...ir(path). This obviously fails for relative names. That could be fixed by using opendir(".") instead. However, if multiple relative directory names are given, this would still fail after the first such directory. Instead, leave the current directory unchanged and use the fstatat() and readlinkat() functions to get information about files in each directory. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/utils/ls.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/usr/utils/ls.c b/usr/utils/ls.c index 9677bc0f..50af4349 100644 ---...
2009 Nov 20
1
[PATCH] daemon/Win32: Use gnulib modules for first porting to Win32.
...ixing a few headers. The remaining issues which are *not* fixed are: * No chroot on Windows. * No sync(2) call. * No posix_fallocate call. * No futimes call. * No pread call. * No custom printf format specifiers. * Quite a few problems in guestfsd.c, eg. code to run external commands. * No readlinkat call (use Gnulib {a,x}readlinkat instead?) * No xdr_uint32_t in PortableXDR. * Missing external commands. * Test it. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the...
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.
2020 Apr 08
0
samba 4.12 build on hp-ux unsupported system calls
...onfirm 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...
2011 Jun 09
15
[PATCH 00/13] Fix errors found using Coverity static analyzer.
I ran the Coverity static analyzer[1] on libguestfs, and fixed many errors as a result. Coverity found some errors in gnulib, but it doesn't seem to be worth following those up since the version of gnulib we are using is so old. There are a couple more errors (possibly 1 false-positive) which I'm going to send in a separate email. BTW all the errors found by Coverity were in the daemon
2013 Nov 12
0
[klibc:master] syscalls: Fixup some of the -at syscall declarations
...xtern 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); __extern int fchown(int, uid_t, gid_t); __extern int lchown(const char *, uid_t, gid_t); __extern char *getcwd(char *, size_t); +__extern int fchownat(int, const char *, uid_t, gid_t, int); /* Also in <fcn...
2013 Nov 08
0
[PATCH 2/3] syscalls: Add syscalls needed by arm64
..._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::lstat(const char *, struct stat *); @@ -141,14 +141,15 @@ int readlink(const char *, char *, size_t); /* XXX: Is this right?! */ <?> int fstatat64,newfstat...
2013 Nov 12
0
[klibc:master] syscalls: Add syscalls needed by arm64
..._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::lstat(const char *, struct stat *); +<?!ppc64> int stat64,stat::stat(const char *, struct stat *); +<?!ppc64> int lstat64,lstat::lstat(const char *, st...
2019 Sep 23
0
[PATCH v2 5/5] build: remove unused gnulib modules
...ignore | 52 ---------------------------------------------- 4 files changed, 78 deletions(-) diff --git a/bootstrap b/bootstrap index aaf038d98..9e5a8b72d 100755 --- a/bootstrap +++ b/bootstrap @@ -104,34 +104,26 @@ gnulib_tool=$GNULIB_SRCDIR/gnulib-tool modules=' accept4 -areadlink areadlinkat -arpa_inet base64 byteswap c-ctype cloexec closeout connect -dup3 error -filevercmp fstatat -fts full-read full-write futimens -getaddrinfo getline getprogname gitlog-to-changelog glob -gnu-make gnumakefile hash hash-pjw human -iconv ignore-value intprops lock @@ -141,24 +133,...
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:
2017 Aug 14
3
[PATCH] builder: templates: debian: use single-partition layout
The previously selected 'atomic' recipe resulted in 2GB swap in a 6GB volume. Also, we don't really need the boot partition, so just create a partition using the whole disk space. --- builder/templates/debian.preseed | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/builder/templates/debian.preseed b/builder/templates/debian.preseed index
2017 Jul 07
2
[PATCH v3] v2v: docs: VDSM location of virt-v2v log file.
See this bug for background information: https://bugzilla.redhat.com/show_bug.cgi?id=1350465 Thanks: Tomáš Golembiovský --- v2v/virt-v2v.pod | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/v2v/virt-v2v.pod b/v2v/virt-v2v.pod index e68d75cf8..87dba240b 100644 --- a/v2v/virt-v2v.pod +++ b/v2v/virt-v2v.pod @@ -1909,18 +1909,32 @@ that
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
2017 Aug 12
2
[PATCH] configure: Further split blocks of text in the script output.
Commit 0a94cae15bae7cecb725e78e485708694d347612 added useful headings to parts of the configure script. This refactors the code by adding a common macro (‘HEADING’), and also changes the output so it's clearer at a glance: --- Checking for Haskell --- checking for ghc... (cached) ghc --- Checking for PHP --- checking for php... (cached) php checking for phpize... (cached) phpize
2013 Nov 08
0
[PATCH 3/3] arm64: Introduce arm64 support
...,mips,mips64,sh,sparc,sparc64> int pipe(int *); int pipe2(int *, int); mode_t umask(mode_t); int chroot(const char *); @@ -132,8 +132,8 @@ int chroot(const char *); <?> int symlinkat(const char *, int, const char *); <?> 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::lstat(const char *, struct stat *); +<!arm64,ppc64> int stat64,stat::stat(const char *, struct stat *); +<!arm64,ppc64> int lstat64,lstat::lstat(const...
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:
2013 Oct 09
0
[PATCH 1/1] Porting klibc to AArch64
...xtern 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/klibc/SYSCALLS.def index 1cadb87..ba2d7e4 100644 --- a/usr/klibc/SYSCALLS.def +++ b/usr/klibc/SYSCALLS.def @@ -21,7 +21,7 @@ void _exit,exit::_exit(int); <?!ia64> pi...
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: