| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
all inodes are initialized when running newfs.
Approved by: grog (mentor)
|
|
|
|
|
|
|
| |
use %zd to print size_t types and sizeof()
Approved by: alfred
Tested on: sparc64, amd64
|
|
|
|
|
|
| |
PR: docs/64534
Submitted by: Dmitry Cherkasov
MFC after: 1 week
|
|
|
|
| |
declarations, uncuddled elses and excessive braces).
|
| |
|
|
|
|
| |
the getopt() case statement).
|
|
|
|
|
|
|
| |
MAC support on the file system, if supported, which causes MAC to treat
each object as having its own label, rather than using a single label
for all objects on the file system. This doesn't have to be used in
combination with the tunefs/newfs flags -- it's an alternative.
|
|
|
|
| |
I meant to do this a week ago, but I forgot.
|
|
|
|
|
|
| |
PR: docs/50391
Submitted by: root@edcsm.jussieu.fr
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
| |
ld-elf.so.1 on 64 bit systems. Most of this involves using alternate
paths, environment variables and diagnostic messages.
The build glue is seperate.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
length, and flags fields at the end of the SRM boot sector so that SRM can
find the bootstrap code. This fixes bsdlabel -m alpha to generate bootable
disklabels.
Reviewed by: phk
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
/sbin to /usr/sbin. A symlink from /sbin/nologin -> /usr/sbin/nologin
is created for compatibility purposes.
This will probably not cause any problems, but anyone who is doing
anything particularly unusual with nologin(8) or shells in general might
be well advised to check that everything still works.
Bikesheds on: cvs-all, current
|
|
|
|
|
|
|
|
| |
PR: bin/43930
Submitted by: Alan Barrett
Approved by: rwatson (mentor)
MFNetBSD: revision 1.35
MFC after: 3 days
|
|
|
|
| |
identifiers.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On vnode backed md(4) devices over a certain, currently undetermined
size relative to the buffer cache our "lemming-syncer" can provoke
a buffer starvation which puts the md thread to sleep on wdrain.
This generally tends to grind the entire system to a stop because the
event that is supposed to wake up the thread will not happen until a fair
bit of the piled up I/O requests in the system finish, and since a lot
of those are on a md(4) vnode backed device which is currently waiting
on wdrain until a fair amount of the piled up ... you get the picture.
The cure is to issue all VOP_WRITES on the vnode backing the device
with IO_SYNC.
In addition to more closely emulating a real disk device with a
non-lying write-cache, this makes the writes exempt from rate-limited
(there to avoid starving the buffer cache) and consequently prevents
the deadlock.
Unfortunately performance takes a hit.
Add "async" option to give people who know what they are doing the
old behaviour.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Add DECL wrappers to libgeom.h.
- Rename structure members in libgeom.h to use a lg_ prefix for member
names. This is required because a few structures had members named
'class' which made g++ very unhappy.
- Catch gstat(8) and gconcat(8) up to these API changes.
Reviewed by: phk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the former ports registered groups: proxy and authpf as well as
the proxy user. Make sure to run mergemaster -p in oder to complete make
installworld without errors.
This also provides the passive OS fingerprints from OpenBSD (pf.os) and an
example pf.conf.
For those who want to go without pf; it provides a NO_PF knob to make.conf.
__FreeBSD_version will be bumped soon to reflect this and to be able to
change ports accordingly.
Approved by: bms(mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that this provokes. "Wherever possible" means "In the kernel OR NOT
C++" (implying C).
There are places where (void *) pointers are not valid, such as for
function pointers, but in the special case of (void *)0, agreement
settles on it being OK.
Most of the fixes were NULL where an integer zero was needed; many
of the fixes were NULL where ascii <nul> ('\0') was needed, and a
few were just "other".
Tested on: i386 sparc64
|
| |
|
|
|
|
|
|
|
|
|
| |
- including <timeconv.h> to get _long_to_time prototype
- removing an unused variable
Bump WARNS to it keep clean.
Approved by: ume on ipfw@
|
|
|
|
|
|
|
|
|
|
|
|
| |
- bzero the CCB header in getdevtree() and set the path properly, to
avoid having random garbage in the CCB header.
- if the lun isn't specified in a device specifier, it should default to
0, not whatever random data happens to be in the lun variable.
- move the prototype for getdevtree() out from under #ifndef MINIMALISTIC,
since it is used in both cases.
Submitted by: Marius Strobl <marius@alchemy.franken.de> (mostly)
MFC After: 2 weeks
|
|
|
|
| |
value. All the other numeric types are doing it . . .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libexec/ftp-proxy - ftp proxy for pf
sbin/pfctl - equivalent to sbin/ipf
sbin/pflogd - deamon logging packets via if_pflog in pcap format
usr.sbin/authpf - authentification shell to modify pf rulesets
Bring along some altq headers used to satisfy pfctl/authpf compile. This
helps to keep the diff down and will make it easy to have a altq-patchset
use the full powers of pf.
Also make sure that the pf headers are installed.
This does not link anything to the build. There will be a NO_PF switch for
make.conf once pf userland is linked.
Approved by: bms(mentor)
|
| |
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
with a progress update.
|
|
|
|
|
|
| |
like tun are naming their modules using the 'if_; prefix and previous version of
the code failed to detect their presence in the kernel, resulting in the same
module being loaded twice.
|
|
|
|
|
|
|
|
| |
created with the multilabel flag from inception. This simply
passes the "-l" flag on to newfs(8).
Obtained from: TrustedBSD Project
Sponsored by: DARPA, McAfee Research
|
|
|
|
|
|
|
|
| |
permits users of newfs to set the multilabel flag on UFS1 and UFS2
file systems from inception without using tunefs.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, McAfee Research
|
|
|
|
|
|
|
|
| |
Update <protocols/routed.h> for the MD5 changes requested in bin/35843.
Preserve local changes.
Education by: obrien, markm, pointy-stick
PR: bin/35843 (and doubtless others)
|
|
|
|
| |
-DNOSHARED=yes cases.
|
|
|
|
| |
Use WARNS?= instead of WARNS=.
|
|
|
|
| |
Approved by: scottl (mentor)
|
|
|
|
|
|
| |
- Fix usage.
Approved by: scottl (mentor) (implicity)
|
|
|
|
|
| |
Approved by: scottl (mentor) (implicity)
Reviewed by: simon
|
|
|
|
|
|
|
|
|
|
|
| |
nologin(8), this causes a considerable (100K) increase in the binary size,
so I've added a NO_LOGIN_LOG option which disables this.
While I'm here, s/sizeof(MESSAGE)/sizeof(MESSAGE) - 1/, in order to
avoid writing the string-terminating zero byte.
No complaints from: -current
Approved by: rwatson (mentor)
|
|
|
|
|
| |
these should probably be looked up instead, but this is better than before
also minor format changes for style(9)
|
|
|
|
|
|
|
|
| |
the corresponding manpage has been committed.
The rest of "vlan" words, which are refering
to the technology itself, should be capitalized.
MFC after: 1 week
|
|
|
|
|
| |
interface that is parent to a vlan(4) interface,
not on the vlan(4) interface itself.
|
|
|
|
| |
exists (not all platforms have it).
|
|
|
|
| |
2 GB by using fseeko() instead of fseek().
|