Sudo resets the resource limits early in its execution so the plugin cannot tell what the original limits were itself.