Changeset 862 for trunk/server/source3/lib/system.c
- Timestamp:
- May 13, 2014, 11:39:04 AM (11 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 860
- Property svn:mergeinfo changed
-
trunk/server/source3/lib/system.c
r751 r862 888 888 889 889 /******************************************************************* 890 An fdopendir wrapper that will deal with 64 bit filesizes. 891 Ugly hack - we need dirfd for this to work correctly in the 892 calling code.. JRA. 890 An fdopendir wrapper. 893 891 ********************************************************************/ 894 892 895 893 SMB_STRUCT_DIR *sys_fdopendir(int fd) 896 894 { 897 #if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(HAVE_FDOPENDIR64) && defined(HAVE_DIRFD)895 #if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(HAVE_FDOPENDIR64) 898 896 return fdopendir64(fd); 899 #elif defined(HAVE_FDOPENDIR) && defined(HAVE_DIRFD)897 #elif defined(HAVE_FDOPENDIR) 900 898 return fdopendir(fd); 901 899 #else … … 1815 1813 /* Iterate through extattr(2) namespaces */ 1816 1814 for(t = 0; t < (sizeof(extattr)/sizeof(extattr[0])); t++) { 1815 if (t != EXTATTR_NAMESPACE_USER && geteuid() != 0) { 1816 /* ignore all but user namespace when we are not root, see bug 10247 */ 1817 continue; 1818 } 1817 1819 switch(type) { 1818 1820 #if defined(HAVE_EXTATTR_LIST_FILE)
Note:
See TracChangeset
for help on using the changeset viewer.