CVS commit: [netbsd-5] src/usr.bin/calendar

2015-07-01 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Wed Jul  1 07:18:32 UTC 2015

Modified Files:
src/usr.bin/calendar [netbsd-5]: calendar.c

Log Message:
Pull up following revision(s) (requested by dholland in ticket #1971):
usr.bin/calendar/calendar.c: revision 1.51
Correct privilege handling problems in calendar -a (which runs as root
from /etc/daily); do not exec other programs while the real uid is
still 0.
Also, clear the supplementary groups list up front and call initgroups
when becoming another user, to avoid leaking any extra group
privileges that we might have.
And finally, don't silently ignore errors changing uid and gid; those
are serious if they happen.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.47.4.1 src/usr.bin/calendar/calendar.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5] src/usr.bin/calendar/calendars

2012-10-17 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Wed Oct 17 20:54:04 UTC 2012

Modified Files:
src/usr.bin/calendar/calendars [netbsd-5]: calendar.netbsd

Log Message:
Pull up following revision(s) (requested by jnemeth in ticket #1802):
usr.bin/calendar/calendars/calendar.netbsd: revision 1.22
note NetBSD 6.0 release


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.16.4.1 src/usr.bin/calendar/calendars/calendar.netbsd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.