Lines Matching refs:modechecks
112 def checkmodes(self, modechecks): argument
126 if "s" in modechecks and t == "file":
132 if "o" in modechecks and o != "root" and ((m & stat.S_ISUID) == 0):
148 if "w" in modechecks and t == "file" and o != "root":
154 if ("m" in modechecks and
598 def addmanifest(self, root, mfile, arch, modechecks, exceptions): argument
681 if modechecks is not None and path not in exceptions:
682 modewarnings.update(self[path].checkmodes(modechecks))
690 def adddir(self, mdir, arch, modechecks, exceptions): argument
697 self.addmanifest(mdir, mfile, arch, modechecks, exceptions)
815 modechecks = set()
835 modechecks.update(DEFAULTMODECHECKS)
847 if listonly or len(modechecks) > 0:
850 if listonly and len(modechecks) > 0:
855 if len(togglemodechecks) > 0 and len(modechecks) == 0:
861 modechecks.symmetric_difference_update((s))
863 if len(modechecks) == 0:
864 modechecks = None
874 manifesttree.adddir(mdir, arch, modechecks, exceptions)
880 if modechecks is not None: