| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
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
|
| |
|
|
|
|
|
| |
These do not use __FBSDID but instead use bare char arrays.
Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D41957
|
| |
|
|
|
|
|
|
| |
A few functions snuck in with K&R style definitions.
Also add some missing memory frees.
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The change from "slave" processes to "minion" processes to "worker"
processes left some less-than-coherent names:
1. "enslave" turned into the ungrammatical "enworker".
2. "slp" (SLave Pointer) turned into "mlp" (Minion [L] Pointer?).
Convert "enworker" to "create_workers" (the function in question forks
off 3 worker processes), and replace "mlp" with "wp" (Worker Pointer)
and "tmlp" with "twp" (Temporary Worker Pointer).
Reviewed by: imp, cem, danfe
Differential Revision: https://reviews.freebsd.org/D25403
Notes:
svn path=/head/; revision=362557
|
| |
|
|
|
|
|
|
| |
Go ahead and replace the distasteful slave language for worker processes
with the straightforward description, "worker(s)."
Notes:
svn path=/head/; revision=362447
|
| |
|
|
|
|
|
|
| |
While whimsical, there's too much negative energy around minion as well as the
positive.
Notes:
svn path=/head/; revision=362444
|
| |
|
|
|
|
|
|
| |
variables accordingly. Thankfully, we are able to do this without additional
banana expenditures.
Notes:
svn path=/head/; revision=362422
|
| |
|
|
|
|
|
|
|
|
|
|
| |
utilities so that they will compile with -fno-common.
Started by: Kyle Evans (kevans)
Reviewed by: Kyle Evans (kevans)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D24210
Notes:
svn path=/head/; revision=359627
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
We shouldn't count the bytes set in c_addr for TS_CLRI and TS_BITS
nodes. Those block overload c_count to communicate how many blocks
follow, not now many c_addr spaces are used. Dump would dump core
(now) because memory layout moved around and we'd access elements past
the end to make a count.
Reviewed by: kib@
Notes:
svn path=/head/; revision=334979
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Add some asserts that prevents the overflows of c_addr. This can't
happen, absent bugs. However, certain large filesystems can cause
problems. These have been prevented by r334968, but a solution
is needed. These asserts will help assure that solution is correct.
PR: 228807
Reviewed by: db
Notes:
svn path=/head/; revision=334969
|
| |
|
|
|
|
|
|
|
|
|
|
| |
change conflicting function names:
getino => getinode
bread => blkread
No functional change.
Notes:
svn path=/head/; revision=327253
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
include sys/time.h instead of time.h. This include is incorrect as
per the manpages for the APIs and the POSIX definitions. This commit
replaces sys/time.h where necessary with time.h.
The commit also includes some minor style(9) header fixup in newfs.
This commit is part of a larger effort by Garrett Cooper started in
//depot/user/gcooper/posix-conformance-work/ -- to make FreeBSD more
POSIX compliant.
Submitted by: Garrett Cooper yanegomi at gmail dot com
Notes:
svn path=/head/; revision=217769
|
| |
|
|
|
|
|
|
|
| |
with a signal handler. This fixes a race condition introduced by
compiler reordering that caused dump to sometimes get stuck,
especially while dumping large filesystems.
Notes:
svn path=/head/; revision=142968
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
use backup methods other than files and tapes. The -P argument is
a normal sh(1) pipeline with either $DUMP_VOLUME or $RESTORE_VOLUME
defined in the environment, respectively.
For example, I can back up my home to three DVD+R[W]s as so:
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s2e 40028550 10093140 26733126 27% /home
green# dump -0 -L -C16 -B4589840 -P 'growisofs -Z /dev/cd0=/dev/fd/0' /home
Notes:
svn path=/head/; revision=128175
|
| |
|
|
|
|
|
|
|
| |
per letter dated July 22, 1999.
Approved by: core, imp
Notes:
svn path=/head/; revision=128073
|
| |
|
|
| |
Notes:
svn path=/head/; revision=103949
|
| |
|
|
| |
Notes:
svn path=/head/; revision=102231
|
| |
|
|
|
|
|
|
|
|
| |
and -Wformat warnings:
o Include timeconv.h for the time conversion functions.
o Remove unused variables.
o Correct a few cases where %d was used when printing longs.
Notes:
svn path=/head/; revision=99562
|
| |
|
|
|
|
|
| |
Submitted by: Don Lewis <dl-freebsd@catspoiler.org>
Notes:
svn path=/head/; revision=99530
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
filesystem expands the inode to 256 bytes to make space for 64-bit
block pointers. It also adds a file-creation time field, an ability
to use jumbo blocks per inode to allow extent like pointer density,
and space for extended attributes (up to twice the filesystem block
size worth of attributes, e.g., on a 16K filesystem, there is space
for 32K of attributes). UFS2 fully supports and runs existing UFS1
filesystems. New filesystems built using newfs can be built in either
UFS1 or UFS2 format using the -O option. In this commit UFS1 is
the default format, so if you want to build UFS2 format filesystems,
you must specify -O 2. This default will be changed to UFS2 when
UFS2 proves itself to be stable. In this commit the boot code for
reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c)
as there is insufficient space in the boot block. Once the size of the
boot block is increased, this code can be defined.
Things to note: the definition of SBSIZE has changed to SBLOCKSIZE.
The header file <ufs/ufs/dinode.h> must be included before
<ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and
ufs_lbn_t.
Still TODO:
Verify that the first level bootstraps work for all the architectures.
Convert the utility ffsinfo to understand UFS2 and test growfs.
Add support for the extended attribute storage. Update soft updates
to ensure integrity of extended attribute storage. Switch the
current extended attribute interfaces to use the extended attribute
storage. Add the extent like functionality (framework is there,
but is currently never used).
Sponsored by: DARPA & NAI Labs.
Reviewed by: Poul-Henning Kamp <phk@freebsd.org>
Notes:
svn path=/head/; revision=98542
|
| |
|
|
|
|
|
|
|
| |
This should fix the issues which cropped up after daddr_t grew up.
Sponsored by: DARPA & NAI Labs.
Notes:
svn path=/head/; revision=97956
|
| |
|
|
|
|
|
|
| |
o Use ANSI function definitions
o unifdef -D__STDC__
Notes:
svn path=/head/; revision=92837
|
| |
|
|
|
|
|
|
|
|
|
| |
for monitoring automated backups. This is based on a patch by Mikhail
Teterin, with some changes to make its operation clearer and to
update the proctitle more frequently.
PR: bin/32138
Notes:
svn path=/head/; revision=90743
|
| |
|
|
|
|
|
|
|
|
| |
percentage complete and remaining time estimate.
PR: bin/32138
Submitted by: mi
Notes:
svn path=/head/; revision=90742
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Normally trewind() performs a close-open-close cycle to rewind the
tape when closing the device, but this is not ideal for fifos. We
now skip the final open-close if the output descriptor is a fifo.
PR: bin/25474
Submitted by: Alex Bakhtin <bakhtin@amt.ru>
MFC after: 1 week
Notes:
svn path=/head/; revision=90496
|
| |
|
|
|
|
|
| |
keywords.
Notes:
svn path=/head/; revision=86473
|
| |
|
|
|
|
|
| |
Submitted by: "Jason Smethers" <jsmethers@pdq.net>
Notes:
svn path=/head/; revision=71750
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50476
|
| |
|
|
| |
Notes:
svn path=/head/; revision=46360
|
| |
|
|
|
|
|
| |
device hitting EOM on a write.
Notes:
svn path=/head/; revision=39256
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36997
|
| |
|
|
|
|
|
| |
should be ssize_t too.
Notes:
svn path=/head/; revision=32758
|
| |
|
|
|
|
|
|
| |
PR: bin/4369
Submitted by: blank@fox.uni-trier.de (Sascha Blank)
Notes:
svn path=/head/; revision=30341
|
| |
|
|
|
|
|
|
|
|
| |
were mishandled as an EOF, which became fatal if your first tape was
accidentally write-protected.
PR: bin/850 dump treats write-protect as an EOT...
Notes:
svn path=/head/; revision=25514
|
| |
|
|
| |
Notes:
svn path=/head/; revision=23672
|
| |
|
|
|
|
|
| |
considerations, and dump right to the end of medium.
Notes:
svn path=/head/; revision=22192
|
| |
|
|
|
|
|
|
|
| |
for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
Notes:
svn path=/head/; revision=18286
|
| |
|
|
| |
Notes:
svn path=/head/; revision=8871
|
|
|
Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
Notes:
svn path=/head/; revision=1558
|