John Baldwin
9d4514b0fd
Fix numerous warnings. Aside from menu items in system.c and menu.c
...
this now compiles on i386 with WARNS?= 3. Most of the fixes included
adding missing 'static' keywords to internal functions, using fully-defined
terminators in statically defined arrays of structs, and various
signed vs unsigned mismatches. Also G/C'd unused configSecurity()
function.
2006-02-28 21:49:33 +00:00
John Baldwin
9280ac29c3
Use some helper macros for the device table so it can fit in 80 columns and
...
to allow us to use default values in some entries to quiet warnings. This
table is actually readable again now.
2006-02-28 21:12:16 +00:00
John Baldwin
9ab25bd7d5
Drop unused major, minor, and delta values from device table.
2006-02-28 20:56:58 +00:00
John Baldwin
e9582526d3
G/C some cruft.
2006-02-28 20:34:50 +00:00
John Baldwin
d30d1cdee6
- Autogenerate a menu containing a list of countries and keymaps supported
...
by syscons.
- If we are running as init, popup the country menu before the main menu.
If a non-default country is chosen, then a second menu is brought up
to let the user choose a keymap. By default the default keymap for
the country that was selected is highlighted. If the user chooses the
default country, then the default keymap is just assumed and the user
is not presented with the keymap menu. Currently the default country
is set to "United States" except for PC98 which assumes "Japan".
PR: bin/93853
Submitted by: Seth Kingsley sethk at magnesium dot net
MFC after: 3 days
2006-02-28 20:29:43 +00:00
Ruslan Ermilov
da59fb310d
A bandaid to unbreak world.
2006-02-27 20:46:34 +00:00
Hartmut Brandt
73fd2d1e86
Reconnect bsnmpd to the build. It was temporarily disable because of a
...
mis-import. Thanks for fixing this to markm@.
2006-02-27 16:17:25 +00:00
Joseph Koshy
5943a2a3e9
Fix pmccontrol(8) on Intel Xeon's running in 64 bit mode.
...
PR: kern/93773
2006-02-27 14:25:32 +00:00
Wojciech A. Koszek
6b58c641d6
Reference sha256(1) instead of sha256(8), which doesn't exist.
...
Approved by: cognet (mentor)
MFC after: 3 days
2006-02-26 22:59:40 +00:00
David Malone
bee3d34f79
The quot command expected all inodes contents to be valid, however
...
on UFS2 inodes are initialised as they are needed, rather than at
newfs time. When quot encountered these inodes it could produce
crazy results.
Now, on UFS2 filesystems, quot's get_inode function will bzero
unallicated inodes before passing them back to a caller. This is
how UFS2 initialises new inodes, so this should work OK.
Also, while I'm here, make quot exit with an error if it finds
inodes of an unknown type. This should help catch future problems
of this type.
Reviewed by: iedowse
MFC after: 1 week
2006-02-25 23:50:15 +00:00
Jung-uk Kim
6637b6368e
- Back out 1.155. I mismerged my ancient local patch. Luckily it was
...
completely noop.
- Geometry sanitization for non-interactive mode is moved to correct place.
Reported by: Anton Yuzhaninov <citrin at citrin dot ru>
Pointyhat: me
2006-02-23 23:41:42 +00:00
Markus Brueffer
adcddbf0b1
- Use official version strings for LMP and HCI version reporting and add
...
version strings up to Bluetooth 2.0
- Update manufacturer list
Approved by: emax
MFC after: 3 days
2006-02-23 23:19:12 +00:00
Julian Elischer
f47dba63bb
Fix typo
2006-02-23 18:51:02 +00:00
Sam Leffler
7097537784
use the specified key index for non-group keys; this fixes static
...
wep key configure at key indices > 0 and 802.1x/EAPOL operation
with ap's that want the station to install a key at indices > 0.
Hard work by: Joe Love
Reviewed by: avatar
MFC after: 1 week
2006-02-21 23:55:38 +00:00
Markus Brueffer
610e662ee2
Fix scancode translation table
...
Approved by: emax
MFC after: 3 days
2006-02-20 10:07:40 +00:00
Dag-Erling Smørgrav
f1e58a9ac4
Back out revs 1.18 and 1.19; they were based on incorrect assumptions.
...
Requested by: nate
2006-02-19 00:40:28 +00:00
Robert Watson
6470320fab
Build audit command line tools only if NO_AUDIT isn't defined.
...
Submitted by: brueffer
Obtained from: TrustedBSD Project
2006-02-18 16:40:31 +00:00
Dag-Erling Smørgrav
af2cde52b3
Look for cpu/ichss instead of cpu/p4tcc, which is i386/amd64-only.
2006-02-18 16:01:07 +00:00
Dag-Erling Smørgrav
aa5cfd0420
Load cpufreq at startup if it isn't there already.
2006-02-18 11:35:12 +00:00
Dag-Erling Smørgrav
c134d8cc31
Replace the guts of usbmodule() with calls to the new kld(3) functions.
2006-02-18 11:26:36 +00:00
Sam Leffler
b3babfdc25
Change default build of wpa_supplicant to include EAPOL support;
...
ENABLE_WPA_SUPPLICANT_EAPOL is no more, now use NO_WPA_SUPPLICANT_EAPOL
to build with only WPA-PSK support.
Reviewed by: ru, bsdimp (basic approach)
MFC after: 1 week
2006-02-14 23:51:21 +00:00
Hartmut Brandt
67403c2b9e
Disconnect bsnmp from the build until the breakage is sorted out.
2006-02-14 08:34:26 +00:00
Ceri Davies
79c034867a
s/lp/plip/ for PLIP interfaces.
...
Approved by: jhb
MFC after: 1 week
2006-02-13 20:49:32 +00:00
Hartmut Brandt
b8874ce66e
Link the new file from the vendor fix to the build and install
...
the new MIB files. Add a target to smilint the MIB files.
2006-02-13 14:12:15 +00:00
Kirill Ponomarev
863c9a46b4
Fix pkg_version with the -o argument to print the origin.
...
Submitted by: Sebastian Stach <sebsta AT t-online DOT de>
MFC after: 3 days
2006-02-12 16:09:33 +00:00
Joseph Koshy
4bb7c6590e
Document the two argument form of the "machine" directive.
...
Reviewed by: imp
MFC After: 3 days
2006-02-12 07:56:11 +00:00
Markus Brueffer
cda869c9db
- Grammar fixes
...
- Reword one sentence
Approved by: brueffer
MFC after: 3 days
2006-02-11 15:36:37 +00:00
Markus Brueffer
595dedc1b0
- Fix attribute id of HIDBatteryPower
...
- Fix two typos in comments
Approved by: emax
2006-02-10 19:54:17 +00:00
Xin LI
f32c4f1dbd
Actually fix the DHCP handling, by using more robust detection of DHCP
...
setting. While there, add some more debug messages explaining what is
happening, and some comments to improve readability.
Submitted by: ceri
2006-02-09 14:43:42 +00:00
Gleb Smirnoff
a47c388cce
Refuse to install invalid ARP entries.
...
Submitted by: Vitaliy Ovsyannikov <V.Ovsyannikov kr.ru>
2006-02-09 12:49:39 +00:00
Ceri Davies
b64ff0e36e
Remove attempts to use mknod.
...
Approved by: jhb
2006-02-07 11:34:41 +00:00
Xin LI
11d5abebd2
Attempt to fix DHCP address acquisition which was broken by rev. 1.133.
...
MFC After: 3 days
2006-02-06 06:49:57 +00:00
Ceri Davies
67e4c7efd5
Another update for reality: "dangerously dedicated" mode is now
...
achieved by hitting 'F', which is no longer undocumented.
PR: bin/92533
Submitted by: Rudolf Cejka <cejkar at fit.vutbr dot cz>
2006-02-06 00:06:39 +00:00
Ceri Davies
759d68677f
Correct a user-visible typo.
2006-02-05 18:57:01 +00:00
Ceri Davies
a8d7f86323
Gratuitous "typo in comment" fix.
2006-02-05 18:49:52 +00:00
Ceri Davies
9ca95cfad3
Bring these files somewhat into the present.
...
Perform some rewording while here.
Remove register.hlp, since the code that deals with it was removed
nearly 7 years ago.
2006-02-05 18:46:46 +00:00
Ceri Davies
f6ffc14649
Perform minor rewording and grammatical improvement. Add a missing Xr.
2006-02-04 22:17:38 +00:00
Robert Watson
344c91d1b2
Add a -A argument to mergemaster to allow explicitly specifying an
...
architecture to pass through to the underlying makefiles. This is
quite useful when building on an i386 box to populate an amd64 NFS
root.
Head nod: dougb
MFC after: 1 week
2006-02-04 18:24:06 +00:00
Warner Losh
d5e0beb486
Allow newer config versions to config older versions with the same
...
major number.
Reviewed by: ru@, jhb@, arch@ (a few months ago)
# this is subject to refinement based on experience.
2006-02-03 06:12:10 +00:00
Robert Watson
e97cfaadfb
Remove reference to auditon(8), this tool has been superseded by
...
auditd(8), and was committed in error.
Obtained from: TrustedBSD Project
2006-02-02 11:14:35 +00:00
Robert Watson
8d87990e51
Enable building of OpenBSM command line tools:
...
- audit(8) - audit subsystem management tool
- auditd(8) - audit trail and subsystem management daemon
- auditreduce(1) - audit trail reduction tool
- praudit(1) - audit trail printing tool
Could probably use a NO_AUDIT make.conf flag.
Obtained from: TrustedBSD Project
2006-02-02 10:15:30 +00:00
Joel Dahl
fbf9b468d5
Expand contractions.
2006-02-01 14:33:14 +00:00
Kirill Ponomarev
1a4eb4edac
Fix typo.
2006-01-29 20:30:55 +00:00
Joseph Koshy
10affec4aa
Use ".Pa" for path names.
...
MFC after: 3 days
2006-01-29 08:44:05 +00:00
Jung-uk Kim
b5b86d9583
- Hide 'incorrect geometry warning' in non-interactive mode. A user should
...
know what they are doing in non-interactive mode. Less scarier warning
goes to debugging info instead.
- Print sanitized geometry to debugging info.
2006-01-27 21:41:49 +00:00
Jung-uk Kim
910d8ea0aa
Add `mediaOpen' function. This function mounts selected media device.
...
For example, you can dynamically generate and load configuration file
depending on the hardware configuration with the following template:
mediaSetCDROM
mediaOpen
command='/dist/rescue/sh /dist/scripts/install.sh'
system
mediaClose
configFile=/tmp/generated.cfg
loadConfig
Now we have full access to files on the media before installation begins.
2006-01-27 21:00:31 +00:00
Colin Percival
b258da0fa9
Merge from accidental commit to RELENG_5:
...
Correctly identify the host and port values on a failed
getaddrinfo lookup.
2006-01-27 14:42:15 +00:00
Erwin Lansing
5bc32c2c2b
After changing hostres from libdisk to libgeom, it now compiles
...
and runs on amd64, so revert the stopgap from rev. 1.10
Approved by: harti
Hardware borrowed from: simon
2006-01-26 21:32:51 +00:00
Hartmut Brandt
4ecdfdcf91
Replace ki_ocomm by ki_comm. The former will go away.
...
Submitted by: Victor Cruceru <soc-victor>
Suggested by: Julian Elischer
2006-01-26 12:19:10 +00:00
Hartmut Brandt
1de368e2f2
Fix a bug in the processor load code: the wrong process was used to
...
get the inital processor load. Also fix compilation on sparc64 without NDEBUG.
2006-01-26 12:15:06 +00:00