Lines Matching refs:modechecks
109 def checkmodes(self, modechecks): argument
123 if "s" in modechecks and t == "file":
129 if "o" in modechecks and o != "root" and ((m & stat.S_ISUID) == 0):
145 if "w" in modechecks and t == "file" and o != "root":
151 if ("m" in modechecks and
577 def addmanifest(self, root, mfile, arch, modechecks, exceptions): argument
656 if modechecks is not None and path not in exceptions:
657 modewarnings.update(self[path].checkmodes(modechecks))
665 def adddir(self, mdir, arch, modechecks, exceptions): argument
672 self.addmanifest(mdir, mfile, arch, modechecks, exceptions)
790 modechecks = set()
810 modechecks.update(DEFAULTMODECHECKS)
822 if listonly or len(modechecks) > 0:
825 if listonly and len(modechecks) > 0:
830 if len(togglemodechecks) > 0 and len(modechecks) == 0:
836 modechecks.symmetric_difference_update((s))
838 if len(modechecks) == 0:
839 modechecks = None
849 manifesttree.adddir(mdir, arch, modechecks, exceptions)
855 if modechecks is not None: