in reply to Not understanding the code to drop privileges in perlsec
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.
🦛
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Not understanding the code to drop privileges in perlsec
by ikegami (Patriarch) on Feb 22, 2024 at 14:46 UTC | |
by Nocturnus (Scribe) on Feb 22, 2024 at 19:45 UTC | |
by Nocturnus (Scribe) on Feb 22, 2024 at 20:05 UTC | |
|
Re^2: Not understanding the code to drop privileges in perlsec
by Nocturnus (Scribe) on Feb 22, 2024 at 19:26 UTC |