def METHOD_NAME(self):
    before = "#if defined(__linux__) && defined(SYS_memfd_create)"
    after = "#if defined(__linux__) && defined(SYS_memfd_create) && defined(__NR_memfd_create)"
    f = "dttools/src/memfdexe.c"
    kwargs = {"ignore_absent": False, "backup": True, "string": True}
    filter_file(before, after, f, **kwargs)
    if self.spec.satisfies("%fj"):
        makefiles = ["chirp/src/Makefile", "grow/src/Makefile"]
        for m in makefiles:
            filter_file("-fstack-protector-all", "", m)
    # Remove two troublesome test cases:
    # TR_parrot_dir.sh fails b/c of variations in how Linux kernels
    # deal with open() on directories.
    os.unlink("parrot/test/TR_parrot_dir.sh")
    # TR_parrot_execve.sh fails b/c of the complexities of moving
    # a python interpreter around.
    os.unlink("parrot/test/TR_parrot_execve.sh")