Why can't you just clear the value during security_inode_foo()?
Note I'm seeing this as a way for Tomoyo to temporarily (maybe) work
around the mis-placement of the security_path_foo() hooks. I don't want
to add security_path_clear() hooks to "legitimize" the workaround. I'd
rather Tomoyo and Apparmor folks keep looking for a better way to get
real DAC-before-MAC.
--