| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
instead of allocating another page of kva and mapping it in again. This was
likely an oversight in revision 1.174 (cut and paste from pmap_pinit).
Discussed with: peter, tegge
Sponsored by: DARPA, Network Associates Laboratories
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Submitted by: Sascha Holzeiter <sascha@root-login.org>
PR: 48559
|
|
|
|
|
|
|
|
| |
Reading the PCI config space with the wrong (larger) size is not
a problem in this case, but writing can be as it clobbers unrelated
registers. In this case the clobbering is for reserved fields, which
too is mostly harmless... for now. Hence, this change is mostly
preventive in nature.
|
|
|
|
|
| |
PR: 1775
Reviewed by: mbr
|
|
|
|
|
|
| |
than use a macro that tries to do conversions in place.
Compile tested on: sparc64
|
| |
|
|
|
|
|
|
| |
be NPDEPTD. Grumble.
Sponsored by: DARPA, Network Associates Laboratories
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| | |
This is taken from the 2.4.3 Linux sources as shipped on Red Hat 7.1 Alpha.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
mainly to get control over new features. E.g., ext2fs filesystems
may now have a type field in directory entries (like ufs has had for
20 years or so). Current versions of FreeBSD ext2fs panic on this.
ext2fs filesystem code is supposed to check the feature flags in the
superblock and take appropriate actions for unsupported features.
The other new features are sparse superblocks, large file support,
and btree'd directories.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
files seem to be based on. Don't bother importing <asm-i386/string.h>
just to get the Linux implementation of memscan() which is appended
to our i386-bitops.h. The BSD skpc() should have been used instead
of memscan().
Obtained from: Linux 1.2.2 distribution
|
| |
| |
| |
| | |
This is taken from the 2.4.3 Linux sources as shipped on Red Hat 7.1 Alpha.
|
| |
| |
| |
| | |
where possible for easier future imports.
|
| |
| |
| |
| | |
files.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
o Expand on MAC policy enforcement on network interfaces
o Add cross-references to su(1) and setfsmac(8) where appropriate
o Comment out mmap revocation sysctls as they are a bit too experimental
o Add the standard BUGS section
Prompted by: rwatson
Sponsored by: DARPA, Network Associates Laboratories
|
| |
| |
| |
| |
| | |
additional arguments as a series of architectures to build. This is
useful for running subsets of a particular configuration.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
page directory.
- Use these instead of the magic constants 1 or PAGE_SIZE where appropriate.
There are still numerous assumptions that the page directory is exactly
1 page.
Sponsored by: DARPA, Network Associates Laboratories
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
without waiting, since they are called from a system-call context only.
This appears to fix all sorts of problems with open("/dev/dsp", O_WRONLY)
randomly returning ENXIO.
Found by: cognet
|
| |
| |
| |
| | |
const pointer.
|
| | |
|
| |
| |
| |
| |
| |
| | |
So cast to u_long before printing out and use a matching specifier.
Tested on: sparc64
|
| | |
|
| |
| |
| |
| | |
so this at least compiles on big-endian machines.
|
| |
| |
| |
| |
| | |
(I did test build the original change, but apparently
forgot to include it to LOCAL_PATCHES. It happens.)
|
| |
| |
| |
| |
| |
| | |
Move to "struct disk *" centered API.
Fix some minor nits.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Security improvements:
- Increase the size of each syncookie secret from 32 to 128 bits
in order to make brute force attacks on the secrets much more
difficult.
- Always return the lowest order dword from the MD5 hash; this
allows us to expose 2 more bits of the cookie and makes ACK
floods which seek to guess the cookie value more difficult.
Performance improvements:
- Increase the lifetime of each syncookie from 4 seconds to 16
seconds. This increases the usefulness of syncookies during
an attack.
- From Yahoo!: Reduce the number of calls to MD5Update; this
results in a ~17% increase in cookie generation time here.
Reviewed by: hsu, jayanth, jlemon, nectar
MFC After: 15 seconds
|
| |
| |
| |
| |
| |
| | |
Move ida driver to "struct disk *" centric api.
Retire major number 109.
|
| |
| |
| |
| | |
during attach.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
in massive locking issues on diskless systems.
It is also not clear that this sysctl is non-dangerous in its
requirements for locked down memory on large RAM systems.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
into a child process. Rather than closing the discriptors manually,
mark all discriptors as close-on-exec.
PR: 47694
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Obtained from: NetBSD
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
we don't leak memory. Only one of these two cases (reconfig) actually
causes a leak because the other is usually followed by an exec.
PR: 46845
Reviewed by: David Wang <dsw@juniper.net>
MFC after: 2 weeks
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
functions we provide are good for and how /dev/random fits into
this picture.
Reviewed by: markm
|
| |
| |
| |
| | |
Pointy hat provided by: sam
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
type M_STRING, now defined in malloc.h. Useful when string parsing
must occur using the kernel strsep() and we want to avoid toasting
the source string.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
|
| | |
|
| |
| |
| |
| | |
Pointy hat over here!
|
| | |
|
| | |
|
| | |
|