search for: renameat

Displaying 20 results from an estimated 137 matches for "renameat".

2019 Jan 18
0
[klibc:master] rename, renameat: Use renameat2() system call
....org/?p=libs/klibc/klibc.git;a=commit;h=ebdc262bd8a4d650c58de48f67e6b08aeb953a8f Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Mon, 16 Jul 2018 18:24:08 +0100 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 18 Jan 2019 03:10:14 +0000 [klibc] rename, renameat: Use renameat2() system call New architectures only define the renameat2() system call, which was added in Linux 3.15. Define rename() and renameat() as wrappers for it if necessary. Link: https://www.zytor.com/pipermail/klibc/2018-July/003996.html Signed-off-by: Ben Hutchings <ben at decaden...
2018 Jul 17
1
[PATCH klibc 1/2] rename, renameat: Use renameat2() system call
New architectures only define the renameat2() system call, which was added in Linux 3.15. Define rename() and renameat() as wrappers for it if necessary. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -59,7 +59,8 @@ klib-y += vsnprintf.o snprintf.o vsprint inet/inet_nto...
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...
2019 Jan 05
0
Pull request: collected patches for klibc
...----------------------------------------------------- Alfonso Sanchez-beato (1): [klibc] Add support for reboot syscall argument Baptiste Jonglez (1): [klibc] nfsmount: support nfsvers= and vers= options Ben Hutchings (6): [klibc] run-init: Add dry-run mode [klibc] rename, renameat: Use renameat2() system call [klibc] Add RISC-V (RV64) port [klibc] x86_64: Reduce ld max-page-size option again [klibc] Never clean files in quilt status directory [klibc] x86_64: Use -Ttext-segment to avoid address collision Benjamin Drung (2): [klibc] ipconfig: Imp...
2020 May 26
1
vfs_audit with Samba 4.12.3
...= pwrite write rename unlink full_audit:prefix = IP=%I|USER=%u|MACHINE=%m|VOLUME=%S full_audit:facility = local7 full_audit:priority = NOTICE But with this an Samba 4.12.3 we get this error: "Could not find opname rename, logging all" This also happens for unlink. What works is "renameat" and "unlinkat" The man page still has it the old way: The following Samba VFS operations are recorded: connect disconnect opendir mkdir rmdir open close rename unlink chmo...
2023 Aug 24
0
Samba recycle bin excludedir doesn't work for me
...n Admins", @"GPO-Usuarios" ??? read list = ??? write list = @"Domain Admins", @"GPO-Usuarios" ??? admin users = @"Domain Admins" ??? vfs objects = acl_xattr full_audit recycle ??? full_audit:prefix = %S|%u|%I ??? full_audit:failure = openat mkdirat renameat unlinkat pwrite pread connect disconnect ??? full_audit:success = openat mkdirat renameat unlinkat pwrite pread connect disconnect ??? hide unreadable = yes ??? hide unwriteable files = yes ??? recycle: versions = Yes ??? recycle: excludedir = /tmp|/var/tmp|_RFOLDERS ??? recycle: directory_...
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
2023 Feb 10
3
access "claim types"
...utes = Yes inherit acls = yes unix extensions = no follow symlinks= yes wide links= yes load printers = no printcap name = /dev/null acl allow execute always = True # Audit settings full_audit:prefix = %u|%I|%m|%S full_audit:failure = connect full_audit:success = mkdirat read pread write pwrite renameat unlinkat full_audit:facility = local5 full_audit:priority = notice log level = 1 min domain uid=0 --- (I even noticed that this config was improved in 2019 after some thread in here ;-)) issues: Their external windows admin tries to edit ACLs etc by accessing them from their DC, a Windows 2...
2020 Apr 08
0
samba 4.12 build on hp-ux unsupported system calls
...> 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 samb...
2019 May 09
0
Staged installation fail on some file systems
On 5/7/19 6:18 PM, Henrik Bengtsson wrote: > On Tue, May 7, 2019 at 9:05 AM Tomas Kalibera <tomas.kalibera at gmail.com> wrote: >> Thanks for the report. According to my reading, this use of "mv" is ok >> and the renameat2() call which the invocation of "mv" leads to is also >> ok and allowed by POSIX in this context. It could only fail with EEXIST >> if the target directory (path/pkg) was not empty. So far I've not been >> able to reproduce but we could fall back to copy like on Wind...
2013 Nov 12
0
[klibc:master] syscalls: Fixup some of the -at syscall declarations
...t, const char *, int, const char *); +<?> int linkat(int, const char *, int, const char *, int); int unlink(const char *); <?> int unlinkat(int, const char *, int); int chdir(const char *); @@ -117,12 +117,12 @@ int fchdir(int); int rename(const char *, const char *); <?> int renameat(int, const char *, int, const char *); int mknod(const char *, mode_t, dev_t); -<?> int mknodat(int, const char *, const char *, mode_t, dev_t); +<?> int mknodat(int, const char *, mode_t, dev_t); int chmod(const char *, mode_t); int fchmod(int, mode_t); -<?> int fchmodat(int,...
2019 Jan 19
1
[ANNOUNCE] klibc 2.0.5
...[klibc] readlink: Add -f option [klibc] mount: Implement -o defaults [klibc] Install headers with consistent mode [klibc] dash: mkbuiltins: Fix sort order harder [klibc] gzip: Fix silent fallback to decompression [klibc] run-init: Add dry-run mode [klibc] rename, renameat: Use renameat2() system call [klibc] Add RISC-V (RV64) port [klibc] x86_64: Reduce ld max-page-size option again [klibc] Never clean files in quilt status directory [klibc] x86_64: Use -Ttext-segment to avoid address collision [klibc] i386: Use -Ttext-segment to avoid...
2023 Aug 21
2
DFS questions...
Hello Rowland, If someone wants full_audit, will adding 'vfs objects = full_audit' on a DC also have dfs_samba4 and acl_xattr enabled just because running on a DC, or would this cause both defaults to be turned off? Thanks, Joachim -----Urspr?ngliche Nachricht----- Von: samba <samba-bounces at lists.samba.org> Im Auftrag von Rowland Penny via samba Gesendet: Montag, 21. August 2023
2013 Nov 08
0
[PATCH 2/3] syscalls: Add syscalls needed by arm64
...st 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 *); <?> int renameat(int, const char *, int, const char *); -int mknod(const char *, mode_t, dev_t); +<?> int mknod(const char *, mode_t, dev_t); <?> int mknodat(int, const char *, mode_t, dev_t); -int chmod(const char *, mode_t); +<?> int chmod(const char *, mode_t); int fchmod(int, mode_t); <?...
2013 Nov 12
0
[klibc:master] syscalls: Add syscalls needed by arm64
...st 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 *); <?> int renameat(int, const char *, int, const char *); -int mknod(const char *, mode_t, dev_t); +<?> int mknod(const char *, mode_t, dev_t); <?> int mknodat(int, const char *, mode_t, dev_t); -int chmod(const char *, mode_t); +<?> int chmod(const char *, mode_t); int fchmod(int, mode_t); <?...
2019 May 07
2
Staged installation fail on some file systems
On Tue, May 7, 2019 at 9:05 AM Tomas Kalibera <tomas.kalibera at gmail.com> wrote: > > Thanks for the report. According to my reading, this use of "mv" is ok > and the renameat2() call which the invocation of "mv" leads to is also > ok and allowed by POSIX in this context. It could only fail with EEXIST > if the target directory (path/pkg) was not empty. So far I've not been > able to reproduce but we could fall back to copy like on Windows. Thanks...
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:
2013 Oct 09
0
[PATCH 1/1] Porting klibc to AArch64
...); +<?> int linkat(int, const char *, int, const char *, int); <!aarch64> int unlink(const char *); <?> int unlinkat(int, const char *, int); int chdir(const char *); @@ -117,12 +117,12 @@ int fchdir(int); <!aarch64> int rename(const char *, const char *); <?> int renameat(int, const char *, int, const char *); <!aarch64> int mknod(const char *, mode_t, dev_t); -<?> int mknodat(int, const char *, const char *, mode_t, dev_t); +<?> int mknodat(int, const char *, mode_t, dev_t); <!aarch64> int chmod(const char *, mode_t); int fchmod(int, mode...
2010 Dec 14
8
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...er fseeko is declared without a macro... yes checking whether ftello is declared without a macro... yes checking whether getdelim is declared without a macro... yes checking whether getline is declared without a macro... yes checking whether popen is declared without a macro... yes checking whether renameat is declared without a macro... yes checking whether snprintf is declared without a macro... yes checking whether tmpfile is declared without a macro... yes checking whether vdprintf is declared without a macro... yes checking whether vsnprintf is declared without a macro... yes checking for random....