Displaying 20 results from an estimated 159 matches for "unlinkat".
Did you mean:
unlink
2008 Jun 18
0
Improper directory removal causes file system havoc (PR#11738)
...is-deleted directories and fixes the broken link
counts.
I'm not certain if this is a bug in R or in Solaris, though it certainly looks
like a Solaris bug. I have submitted the bug to both you and Solaris.
I also have truss output from a run of this, which shows R using a mix of
unlink() and unlinkat() for directory removal. unlink() is the call that
incorrectly removes the directories. The pertinent bits are:
17500: unlink("dir1") = 0
17500: unlink("dir2") = 0
17500: unlink("dirs")...
2008 Jun 19
0
Improper directory removal causes file system havoc (PR#11747)
...the broken link
> counts.
>
> I'm not certain if this is a bug in R or in Solaris, though it certainly looks
> like a Solaris bug. I have submitted the bug to both you and Solaris.
>
> I also have truss output from a run of this, which shows R using a mix of
> unlink() and unlinkat() for directory removal. unlink() is the call that
> incorrectly removes the directories. The pertinent bits are:
>
> 17500: unlink("dir1") = 0
> 17500: unlink("dir2") = 0
> 17500: unlink("...
2008 Sep 30
12
dtrace missing ''unlinkat''? showing process stack?
everyone,
Just out of curiosity, I did a
dtrace -n ''syscall:::entry { @num[execname, probefunc] = count(); }''
and looked at the entries produced by ''rm''.
I see everything that rm did, *except* the unlinkat - which is unfortunate because I want to trace which processes have deleted which files.
So - does dtrace contain unlinkat as a probe for a system call?
Also - how could you integrate the output of something like ptree into the above call for dtrace, so instead of showing just the pid for the pr...
2011 Sep 05
0
Slow performance
...orphan_dir
11658 D imapd ocfs2_reserve_suballoc_bits
12326 D imapd ocfs2_lookup_lock_orphan_dir
12330 D pop3d lock_rename
12351 D imapd ocfs2_lookup_lock_orphan_dir
12357 D imapd ocfs2_lookup_lock_orphan_dir
12359 D imapd unlinkat
12381 D imapd ocfs2_lookup_lock_orphan_dir
12498 D deliverquota ocfs2_wait_for_mask
12710 D pop3d ocfs2_reserve_suballoc_bits
12712 D imapd unlinkat
12726 D imapd ocfs2_reserve_suballoc_bits
12730 D imapd unlinkat
12736 D ima...
2020 Apr 08
3
samba 4.12 build on hp-ux unsupported system calls
...ing 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.12.
Regards,
Arjit
2025 May 12
1
Macs deleting files off RHEL8 server.
...ix = Embassy|%U|%I|%m|%S
#Add: symlinkat readlinkat linkat
# man 8 VFS_FULL_AUDIT full_audit:failure = all !open full_audit:failure
= all?
#full_audit:success = close create_file fallocate fget_dos_attributes
fsetxattr lock lstat mkdirat mknodat pwrite_recv pread pread_send pwrite
translate_name unlinkat write
#full_audit:failure = close create_file fallocate fget_dos_attributes
fsetxattr lock lstat mkdirat mknodat pwrite_recv pread pread_send pwrite
translate_name unlinkat write
full_audit:success = all
full_audit:failure = all
# full_audit:failure = read pread write pwrite
## Bad : full_audit:fa...
2020 May 26
1
vfs_audit with Samba 4.12.3
...ink
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
chmod
fchmod
Is...
2023 Aug 24
0
Samba recycle bin excludedir doesn't work for me
...quot;, @"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_mode = 07...
2024 Sep 17
0
vfs_recycle missing deleted file?
Hi,
With smb.conf having full_audit and recycle, today I saw:
Sep 17 10:48:49 kantoor smbd_audit[2317861]:
hannah|192.168.1.26|ashare|unlinkat|ok|/home/ashare/Documents/20240917Workflow.ods
However, there's no /home/.recycle/hannah/Documents/ or any other hint
of 20240917Workflow.ods in her recycle directory. As there is a copy of
the last version of this file (in another users directory) which has a
file size of 42266 bytes, I ca...
2011 Jul 27
0
klibc 1.5.24 release
Enough small fixes have pilled up to make it worth a release:
A Google patch adds sched_setaffinity, sched_getaffinity support.
Openembedded uses kexec_load(). Gentoo folks add a Kbuild fix.
ipconfig no longer wild guesses a nameserver when none is provided
by the DHCP server. strndup() and unlinkat() saw fixes for various
problems. codingstyle cleanup in kinit and tools.
git repository:
git://git.kernel.org/pub/scm/libs/klibc/klibc.git
git web:
http://git.kernel.org/?p=libs/klibc/klibc.git;a=summary
Thanks a lot for all the contributions, belows diffstat and
shortlog tells the longe...
2025 May 13
1
Macs deleting files off RHEL8 server
...#Add: symlinkat readlinkat linkat
> # man 8 VFS_FULL_AUDIT full_audit:failure = all !open full_audit:failure
> = all?
> #full_audit:success = close create_file fallocate fget_dos_attributes
> fsetxattr lock lstat mkdirat mknodat pwrite_recv pread pread_send pwrite
> translate_name unlinkat write
> #full_audit:failure = close create_file fallocate fget_dos_attributes
> fsetxattr lock lstat mkdirat mknodat pwrite_recv pread pread_send pwrite
> translate_name unlinkat write
> full_audit:success = all
> full_audit:failure = all
> # full_audit:failure = read pread write...
2016 Aug 18
5
[PATCH v2 0/4] New getprogname module
...tests | 1 -
modules/unistdio/u32-vsnprintf-tests | 1 -
modules/unistdio/u32-vsprintf-tests | 1 -
modules/unistdio/u8-vsnprintf-tests | 1 -
modules/unistdio/u8-vsprintf-tests | 1 -
modules/unistdio/ulc-vsnprintf-tests | 1 -
modules/unistdio/ulc-vsprintf-tests | 1 -
modules/unlinkat-tests | 1 -
modules/version-etc-tests | 1 -
modules/xalloc-die-tests | 1 -
modules/xmemdup0-tests | 1 -
modules/xprintf-posix-tests | 1 -
modules/xvasprintf-tests | 1 -
tests/test-argmatch.c |...
2013 Nov 12
0
[klibc:master] syscalls: Fixup some of the -at syscall declarations
...ss(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);
__extern int fchmod(int, mode_t);
-__extern int fchmodat(int, const char *, mode_t);
__extern int mkdir(const char *, mode_t);
-__extern int mkdirat(int, const char *,...
2023 Feb 10
3
access "claim types"
...s
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 2016 serve...
2023 Mar 15
1
Empty folder deletion issue - Samba 4.15 thru 4.18
...se_directory)
>>>
>>>?close_directory: wrk/anly/testfolder/New folder/New folder2. Delete on
>>>close was set - deleting directory returned NT_STATUS_INVALID_PARAMETER.
>>>""""""
>>
>>That would normally mean the flags to unlinkat() were incorrect.
>>
>>Is this completely repeatable (i.e. any empty folder cannot
>>be removed) or is it only sometimes or on some shares ?
>>
>
>Very repeatable, create a directory on a share with a space in the
>name, login with smbclient to the share and the on...
2024 Oct 25
3
Kerberos ticket renew causes a brief network interruption
...hell = /bin/bash
winbind enum groups = Yes
winbind enum users = Yes
winbind separator = ^
winbind use default domain = Yes
workgroup = MAIL-STREET
full_audit:priority = notice
full_audit:facility = local5
full_audit:failure = none
full_audit:success = open close read write mkdirat renameat unlinkat openat
full_audit:prefix = %u|%I|%S
idmap config * : range = 10000-20000
idmap config * : backend = tdb
vfs objects = full_audit
[customers]
create mask = 0777
directory mask = 0777
force directory mode = 0777
force group = Yschijfusers
path = /var/local/customers
read only = No
valid...
2024 Oct 25
1
Kerberos ticket renew causes a brief network interruption
...gt; winbind enum users = Yes
> winbind separator = ^
> winbind use default domain = Yes
> workgroup = MAIL-STREET
> full_audit:priority = notice
> full_audit:facility = local5
> full_audit:failure = none
> full_audit:success = open close read write mkdirat renameat
> unlinkat openat full_audit:prefix = %u|%I|%S
> idmap config * : range = 10000-20000
> idmap config * : backend = tdb
> vfs objects = full_audit
>
>
> [customers]
> create mask = 0777
> directory mask = 0777
> force directory mode = 0777
> force group = Yschijfusers
>...
2013 Nov 08
0
[PATCH 2/3] syscalls: Add syscalls needed by arm64
...s(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 *);
<?> int renameat(int, const char *, int, const char *);
-int mknod(const char *, mode_t, dev_t);
+<?> int mknod(const char *,...
2013 Nov 12
0
[klibc:master] syscalls: Add syscalls needed by arm64
...s(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 *);
<?> int renameat(int, const char *, int, const char *);
-int mknod(const char *, mode_t, dev_t);
+<?> int mknod(const char *,...
2010 Dec 14
8
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...l.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...