dholland
dcd34a91c5
Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
...
pollution. Specifically:
ROOTINO -> UFS_ROOTINO
WINO -> UFS_WINO
NXADDR -> UFS_NXADDR
NDADDR -> UFS_NDADDR
NIADDR -> UFS_NIADDR
MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)
Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.
No functional change intended.
2013-01-22 09:39:11 +00:00
rmind
3107fd1eb5
- nbuf_ensure_contig: rework to use m_ensure_contig(9), which will not free
...
the mbuf chain on failure. Fixes some corner cases. Improve regression
test and sprinkle some asserts.
- npf_reassembly: clear nbuf on IPv6 reassembly failure path (partial fix).
The problem was found and fix provided by Anthony Mallet.
2013-01-20 18:45:56 +00:00
christos
dbf8567fb0
ut_line does not have /dev in front of it. Add it, from dholland@
2013-01-17 18:54:28 +00:00
kefren
5d14e92019
Make sure there is enough space for sockaddr subtypes
...
Use u_char for IP_MULTICAST_LOOP as specified in in.h
2013-01-16 08:28:44 +00:00
christos
14fb63db45
PR/47449: David Holland: Don't log to terminals with mesg n, unless it is a
...
wall message.
2013-01-15 22:37:04 +00:00
christos
6265ee0d3c
- move the terminal handling in apropos-utils.c since htmp and pager are also
...
handled there.
- underline the name, section, and description so that it is prettier.
- change to bold terminal the terminal highlighting to match with less
2013-01-14 21:26:25 +00:00
christos
ee0ec621f0
Fix the #ifdef NOTYET, namely use the terminal standout mode to highlight the
...
search terms.
2013-01-14 18:04:58 +00:00
christos
cc03b84d06
Since mdocml decided to name headers that conflict with system ones (term.h)
...
move the header inclusion one up.
2013-01-14 18:01:59 +00:00
dholland
1cb1b27ac4
fix thinko
2013-01-14 03:05:41 +00:00
riastradh
014f25f78d
After mount_lfs_parseargs, reset getopt for lfs_cleaner_main.
2013-01-10 08:35:26 +00:00
dsl
58b5bd2463
Add support for the xsave related data from cpuid 8.n.
...
Reorder the output so that the 'brand' string - which actually identifies
the cpu is output first.
2013-01-07 23:20:42 +00:00
dsl
6d15685a79
Use full model number to index name strings - a lot of 256 element arrays
...
don't matter in usespace.
Update list of intel family 6 model names (all current cpus) to include
everything upto and including sandy bridge and ivy bridge.
My i7 is no longer reported as a random P II.
2013-01-06 23:17:35 +00:00
dsl
cbb941ff11
The Intel and AMD docs (more or less) agree on how the cpuid 'extended
...
family' and 'extended model' bits are used to create larger values
than the original 16bit value allowed for.
Calculate and save these values 'up-front' and use them throughout.
Untangle the (backwards) nested switch statement for amd 'model 15' cpus.
Works as badly as ever on my i7.
2013-01-05 21:16:22 +00:00
dsl
cd90dce7d6
If the IOC_CPU_UCODE_GET_VERSION fails with ENOTTY, try issuing the
...
request that the amd64 kernel understands.
2013-01-05 16:38:12 +00:00
dsl
ef07d271f5
Fix x86_identify() for amd64
2013-01-05 15:33:00 +00:00
dsl
7d87936626
Change the i386 asm x86_identify() so it returns a value instead of writing
...
into global data.
Fix a stack alignment fubar that would cause a crash on a cirix 486.
Refactor identify code to common setup for normal identify and ucode
identify - which was missing a memset().
2013-01-05 15:27:45 +00:00
dsl
438bdb2a64
#include sys/ioctl.h
2013-01-02 19:24:30 +00:00
dsl
a97d5b18ca
pstat is a kmem groveller, set -D_KMEMUSER in CPPFLAGS
2013-01-02 10:43:11 +00:00
plunky
c5b7b2f38c
whitespace ' ' -> ' '
2012-12-26 17:57:49 +00:00
plunky
b504b003b7
add a comment pointing out that the link-mode may need to be
...
changed manually, for devices which cannot authenticate
for PR/47286
2012-12-26 17:33:09 +00:00
reed
71cb89f544
fix spelling typo
2012-12-25 20:31:03 +00:00
rmind
352f160615
- Rework NPF's nbuf interface: use advancing and ensuring as a main method.
...
Eliminate unnecessary copy and simplify. Adapt regression tests.
- Simplify ICMP ALG a little. While here, handle ICMP ECHO for traceroute.
- Minor fixes, misc cleanup.
2012-12-24 19:05:42 +00:00
rmind
57ff5416fd
- Add NPF version check in proplist as well, not only ioctl. Bump the version.
...
- Fix a bug in table entry lookup.
- Updates/fixes to the man pages. Misc.
2012-12-23 21:01:03 +00:00
wiz
0d9af955c5
Typo fix.
2012-12-20 20:31:01 +00:00
wiz
4612bed094
Add missing letter and use x.y versions for Fx/Nx.
2012-12-20 20:17:26 +00:00
christos
357b749529
move flavor to misc.c because pax needs it.
2012-12-20 19:09:25 +00:00
mlelstv
821ebbb223
joerg@: just use unsigned int please
2012-12-20 18:58:37 +00:00
christos
3afc22d858
Implement the "flavor" output discussed in tech-userlevel@, by Brooks Davis
2012-12-20 16:43:16 +00:00
jakllsch
0f85a59a25
Even though the kernel will fill the source address in, it looks weird in
...
trace output to see a not-obviously-bogus uninitialized source address go
into the kernel.
2012-12-15 04:40:33 +00:00
christos
d80c5e8655
make us compatible with FreeBSD (for -n) (Brooks Davies)
2012-12-15 01:24:40 +00:00
roy
c050bfe509
Intsead of forcing out each RA at shutdown and sleeping we now use
...
the existing timer model and wait for each RA to expire itself after
sending the required number of transmissions.
This allows for a faster and saner shutdown.
2012-12-14 09:48:31 +00:00
pgoyette
270592accd
Since we're no longer making a copy of the option args, we shouldn't
...
attempt to free it.
2012-12-14 05:29:28 +00:00
wiz
7503eaacd8
Formatting nit.
2012-12-13 21:49:38 +00:00
christos
dd6ce158a9
- no point in allocating memory to hold command line arguments.
...
- allocate memory inside the function used.
2012-12-13 20:06:42 +00:00
christos
a16db3405d
PR/47318: Henning Petersen: Replace (r)index with str(r)chr in inetd.c
...
And while here strncpy with strlcpy
2012-12-13 19:38:40 +00:00
christos
83779a48b3
PR/47316: Henning Petersen: Memory leak in envstat with config file.
2012-12-13 19:31:25 +00:00
roy
baf998f70e
Remove debug stuff.
2012-12-13 15:40:05 +00:00
roy
83ab565911
Remove the iflist array and store ifflags in rainfo.
...
Add support for SIGHUP to re-read the configuration for each interface.
If an invalid configuration is found, we continue to use the old one;
otherwise we expire the current one and then start advertising the new one.
Specififed interfaces don't have to exist at startup.
If specified interfaces arrive, load their config and start advertising.
If they depart, remove their rainfo structure and continue.
Fixes PR/43881 and PR/47311
2012-12-13 15:36:35 +00:00
christos
7f80b3db6a
- No mention of -t in the usage message or the manpage SYNOPSIS (Brooks Davis)
2012-12-12 15:52:10 +00:00
christos
40e1da4105
- No "j" in the getopt string. (Brooks Davis)
2012-12-12 15:51:41 +00:00
christos
d89c5e4d96
- two entries for rmd160digest in misc.c (Brooks Davis)
2012-12-12 15:51:04 +00:00
christos
cbc85fc672
-n is incorrectly supressing the ".." lines. (Brooks Davis)
2012-12-12 15:50:35 +00:00
roy
7175086342
Add support for the noifprefix keyword which stops rtadvd(8) gathing prefix
...
information from the interface if no addrs are present in rtadvd.conf(5).
2012-12-11 16:37:23 +00:00
christos
faa0524c86
PR/47304: Kouki Ooyatsu: -s (source IPv6 address to be used) option does not
...
work because the wrong variable is used.
XXX: Pullup to 6.
2012-12-10 18:11:33 +00:00
rmind
f960ba1c63
npfctl: add 'validate' command to check the config, but not load it. Update
...
the man page. Also add a small note about 'debug' command, PR/47298.
2012-12-10 02:26:04 +00:00
rmind
7d7f70e66e
- npf.conf(5): fix of the example config.
...
- Mention npf_ext_log in a comment.
2012-12-06 22:36:51 +00:00
blymn
9a57dec753
Fix error message when trying to add a group using -g =uid that
...
that already exists, the old version printed the wrong GID.
2012-11-28 11:31:27 +00:00
blymn
2da0bfd2ff
Google Code In bug fix by Philip Hayes, fixes bin/41049
2012-11-28 11:20:58 +00:00
rmind
5111d7eafd
npfctl: extend syntax for extracting interface IP address(es) by the family.
2012-11-26 20:34:28 +00:00
pooka
4037e69f4e
Attempt 2 at fixing DragonFly util.h conflicts: include util.h only for
...
non-tool builds.
(why does the tool build prefer host headers instead of compat headers?)
2012-11-26 20:13:54 +00:00