CVSROOT: /cvs Module name: src Changes by: [email protected] 2024/03/22 13:14:28
Modified files:
usr.sbin/lpd : control.c
Log message:
Fix chroot(2) call in control process.
Use /var/empty as chroot directory. Call chroot(2) before setresuid(2).
Do the error check correctly. Call chdir(2) after chroot(2).
from spiros thanasoulas; with florian@ tb@; OK millert@
