Commit Briefs

95866557f1 Martijn van Duren

Only close the fd if its actually open.


0839361405 Martijn van Duren

Slightly clearer error message on !permit.


76b35bc9c1 Martijn van Duren

Do proper return value checking around close.


332482f3bb Martijn van Duren

Do seteuid check for clearer error message.



13ffdf3b37 Martijn van Duren

Use waitpid instead of wait, since it's better practice.


73964625c8 Martijn van Duren

Change ruid back to original value before calling authuser.

TIOCCHKVERAUTH comares the ruids, which made doas and vias logout one another.


79c9b1b2fa Martijn van Duren

Remove all OpenBSD headers to distantiate this code from the project.

Add a README that warns of the risks.


09a12e37c3 Martijn van Duren

Import vias