| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
PR: bin/132911
Submitted by: Yoshitaka AHAREN <yaharen__at__gm.dns-lab.jp>
Notes:
svn path=/stable/6/; revision=211277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove dead code. This section of code is only run in the
(sblock.fs_magic == FS_UFS1_MAGIC) case, so the check within the
loop is redundant.
Merge 203835 from head:
When growing a UFS1 filesystem, we need to initialise all inodes in any new
cylinder groups that are created. When the filesystem is first created,
newfs always initialises the first two blocks of inodes, and then in the
UFS1 case will also initialise the remaining inode blocks. The changes in
growfs.c 1.23 broke the initialisation of all inodes, seemingly based on
this implementation detail in newfs(8). The result was that instead of
initialising all inodes, we would actually end up initialising all but the
first two blocks of inodes. If the filesystem was grown into empty
(all-zeros) space then the resulting filesystem was fine, however when
grown onto non-zeroed space the filesystem produced would appear to have
massive corruption on the first fsck after growing.
A test case for this problem can be found in the PR audit trail.
Fix this by once again initialising all inodes in the UFS1 case.
PR: bin/115174
Submitted by: "Nate Eldredge" <nge cs.hmc.edu>
Reviewed by: mjacob
Notes:
svn path=/stable/6/; revision=205261
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
In pass1(), cap inosused to fs_ipg rather than allowing arbitrary
number read from cylinder group. Chances that we read a smarshed
cylinder group, and we can not 100% trust information it has
supplied. fsck_ffs(8) will crash otherwise for some cases.
PR: bin/138043
Reminded by: mckusick
Notes:
svn path=/stable/6/; revision=201712
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make dhclient use bootpc (68) as the source port for unicast
DHCPREQUEST packets instead of allowing the protocol stack to pick
a random source port.
This fixes the behaviour where dhclient would never transition
from RENEWING to BOUND without going through REBINDING in networks
which are paranoid about DHCP spoofing, such as most mainstream
cable-broadband ISP networks.
Obtained from: OpenBSD
Reviewed by: brooks
Approved by: re (kib)
Notes:
svn path=/stable/6/; revision=198412
|
| |
|
|
|
|
|
|
|
|
| |
Note that when shutdown is run without options, it will place
the system into single user mode at the time specified.
PR: 129765
Notes:
svn path=/stable/6/; revision=190607
|
| |
|
|
| |
Notes:
svn path=/stable/6/; revision=187281
|
| |
|
|
|
|
|
|
|
| |
* Expand the example descriptions, fix mdoc-bugs in "(-a and -t
vnode are implied)" and reuse it near the cd9660 example.
* Spell 'backing store' as two words.
Notes:
svn path=/stable/6/; revision=187270
|
| |
|
|
|
|
|
|
| |
Instead of hardcoding md10 as the device node in the cd9660
example, use a trick submitted by Ruslan.
Notes:
svn path=/stable/6/; revision=187269
|
| |
|
|
|
|
|
|
|
|
|
| |
Support the remaining options listed in dhcp-options(5) and RFC 2132.
PR: bin/127076
Submitted by: jkim
Approved by: re (kensmith)
Notes:
svn path=/stable/6/; revision=184297
|
| |
|
|
| |
Notes:
svn path=/stable/6/; revision=182665
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Change the exit status for 0 and 2 to be the same as with ping(1)
and be usable in scripts, etc.
This also changes the semantics in case when we lose one of n packets.
In that case, before we exited by SIG, now we exit with return(0).
Submitted by: Gert Doering (gert space.net)
Notes:
svn path=/stable/6/; revision=182528
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sync up with rhyolite routed 2.31 which fixes the handling of varargs.
Remove -p from usage, it's gone completely now.
Merge to 7 not applicable, 7 obtained this change when it was
branched.
PR: 82287
Submitted by: arved
Notes:
svn path=/stable/6/; revision=180635
|
| |
|
|
|
|
|
|
|
|
|
| |
Support for filtering on major device number was removed in rev. 1.7 or
rule.c. Update man page example accordingly.
Submitted by: Mateusz Guzik <mjguzik@gmail.com>
PR: docs/124892
Notes:
svn path=/stable/6/; revision=180179
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix remaining nits from PR bin/39905.
Check for write failure while building temp files.
Correctly set file group when restore is run by a user other than root.
Use safer string handling.
Fixes the "getfile: lost data" panic when restoring older dumps.
Fix spurious "Header with wrong dumpdate" message.
Add -D for degraded mode, which tries harder to read corrupted backups.
Remove a diagnostic message from man page that is no longer printed.
Notes:
svn path=/stable/6/; revision=179667
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and an update to the restore program to restore all dumped extended
attributes. The affected files and the version being MFC'ed:
Revision Path
1.11 src/include/protocols/dumprestore.h
1.28 src/sbin/dump/dump.h
1.38 src/sbin/dump/traverse.c
1.31 src/sbin/restore/dirs.c
1.11 src/sbin/restore/extern.h
1.12 src/sbin/restore/restore.h
1.48 src/sbin/restore/tape.c
1.16 src/sys/sys/extattr.h
1.21 src/sys/ufs/ufs/extattr.h
1.24 src/share/man/man5/fs.5
Note that this code will not compile until these header
files have been updated: <protocols/dumprestore.h> and
<sys/extattr.h>. This should happen in the course of doing
a normal `buildworld'.
This resolves PR 93085 which will be closed.
PR: bin/93085
MFC request by: Robert Watson
Notes:
svn path=/stable/6/; revision=179252
|
| |
|
|
|
|
|
|
|
| |
Dummynet has a limit of 100 slots queue size (or 1MB, if you give
the limit in bytes) hard coded into both the kernel and userland.
Make both these limits a sysctl, so it is easy to change the limit.
Notes:
svn path=/stable/6/; revision=179150
|
| |
|
|
|
|
|
|
|
|
| |
and send directly rather than bogusly sending it out as a link layer
broadcast (which fails to be received on some networks).
PR: bin/96018
Notes:
svn path=/stable/6/; revision=179007
|
| |
|
|
|
|
|
|
| |
Calculate p.fs.lookup_step correctly. This should prevent zeroing of
w_q_lookup table (used in RED algorithm for (1 - w_q)^t computation).
Notes:
svn path=/stable/6/; revision=178487
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/sys/netinet/ip_dummynet.h 1.41
src/sys/netinet/ip_dummynet.c 1.111-1.114
src/sys/netinet/ip_fw_pfil.c 1.26
src/sys/net/if_bridge.c 1.107
src/sys/net/if_ethersubr.c 1.240
src/sbin/ipfw/ipfw.8 1.206
- style(9) cleanup.
- dummynet_io() declaration has changed.
- Alter packet flow inside dummynet and introduce 'fast' mode of dummynet
operation: allow certain packets to bypass dummynet scheduler. Benefits are:
-- lower latency: if packet flow does not exceed pipe bandwidth, packets
will not be (up to tick) delayed (due to dummynet's scheduler granularity).
-- lower overhead: if packet avoids dummynet scheduler it shouldn't reenter
ip stack later. Such packets can be fastforwarded.
-- recursion (which can lead to kernel stack exhaution) eliminated. This fix
long existed panic, which can be triggered this way:
kldload dummynet
sysctl net.inet.ip.fw.one_pass=0
ipfw pipe 1 config bw 0
for i in `jot 30`; do ipfw add 1 pipe 1 icmp from any to any; done
ping -c 1 localhost
- New sysctl nodes:
net.inet.ip.dummynet.io_fast - enables 'fast' dummynet io
net.inet.ip.dummynet.io_pkt - packets passed to dummynet
net.inet.ip.dummynet.io_pkt_fast - packets avoided dummynet scheduler
net.inet.ip.dummynet.io_pkt_drop - packets dropped by dummynet
- Workaround p->numbytes overflow, which can result in infinite loop inside
dummynet module (prerequisite is using queues with "fat" pipe).
PR: kern/113548 kern/121955
Notes:
svn path=/stable/6/; revision=178486
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new function is_default_interface() which determines if this
interface is one with the default route (or there isn't one). Use it to
decide if we should adjust the default route and /etc/resolv.conf.
Fix the delete of the default route. The if statement was totally bogus
and the delete only worked due to a typo. [1]
Reported by: Jordan Coleman <jordan at JordanColeman dot com> [1]
Notes:
svn path=/stable/6/; revision=178089
|
| |
|
|
|
|
|
|
|
| |
ipfw.8 1.209
Use an explicit argument to format table args as IP addresses.
Notes:
svn path=/stable/6/; revision=177919
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In route.c in newroute() there's a call to exit(0) if the command was
'get'. Since rtmsg() always gets called and returns 0 on success and -1
on failure, it's possible to exit with a suitable exit code by calling
exit(ret != 0) instead, as is done at the end of newroute().
PR: bin/112303
Submitted by: bruce@cran.org.uk
MFC after: 1 week
Approved by: imp (mentor, implicit)
Notes:
svn path=/stable/6/; revision=177708
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace reference from vinum.8 to gvinum.8, it was advised in the PR to
replace this with vinum.4, but that's the kernel interface manual, which
is not appropriate in my understanding. I think that gvinum is a suitable
replacement for this.
PR: docs/121938
Submitted by: "Federico" <federicogalvezdurand at yahoo dot com>
MFC after: 3 days
Notes:
svn path=/stable/6/; revision=177544
|
| |
|
|
|
|
|
|
|
|
|
| |
During PREINIT, when giving the interface the address 0.0.0.0, do it as an
alias to avoid distrubing other addresses.
PR: bin/119255
Submitted by: Jaakko Heinonen <jh at saunalahti dot fi>
Notes:
svn path=/stable/6/; revision=177112
|
| |
|
|
|
|
|
|
| |
date: 2008/01/29 00:20:00; author: delphij; state: Exp; lines: +1 -1
Don't coredump when executed with -o.
Notes:
svn path=/stable/6/; revision=176925
|
| |
|
|
|
|
|
|
| |
Document -instance and -globalport options.
Note that the punch_fw option does not work in securelevel 3.
Notes:
svn path=/stable/6/; revision=176798
|
| |
|
|
|
|
|
| |
name for spdadd.
Notes:
svn path=/stable/6/; revision=176582
|
| |
|
|
| |
Notes:
svn path=/stable/6/; revision=176213
|
| |
|
|
|
|
|
|
|
| |
Remove redundant whitespace.
Noticed by: brueffer
Notes:
svn path=/stable/6/; revision=176176
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Attempt to describe the ''auto'' type a bit better in the default
section (if nothing had been specified, or if the auto type had
been specified, a default layout is used).
PR: docs/116047
Submitted by: Ian Smith <smithi at nimnet dot asn dot au>
Minor modifications by me.
Notes:
svn path=/stable/6/; revision=176143
|
| |
|
|
|
|
|
|
|
|
| |
- Update geom(8) to explain that GEOM_LIBRARY_PATH can take a colon-separated
list of paths.
Approved by: pjd (mentor)
Notes:
svn path=/stable/6/; revision=176090
|
| |
|
|
|
|
|
|
|
|
| |
- Make geom commands handle multiple library paths in the GEOM_LIBRARY_PATH
environment variable using ':' as a separator.
Approved by: pjd (mentor)
Notes:
svn path=/stable/6/; revision=176087
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix an error in bit shifting logic for network addresses. The route
command would add incorrect routing entries if network numbers weren't
fully "spelled" out according to their class. For example:
# route add 128.0/16 (works)
# route add 128/16 (doesn't work)
# route add 193.0.0/24 (works)
# route add 193/24 (doesn't work)
Also, rework the way a netmask is deduced from network number if
it [netmask] is not specified.
Submitted by: Nuno Antunes <nuno.antunes@gmail.com> (mostly)
Notes:
svn path=/stable/6/; revision=175735
|
| |
|
|
|
|
|
| |
includes /boot/pmbr, /boot/gptboot, and 'gpt boot'.
Notes:
svn path=/stable/6/; revision=175651
|
| |
|
|
|
|
|
| |
maximum file permissions with ACCESSPERMS.
Notes:
svn path=/stable/6/; revision=175489
|
| |
|
|
|
|
|
|
|
|
| |
Teach dhclient(8) about net80211 link (association) status.
Reviewed by: brooks
Approved by: re (kensmith)
Notes:
svn path=/stable/6/; revision=174512
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
HEAD
Revision Path
1.16 src/lib/libipsec/pfkey_dump.c
1.38 src/sbin/setkey/setkey.8
1.12 src/sbin/setkey/token.l
1.81 src/secure/lib/libcrypto/Makefile
1.47 src/secure/lib/libcrypto/Makefile.inc
1.8 src/secure/lib/libcrypto/opensslconf-amd64.h
1.8 src/secure/lib/libcrypto/opensslconf-i386.h
1.1205 src/sys/conf/files
1.1 src/sys/crypto/camellia/camellia-api.c (new)
1.1 src/sys/crypto/camellia/camellia.c (new)
1.1 src/sys/crypto/camellia/camellia.h (new)
1.6 src/sys/modules/crypto/Makefile
1.15 src/sys/net/pfkeyv2.h
1.1 src/sys/netinet6/esp_camellia.c (new)
1.1 src/sys/netinet6/esp_camellia.h (new)
1.25 src/sys/netinet6/esp_core.c
1.19 src/sys/netipsec/xform_esp.c
1.34 src/sys/opencrypto/cryptodev.c
1.25 src/sys/opencrypto/cryptodev.h
1.19 src/sys/opencrypto/cryptosoft.c
1.9 src/sys/opencrypto/xform.c
1.4 src/sys/opencrypto/xform.h
Approved by: re (kensmith)
Submitted by: Tomoyuki Okazaki <okazaki at kick dot gr dot jp>
Notes:
svn path=/stable/6/; revision=174400
|
| |
|
|
| |
Notes:
svn path=/stable/6/; revision=174337
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Expand the EXAMPLES section for atacontrol.8
PR: docs/117310
Submitted by: Ted Mittelstaedt <tedm at ipinc dot net>
with minor modifications by me.
Approved by: re (hrs)
Notes:
svn path=/stable/6/; revision=174156
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Remove mentionings of kern.dumpdev which is no longer available.
PR: docs/113570
Submitted by: lawrance
MFC After: 3 days (where applicable)
Approved by: re (hrs)
Notes:
svn path=/stable/6/; revision=174155
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sync with md(4)'s information regarding the swap backend.
PR: docs/115721
Submitted by: Stefan Lambrev <stefan.lambrev@moneybookers.com>
MFC After: 3 days
Every newline should start on it's own line. I didn't do that in the
previous commit, so make it happen now.
Prodded by: brueffer
Approved by: re (hrs)
Notes:
svn path=/stable/6/; revision=174154
|
| |
|
|
|
|
|
| |
Approved by: re (kensmith)
Notes:
svn path=/stable/6/; revision=174082
|
| |
|
|
| |
Notes:
svn path=/stable/6/; revision=173740
|
| |
|
|
| |
Notes:
svn path=/stable/6/; revision=173515
|
| |
|
|
|
|
|
| |
have a valid PMBR.
Notes:
svn path=/stable/6/; revision=173497
|
| |
|
|
|
|
|
|
|
|
|
| |
% Add an example which shows how mdconfig(8) can be used
% to mount an ISO 9660 CD image file.
%
% PR: 112691
% Submitted by: Warren Block, wblock at wonkity.com
Notes:
svn path=/stable/6/; revision=173324
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
option)
dhclient.conf 1.2
Add a $FreeBSD$ tag missing after the original import. Note that this
file isn't actually installed; the one in src/etc is.
clparse.c 1.3
dhclient-script 1.15
dhclient.c 1.21
dhclient.conf 1.3
dhcp.h 1.3
tables.c 1.4
Implement RFC3442, the Classless Static Route option.
The original DHCP specification includes a route option but it
supports only class-based routes. RFC3442 adds support for
specifying the netmask width for each static route. A variable
length encoding is used to minimize the size of this option.
PR: bin/99534
Submitted by: Andrey V. Elsukov <bu7cher@yandex.ru>
Reviewed by: brooks
dhclient-script 1.16
The minimum size of an RFC3442 destination descriptor is five bytes,
so correct test to -ge 5. Without this change an RFC3442 encoded
default route would be ignored.
Notes:
svn path=/stable/6/; revision=173224
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added whiteout behavior option. ``-o whiteout=always'' is default mode
(it is established practice) and ``-o whiteout=whenneeded'' is less
disk-space using mode especially for resource restricted environments
like embedded environments. (Contributed by Ed Schouten. Thanks)
Submitted by: Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by: jeff, kensmith
Approved by: re (kensmith)
Notes:
svn path=/stable/6/; revision=172898
|
| |
|
|
| |
Notes:
svn path=/stable/6/; revision=172626
|
| |
|
|
|
|
|
|
| |
Use the -n flag on ifconfig so that dhclient does not cause the kernel module
to be reloaded when the interface is torn down.
Notes:
svn path=/stable/6/; revision=172547
|