search for: linkat

Displaying 20 results from an estimated 133 matches for "linkat".

2017 Nov 09
10
Experiment on how to improve our temporary file handing.
...w, but it would be an easy thing to miss in a code review. I was hopping the OS could help us manage the temporary file so that there was no way to accidentally leave it behind. On linux there is O_TMPFILE, which allows us to create a file with no name in the file system. A name can be given with linkat. Unfortunately we can't use linkat(fd, "", AT_FDCWD, "destination", AT_EMPTY_PATH) Without special permissions and have instead to depend on proc: linkat(AT_FDCWD, "/proc/self/fd/<num>", AT_FDCWD, "destination", AT_SYMLINK_FOLLOW) Another...
2013 Nov 12
0
[klibc:master] syscalls: Fixup some of the -at syscall declarations
...er <steve.capper at linaro.org> AuthorDate: 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: N...
2013 Oct 09
0
[PATCH 1/1] Porting klibc to AArch64
...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 *, int, const char *); +__extern int linkat(int, const char *, int, const char *, int); __extern int unlink(const char *); __extern int unlinkat(int, const char *, int); __extern int chdir(const char *); __extern int fchdir(int); __extern int chmod(const char *, mode_t); __ext...
2012 Apr 11
12
[Bug 8856] New: --hard-links does not handle hard-linked symlinks correctly on FreeBSD
https://bugzilla.samba.org/show_bug.cgi?id=8856 Summary: --hard-links does not handle hard-linked symlinks correctly on FreeBSD Product: rsync Version: 3.0.7 Platform: All OS/Version: FreeBSD Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at
2020 Apr 08
3
samba 4.12 build on hp-ux unsupported system calls
...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...
2010 Apr 16
0
[PATCH] add minimal faccessat()
...e/unistd.h @@ -58,7 +58,7 @@ __extern int setfsuid(uid_t); #define F_OK 0 /* Existence */ __extern int access(const char *, int); -__extern int faccessat(int, const char *, int); +__extern int faccessat(int, const char *, int, int); __extern int link(const char *, const char *); __extern int linkat(int, const char *, int, const char *); __extern int unlink(const char *); diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index ab5212b..765052a 100644 --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -19,7 +19,7 @@ klib-y := vsnprintf.o snprintf.o vsprintf.o sprintf.o \ printf.o vprintf.o fp...
2016 Jan 07
57
[Bug 93629] New: [NVE6] complete system freeze, PGRAPH engine fault on channel 2, SCHED_ERROR [ CTXSW_TIMEOUT ]
https://bugs.freedesktop.org/show_bug.cgi?id=93629 Bug ID: 93629 Summary: [NVE6] complete system freeze, PGRAPH engine fault on channel 2, SCHED_ERROR [ CTXSW_TIMEOUT ] Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal
2017 Nov 13
2
Experiment on how to improve our temporary file handing.
On Mon, Nov 13, 2017 at 01:46:32PM -0800, Davide Italiano wrote: > On Mon, Nov 13, 2017 at 11:48 AM, Rafael Avila de Espindola > <rafael.espindola at gmail.com> wrote: > > Davide Italiano <davide.italiano at gmail.com> writes: > > > >>> I couldn't find any support for this on FreeBSD. > >>> > >> > >> AFAIK FreeBSD supports
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:
2010 Apr 16
0
[PATCH] pull faccessat() system call
...0d4 100644 --- a/usr/include/unistd.h +++ b/usr/include/unistd.h @@ -58,7 +58,6 @@ __extern int setfsuid(uid_t); #define F_OK 0 /* Existence */ __extern int access(const char *, int); -__extern int faccessat(int, const char *, int); __extern int link(const char *, const char *); __extern int linkat(int, const char *, int, const char *); __extern int unlink(const char *); diff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def index ae58b9b..ba0e5b9 100644 --- a/usr/klibc/SYSCALLS.def +++ b/usr/klibc/SYSCALLS.def @@ -98,7 +98,8 @@ int swapoff(const char *); * Inode-related system calls...
2020 Apr 08
0
samba 4.12 build on hp-ux unsupported system calls
...ng 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...
2013 Nov 08
0
[PATCH 2/3] syscalls: Add syscalls needed by arm64
...+106,31 @@ int swapoff(const char *); /* * Inode-related system calls */ -int access(const char *, int); +<?> int access(const char *, int); int faccessat(int, const char *, int, int); -int link(const char *, const char *); +<?> int link(const char *, const char *); <?> int linkat(int, const char *, int, const char *, int); -int unlink(const char *); +<?> int unlink(const char *); <?> int unlinkat(int, const char *, int); int chdir(const char *); int fchdir(int); -int rename(const char *, const char *); +<?> int rename(const char *, const char *); <?...
2013 Nov 12
0
[klibc:master] syscalls: Add syscalls needed by arm64
...+106,34 @@ int swapoff(const char *); /* * Inode-related system calls */ -int access(const char *, int); +<?> int access(const char *, int); int faccessat(int, const char *, int, int); -int link(const char *, const char *); +<?> int link(const char *, const char *); <?> int linkat(int, const char *, int, const char *, int); -int unlink(const char *); +<?> int unlink(const char *); <?> int unlinkat(int, const char *, int); int chdir(const char *); int fchdir(int); -int rename(const char *, const char *); +<?> int rename(const char *, const char *); <?...
2009 May 03
6
[RFC] The reflink(2) system call.
...e file in a copy-on-write fashion. The second patch adds iops->reflink() and vfs_reflink(). People interested in LSM interaction, please look at my comments in the patch header and the implementation of vfs_link(). I think it needs improvement. The last patch defines sys_reflink() and sys_reflinkat(). It also hooks them up for x86_32. The final version of this patch will obviously include the other architectures. The patches are also available in my git tree: git://git.kernel.org/pub/scm/linux/kernel/git/jlbec/ocfs2.git reflink The current ioctl-based implementation for ocfs2 is availa...
2010 Dec 14
8
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...in.h lib/stddef.in.h lib/stdint.in.h lib/stdio-write.c lib/stdio.in.h lib/stdlib.in.h lib/strdup.c lib/strerror.c lib/string.in.h lib/stripslash.c lib/sys_stat.in.h lib/sys_wait.in.h lib/time.in.h lib/unistd--.h lib/unistd-safer.h lib/unistd.in.h lib/unlink.c lib/unlinkat.c lib/vasnprintf.c lib/vasnprintf.h lib/vasprintf.c lib/verify.h lib/wchar.in.h lib/write.c lib/xalloc-die.c lib/xalloc.h lib/xasprintf.c lib/xgetcwd.c lib/xgetcwd.h lib/xmalloc.c lib/xsize.h lib/xstrtol-error.c lib/xstrtol.c lib/xstrtol.h lib/xstrtoul.c lib/xvas...
2011 Jan 14
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...in.h lib/stddef.in.h lib/stdint.in.h lib/stdio-write.c lib/stdio.in.h lib/stdlib.in.h lib/strdup.c lib/strerror.c lib/string.in.h lib/stripslash.c lib/sys_stat.in.h lib/sys_wait.in.h lib/time.in.h lib/unistd--.h lib/unistd-safer.h lib/unistd.in.h lib/unlink.c lib/unlinkat.c lib/vasnprintf.c lib/vasnprintf.h lib/vasprintf.c lib/verify.h lib/wchar.in.h lib/write.c lib/xalloc-die.c lib/xalloc.h lib/xasprintf.c lib/xgetcwd.c lib/xgetcwd.h lib/xmalloc.c lib/xsize.h lib/xstrtol-error.c lib/xstrtol.c lib/xstrtol.h lib/xstrtoul.c lib/xvas...
2011 Feb 15
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...in.h lib/stddef.in.h lib/stdint.in.h lib/stdio-write.c lib/stdio.in.h lib/stdlib.in.h lib/strdup.c lib/strerror.c lib/string.in.h lib/stripslash.c lib/sys_stat.in.h lib/sys_wait.in.h lib/time.in.h lib/unistd--.h lib/unistd-safer.h lib/unistd.in.h lib/unlink.c lib/unlinkat.c lib/vasnprintf.c lib/vasnprintf.h lib/vasprintf.c lib/verify.h lib/wchar.in.h lib/write.c lib/xalloc-die.c lib/xalloc.h lib/xasprintf.c lib/xgetcwd.c lib/xgetcwd.h lib/xmalloc.c lib/xsize.h lib/xstrtol-error.c lib/xstrtol.c lib/xstrtol.h lib/xstrtoul.c lib/xvas...
2011 Jan 14
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...in.h lib/stddef.in.h lib/stdint.in.h lib/stdio-write.c lib/stdio.in.h lib/stdlib.in.h lib/strdup.c lib/strerror.c lib/string.in.h lib/stripslash.c lib/sys_stat.in.h lib/sys_wait.in.h lib/time.in.h lib/unistd--.h lib/unistd-safer.h lib/unistd.in.h lib/unlink.c lib/unlinkat.c lib/vasnprintf.c lib/vasnprintf.h lib/vasprintf.c lib/verify.h lib/wchar.in.h lib/write.c lib/xalloc-die.c lib/xalloc.h lib/xasprintf.c lib/xgetcwd.c lib/xgetcwd.h lib/xmalloc.c lib/xsize.h lib/xstrtol-error.c lib/xstrtol.c lib/xstrtol.h lib/xstrtoul.c lib/xvas...
2011 Feb 15
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...in.h lib/stddef.in.h lib/stdint.in.h lib/stdio-write.c lib/stdio.in.h lib/stdlib.in.h lib/strdup.c lib/strerror.c lib/string.in.h lib/stripslash.c lib/sys_stat.in.h lib/sys_wait.in.h lib/time.in.h lib/unistd--.h lib/unistd-safer.h lib/unistd.in.h lib/unlink.c lib/unlinkat.c lib/vasnprintf.c lib/vasnprintf.h lib/vasprintf.c lib/verify.h lib/wchar.in.h lib/write.c lib/xalloc-die.c lib/xalloc.h lib/xasprintf.c lib/xgetcwd.c lib/xgetcwd.h lib/xmalloc.c lib/xsize.h lib/xstrtol-error.c lib/xstrtol.c lib/xstrtol.h lib/xstrtoul.c lib/xvas...