| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
We've ifdef'd out the copyright strings for some time now. Go ahead and
remove the ifdefs. Plus whatever other detritis was left over from other
recent removals. These copyright strings are present in the comments and
are largely from CSRG's attempt at adding their copyright to every
binary file (which modern interpretations of the license doesn't
require).
Sponsored by: Netflix
|
|
|
|
|
|
|
|
| |
Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.
Sponsored by: Netflix
|
|
|
|
| |
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows an endless stream of random data within the given bounds.
It already worked if a seed was provided as the 4th argument but not
if one was left out.
In collaboration with: jhb
MFC after: 2 weeks
Relnotes: yes
Notes:
svn path=/head/; revision=346255
|
|
|
|
|
|
|
| |
Use caph_{rights,ioctls,fcntls}_limit to simplify the code.
Notes:
svn path=/head/; revision=340138
|
|
|
|
|
|
|
| |
No functional change intended.
Notes:
svn path=/head/; revision=335395
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.
Notes:
svn path=/head/; revision=326025
|
|
|
|
|
|
|
|
|
|
|
|
| |
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96
Notes:
svn path=/head/; revision=314436
|
|
|
|
|
|
|
|
|
|
|
|
| |
Limit descriptors and enter capability mode in jot(1).
Submitted by: brueffer (earlier version)
Reviewed by: emaste, jonathan (earlier version)
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D1345
Notes:
svn path=/head/; revision=307660
|
|
|
|
|
|
|
|
|
|
|
|
| |
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
Notes:
svn path=/head/; revision=216370
|
|
|
|
|
|
|
|
| |
PR: 123635
Submitted by: Ulrich Spörlein, uqs at spoerlein dot net
Notes:
svn path=/head/; revision=208728
|
|
|
|
|
|
|
| |
needed.
Notes:
svn path=/head/; revision=200462
|
|
|
|
|
|
|
| |
Tested with: make universe
Notes:
svn path=/head/; revision=200420
|
|
|
|
|
|
|
|
|
|
| |
PR: 136383
Submitted by: Ulrich Spoerlein - uqs at spoerlein dot net
Approved by: re (kib)
MFC after: 3 weeks
Notes:
svn path=/head/; revision=195443
|
|
|
|
| |
Notes:
svn path=/head/; revision=165029
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Obtained from: OpenBSD
Note: In the case of a full buffer the OpenBSD implementation will
leave in the format string an invalid escape sequence. This appears
to be harmless with our C library, but according to C99 this can
cause undefined behavior.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=164852
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note: It would be nice to be able to implement getformat() using
fmtcheck(3), but fmtcheck does not distinguish between signed and
unsigned types, a facility jot needs to perform range checks on its
output.
Submitted by: Per Kristian Hove
MFC after: 2 weeks
Notes:
svn path=/head/; revision=164851
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Reduce the number of global variables
- Make global objects static
- Use bool consistently
- Sort getopt arguments and their processing
- Add function comments
- Change notlast != 0 into !last
Notes:
svn path=/head/; revision=164046
|
|
|
|
|
|
|
|
|
|
|
| |
end values are specified.
PR: bin/68981
Submitted by: Stefan `Sec` Zehl
MFC after: 2 weeks
Notes:
svn path=/head/; revision=164043
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Up to now jot would fail to generate the last character in the range
or skew the integer distribution in a way that would generate the numbers
in the range's limits with half the probability of the rest.
This modification fixes the program, rather than documenting the
strange behavior, as suggested in docs/54879.
Also, correctly specify the range of random(3).
PR: docs/54879
MFC after: 2 weeks
Notes:
svn path=/head/; revision=164035
|
|
|
|
|
|
|
| |
to specify a default value.
Notes:
svn path=/head/; revision=164028
|
|
|
|
|
|
|
|
|
|
|
|
| |
sequence of random numbers.
This functionality was lost in revision 1.9 when the random number
generator was switched to arc4random.
PR: docs/54879
MFC after: 2 weeks
Notes:
svn path=/head/; revision=164026
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=164025
|
|
|
|
|
|
|
|
| |
Verified by: New regression tests in tools/regression/usr.bin/jot
MFC after: 2 weeks
Notes:
svn path=/head/; revision=164023
|
|
|
|
|
|
|
|
|
|
| |
While there, add some missing FALLTHROUGH comments.
Verified with: cmp(1) on the executable
MFC after: 2 weeks
Notes:
svn path=/head/; revision=164021
|
|
|
|
|
|
|
| |
signed chars.
Notes:
svn path=/head/; revision=132240
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
would print it with probability 1/2**32. It seems that the correct
behavior is to print 4 with probability 1/4, but I'd like to avoid
breaking POLA until all the range inconsistencies in jot can be fixed
in one pass. See PR for details.
PR: 54878
Submitted by: David Brinegar <jot.3.brinegar@spamgourmet.com>
Notes:
svn path=/head/; revision=118310
|
|
|
|
|
|
|
| |
<stdint.h> macros.
Notes:
svn path=/head/; revision=99457
|
|
|
|
| |
Notes:
svn path=/head/; revision=99112
|
|
|
|
| |
Notes:
svn path=/head/; revision=98255
|
|
|
|
|
|
|
| |
FBSDID.
Notes:
svn path=/head/; revision=98254
|
|
|
|
| |
Notes:
svn path=/head/; revision=92920
|
|
|
|
|
|
|
|
|
| |
constant, just in case uint32_t turns into a `short' ten years from now.
If this is MFC'd it will be necessary to hard-code the constant since
-stable doesn't have UINT32_MAX.
Notes:
svn path=/head/; revision=86197
|
|
|
|
|
|
|
|
|
|
| |
an int, not a long
Submitted by: Paul Herman <pherman@frenchfries.net>
PR#: alpha/31859
Notes:
svn path=/head/; revision=86196
|
|
|
|
|
|
|
|
|
|
| |
(well, at least one that gcc doesn't complain about). This fixes -r,
which rev. 1.16 broke.
Submitted by: bde
Notes:
svn path=/head/; revision=77441
|
|
|
|
| |
Notes:
svn path=/head/; revision=77287
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Noteworthy changes include:
* Use getopt(3).
* Fix overflows in -b and -w options.
* Use strlcpy(3) and snprintf(3) in favor of strcpy(3) and
sprintf(3), respectively. Also check return values of the former
two.
* Fix lots of other gratuitous differences with OpenBSD.
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=77276
|
|
|
|
| |
Notes:
svn path=/head/; revision=62871
|
|
|
|
|
|
|
|
|
|
|
| |
appropriate bounds-checking and typecasts based on our knowledge of
the desired conversion format specifier.
Simplify diagnostics and take care to print the correct conversion
format specifier when %l is involved.
Notes:
svn path=/head/; revision=55515
|
|
|
|
| |
Notes:
svn path=/head/; revision=50477
|
|
|
|
|
|
|
|
| |
PR: 12611
Reviewed by: markm
Notes:
svn path=/head/; revision=48997
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
aren't allowed and the right casts can be used for printf() statements.
Document the conversion specifier limitations and the fact that
arithmetic overflow causes a fatal error.
PR: 12611
Reported by: Frode Vatvedt Fjeld <frodef@acm.org>
Reviewed by: bde
Notes:
svn path=/head/; revision=48995
|
|
|
|
|
|
|
|
|
| |
warnings given) and modify source to use arc4random() instead of random().
Reviewed by: ache
Notes:
svn path=/head/; revision=47107
|
|
|
|
| |
Notes:
svn path=/head/; revision=30908
|
|
|
|
| |
Notes:
svn path=/head/; revision=27423
|
|
|
|
| |
Notes:
svn path=/head/; revision=26626
|
|
|
|
|
|
|
| |
Fix error with begin variable calculation
Notes:
svn path=/head/; revision=24419
|
|
|
|
| |
Notes:
svn path=/head/; revision=23698
|
|
|
|
|
|
|
|
|
| |
Add proper type casting to random calls
Should go into 2.2
Notes:
svn path=/head/; revision=23511
|
|
|
|
|
|
|
|
| |
>Category: bin
>Synopsis: -s option in jot is broken
Notes:
svn path=/head/; revision=13101
|