s4:kdc: Implement KDC plugin hardware authentication policy
[samba.git] / source3 / modules / nfs4_acls.c
index 08ea77df913ef4519880b073e59493bd9597de64..c80f8390170b92a3e87e76571f833e2a4a86b229 100644 (file)
@@ -116,11 +116,11 @@ int smbacl4_get_vfs_params(struct connection_struct *conn,
        return 0;
 }
 
-int fstatat_with_cap_dac_override(int fd,
-                                 const char *pathname,
-                                 SMB_STRUCT_STAT *sbuf,
-                                 int flags,
-                                 bool fake_dir_create_times)
+static int fstatat_with_cap_dac_override(int fd,
+                                        const char *pathname,
+                                        SMB_STRUCT_STAT *sbuf,
+                                        int flags,
+                                        bool fake_dir_create_times)
 {
        int ret;
 
@@ -135,8 +135,8 @@ int fstatat_with_cap_dac_override(int fd,
        return ret;
 }
 
-int stat_with_cap_dac_override(struct vfs_handle_struct *handle,
-                              struct smb_filename *smb_fname, int flag)
+static int stat_with_cap_dac_override(struct vfs_handle_struct *handle,
+                                     struct smb_filename *smb_fname, int flag)
 {
        bool fake_dctime = lp_fake_directory_create_times(SNUM(handle->conn));
        int fd = -1;
@@ -192,8 +192,8 @@ int nfs4_acl_stat(struct vfs_handle_struct *handle,
        return ret;
 }
 
-int fstat_with_cap_dac_override(int fd, SMB_STRUCT_STAT *sbuf,
-                               bool fake_dir_create_times)
+static int fstat_with_cap_dac_override(int fd, SMB_STRUCT_STAT *sbuf,
+                                      bool fake_dir_create_times)
 {
        int ret;
 
@@ -548,7 +548,7 @@ static bool smbacl4_nfs42win(TALLOC_CTX *mem_ctx,
                    (win_ace_flags & (SEC_ACE_FLAG_OBJECT_INHERIT|
                                      SEC_ACE_FLAG_CONTAINER_INHERIT))) {
                        /*
-                        * GPFS sets inherits dir_inhert and file_inherit flags
+                        * GPFS sets inherits dir_inherit and file_inherit flags
                         * to files, too, which confuses windows, and seems to
                         * be wrong anyways. ==> Map these bits away for files.
                         */