uid/gid based implementation of pax protections
Posted: Sat Jan 11, 2003 6:07 pm
Would it be feasible to modify the pax pageexec/segmexec protections to only apply to certain uids/gids?
Reasoning/example: On server-1 it is desirable to have protections on processes owned by root and daemon users, but the protection of the other non-priveleged users processes is not needed.
I'm hoping this would increase system performance by gaining back some of the overhead of page/seg protection wasted on silly user processes. I'm not sure if the code to check uids/gids would waste more resources than just protecting everything though.
Let me know if this sounds like a waste of time.
Reasoning/example: On server-1 it is desirable to have protections on processes owned by root and daemon users, but the protection of the other non-priveleged users processes is not needed.
I'm hoping this would increase system performance by gaining back some of the overhead of page/seg protection wasted on silly user processes. I'm not sure if the code to check uids/gids would waste more resources than just protecting everything though.
Let me know if this sounds like a waste of time.