Ian Dowse
6f2e86455b
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
Ian Dowse
23d0f849c5
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
Ian Dowse
4a8b7e33b7
Add support for reading ELF relocatable object file format modules.
2004-08-27 00:58:40 +00:00
Nate Lawson
85cdc19d00
Always set the status and move a printf under bootverbose.
...
Tested by: gj
2004-08-27 00:53:11 +00:00
Ian Dowse
9772dc2aff
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
David E. O'Brien
8ae136ae71
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
Lukas Ertl
4328802ce9
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
Jacques Vidrine
521adbdfc7
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
Ruslan Ermilov
85231d66d4
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
Nate Lawson
59506cd39a
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
Dag-Erling Smørgrav
461af901ed
Correct capitalization of DeLorme Publishing.
2004-08-26 16:59:50 +00:00
Dag-Erling Smørgrav
44336f2f9c
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
Ruslan Ermilov
f2b9afaef9
Document how a standalone module can be built with divert(4) support.
2004-08-26 14:35:05 +00:00
Ruslan Ermilov
9bfe6d472a
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
Tim J. Robbins
1a9415af17
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
Pawel Jakub Dawidek
29c78ab315
Skip providers with not defined sector size.
...
Reported by: kuriyama
2004-08-26 12:42:47 +00:00
Paul Richards
db68d2a6b7
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
Hiroki Sato
e5bcf939e4
s/_/./g for an entity name.
...
Reviewed by: simon
2004-08-26 08:52:46 +00:00
Christian Brueffer
e4e00841a4
Autogenerate device listings for cue(4) and kue(4)
2004-08-26 08:37:40 +00:00
Christian Brueffer
caf87e164d
Add cue(4) and kue(4)
2004-08-26 08:36:09 +00:00
Christian Brueffer
93b1d47264
- 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
Christian Brueffer
117c4d6494
- 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
Tim J. Robbins
cea8c362b0
Re-generate from sl_SI.ISO8859-2.src rev. 1.8 (lowercase month/weekday names).
2004-08-26 08:18:56 +00:00
Tim J. Robbins
fbda1d2afe
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
Tim Kientzle
85c6c73a4d
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 Konovalov
9d455d451b
Backout recent -j changes, the flags is deprecated.
...
Requested by: tjr
2004-08-26 06:28:05 +00:00
Dag-Erling Smørgrav
096ad1042a
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
Alan Cox
7fde238f04
Remove unnecessary check for curthread == NULL.
2004-08-26 04:34:39 +00:00
Warner Losh
490ec740c8
Add reference to vslock(9) for locking user address pages into core.
...
Suggested by: alc
2004-08-26 04:16:55 +00:00
Alan Cox
48d0b1a0dc
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
Tim Kientzle
2522fe6764
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
Tim Kientzle
c85db499ac
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
David Xu
1db81dc074
Add missing brackets. It was committed from wrong tree.
2004-08-26 02:41:01 +00:00
Tim Kientzle
1ced550de7
Tell getopt to accept the (already-implemented) -I option.
2004-08-26 01:58:14 +00:00
Simon L. B. Nielsen
2c84f2953a
Bump document date for last commit.
2004-08-26 00:26:52 +00:00
Simon L. B. Nielsen
71d4b49a63
- 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
Christian Brueffer
ae89c15a8d
- use .Nm
...
- fix some grammar and spelling mistakes
MFC after: 3 days
2004-08-25 23:43:55 +00:00
David Xu
28f5d1b766
gcc -O2 cleanup. tested for a long time.
...
Reviewed by: deischen
2004-08-25 23:42:40 +00:00
Simon L. B. Nielsen
a733008573
Support column lists, by only extracting the first column.
...
MFC after: 3 days
2004-08-25 23:32:26 +00:00
Christian Brueffer
4bea5fa544
Autogenerate device listings for axe(4) and rue(4)
2004-08-25 22:57:07 +00:00
Christian Brueffer
b952b473dd
Add axe(4) and rue(4)
2004-08-25 22:55:02 +00:00
Christian Brueffer
25122f37e7
- 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
Christian Brueffer
a173ee89bc
- 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 L. B. Nielsen
05893e23b1
Fix grammar nit.
...
Submitted by: brueffer
MFC after: 2 days
2004-08-25 22:36:47 +00:00
Marius Strobl
8f0882f544
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
Ruslan Ermilov
e5d264a34b
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
Robert Watson
161a0c7cff
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
Nate Lawson
b0e7e61135
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
Warner Losh
6586253a61
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
Pawel Jakub Dawidek
4cf67afe37
Log verification errors at level 1.
2004-08-25 19:18:07 +00:00