search for: enoattr

Displaying 20 results from an estimated 20 matches for "enoattr".

2012 Jul 21
1
[PATCH] fuse:remove the unused macro when fuse is not available
...c/fuse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fuse.c b/src/fuse.c index 2bd6787..349a5b9 100644 --- a/src/fuse.c +++ b/src/fuse.c @@ -25,6 +25,7 @@ #include <sys/types.h> #include <sys/wait.h> +#if HAVE_FUSE /* See <attr/xattr.h> */ #ifndef ENOATTR #define ENOATTR ENODATA @@ -32,7 +33,6 @@ #define FUSE_USE_VERSION 26 -#if HAVE_FUSE #include <fuse.h> #include <fuse_lowlevel.h> #endif -- 1.7.11.2.249.g31c7954
2018 Nov 22
1
[PATCH] Fix include for xattr.h
...endif #include <guestfs.h> #include "guestfs-utils.h" diff --git a/lib/fuse.c b/lib/fuse.c index 1ac42330d3e7..52dc0bd99d11 100644 --- a/lib/fuse.c +++ b/lib/fuse.c @@ -35,7 +35,7 @@ #endif #if HAVE_FUSE -/* See <attr/xattr.h> */ +/* See <sys/xattr.h> */ #ifndef ENOATTR #define ENOATTR ENODATA #endif diff --git a/m4/guestfs-libraries.m4 b/m4/guestfs-libraries.m4 index 095dd38bf43b..6b2e8db9456d 100644 --- a/m4/guestfs-libraries.m4 +++ b/m4/guestfs-libraries.m4 @@ -36,7 +36,6 @@ AC_DEFINE_UNQUOTED([host_cpu],["$host_cpu"],[Host architecture.]) dnl He...
2007 Jan 29
5
ACLs fail in 3.0.23d
Whenever I try to read or modify ACLs from my Windows 2000 PDC, my Samba Domain Member Server (Security = ADS) does not allow setting ACLs, nor does it display the existing ACLs. - I have setup ACLs in my Kernel - I have translated and installed libacl and libattr - I can see and modify ACLs with getfacl and setfacl. - I have translated Samba 3.0.23d with --with-acl-support=yes - I have enabled
2009 Jul 27
1
supporting --fake-super on opensolaris (zfs) destination
...tr(const char *path, const char *name, void *value, size_t size) +{ + + + int attrfd; + size_t bufpos,r; + STRUCT_STAT fst; + + do_lstat(path,&fst); + if(S_ISLNK(fst.st_mode)) { + errno=EPERM; + return(-1); + } + + attrfd = attropen(path, name, O_RDONLY); + + if (attrfd<0) { + errno = ENOATTR; + return -1; + } + + + for(bufpos=0;bufpos<size;) { + r=read(attrfd,value+bufpos,512); + if (r==0) break; + if(r<0) { + return -errno; + } + bufpos+=r; + } +close(attrfd); +return (bufpos); + +} + +ssize_t sys_fgetxattr(int filedes, const char *name, void *value, size_t size) +{ + int a...
2019 Feb 08
0
[Announce] Samba 4.8.9 Available for Download
...NT_STATUS_NO_LOGON_SERVERS if winbindd is not available. * BUG 13752: s4:messaging: Add support 'smbcontrol <pid> debug/debuglevel'. o Anoop C S <anoopcs at redhat.com> * BUG 13330: vfs_glusterfs: Adapt to changes in libgfapi signatures. * BUG 13774: s3-vfs: Use ENOATTR in errno comparison for getxattr. o Martin Schwenke <martin at meltin.net> * BUG 13717: lib/util: Count a trailing line that doesn't end in a newline. o Ralph Wuerthner <ralph.wuerthner at de.ibm.com> * BUG 13741: vfs_fileid: Fix get_connectpath_ino. * BUG 13744: vfs_fi...
2019 Feb 08
0
[Announce] Samba 4.8.9 Available for Download
...NT_STATUS_NO_LOGON_SERVERS if winbindd is not available. * BUG 13752: s4:messaging: Add support 'smbcontrol <pid> debug/debuglevel'. o Anoop C S <anoopcs at redhat.com> * BUG 13330: vfs_glusterfs: Adapt to changes in libgfapi signatures. * BUG 13774: s3-vfs: Use ENOATTR in errno comparison for getxattr. o Martin Schwenke <martin at meltin.net> * BUG 13717: lib/util: Count a trailing line that doesn't end in a newline. o Ralph Wuerthner <ralph.wuerthner at de.ibm.com> * BUG 13741: vfs_fileid: Fix get_connectpath_ino. * BUG 13744: vfs_fi...
2019 Mar 12
0
[Announce] Samba 4.9.5 Available for Download
...t;pid> debug/debuglevel'. o Noel Power <noel.power at suse.com> * BUG 13616: Python: Ensure ldb.Dn can doesn't rencoded str with py2. o Anoop C S <anoopcs at redhat.com> * BUG 13330: vfs_glusterfs: Adapt to changes in libgfapi signatures. * BUG 13774: s3-vfs: Use ENOATTR in errno comparison for getxattr. o Jiří Šašek <jiri.sasek at oracle.com> * BUG 13704: notifyd: Fix SIGBUS on sparc. o Christof Schmitt <cs at samba.org> * BUG 13787: waf: Check for libnscd. o Andreas Schneider <asn at samba.org> * BUG 13770: s3:vfs: Correctly check...
2019 Mar 12
0
[Announce] Samba 4.9.5 Available for Download
...t;pid> debug/debuglevel'. o Noel Power <noel.power at suse.com> * BUG 13616: Python: Ensure ldb.Dn can doesn't rencoded str with py2. o Anoop C S <anoopcs at redhat.com> * BUG 13330: vfs_glusterfs: Adapt to changes in libgfapi signatures. * BUG 13774: s3-vfs: Use ENOATTR in errno comparison for getxattr. o Jiří Šašek <jiri.sasek at oracle.com> * BUG 13704: notifyd: Fix SIGBUS on sparc. o Christof Schmitt <cs at samba.org> * BUG 13787: waf: Check for libnscd. o Andreas Schneider <asn at samba.org> * BUG 13770: s3:vfs: Correctly check...
2012 Mar 28
2
[PATCH v2] New APIs: mount-local and umount-local using FUSE
This version doesn't crash or cause hung processes or stuck mountpoints, so that's an improvement. Rich.
2012 Mar 27
3
[PATCH 0/3] Enable FUSE support in the API via 'mount-local' call.
This patch is just for review. It enables FUSE support in the API via two new calls, 'guestfs_mount_local' and 'guestfs_umount_local'. FUSE turns out to be very easy to deadlock (necessitating that the machine be rebooted). Running the test from the third patch is usually an effective way to demonstrate this. However I have not yet managed to produce a simple reproducer that
2012 Mar 29
3
[PATCH v3] New APIs: mount-local, mount-local-run and umount-local using FUSE
This changes the proposed API slightly. Previously 'mount-local' generating a 'mounted' event when the filesystem was ready, and from the 'mounted' event you had to effectively do a fork. Now, 'mount-local' just initializes the mountpoint and you have to call 'mount-local-run' to enter the FUSE main loop. Between these calls you can do a fork or whatever
2019 Feb 06
0
[Announce] Samba 4.10.0rc2 Available for Download
...in machinereadable stats. o Stefan Metzmacher <metze at samba.org> * BUG 13752: s4:server: Add support for 'smbcontrol samba shutdown'. o Anoop C S <anoopcs at redhat.com> * BUG 13330: vfs_glusterfs: Adapt to changes in libgfapi signatures. * BUG 13774: s3-vfs: Use ENOATTR in errno comparison for getxattr. o Justin Stephenson <jstephen at redhat.com> * BUG 13727: s3:libsmb: Honor disable_netbios option in smbsock_connect_send. KNOWN ISSUES ============ https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.10#Release_blocking_bugs #############...
2019 Feb 06
0
[Announce] Samba 4.10.0rc2 Available for Download
...in machinereadable stats. o Stefan Metzmacher <metze at samba.org> * BUG 13752: s4:server: Add support for 'smbcontrol samba shutdown'. o Anoop C S <anoopcs at redhat.com> * BUG 13330: vfs_glusterfs: Adapt to changes in libgfapi signatures. * BUG 13774: s3-vfs: Use ENOATTR in errno comparison for getxattr. o Justin Stephenson <jstephen at redhat.com> * BUG 13727: s3:libsmb: Honor disable_netbios option in smbsock_connect_send. KNOWN ISSUES ============ https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.10#Release_blocking_bugs #############...
2019 Feb 22
0
[Announce] Samba 4.10.0rc3 Available for Download
...in machinereadable stats. o Stefan Metzmacher <metze at samba.org> * BUG 13752: s4:server: Add support for 'smbcontrol samba shutdown'. o Anoop C S <anoopcs at redhat.com> * BUG 13330: vfs_glusterfs: Adapt to changes in libgfapi signatures. * BUG 13774: s3-vfs: Use ENOATTR in errno comparison for getxattr. o Justin Stephenson <jstephen at redhat.com> * BUG 13727: s3:libsmb: Honor disable_netbios option in smbsock_connect_send. KNOWN ISSUES ============ https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.10#Release_blocking_bugs #############...
2019 Feb 22
0
[Announce] Samba 4.10.0rc3 Available for Download
...in machinereadable stats. o Stefan Metzmacher <metze at samba.org> * BUG 13752: s4:server: Add support for 'smbcontrol samba shutdown'. o Anoop C S <anoopcs at redhat.com> * BUG 13330: vfs_glusterfs: Adapt to changes in libgfapi signatures. * BUG 13774: s3-vfs: Use ENOATTR in errno comparison for getxattr. o Justin Stephenson <jstephen at redhat.com> * BUG 13727: s3:libsmb: Honor disable_netbios option in smbsock_connect_send. KNOWN ISSUES ============ https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.10#Release_blocking_bugs #############...
2019 Mar 06
0
[Announce] Samba 4.10.0rc4 Available for Download
...in machinereadable stats. o Stefan Metzmacher <metze at samba.org> * BUG 13752: s4:server: Add support for 'smbcontrol samba shutdown'. o Anoop C S <anoopcs at redhat.com> * BUG 13330: vfs_glusterfs: Adapt to changes in libgfapi signatures. * BUG 13774: s3-vfs: Use ENOATTR in errno comparison for getxattr. o Justin Stephenson <jstephen at redhat.com> * BUG 13727: s3:libsmb: Honor disable_netbios option in smbsock_connect_send. KNOWN ISSUES ============ https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.10#Release_blocking_bugs #############...
2019 Mar 06
0
[Announce] Samba 4.10.0rc4 Available for Download
...in machinereadable stats. o Stefan Metzmacher <metze at samba.org> * BUG 13752: s4:server: Add support for 'smbcontrol samba shutdown'. o Anoop C S <anoopcs at redhat.com> * BUG 13330: vfs_glusterfs: Adapt to changes in libgfapi signatures. * BUG 13774: s3-vfs: Use ENOATTR in errno comparison for getxattr. o Justin Stephenson <jstephen at redhat.com> * BUG 13727: s3:libsmb: Honor disable_netbios option in smbsock_connect_send. KNOWN ISSUES ============ https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.10#Release_blocking_bugs #############...
2019 Mar 19
1
[Announce] Samba 4.10.0 Available for Download
...in machinereadable stats. o Stefan Metzmacher <metze at samba.org> * BUG 13752: s4:server: Add support for 'smbcontrol samba shutdown'. o Anoop C S <anoopcs at redhat.com> * BUG 13330: vfs_glusterfs: Adapt to changes in libgfapi signatures. * BUG 13774: s3-vfs: Use ENOATTR in errno comparison for getxattr. o Justin Stephenson <jstephen at redhat.com> * BUG 13727: s3:libsmb: Honor disable_netbios option in smbsock_connect_send. KNOWN ISSUES ============ https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.10#Release_blocking_bugs #############...
2019 Mar 19
1
[Announce] Samba 4.10.0 Available for Download
...in machinereadable stats. o Stefan Metzmacher <metze at samba.org> * BUG 13752: s4:server: Add support for 'smbcontrol samba shutdown'. o Anoop C S <anoopcs at redhat.com> * BUG 13330: vfs_glusterfs: Adapt to changes in libgfapi signatures. * BUG 13774: s3-vfs: Use ENOATTR in errno comparison for getxattr. o Justin Stephenson <jstephen at redhat.com> * BUG 13727: s3:libsmb: Honor disable_netbios option in smbsock_connect_send. KNOWN ISSUES ============ https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.10#Release_blocking_bugs #############...
2009 Nov 09
1
use STREQ(a,b), not strcmp(a,b) == 0
...rintf (entry->pathname, len, "%s/%s", path, name); diff --git a/fuse/guestmount.c b/fuse/guestmount.c index 4547b3d..c7220c0 100644 --- a/fuse/guestmount.c +++ b/fuse/guestmount.c @@ -745,7 +745,7 @@ fg_getxattr (const char *path, const char *name, char *value, size_t i; int r = -ENOATTR; for (i = 0; i < xattrs->len; ++i) { - if (strcmp (xattrs->val[i].attrname, name) == 0) { + if (STREQ (xattrs->val[i].attrname, name)) { size_t sz = xattrs->val[i].attrval_len; if (sz > size) sz = size; @@ -993,13 +993,13 @@ main (int argc, char *ar...