Had some thoughts about what you wrote Brad.
If I understand what the kernel is doing, the directory creation is not considered complete until the control files are in place.
This would make sense for a filesystem specialized in process and task control.
You probably right, the kernel doesn't update the directory entry until it consider the directory complete.
From the other side the kernel should have some way, should call a "user exit", using an old Big Blue definition, when the job is finished: inotifywatch works correctly, as we verified.
I guess grsecurity doesn't have any reason to look "inside" such a directory, the kernel knows what is doing and grsecurity has no reasons or right to interfere with such a process bounded inside the kernel domain.
I picture in the future other specialized control filesystem will probably have some role in the linux kernel life.
Wouldn't be a good idea to change grsecurity to handle in the correct way this schema?
Just curiosity Brad, if it sounds confused or if you don't have time, throw my question in your trash
Orfheo.