s4-schema: don't name variables after standard libc functions
authorAndrew Tridgell <tridge@samba.org>
Wed, 13 Oct 2010 09:58:01 +0000 (20:58 +1100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 13 Oct 2010 11:00:04 +0000 (11:00 +0000)
source4/dsdb/samdb/ldb_modules/schema.c

index 77bf9dc21e29653e084c0ee92ecd2e1ba9d6fc9c..916017f97afc2181e6ca09b89f4ceee4efc96670 100644 (file)
@@ -61,7 +61,7 @@ int acl_check_access_on_class(struct ldb_module *module,
                              TALLOC_CTX *mem_ctx,
                              struct security_descriptor *sd,
                              struct dom_sid *rp_sid,
-                             uint32_t access,
+                             uint32_t access_mask,
                              const char *class_name)
 {
        int ret;
@@ -80,14 +80,14 @@ int acl_check_access_on_class(struct ldb_module *module,
                        goto fail;
                }
                if (!insert_in_object_tree(tmp_ctx,
-                                          guid, access,
+                                          guid, access_mask,
                                           &root, &new_node)) {
                        DEBUG(10, ("acl_search: cannot add to object tree guid\n"));
                        goto fail;
                }
        }
        status = sec_access_check_ds(sd, token,
-                                    access,
+                                    access_mask,
                                     &access_granted,
                                     root,
                                     rp_sid);