307359 |
15-Oct-2016 |
bapt |
MFC r306852
Incorporate a change from OpenBSD by millert@OpenBSD.org
Don't warn about valid time zone abbreviations. POSIX through 2000 says that an abbreviation cannot start with ':', and cannot contain ',', '-', '+', NUL, or a digit. POSIX from 2001 on changes this rule to say that an abbreviation can contain only '-', '+', and alphanumeric characters from the portable character set in the current locale. To be portable to both sets of rules, an abbreviation must therefore use only ASCII letters." Adapted from tzcode2015f.
This is needed to be able to update tzdata to a newer version |
259073 |
07-Dec-2013 |
peter |
Hoist all the mergeinfo up to the root in preparation for enforcing merges to the root only. All MFC's were rerecorded to the root.
Going forward, if an MFC includes mergeinfo, it will need to be made to the root and committed from the root. Merges with --ignore-ancestry or diff | patch can go anywhere.
The mergeinfo in HEAD is in a bad state from years of neglect and manual tampering and this was branched into 10.x. This confuses the coalescing code and prevents it from doing its job.
Approved by: re (gjb, implicit) |
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
228342 |
08-Dec-2011 |
eadler |
- set progname for use in usage()
PR: bin/162908 Submitted by: Oleg Ginzburg <olevole@olevole.ru> Approved by: sbruno@ MFC after: 3 days
|
223758 |
04-Jul-2011 |
attilio |
With retirement of cpumask_t and usage of cpuset_t for representing a mask of CPUs, pc_other_cpus and pc_cpumask become highly inefficient.
Remove them and replace their usage with custom pc_cpuid magic (as, atm, pc_cpumask can be easilly represented by (1 << pc_cpuid) and pc_other_cpus by (all_cpus & ~(1 << pc_cpuid))).
This change is not targeted for MFC because of struct pcpu members removal and dependency by cpumask_t retirement.
MD review by: marcel, marius, alc Tested by: pluknet MD testing by: marcel, marius, gonzo, andreast
|
222813 |
07-Jun-2011 |
attilio |
etire the cpumask_t type and replace it with cpuset_t usage.
This is intended to fix the bug where cpu mask objects are capped to 32. MAXCPU, then, can now arbitrarely bumped to whatever value. Anyway, as long as several structures in the kernel are statically allocated and sized as MAXCPU, it is suggested to keep it as low as possible for the time being.
Technical notes on this commit itself: - More functions to handle with cpuset_t objects are introduced. The most notable are cpusetobj_ffs() (which calculates a ffs(3) for a cpuset_t object), cpusetobj_strprint() (which prepares a string representing a cpuset_t object) and cpusetobj_strscan() (which creates a valid cpuset_t starting from a string representation). - pc_cpumask and pc_other_cpus are target to be removed soon. With the moving from cpumask_t to cpuset_t they are now inefficient and not really useful. Anyway, for the time being, please note that access to pcpu datas is protected by sched_pin() in order to avoid migrating the CPU while reading more than one (possible) word - Please note that size of cpuset_t objects may differ between kernel and userland. While this is not directly related to the patch itself, it is good to understand that concept and possibly use the patch as a reference on how to deal with cpuset_t objects in userland, when accessing kernland members. - KTR_CPUMASK is changed and now is represented through a string, to be set as the example reported in NOTES.
Please additively note that no MAXCPU is bumped in this patch, but private testing has been done until to MAXCPU=128 on a real 8x8x2(htt) machine (amd64).
Please note that the FreeBSD version is not yet bumped because of the upcoming pcpu changes. However, note that this patch is not targeted for MFC.
People to thank for the time spent on this patch: - sbruno, pluknet and Nicholas Esborn (nick AT desert DOT net) tested several revision of the patches and really helped in improving stability of this work. - marius fixed several bugs in the sparc64 implementation and reviewed patches related to ktr. - jeff and jhb discussed the basic approach followed. - kib and marcel made targeted review on some specific part of the patch. - marius, art, nwhitehorn and andreast reviewed MD specific part of the patch. - marius, andreast, gonzo, nwhitehorn and jceel tested MD specific implementations of the patch. - Other people have made contributions on other patches that have been already committed and have been listed separately.
Companies that should be mentioned for having participated at several degrees: - Yahoo! for having offered the machines used for testing on big count of CPUs. - The FreeBSD Foundation for having sponsored my devsummit attendance, which has been instrumental. - Sandvine for having offered offices and infrastructure during development.
(I really hope I didn't forget anyone, if it happened I apologize in advance).
|
214411 |
27-Oct-2010 |
edwin |
Sync code with tzcode2010m
asctime.c: * Set errno to EINVAL and return "??? ??? ?? ??:??:?? ????\n" if asctime_r is called with a NULL struct tm pointer. (Note that asctime_r is called by ctime_r and asctime; asctime is called by ctime.)
localtime.c: * Set errno to EINVAL and return WRONG if time1 is called with a NULL struct tm pointer; avoid dereference if a NULL struct tm pointer is passed to timelocal, timegm, or timeoff. (Note that time1 is called by mktime, timegm, and timeoff; mktime is called by timelocal.) * more core-avoidance work * Change to set timezone and altzone based on time types with greatest transition times (for the benefit of Asia/Seoul).
zic.8: * Warning about case-sensitivity of names, but not of abbrevations
zic.c: * Conditionally output extra types with most-recently-use offsets last (for use by systems with pre-2011 versions of localtime.c, helping to ensure that globals "altzone and "timezone" get set correctly).
The code has been running for nearly four weeks on my laptop running FreeBSD 8.1 without a problem.
MFC after: 1 month
|
209201 |
15-Jun-2010 |
edwin |
Make mandoc/mdocml happy.
Submitted by: Uli(?) via gmane.comp.time.tz
|
207736 |
07-May-2010 |
mckusick |
Merger of the quota64 project into head.
This joint work of Dag-Erling Smørgrav and myself updates the FFS quota system to support both traditional 32-bit and new 64-bit quotas (for those of you who want to put 2+Tb quotas on your users).
By default quotas are not compiled into the kernel. To include them in your kernel configuration you need to specify:
options QUOTA # Enable FFS quotas
If you are already running with the current 32-bit quotas, they should continue to work just as they have in the past. If you wish to convert to using 64-bit quotas, use `quotacheck -c 64'; if you wish to revert from 64-bit quotas back to 32-bit quotas, use `quotacheck -c 32'.
There is a new library of functions to simplify the use of the quota system, do `man quotafile' for details. If your application is currently using the quotactl(2), it is highly recommended that you convert your application to use the quotafile interface. Note that existing binaries will continue to work.
Special thanks to John Kozubik of rsync.net for getting me interested in pursuing 64-bit quota support and for funding part of my development time on this project.
|
207590 |
03-May-2010 |
emaste |
Update GRANDPARENTED text to match the contents of tzdata/factory r19879. This eliminates "warning: time zone abbreviation differs from POSIX" on installworld to an empty filesystem.
Reviewed by: edwin MFC after: 1 week
|
204332 |
25-Feb-2010 |
edwin |
From contrib/tzcode: The Makefiles are leftovers from the copies and should live in usr.sbin/zic/*
From usr.sbin/zic: The sources are from a vendor contributed source, therefore should live in contrib/tzcode/zic.
|
204302 |
25-Feb-2010 |
edwin |
Copy usr.sbin/zic to contrib/tzcode/zic for the proper split of contributed code and FreeBSD specific code.
|
201390 |
02-Jan-2010 |
ed |
The last big commit: let usr.sbin/ use WARNS=6 by default.
|
200832 |
22-Dec-2009 |
edwin |
MFV of tzdata2009t, r200831
zic: - Fix URL / reference to Calendrical Calculations: Third Edition
libc/stdtime: - Fix typo in tzfile.5 (no changes in our part)
MFC after: 1 week
|
198831 |
02-Nov-2009 |
edwin |
MFV of r198828, tzcode2009q
- Cleanup unnecessary local variables in zdump. - Fix man-page
MFC after: 1 week
|
196587 |
27-Aug-2009 |
edwin |
MFV of r195794
MFV of tzcode2009k
zic.c: Do not end a binary file with a POSIX-style time zone string for locations that end up in permanent DST (thanks to Andreas Schwab).
|
192890 |
27-May-2009 |
edwin |
MFV of tzcode2009h revision r192887
- Clarify the license for the tzcode: public domain
MFC after: 1 month
|
192625 |
23-May-2009 |
edwin |
MFV of tzcode2009e:
Upgrade of the tzcode from 2004a to 2009e.
Changes are numerous, but include...
- New format of the output of zic, which supports both 32 and 64 bit time_t formats.
- zdump on 64 bit platforms will actually produce some output instead of doing nothing for a looooooooong time.
- linux_base-fX, with X >= at least 8, will work without problems related to the local time again.
The original patch, based on the 2008e, has been running for a long time on both my laptop and desktop machine and have been tested by other people.
After the installation of this code and the running of zic(8), you need to run tzsetup(8) again to install the new datafile.
Approved by: wollman@ for usr.sbin/zic MFC after: 1 month
|
184985 |
15-Nov-2008 |
keramida |
Finish a few more .Dl "quoted" arguments missed in revision 184984
|
184984 |
15-Nov-2008 |
keramida |
Add missing quotes to .Dl arguments.
This is harmless for the mandoc output, but it makes syntax highlighting of the .Dl argument string a bit prettier in Emacs.
|
183404 |
27-Sep-2008 |
edwin |
Bootstrap the merge history to r183403.
|
176407 |
19-Feb-2008 |
ru |
getopt(3) returns -1, not EOF.
|
174210 |
03-Dec-2007 |
kevlo |
zic(8) should exit the loop when the end of the string is reached due to the call to error(). The problem found by doing fuzz testing.
MFC after: 3 days
|
163484 |
18-Oct-2006 |
ru |
Normalize MAN.
|
141851 |
13-Feb-2005 |
ru |
Expand contractions.
|
140295 |
15-Jan-2005 |
ru |
Eliminate macro calls inside literal displays.
|
136708 |
19-Oct-2004 |
ru |
Make the -m option actually work.
|
131500 |
02-Jul-2004 |
ru |
Mechanically kill hard sentence breaks.
|
130819 |
20-Jun-2004 |
stefanf |
Merge changes from the tzcode2004a import.
|
130781 |
20-Jun-2004 |
stefanf |
This commit was generated by cvs2svn to compensate for changes in r130780, which included commits to RCS files with non-trunk default branches.
|
130778 |
20-Jun-2004 |
stefanf |
This commit was generated by cvs2svn to compensate for changes in r130777, which included commits to RCS files with non-trunk default branches.
|
113091 |
04-Apr-2003 |
obrien |
style.Makefile(5)
|
111414 |
24-Feb-2003 |
mikeh |
Check whether setmode(3) fails and deallocate its return value after calling getmode(3).
Approved by: wollman MFC after: 1 week
|
99968 |
14-Jul-2002 |
charnier |
The .Nm utility
|
80029 |
20-Jul-2001 |
obrien |
Perform a major cleanup of the usr.sbin Makefiles. These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
|
79859 |
18-Jul-2001 |
dd |
Set wollman as the MAINTAINER and mention the vendor contact. Ideally this entire subtree would be in src/contrib, but if that isn't going to happen at least this has a chance of warning off unsuspecting committers.
Approved by: wollman
|
79858 |
18-Jul-2001 |
dd |
Back out WARNS cleanup: this is apparently vendor code, even though most of the files aren't on the vendor branch.
Submitted by: wollman
|
79751 |
15-Jul-2001 |
dd |
Constify, add some prototypes, and set WARNS=2.
Submitted by: Mike Barcroft <mike@q9media.com>
|
74816 |
26-Mar-2001 |
ru |
- Backout botched attempt to introduce MANSECT feature. - MAN[1-9] -> MAN.
|
74532 |
20-Mar-2001 |
ru |
Set the default manual section for usr.sbin/ to 8.
|
70403 |
27-Dec-2000 |
ru |
Prepare for mdoc(7)NG.
|
69862 |
11-Dec-2000 |
ru |
mdoc(7) police: use canonical form of .Dd macro.
|
69315 |
28-Nov-2000 |
charnier |
-Wall cleaning
|
68965 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
61080 |
29-May-2000 |
charnier |
Typo Add FreeBSD Id
|
56494 |
23-Jan-2000 |
charnier |
Spelling. Add missing .El.
|
50479 |
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
50000 |
18-Aug-1999 |
chris |
Fix a bunch of broken cross-references
|
44233 |
23-Feb-1999 |
eivind |
Add a prototype to silence warnings.
|
43774 |
08-Feb-1999 |
wollman |
Fix mismerged error message.
Submitted by: charnier
|
43006 |
21-Jan-1999 |
wollman |
I don't know how this happened since I know I compiled this on my machine. Fix braino oflag -> uflag (or perhaps I should have gone the other way).
|
42997 |
21-Jan-1999 |
wollman |
Merge changes from vendor branch (tzcode1999a), plus the following additional changes:
- Finish migrating zic to its own private.h. - Fix zic.8 so that it really is written in -mdoc. - Add four new flags to zic (&document): -D don't create directories -u change ownership of newly-created files to user -g change ownership of newly-created files to group -m change mode of newly-created files to modespec These, once proven, can be used to clean up the installation.
Obtained from: ftp://elsie.nci.nih.gov/pub/tzcode1999a.tar.gz (partially)
|
42995 |
21-Jan-1999 |
wollman |
This commit was generated by cvs2svn to compensate for changes in r42994, which included commits to RCS files with non-trunk default branches.
|
42993 |
21-Jan-1999 |
wollman |
Remove two files replaced with HTML by vendor.
|
42992 |
21-Jan-1999 |
wollman |
This commit was generated by cvs2svn to compensate for changes in r42991, which included commits to RCS files with non-trunk default branches.
|
36702 |
06-Jun-1998 |
thepish |
PR: docs/5986 Submitted by: MITSUNAGA Noriaki mitchy@er.ams.eng.osaka-u.ac.jp Replace use of obsolete .q groff macro with .Dq
|
33078 |
04-Feb-1998 |
charnier |
Convert to mdoc.
|
30829 |
29-Oct-1997 |
charnier |
Use err(3). Rewrote man page using mdoc format.
|
24428 |
31-Mar-1997 |
imp |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
23859 |
13-Mar-1997 |
bde |
Remove old output file, if any, before creating the output file, in case the file is a stale link.
Reviewed by: wollman
|
22997 |
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
21673 |
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
17214 |
18-Jul-1996 |
wollman |
Merge from vendor branch. We are now completely up-to-date with respect to the ADO timezone code.
|
17212 |
18-Jul-1996 |
wollman |
This commit was generated by cvs2svn to compensate for changes in r17211, which included commits to RCS files with non-trunk default branches.
|
14270 |
27-Feb-1996 |
wosch |
Convert "time zone" to "timezone" in NAME section
Submitted by: obrien@cs.ucdavis.edu (David E. O'Brien)
|
14004 |
09-Feb-1996 |
mpp |
Another round of various man page cleanups.
|
13511 |
20-Jan-1996 |
mpp |
Fix a variety of minor typos and cross references in a bunch of man pages.
Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp> Giles Lean <giles@nemeton.com.au> <soda@sra.co.jp>
|
9937 |
05-Aug-1995 |
wollman |
Update timezone compiler and dumper to understand the new EC rules.
|
2706 |
13-Sep-1994 |
wollman |
FreeBSD port of timezone code.
|
2703 |
13-Sep-1994 |
wollman |
This commit was generated by cvs2svn to compensate for changes in r2702, which included commits to RCS files with non-trunk default branches.
|