Commit Graph

107206 Commits

Author SHA1 Message Date
iedowse
1268768c3d When trying each linker class in turn with a preloaded module, exit
the loop if the preload was successful. Previously a successful
preload was ignored if the linker class was not the last in the
list.
2004-08-27 01:20:26 +00:00
iedowse
5fe6074c1d Add a new module information type MODINFOMD_SHDR that will be used
by the loader to pass the section header table from preloaded ELF
relocatable modules into the kernel.
2004-08-27 01:10:16 +00:00
iedowse
3fe1377c6a Add MD relocation support for amd64 and i386 platforms. The no-op
relocation is not sufficient for ELF relocatable object format
modules, since accessing the module metadata involves following
pointers between different ELF sections.

This allows kldxref to correctly build linker.hints on the amd64
platform.
2004-08-27 01:06:57 +00:00
iedowse
c3e1384b73 Add support for reading ELF relocatable object file format modules. 2004-08-27 00:58:40 +00:00
njl
61e20d76f4 Always set the status and move a printf under bootverbose.
Tested by:	gj
2004-08-27 00:53:11 +00:00
iedowse
ca4083743c Call the file format specific code through a table of function
pointers and remove knowledge of the file format from kldxref.c.
This will make it possible to support more than one file format.
2004-08-27 00:51:21 +00:00
obrien
878483bef2 In conjunction with having boot0cfg(8) default boot0 to packet mode.
Submitted by:	Tor.Egge@cvsup.no.freebsd.org
2004-08-27 00:18:03 +00:00
le
0fd3e9eb56 When attaching a consumer from a volume to a plex, check if the
volume already has a plex attached and adjust the access counts
of the new consumer accordingly.
2004-08-26 21:04:41 +00:00
nectar
1871435a01 Correct a denial-of-service vulnerability in zlib.
For reference, this bug was first reported at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=252253

Submitted by:	"Dmitry V. Levin" <ldv@altlinux.org>
2004-08-26 19:37:06 +00:00
ru
c38b893154 Fixed the shell arithmetic to work with 4.x /bin/sh.
Tested by:	make release of HEAD on 4.10-STABLE
2004-08-26 19:15:20 +00:00
njl
c246d1f1a9 If getting the current setting after modifying the link failed, we assume
it succeeded.  However, we also need to set the status to AE_OK.
2004-08-26 17:14:36 +00:00
des
6d1d9491c0 Correct capitalization of DeLorme Publishing. 2004-08-26 16:59:50 +00:00
des
d64962e198 The check for r_flag was accidentally removed in the previous commit.
Submitted by:	SANETO Takanori <sanewo@ba2.so-net.ne.jp>
MFC after:	3 days
2004-08-26 15:51:10 +00:00
ru
029d2b83e2 Document how a standalone module can be built with divert(4) support. 2004-08-26 14:35:05 +00:00
ru
fdbaf5c59c Revert the last change to sys/modules/ipfw/Makefile and fix a
standalone module build in a better way.

Silence from:	andre
MFC after:	3 days
2004-08-26 14:18:30 +00:00
tjr
7845779267 Improve the robustness of MSDOSFSMNT_KICONV handling:
- Use copyinstr() to read cs_win, cs_dos, cs_local strings from the
  mount argument structure instead of reading through user-space pointers(!).
- When mounting a filesystem, or updating an existing mount, only try to
  update the iconv handles from the information in the mount argument
  structure if the structure itself has the MSDOSFSMNT_KICONV flag set.
- Attempt to handle failure of update_mp() in the MNT_UPDATE case.
2004-08-26 13:16:44 +00:00
pjd
7f46afc9bf Skip providers with not defined sector size.
Reported by:	kuriyama
2004-08-26 12:42:47 +00:00
paul
76d46b5b42 Backout the CVSTAG variable, it could potentially be dangerous if
you track multiple releases in different trees.

Leave the CVSOPTIONS variable there since it could be useful.
2004-08-26 10:24:25 +00:00
hrs
0e756b4674 s/_/./g for an entity name.
Reviewed by:    simon
2004-08-26 08:52:46 +00:00
brueffer
ef152499e5 Autogenerate device listings for cue(4) and kue(4) 2004-08-26 08:37:40 +00:00
brueffer
c8a355d755 Add cue(4) and kue(4) 2004-08-26 08:36:09 +00:00
brueffer
d38be008d8 - move the list of supported adapters into a HARDWARE section
- properly capitalize Ethernet
- replace a misleading 'adapter' with 'chipset'
- bump document date

MFC after:	3 days
2004-08-26 08:34:09 +00:00
brueffer
e74fb6ff0d - move the list of supported adapters into a HARDWARE section
- sort the list of adapters
- add the 3Com 3c460 HomeConnect Ethernet USB Adapter [1]
- properly capitalize Ethernet
- replace a misleading 'adapter' with 'chipset'
- bump document date

Obtained from:	NetBSD [1]
MFC after:	3 days
2004-08-26 08:33:03 +00:00
tjr
ccbf593e7e Re-generate from sl_SI.ISO8859-2.src rev. 1.8 (lowercase month/weekday names). 2004-08-26 08:18:56 +00:00
tjr
f1e1a1097b Begin month and weekday names with a lowercase letter. This is consistent
with (at least) Solaris, ICU and glibc.

PR:		65317
Submitted by:	Uros
MFC after:	1 week
2004-08-26 08:15:48 +00:00
kientzle
d48cc88658 Permit -P to be combined with -t. (It's a no-op then, just as in gtar.) 2004-08-26 06:28:39 +00:00
maxim
e21edac0ea Backout recent -j changes, the flags is deprecated.
Requested by:	tjr
2004-08-26 06:28:05 +00:00
des
cc42042e49 Don't forget to va_end() the va_list we get from va_copy().
Submitted by:	Sean McNeil <sean@mcneil.com>
MFC after:	3 days
2004-08-26 06:25:28 +00:00
alc
a4134eed55 Remove unnecessary check for curthread == NULL. 2004-08-26 04:34:39 +00:00
imp
73199cf7e9 Add reference to vslock(9) for locking user address pages into core.
Suggested by: alc
2004-08-26 04:16:55 +00:00
alc
270429c53c Add pmap locking to many of the functions.
Many thanks to Andrew Gallatin for resolving a powerpc-specific
initialization problem in my original patch.

Tested by: gallatin@
2004-08-26 04:15:36 +00:00
kientzle
2222ae0c1d Don't edit permissions of pre-existing directories during extract.
This closes a security hole.  Otherwise, libarchive will happily
extract into directories to which it lacks write permissions by
resetting the permissions during the extract.

Thanks to: Kris Kennaway
2004-08-26 03:53:43 +00:00
kientzle
f9cf91fb01 It is not legal to re-use a va_list variable. This caused
a crash on amd64, in particular.

Thanks to: Sean McNeil
2004-08-26 03:33:53 +00:00
davidxu
8eb09c15b9 Add missing brackets. It was committed from wrong tree. 2004-08-26 02:41:01 +00:00
kientzle
e646968085 Tell getopt to accept the (already-implemented) -I option. 2004-08-26 01:58:14 +00:00
simon
73c0fca7e7 Bump document date for last commit. 2004-08-26 00:26:52 +00:00
simon
af774d215c - Add a HARDWARE section which lists supported devices.
- Mark up each item in the device list with .It, as per mdoc(7) and to
  make it simpler for auto generated Hardware Notes to parse the manual
  page.

MFC after:	3 days
2004-08-26 00:19:54 +00:00
brueffer
2c8818f579 - use .Nm
- fix some grammar and spelling mistakes

MFC after:	3 days
2004-08-25 23:43:55 +00:00
davidxu
a4dbc4af0d gcc -O2 cleanup. tested for a long time.
Reviewed by: deischen
2004-08-25 23:42:40 +00:00
simon
85c14460df Support column lists, by only extracting the first column.
MFC after:	3 days
2004-08-25 23:32:26 +00:00
brueffer
4a0e64cbad Autogenerate device listings for axe(4) and rue(4) 2004-08-25 22:57:07 +00:00
brueffer
dbcda3291c Add axe(4) and rue(4) 2004-08-25 22:55:02 +00:00
brueffer
37fdb36eba - move list of supported adapters into a HARDWARE section
- fix capitalization of a "to"
- bump document date

MFC after:	3 days
2004-08-25 22:46:36 +00:00
brueffer
6cba0a9ac0 - put the list of supported adapters into a HARDWARE section
- make the Buffalo entry look better
- properly capitalize Ethernet and Fast Ethernet
- bump document date

MFC after:	3 days
2004-08-25 22:39:05 +00:00
simon
cc9b37b925 Fix grammar nit.
Submitted by:	brueffer
MFC after:	2 days
2004-08-25 22:36:47 +00:00
marius
b58e118024 Don't call uart_bus_probe() for non-matching PnP-devices. Trying to probe
the keyboard controller with uart_bus_probe() caused a hang here on an i386
machine.

Approved by:	marcel
2004-08-25 22:15:33 +00:00
ru
ddecdaa419 Fix "make world DESTDIR=/mnt" to work again. A recent change
to make(1) that causes command-line variables to be passed as
command-line variables to sub-processes that make(1) executes
broke it.  By changing the type of all DESTDIR variables used
internally in Makefile.inc1, from environment to command-line
variables of the highest priority, I was able to "make world"
with success, with the command-line variable DESTDIR set.
2004-08-25 22:06:29 +00:00
rwatson
4dfef2e0e5 Don't hold the UNIX domain socket subsystem lock over the body of the
UNIX domain socket garbage collection implementation, as that risks
holding the mutex over potentially sleeping operations (as well as
introducing some nasty lock order issues, etc).  unp_gc() will hold
the lock long enough to do necessary deferal checks and set that it's
running, but then release it until it needs to reset the gc state.

RELENG_5 candidate.

Discussed with:	alfred
2004-08-25 21:24:36 +00:00
njl
39d813bc6f Remove code to initialize the lid state at boot. It interfered with lid
operation for some users with pure GPE lid switches (vs. embedded
controller.)

Tested by:	Anish Mistry <mistry.7_at_osu.edu>
MFC after:	3 days
2004-08-25 20:09:15 +00:00
imp
3b8f16bada Recommend using make kernel for current -> current upgrades. No reason
to have multiple commands for that.
Use relative paths into the src tree consistantly in the instructions.
Fix minor nits that have crept into things.

# is preseedrandom still necessary?
2004-08-25 19:39:13 +00:00