Commit Graph

139468 Commits

Author SHA1 Message Date
christos f9364a8936 Fix logic error in vndiocget. 2005-08-28 08:56:14 +00:00
christos 98785bd85a Get rid of pam debugging.
XXX: We should do this on the 3.0 branch too.
2005-08-28 07:41:41 +00:00
uwe b2023157bb Add WSDISPLAY_CUSTOM_OUTPUT &co. 2005-08-28 00:28:41 +00:00
uwe 066571f357 Oops, brain fart. PRIu32 should be "u", not "d". 2005-08-27 23:34:52 +00:00
uwe b2822da5b4 Get rid of the #if !HAVE_NBTOOL_CONFIG_H kludge. None of host tools
uses this header now.
2005-08-27 22:55:54 +00:00
uwe 25503c6713 When building as host tool don't include "../../include/util.h".
opendisk() declared in that file is not used in this case anyway, and
<util.h> pulls in unwatned includes (e.g. <utmpx.h> doesn't exist on
FreeBSD 4.*).
2005-08-27 22:43:40 +00:00
uwe d42d0f4fb3 Define PRIu32 in host environments that don't have it defined.
Define it to "d", as we are unlikely to support hosts where int is
smaller than 32 bits anyway :).
2005-08-27 22:38:02 +00:00
uwe a71ee33abc When building as host tool don't include "../../include/util.h".
getlabel{offset,sector} and opendisk functions declared in that file
are not used in this case anyway, and <util.h> pulls in unwatned
includes (e.g. <utmpx.h> doesn't exist on FreeBSD 4.*).

XXX: We can probably undo the #if !HAVE_NBTOOL_CONFIG_H kludge in
<util.h> now.
2005-08-27 22:21:14 +00:00
uwe b0e7a6ada3 UINT8_MAX and UINT16_MAX are needed for disklabel. 2005-08-27 22:08:58 +00:00
dsl 2f42d205e2 Fix some obvious problems found by actually running an install in Spanish.
It is worth remembering that trailing spaces are significant in the message
files - they cause a line break if the text is auto-filled to the RH margin.
(This is often the case when the text is a format string.)
Note: nothing (yet) checks the number (or type) of the format effectors in
 the message strings.  I found and fixed one big error, but others will
 cause core dumps.
2005-08-27 21:24:13 +00:00
elad 232f61fabb Lint warnings. 2005-08-27 16:55:59 +00:00
xtraeme df49fbe1c2 Do not show the softdep option when the fstype is not FFS, from dsl@. 2005-08-27 16:34:15 +00:00
yamt be5d1db4a4 don't include uvm_fault.h unnecessarily. 2005-08-27 16:11:32 +00:00
xtraeme 2d8aae0f85 Copy the Spanish language file into the ramdisk. 2005-08-27 15:42:56 +00:00
elad 98e0d8f19f SHA1 is a better default than MD5.
Discussed with Steven M. Bellovin.
Closes PR/30395.
2005-08-27 12:32:15 +00:00
christos efc9df200f PR/31077: Wil L: /usr/bin/make can read off of end of buffer 2005-08-27 08:04:26 +00:00
skrll d308c43536 Be explicit about which cards to setup .11a rates for.
hi matt.
2005-08-27 07:26:47 +00:00
briggs 60c87a4d4c Mention that a kthread *must* call kthread_exit() to terminate itself
properly.  If you don't, the kernel will likely crash.
2005-08-27 01:32:59 +00:00
elad 65688974fe Add missing '!' in comment. 2005-08-26 22:53:56 +00:00
xtraeme 35adb858ec sysinst: Spanish language translation, contributed by
Ivan-Benjamin Garcia Tora.
2005-08-26 16:43:11 +00:00
xtraeme 4674d5a41a 2nd stage of Spanish language translation (grammar fixes and typos),
I think it's enough for now.
2005-08-26 16:32:31 +00:00
elad 8eac896be6 Pull in SHA2 routines from libc to nbcompat. 2005-08-26 15:59:00 +00:00
elad 6a616765e1 Include namespace.h to make this build in nbcompat. 2005-08-26 15:58:17 +00:00
elad 994154b2ab Add nbcompat SHA2 header. 2005-08-26 15:57:17 +00:00
xtraeme 40fa46d39d Spanish menus translation, contributed by Ivan-Benjamin Garcia Tora
with modifications by me.

Needs some review for typos maybe.
2005-08-26 15:44:43 +00:00
drochner f557755d9f nuke locdesc_t from orbit 2005-08-26 14:20:40 +00:00
drochner 44bf0a7ee2 s/locdesc_t/int/g 2005-08-26 13:19:34 +00:00
drochner 46ed4b50c4 s/locdesc_t/int/g 2005-08-26 12:42:11 +00:00
drochner 1f9cf5d3b7 kill some more simple submatch() functions, use config_stdsubmatch() 2005-08-26 11:49:13 +00:00
drochner 49a3609892 kill some more simple submatch() functions, use config_stdsubmatch() 2005-08-26 11:20:33 +00:00
drochner 49126e9efe use XXXCF_NLOCS constants instead of magic numbers 2005-08-26 11:01:42 +00:00
drochner 096c3e1d2c kill some more simple submatch() functions, use config_stdsubmatch() 2005-08-26 10:13:05 +00:00
elad 3879a20289 Tools can't use SHA2. Noted by Geoff Wing. 2005-08-26 03:19:14 +00:00
briggs 8826927f06 ST3300831A also needs WD_QUIRK_FORCE_LBA48. 2005-08-26 00:09:03 +00:00
drochner e6a178f21f kill a number of autoconf submatch functions which follow the
standard scheme:
if (<configured> != <wildcard> && <configured> != <real>)
	then fail
else
	ask device match function

This is handled by config_stdsubmatch() now.
2005-08-25 22:33:18 +00:00
drochner 90c378642f now that we have information about default locator values
we can implement an universal submatch() function covering all
the standard cases:
if (<configured> != <wildcard> && <configured> != <real>)
	then fail
else
	ask device match function
2005-08-25 22:17:19 +00:00
drochner ea5766898f oops, too much mechanical renaming -- clearly separate searched and
found locators
2005-08-25 20:52:02 +00:00
bouyer 6f6f287c39 Add a comment explaining why we have WD_QUIRK_FORCE_LBA48, instead of always
using LBA48 for sector 0xffffff.
2005-08-25 19:06:35 +00:00
drochner fa3cb84d62 replace the "locdesc_t" structure carrying the number of locators
explicitely by a plain integer array
the length in now known to all relevant parties, so this avoids
duplication of information, and we can allocate that thing in
drivers without hacks
2005-08-25 18:35:38 +00:00
briggs ede55d75e5 Add some comments about using inttypes.h / int_fmtio.h macros.
Show use of PRIdMAX, PRIxMAX, PRId64, PRIx32, and refer to SCN*.
Inspired by comments from Roland Illig and others.
2005-08-25 17:51:58 +00:00
rpaulo e606ac2d9a PR bin/31068: whatis doesn't find /bin/[ by Zafer Aydogan.
Patch provided by Jukka Salmi. I just added a comment.
2005-08-25 16:29:15 +00:00
drochner 8d7141beec mention recent kernel config change,
being here, usr.sbin/config -> usr.bin/config where appropriate,
and remove references to egcs
2005-08-25 16:01:14 +00:00
drochner 726f5e9afa remove unneeded syy/device.h include 2005-08-25 15:58:38 +00:00
drochner 9ab0a3e02e struct cfdata doesn't have locnames anymore 2005-08-25 15:08:06 +00:00
drochner 6036af9fc4 Replace the "locnames", attached to cfdata, which was solely good for
userconf, by more complete information (including default values) about
interface attributes, attached to the drivers which provide them.
2005-08-25 15:06:28 +00:00
drochner f46880afbf in locators.h, also emit definitions about the number of locators per
interface attribute
2005-08-25 15:02:18 +00:00
drochner 0d6cb6f10c Replace the "locnames", attached to cfdata, which was solely good for
userconf, by more complete information (including default values) about
interface attributes, attached to the drivers which provide them.
2005-08-25 15:01:07 +00:00
he e4496714db Make these first-stage boot loaders use a locally-defined ino32_t
instead of introducing 64-bit operations in these space-constrained
pieces of code with the recent change to ino_t. This is patterned
slightly after recent changes to libsa's ufs.c.

Approved by christos.
2005-08-25 14:31:07 +00:00
tron 251c50b7b1 Fix vulnerability reported in SA16553 using the Red Hat patch. 2005-08-25 10:00:01 +00:00
tron a73f6299d6 Fix host tool build which got broken when SHA2 support was added. 2005-08-25 09:51:23 +00:00