Re: cron: use absolute paths in pathnames.h

2015-11-12 Thread Jérémie Courrèges-Anglas
"Todd C. Miller" writes: > On Thu, 12 Nov 2015 09:24:41 -0700, "Todd C. Miller" wrote: > >> This also gets rid of set_cron_cwd(), cron now chdirs to '/' via >> daemon(3). We can assume that the cron/at dirs were created at >> install time and we can't actually create them with the correct >> mod

Re: cron: use absolute paths in pathnames.h

2015-11-12 Thread Todd C. Miller
On Thu, 12 Nov 2015 09:24:41 -0700, "Todd C. Miller" wrote: > This also gets rid of set_cron_cwd(), cron now chdirs to '/' via > daemon(3). We can assume that the cron/at dirs were created at > install time and we can't actually create them with the correct > mode or group due to pledge anyway. >

cron: use absolute paths in pathnames.h

2015-11-12 Thread Todd C. Miller
This also gets rid of set_cron_cwd(), cron now chdirs to '/' via daemon(3). We can assume that the cron/at dirs were created at install time and we can't actually create them with the correct mode or group due to pledge anyway. I've moved the setegid(crontab) bit to open_socket() where it is actu