I agree with your analysis. The example given in perlsec is at best confusing. Honestly, I am not convinced it would pass a code review.
So, the code could work correctly and maybe each line is there for a purpose but it is very far from clear as written. It would be useful if others more familiar with the internals of all this could chip in and correct any of my suppositions here which might well be wrong as it is not my area of expertise.
🦛
In reply to Re: Not understanding the code to drop privileges in perlsec
by hippo
in thread Not understanding the code to drop privileges in perlsec
by Nocturnus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |