| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
and the randomdev.ko module is not resident, try to load the module and
perform the write again.
Reviewed by: markm
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Do not include unused header files.
Add rcsid.
Change copyright.
truncate.1:
Add AUTHORS section.
Submitted by: charnier
|
|
|
|
|
|
|
|
|
|
| |
diff output; there being no trailing newline caused it to bitch and
moan and ruin diffs. That's dumb, if I may say so myself.
Yes, this file is coming off the vendor branch. It hasn't been
updated in 6 years.
Approved by: peter
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with the new snapshot code.
Update addaliasu to correctly implement the semantics of the old
checkalias function. When a device vnode first comes into existence,
check to see if an anonymous vnode for the same device was created
at boot time by bdevvp(). If so, adopt the bdevvp vnode rather than
creating a new vnode for the device. This corrects a problem which
caused the kernel to panic when taking a snapshot of the root
filesystem.
Change the calling convention of vn_write_suspend_wait() to be the
same as vn_start_write().
Split out softdep_flushworklist() from softdep_flushfiles() so that
it can be used to clear the work queue when suspending filesystem
operations.
Access to buffers becomes recursive so that snapshots can recursively
traverse their indirect blocks using ffs_copyonwrite() when checking
for the need for copy on write when flushing one of their own indirect
blocks. This eliminates a deadlock between the syncer daemon and a
process taking a snapshot.
Ensure that softdep_process_worklist() can never block because of a
snapshot being taken. This eliminates a problem with buffer starvation.
Cleanup change in ffs_sync() which did not synchronously wait when
MNT_WAIT was specified. The result was an unclean filesystem panic
when doing forcible unmount with heavy filesystem I/O in progress.
Return a zero'ed block when reading a block that was not in use at
the time that a snapshot was taken. Normally, these blocks should
never be read. However, the readahead code will occationally read
them which can cause unexpected behavior.
Clean up the debugging code that ensures that no blocks be written
on a filesystem while it is suspended. Snapshots must explicitly
label the blocks that they are writing during the suspension so that
they do not cause a `write on suspended filesystem' panic.
Reorganize ffs_copyonwrite() to eliminate a deadlock and also to
prevent a race condition that would permit the same block to be
copied twice. This change eliminates an unexpected soft updates
inconsistency in fsck caused by the double allocation.
Use bqrelse rather than brelse for buffers that will be needed
soon again by the snapshot code. This improves snapshot performance.
|
|
|
|
|
|
| |
command now follows symlinks again.
Requested by: jkh
|
|
|
|
| |
this). Use the simple_lock() on v_interlock like elsewhere.
|
|
|
|
|
|
| |
case we need to save it in installworld. That latter I forgot...
Pointy hat: me
|
|
|
|
|
|
|
|
|
| |
of the buildkernel and installkernel targets where the kernel
was called after the config name.
While here, fix the brokenness of the installkernel target. It
used to use ${IMAKEENV}, but since that has a very restricted
PATH, it couldn't find make(1). Use ${CROSSENV} instead.
|
|
|
|
|
|
|
|
|
|
|
| |
to construct a path that was long enough (ie longer than
SPARE_USRSPACE bytes) and trash the stack.
Note that SPARE_USRSPACE is much smaller than MAXPATHLEN so that
the Linuxulator will now return ENAMETOOLONG even if the path
is smaller than MAXPATHLEN.
PR: 12749
|
|
|
|
| |
backed out.
|
|
|
|
|
|
| |
build process in too many cases. Adding mtree to bootstrap-tools
to solve this breaks the upgrade path because mtree needs a
libc that has strtofflags and fflagstostr.
|
| |
|
|
|
|
|
|
| |
table when a long argument list is given. :-)
Reported by: Sven Agnew <afterhours80@hotmail.com>
|
|
|
|
|
| |
Setting this to YES instead of its default NO, causes mountd to be
passed the -n flag, which allow non-root users mount requests to be served.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
o Make the comments KNF-compliant.
o Use nanotime instead of getnanotime; the manpage lies about the
kern.timecounter.method - it has been removed.
o Fix the ENTROPYSOURCE const permanently.
o Make variable names more consistent.
o Make function prototypes more consistent.
Some more needs to be done; to follow.
|
|
|
|
|
| |
copy to share/man/man4 . The file is still not connected to the
build from that directory either.
|
|
|
|
|
| |
The immutability flag referred to in the previous revision is actually
VTEXT, not VEXEC.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a loop down in pmap_init_pt(). A subtraction causes the number of
pages to become negative, that was assigned to an unsigned variable,
and there is a lot of iteration. The bug is due to the ELF image
activator not properly checking for its files being the correct size
as specified by the ELF header.
The solution is to check that the header doesn't ask for part of a
file when that part of the file doesn't exist. Make sure to set
VEXEC at the proper times to make the executables immutable (remove
race conditions). Also, the ELF format specifiies header entries
that allow embedding of other executables (hence how ld-elf.so.1
gets loaded, but not the same as loading shared libraries), so those
executables need to be set VEXEC, too, so they're immutable.
Reviewed by: peter
|
|
|
|
|
| |
include strtofflags.c from lib/libc/gen when building mtree until the
current dependency mess with mtree is fixed.
|
| |
|
|
|
|
|
|
| |
up to this.
Submitted by: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
|
|
|
|
| |
a use of install.
|
|
|
|
|
|
|
|
| |
option already supported octal. Add a comment to the -r option
in the man page so it's a bit more specific.
Discrepancy brought to my attention by: sasdrq@unx.sas.com
Approved by: jkh
|
|
|
|
|
| |
Add unframed E1 mode.
Various cleanup.
|
|
|
|
|
|
|
| |
KERN_UPDATEINTERVAL can't be used to control sched_sync(). In
fact, there's no easy way to control the syncer with sysctls.
Reported by: bde
|
| |
|
|
|
|
|
| |
in the /dev directory. Also cover this driver's quirky relationship
with the MAKEDEV script.
|
| |
|
|
|
|
|
|
| |
- Properly protect the watchdog timer routine.
- Relocate the sync check statement so that we don't see too many
error messages.
|
|
|
|
|
|
|
|
|
| |
delete the cloned route that is associated with the connection.
This does not exhaust the routing table memory when the system
is under a SYN flood attack. The route entry is not deleted if there
is any prior information cached in it.
Reviewed by: Peter Wemm,asmodai
|
| |
|
| |
|
|
|
|
| |
in the serial-installation of FreeBSD.
|
| |
|
| |
|
|
|
|
|
|
| |
Of course this is a bug in that the dhclient script will not work properly
if one has a local / and an NFS mounted /usr and needs to obtain its IP
address via DHCP before being able to mount /usr.
|
| |
|
|
|
|
|
|
|
| |
MBR's with a 4th slice failing the signature check and fdisk saying that
they are invalid.
Submitted by: bde
|
| |
|
| |
|
|
|
|
| |
discussed with bp.
|
|
|
|
|
|
| |
must be done to fix this situation.
Submitted by: bde
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
in environments where portability is a concern.
|
|
|
|
|
| |
Don't add the offset to the size; it's libfetch's job to report the correct
size of the requested file.
|