every smoke-test to have the same values. Add F_SET, F_CLR, F_ISSET macros, simplify checks for the "permanent" flag.