Commit Graph

200 Commits

Author SHA1 Message Date
dholland 3b1701b0a5 Repair accidental regression in -r1.49: for -a mode, don't allow
calendars to be other than regular files unless the -x option is in
effect.

(If not in -a mode, we're running purely as the user whose calendar it
is and if they want to DoS themselves with named pipes it's their own
lookout.)
2015-07-01 06:48:25 +00:00
dholland c1180ac6a1 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.
2015-07-01 06:45:51 +00:00
snj 68a743c9eb Update for 2015 dates. From Jeff Woodall in PR misc/49587, with
a typo fixed in Election Day (and the "even years" bit removed).
2015-04-23 06:19:10 +00:00
jnemeth 71db0be446 note birth and death of Douglas Adams 2015-03-11 17:35:16 +00:00
wiz ac40b25ccf Fix year of Hawaiian Admission Day. From Henning Petersen in PR 49123. 2014-08-17 10:01:14 +00:00
msaitoh e5ef5a5dc5 Remove duplicated lines. 2014-05-30 19:01:52 +00:00
msaitoh 42c09e06f3 Add 5.1.4, 5.2.2. 6.0.4 and 6.1.3. 2014-05-30 08:36:28 +00:00
jnemeth 88eea82455 Happy Towel Day! 2014-05-25 16:08:11 +00:00
snj 1f0d8af3c5 Add 6.0.5 and 6.1.4. 2014-04-19 15:51:46 +00:00
skrll 6d3ceb1d61 Rename NetBSD/hp700 to NetBSD/hppa.
Unfortunately our VCS isn't very helpful here.
2014-02-24 07:23:38 +00:00
jnemeth 020285b36a add today's releases: 5.1.4, 5.2.2, 6.0.4, and 6.1.3 2014-01-27 21:00:02 +00:00
mbalmer 4675096298 Nelson Mandela died today, aged 95. I whish farewell to a great statesman. 2013-12-05 22:06:13 +00:00
christos 232e5144bb reorganize to make clear variable use. 2013-11-09 15:57:15 +00:00
mbalmer 0382fd8b79 No more walk on the wild side. RIP Lou Reed. 2013-10-27 18:30:49 +00:00
jnemeth 694b13b9ba delete duplicate (and wrong) entry for Thanksgiving Day in Canada 2013-10-13 16:43:49 +00:00
riz 985d0231c0 NetBSD 6.0.3 and 6.1.2 released. 2013-09-30 03:50:31 +00:00
jnemeth 0acf56cdc6 add NetBSD 5.1.3 and 5.2.1 releases 2013-09-29 07:43:43 +00:00
jnemeth 571c39977c use spaces, not tabs 2013-09-01 10:17:58 +00:00
jnemeth 50fa456661 add NetBSD 6.1.1 release 2013-09-01 10:16:19 +00:00
jnemeth d294950c6a add release dates for 6.0.1 and 6.1 2013-05-22 01:29:59 +00:00
wiz 924b1b5820 correct spelling is "Christiaan Huygens"; from James J. Lippard
via jmc@openbsd
2013-04-14 08:03:15 +00:00
simonb 044781f677 We only need to be told once about Lee-Jackson Day in Virginia today.
Remove a duplicate for Memorial Day in Michigan while we're here.
2013-01-20 23:52:43 +00:00
mbalmer 022a461990 It's Henry _Morton_ Stanley and Dr. Livingston_e_. Unfortunately. they did
not meet at an airport.
2012-11-11 20:25:19 +00:00
jnemeth c8dac53719 note NetBSD 6.0 release 2012-10-17 18:30:33 +00:00
jnemeth a8f4028e66 Update all variable days
- religious holidays taken from Wikipedia where available
- floating days (i.e. X day of Y month) taken from cal(1)
- NetBSD releases taken from http://www.netbsd.org/releases/formal.html#history
  - hopefully somebody will update this for the 6.0 release

Hopefully, these days will be correct for the first year of NetBSD 6.0.
2012-05-05 01:29:56 +00:00
matthias 3b1e581385 Stop playing games with stdin and stdout file descriptors.
calendar did not work with nss_ldap installed. Typical symptoms were
      cc1: error: stdout: Bad file descriptor
in daily.out.
2012-04-03 12:03:04 +00:00
mbalmer a51a64158b Add towns to dmr's dates. 2011-10-13 07:44:27 +00:00
mbalmer 67aae85cd8 Dennis "dmr" Ritchie R.I.P. 2011-10-13 07:41:32 +00:00
jnemeth 86de657587 add an entry about the US nationalising gold to replace old confiscation entry 2011-06-06 03:15:14 +00:00
mbalmer 44190c279c On december 16, 1991, Kazakhstan declared its independence from the USSR. 2011-04-28 07:42:20 +00:00
dholland 3e1a0ddeec Ahem. "Battle" of Wounded Knee? How about "massacre"?
XXX: this file needs a *lot* of attention.
2010-12-02 08:36:02 +00:00
riz 3f1d9ecd93 Fix spelling of "whether", from Ryo HAYASAKA in PR 43432. 2010-06-08 03:08:47 +00:00
jnemeth c8bd5cbe3b The US formally left the Gold Standard in 1971, not 1933. See:
http://en.wikipedia.org/wiki/Nixon_Shock
2010-06-05 20:53:44 +00:00
joerg 80ab18e84a Reorder sections to canonical order. 2010-05-14 16:45:41 +00:00
jnemeth c14fd5dcde first Apple Macintosh, 1984 2010-01-24 22:56:12 +00:00
simonb dea9b0fedb Use TAB as a separator to be consistent with the rest of this file. 2010-01-21 01:59:09 +00:00
jnemeth a485eea416 add Buzz Aldrin, second man on the moon 2010-01-20 22:56:59 +00:00
dholland ea99ee8691 fix some typos 2010-01-11 09:03:46 +00:00
jnemeth 0ec6aab4dd add Stephen Hawking, 68 today 2010-01-09 01:24:18 +00:00
wiz 3d8b25a8ff Fix problem of reporting wrong matches noted in PR 41945 by using a patch
provided by Robert Elz in that PR.
2009-12-08 13:49:08 +00:00
dholland 92142a498e Make documentation of -f flag match the implementation. Bump date. 2009-08-27 04:18:29 +00:00
tron cef801c39d Chuck Berry was born in St. Louis, Missouri, and not in St. Jose,
California. Patch submitted by Marc Balmer in private e-mail.
2009-06-07 10:25:39 +00:00
snj a1602d4a22 Fix some longstanding typos and remove an entry that is both redundant
and wrong at the same time.
2009-05-27 17:17:03 +00:00
snj eced0c510c Bah, fix typo in last: 2006, not 2005. 2009-04-30 16:23:58 +00:00
snj 78ee216a46 Add NetBSD 3.1. 2009-04-30 16:20:50 +00:00
wiz 749e1a3b98 void tabs, for consistency. 2009-04-29 22:34:31 +00:00
snj 215e6d35e2 NetBSD 5.0. 2009-04-29 22:25:03 +00:00
lukem c1ceae17f0 Enable WARNS=4 by default for usr.bin, except for:
awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
2009-04-14 22:15:16 +00:00
dholland b458f98fad If the parser scrapes up something it thinks is positionally a month, but
is numerically out of range, do something reasonable instead of crashing.
PR bin/39627.
2008-09-30 05:51:41 +00:00
jnemeth 60d26697e2 Updated UK Bank Holidays based on http://en.wikipedia.org/wiki/Bank_holiday
Thanks to perry@ for pointing me to this page.
2008-09-10 01:39:00 +00:00