Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142299222
D29850.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D29850.diff
View Options
diff --git a/sys/sys/param.h b/sys/sys/param.h
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -54,13 +54,29 @@
*
* documentation/content/en/books/porters-handbook/versions/_index.adoc
*
- * scheme is: <major><two digit minor>Rxx
+ * Encoding: <major><two digit minor>Rxx
* 'R' is in the range 0 to 4 if this is a release branch or
* X.0-CURRENT before releng/X.0 is created, otherwise 'R' is
* in the range 5 to 9.
+ * Short hand: MMmmXXX
+ *
+ * __FreeBSD_version is bumped every time there's a change in the base system
+ * that's noteworthy. A noteworthy change is any change which changes the
+ * kernel's KBI in -CURRENT, one that changes some detail about the system that
+ * external software (or the ports system) would want to know about, one that
+ * adds a system call, one that adds or deletes a shipped library, a secuirty
+ * fix, or similar change not specifically noted here. Bumps should be limited
+ * to one per day / a couple per week except for security fixes.
+ *
+ * The approved way to obtain this from a shell script is:
+ * awk '/^\#define[[:space:]]*__FreeBSD_version/ {print $3}'
+ * Other methods to parse this file may work, but are not guaranteed against
+ * future changes. The above script works back to FreeBSD 3.x when this macro
+ * was introduced. This number is propigated to other places needing it that
+ * cannot include sys/param.h and should only be updated here.
*/
#undef __FreeBSD_version
-#define __FreeBSD_version 1400013 /* Master, propagated to newvers */
+#define __FreeBSD_version 1400013
/*
* __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 19, 8:04 AM (6 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27736688
Default Alt Text
D29850.diff (1 KB)
Attached To
Mode
D29850: param.h: Document __FreeBSD_version better
Attached
Detach File
Event Timeline
Log In to Comment