aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2019-09-10 04:21:48 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2019-09-10 04:21:48 +0000
commite67975d3310fc8745e049a178fae4429b0f10fda (patch)
tree7f9de52f149449fdf4fa81c5d7e1449c60800028 /gnu
parent1e01d2dcacb5802484bbfe9b86613868a93ff312 (diff)
Fix 'calendar -a' in several ways.
o Do not run any iconv() processing in -a. The locale of root user is not what is desired by most of the users who receive their calendar mail. Just assume that users store their calendars in a format that is readable to them. This fixes regression from r344340. o fork() and setusercontext(LOGIN_SETALL) for every user. This makes LANG set inside a calendar file mostly excessive, as we will pick up user's login class LANG. o This also executes complex function cal() that parses user owned files with appropriate user privileges. Previously it was run with privileges dropped only temporary for execution of cal(), and fully dropped only before invoking sendmail (see r22473). Reviewed by: bapt (older version of patch)
Notes
svn path=/head/; revision=352116
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions