[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Fri Jul 29 13:09:01 UTC 2022


The branch, master has been updated
       via  7a6bd227989 lib:replace: Remove <sys/mount.h> from filesys.h
      from  15c86028a86 CVE-2022-32743 s4:rpc_server/netlogon: Reconnect to samdb as workstation account

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 7a6bd2279897ed389d10f09e5b315a7bca96e7d4
Author: Andreas Schneider <asn at samba.org>
Date:   Fri Jul 29 10:08:24 2022 +0200

    lib:replace: Remove <sys/mount.h> from filesys.h
    
    You need to be careful if you include <sys/mount.h> or <linux/mount.h>
    at least since glibc 2.36.
    
    Details at:
    https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=15132
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Guenther Deschner <gd at samba.org>
    
    Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date(master): Fri Jul 29 13:08:36 UTC 2022 on sn-devel-184

-----------------------------------------------------------------------

Summary of changes:
 lib/replace/system/filesys.h | 4 ----
 1 file changed, 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/replace/system/filesys.h b/lib/replace/system/filesys.h
index 034e5d5886c..190c6b90f93 100644
--- a/lib/replace/system/filesys.h
+++ b/lib/replace/system/filesys.h
@@ -36,10 +36,6 @@
 #include <sys/param.h>
 #endif
 
-#ifdef HAVE_SYS_MOUNT_H
-#include <sys/mount.h>
-#endif
-
 #ifdef HAVE_MNTENT_H
 #include <mntent.h>
 #endif


-- 
Samba Shared Repository



More information about the samba-cvs mailing list