-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eighth import of some freebsd 13-stable features from Oct 28
- Loading branch information
Showing
2,048 changed files
with
85,135 additions
and
75,336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,6 @@ | |
*/ | ||
|
||
#include <sys/cdefs.h> | ||
|
||
#include <sys/types.h> | ||
|
||
#ifdef _KERNEL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,7 @@ | |
.\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp | ||
.\" ---------------------------------------------------------------------------- | ||
.\" | ||
.\" | ||
.Dd July 20, 2018 | ||
.Dd May 21, 2019 | ||
.Dt MDX 3 | ||
.Os | ||
.Sh NAME | ||
|
@@ -94,8 +93,7 @@ function is a wrapper for | |
.Fn MDXFinal | ||
which converts the return value to a 33-character | ||
(including the terminating '\e0') | ||
.Tn ASCII | ||
string which represents the 128 bits in hexadecimal. | ||
ASCII string which represents the 128 bits in hexadecimal. | ||
.Pp | ||
The | ||
.Fn MDXFile | ||
|
@@ -143,6 +141,26 @@ after use. | |
If the | ||
.Fa buf | ||
argument is non-null it must point to at least 33 characters of buffer space. | ||
.Sh ERRORS | ||
The | ||
.Fn MDXEnd | ||
function called with a null buf argument may fail and return NULL if: | ||
.Bl -tag -width Er | ||
.It Bq Er ENOMEM | ||
Insufficient storage space is available. | ||
.El | ||
.Pp | ||
The | ||
.Fn MDXFile | ||
and | ||
.Fn MDXFileChunk | ||
may return NULL when underlying | ||
.Xr open 2 , | ||
.Xr fstat 2 , | ||
.Xr lseek 2 , | ||
or | ||
.Xr MDXEnd 2 | ||
fail. | ||
.Sh SEE ALSO | ||
.Xr md4 3 , | ||
.Xr md5 3 , | ||
|
@@ -180,13 +198,12 @@ These functions appeared in | |
.Fx 2.0 . | ||
.Sh AUTHORS | ||
The original MDX routines were developed by | ||
.Tn RSA | ||
Data Security, Inc., and published in the above references. | ||
RSA Data Security, Inc., and published in the above references. | ||
This code is derived directly from these implementations by | ||
.An Poul-Henning Kamp Aq Mt [email protected] . | ||
.Pp | ||
Phk ristede runen. | ||
.Sh BUGS | ||
No method is known to exist which finds two files having the same hash value, | ||
nor to find a file with a specific hash value. | ||
There is on the other hand no guarantee that such a method does not exist. | ||
The MD5 algorithm has been proven to be vulnerable to practical collision | ||
attacks and should not be relied upon to produce unique outputs, | ||
.Em nor should they be used as part of a cryptographic signature scheme. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ | |
*/ | ||
|
||
#include <sys/cdefs.h> | ||
|
||
#include <sys/types.h> | ||
#include <sys/stat.h> | ||
#include <fcntl.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,6 @@ | |
*/ | ||
|
||
#include <sys/cdefs.h> | ||
|
||
#include <sys/types.h> | ||
|
||
#include <stdio.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,6 @@ | |
*/ | ||
|
||
#include <sys/cdefs.h> | ||
|
||
#include <sys/types.h> | ||
|
||
#include <stdio.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,6 @@ | |
*/ | ||
|
||
#include <sys/cdefs.h> | ||
|
||
#include <sys/types.h> | ||
|
||
#include <stdio.h> | ||
|
Oops, something went wrong.