dragonfly.git
12 years agoUse TAILQ_HEAD_INITIALIZER to initialize global variable 'ifnet'
Sepherosa Ziehau [Sat, 29 Dec 2007 12:51:17 +0000 (12:51 +0000)]
Use TAILQ_HEAD_INITIALIZER to initialize global variable 'ifnet'

12 years agoHAMMER 11/many - initial spike commit.
Matthew Dillon [Sat, 29 Dec 2007 09:01:27 +0000 (09:01 +0000)]
HAMMER 11/many - initial spike commit.

* Fix a bug in the cluster disk offset calculation.
* Implement the cluster allocator and related header initialization.
* Remove wildcarding from hammer_btree_cmp().
* Move the historical filter out of hammer_btree_cmp() and into its own
  procedure.
* Allow the ending element in a B-Tree range iteration to be inclusive or
  exclusive of the range.
* Add infrastructure for cluster-localizes searches.
* Initial commit of the spike code (still in progress).

This commit brings in most of the infrastructure needed for the spike code.
The spike code is what glues one cluster's B-Tree to another cluster's B-Tree.
At the moment we spike by taking the B-Tree leaf node at the cursor after
a search and moving all of its elements to a new cluster, then replacing
the pointer to that leaf node in the parent B-Tree node with a cluster
reference.

This is non-optimal at the moment.  Several optimizations are possible and
will be eventually be implemented.

12 years agoSync the adduser(8) command with FreeBSD. Summary:
Matthias Schmidt [Fri, 28 Dec 2007 16:37:10 +0000 (16:37 +0000)]
Sync the adduser(8) command with FreeBSD.  Summary:

 o Check if a user already exists
 o Correct nologin path (was /usr/sbin instead of /sbin)
 o Man page fixes (mostly typos and some rewording)

12 years ago- Regroup global variables, function declarations and macros
Sepherosa Ziehau [Fri, 28 Dec 2007 14:09:25 +0000 (14:09 +0000)]
- Regroup global variables, function declarations and macros
- Nuke unused head file
- Minor style changes

# No functional changes

12 years agoUse M_ASSERTPKTHDR
Sepherosa Ziehau [Fri, 28 Dec 2007 13:27:45 +0000 (13:27 +0000)]
Use M_ASSERTPKTHDR

12 years agokmalloc(M_WAITOK) will not return NULL
Sepherosa Ziehau [Fri, 28 Dec 2007 13:16:10 +0000 (13:16 +0000)]
kmalloc(M_WAITOK) will not return NULL

12 years agoUse the correct version.
Sascha Wildner [Fri, 28 Dec 2007 12:34:44 +0000 (12:34 +0000)]
Use the correct version.

12 years ago- Use NULL
Sepherosa Ziehau [Fri, 28 Dec 2007 11:46:38 +0000 (11:46 +0000)]
- Use NULL
- Shut up gcc4 warning; it seems to be confused by the code path

12 years ago- Use M_ZERO
Sepherosa Ziehau [Fri, 28 Dec 2007 11:37:08 +0000 (11:37 +0000)]
- Use M_ZERO
- Minor cleanup

12 years agoTesting
Sascha Wildner [Thu, 27 Dec 2007 23:52:35 +0000 (23:52 +0000)]
Testing

12 years agoEnhance the comment
Matthias Schmidt [Thu, 27 Dec 2007 20:00:51 +0000 (20:00 +0000)]
Enhance the comment

Obtained-From:  FreeBSD

12 years agoTest cvs add :)
Matthias Schmidt [Thu, 27 Dec 2007 15:40:59 +0000 (15:40 +0000)]
Test cvs add :)

12 years agoPass NULL instead of getprogname() to pidfile(). pidfile() will automatically
Matthias Schmidt [Thu, 27 Dec 2007 15:29:40 +0000 (15:29 +0000)]
Pass NULL instead of getprogname() to pidfile().  pidfile() will automatically
detect if the option is NULL and insert the appropriate basename.

12 years agoDon't randomize fortune dat files during build time. fortune will display
Matthias Schmidt [Thu, 27 Dec 2007 13:40:11 +0000 (13:40 +0000)]
Don't randomize fortune dat files during build time.  fortune will display
its entries randomized anyway.  Without this change comparing two trees
(for binary updates) will lead to false postives.

12 years agoAdd 'H' to usage() options. This was missing from the last commit.
Matthias Schmidt [Thu, 27 Dec 2007 13:31:42 +0000 (13:31 +0000)]
Add 'H' to usage() options.  This was missing from the last commit.

12 years agoo Change my personal copyright to the DragonFly copyright
Matthias Schmidt [Thu, 27 Dec 2007 11:52:10 +0000 (11:52 +0000)]
o Change my personal copyright to the DragonFly copyright
o Add a HISTORY entry to the man page

12 years agoHello :)
Matthias Schmidt [Thu, 27 Dec 2007 10:47:55 +0000 (10:47 +0000)]
Hello :)

12 years agoUse .Fa for struct members.
Sascha Wildner [Thu, 27 Dec 2007 04:00:03 +0000 (04:00 +0000)]
Use .Fa for struct members.

12 years agoUse uintmax_t for printing/reading ino_t.
Sascha Wildner [Thu, 27 Dec 2007 02:25:41 +0000 (02:25 +0000)]
Use uintmax_t for printing/reading ino_t.

12 years agoFix off-by-one bug causing core dump when encountering syscall with index
Nicolas Thery [Thu, 27 Dec 2007 00:59:25 +0000 (00:59 +0000)]
Fix off-by-one bug causing core dump when encountering syscall with index
one past the last one known to truss.

DragonFly-bug: <http://bugs.dragonflybsd.org/issue891>

12 years agoTest commit bit :-).
Nicolas Thery [Thu, 27 Dec 2007 00:24:39 +0000 (00:24 +0000)]
Test commit bit :-).

12 years agoVlan tagging support in msk(4) is still missing.
Sascha Wildner [Wed, 26 Dec 2007 16:11:33 +0000 (16:11 +0000)]
Vlan tagging support in msk(4) is still missing.

12 years agoAdd et(4).
Sascha Wildner [Wed, 26 Dec 2007 14:32:31 +0000 (14:32 +0000)]
Add et(4).

12 years agoAdjust various manpages/files for the new msk(4) driver.
Sascha Wildner [Wed, 26 Dec 2007 14:29:30 +0000 (14:29 +0000)]
Adjust various manpages/files for the new msk(4) driver.

12 years agoAdd a manual page for msk(4).
Sascha Wildner [Wed, 26 Dec 2007 14:27:58 +0000 (14:27 +0000)]
Add a manual page for msk(4).

Submitted-by: sephe
Taken-from:   FreeBSD

12 years agoImport msk(4) which supports Marvell Yukon II based NICs (both gigE and fastE)
Sepherosa Ziehau [Wed, 26 Dec 2007 14:02:36 +0000 (14:02 +0000)]
Import msk(4) which supports Marvell Yukon II based NICs (both gigE and fastE)

Obtained-from: FreeBSD (yongari@FreeBSD.org)
Tested-by: me, swildner@, Ferruccio Zamuner <nonsolosoft@diff.org>
# Hardware vlan tagging, hardware checksum offload and jumbo frame support
# are still missing as of this commit.

12 years agoregen
Sepherosa Ziehau [Wed, 26 Dec 2007 13:02:38 +0000 (13:02 +0000)]
regen

12 years agoAdd PHY IDs for Broadcom 5906 10/100
Sepherosa Ziehau [Wed, 26 Dec 2007 13:02:03 +0000 (13:02 +0000)]
Add PHY IDs for Broadcom 5906 10/100

12 years agoregen
Sepherosa Ziehau [Wed, 26 Dec 2007 12:59:09 +0000 (12:59 +0000)]
regen

12 years agoAdd Broadcom 5906/5906M 10/100 NIC PCI IDs
Sepherosa Ziehau [Wed, 26 Dec 2007 12:57:52 +0000 (12:57 +0000)]
Add Broadcom 5906/5906M 10/100 NIC PCI IDs

12 years agoAdd /etc/pam.d, /etc/rc.d and /etc/ssh.
Sascha Wildner [Wed, 26 Dec 2007 05:51:39 +0000 (05:51 +0000)]
Add /etc/pam.d, /etc/rc.d and /etc/ssh.

Taken-from: FreeBSD

12 years agoDon't include .It in the width specifier.
Sascha Wildner [Wed, 26 Dec 2007 05:45:07 +0000 (05:45 +0000)]
Don't include .It in the width specifier.

12 years agoFix typo in kernel option.
Sascha Wildner [Tue, 25 Dec 2007 13:38:47 +0000 (13:38 +0000)]
Fix typo in kernel option.

12 years agoRemove references to drivers which don't exist in DragonFly.
Hasso Tepper [Tue, 25 Dec 2007 12:54:50 +0000 (12:54 +0000)]
Remove references to drivers which don't exist in DragonFly.

12 years ago* Remove references to 'options GPL_MATH_EMULATE' which was removed
Sascha Wildner [Tue, 25 Dec 2007 12:40:32 +0000 (12:40 +0000)]
* Remove references to 'options GPL_MATH_EMULATE' which was removed
  almost 3 years ago.

* Remove reference to the i387 since we dropped i386 support a while
  ago.

* While I'm here, improve markup a bit and start sentences on a
  new line.

12 years agoAdd some words about THREAD_LIB.
Sascha Wildner [Mon, 24 Dec 2007 11:23:05 +0000 (11:23 +0000)]
Add some words about THREAD_LIB.

12 years agoRemove unused CTS_SPI_FLAGS_TAG_ENB.
Peter Avalos [Mon, 24 Dec 2007 00:14:52 +0000 (00:14 +0000)]
Remove unused CTS_SPI_FLAGS_TAG_ENB.

Obtained-from: FreeBSD

12 years agoFix typo.
Sascha Wildner [Sun, 23 Dec 2007 16:47:33 +0000 (16:47 +0000)]
Fix typo.

12 years agoRemove CVS ids.
Sascha Wildner [Sun, 23 Dec 2007 16:47:00 +0000 (16:47 +0000)]
Remove CVS ids.

12 years agoFix various typos in our manpages.
Sascha Wildner [Sun, 23 Dec 2007 15:31:29 +0000 (15:31 +0000)]
Fix various typos in our manpages.

12 years agoFixes for CAM_NEW_TRAN_CODE.
Peter Avalos [Sun, 23 Dec 2007 07:00:57 +0000 (07:00 +0000)]
Fixes for CAM_NEW_TRAN_CODE.

This commit is taken from a FreeBSD changeset, and is not intended to
be comprehensive.  Some drivers will still not compile/work with the
CAM_NEW_TRAN_CODE option, but this opens the door for wider testing.

Obtained-from: FreeBSD

12 years agoFix typo that was causing CAM_NEW_TRAN_CODE to do nothing.
Peter Avalos [Sun, 23 Dec 2007 04:46:04 +0000 (04:46 +0000)]
Fix typo that was causing CAM_NEW_TRAN_CODE to do nothing.

12 years ago- Add THREAD_LIB to make.conf
Sepherosa Ziehau [Sun, 23 Dec 2007 02:46:40 +0000 (02:46 +0000)]
- Add THREAD_LIB to make.conf
- Export LIBTHREAD in bsd.libnames.mk based on THREAD_LIB
- Bail out earlier, if NO_LIBC_R is defined and THREAD_LIB is "r_c"
- Set DPADD to LIBTHREAD in lib/libpthread/Makefile

# Default thread library is still lib/libthread_xu

12 years agoRemove duplicate option.
Sascha Wildner [Sun, 23 Dec 2007 00:25:52 +0000 (00:25 +0000)]
Remove duplicate option.

12 years agoMerge from vendor branch LIBARCHIVE:
Peter Avalos [Sat, 22 Dec 2007 21:53:04 +0000 (21:53 +0000)]
Merge from vendor branch LIBARCHIVE:
Import libarchive-2.4.8:

gzip and bzip2 compression now handle zero-byte writes correctly.

Fix a couple of minor memory leaks.

12 years agoImport libarchive-2.4.8:
Peter Avalos [Sat, 22 Dec 2007 21:53:04 +0000 (21:53 +0000)]
Import libarchive-2.4.8:

gzip and bzip2 compression now handle zero-byte writes correctly.

Fix a couple of minor memory leaks.

12 years agoUse normal date, we don't support $.
Sascha Wildner [Sat, 22 Dec 2007 19:24:32 +0000 (19:24 +0000)]
Use normal date, we don't support $.

12 years agoUse .In
Sascha Wildner [Sat, 22 Dec 2007 19:07:00 +0000 (19:07 +0000)]
Use .In

12 years agoUse .Dx
Sascha Wildner [Fri, 21 Dec 2007 22:34:47 +0000 (22:34 +0000)]
Use .Dx

12 years agoBring in a script(7) manual page which describes some details about
Sascha Wildner [Fri, 21 Dec 2007 22:14:04 +0000 (22:14 +0000)]
Bring in a script(7) manual page which describes some details about
interpreter script execution.

Add references to script(7).

Taken-from: OpenBSD & NetBSD

12 years agoFix yet another tunable name.
Sascha Wildner [Fri, 21 Dec 2007 19:13:35 +0000 (19:13 +0000)]
Fix yet another tunable name.

12 years agoFix tunable name.
Sascha Wildner [Fri, 21 Dec 2007 19:02:29 +0000 (19:02 +0000)]
Fix tunable name.

12 years ago- All inpcb related operations are now CPU localized, so there is no need to
Sepherosa Ziehau [Fri, 21 Dec 2007 13:17:51 +0000 (13:17 +0000)]
- All inpcb related operations are now CPU localized, so there is no need to
  protect them with critical secion.
- Clean up div_bind() a little bit.

# divert(4) is CPU localized; I don't think a system will open more than
# one divert(4) socket.

12 years agoIn divert_packet():
Sepherosa Ziehau [Fri, 21 Dec 2007 12:51:51 +0000 (12:51 +0000)]
In divert_packet():
Dispatch mbuf to CPU0 if the current CPU is not CPU0, so we can safely
locate inpcb there.

This change does not affect UP system.

12 years agoRemove NetBSD synopsis.
Sascha Wildner [Fri, 21 Dec 2007 10:43:59 +0000 (10:43 +0000)]
Remove NetBSD synopsis.

12 years agoFix accents.
Sascha Wildner [Fri, 21 Dec 2007 09:51:11 +0000 (09:51 +0000)]
Fix accents.

12 years agoAdd a manual page for the est(4) driver.
Sascha Wildner [Fri, 21 Dec 2007 09:00:41 +0000 (09:00 +0000)]
Add a manual page for the est(4) driver.

12 years agoAdd some quick documentation regarding the CAM_NEW_TRAN_CODE option.
Peter Avalos [Fri, 21 Dec 2007 00:14:58 +0000 (00:14 +0000)]
Add some quick documentation regarding the CAM_NEW_TRAN_CODE option.

Reviewed-by: swildner
12 years agoprintf -> kprintf
Peter Avalos [Fri, 21 Dec 2007 00:02:53 +0000 (00:02 +0000)]
printf -> kprintf

12 years agoAdd CAM_NEW_TRAN_CODE as a kernel option.
Peter Avalos [Thu, 20 Dec 2007 23:31:26 +0000 (23:31 +0000)]
Add CAM_NEW_TRAN_CODE as a kernel option.

12 years agoIn divert_packet():
Sepherosa Ziehau [Thu, 20 Dec 2007 12:44:20 +0000 (12:44 +0000)]
In divert_packet():
- Since rcvif is checked on the main code path, we need to make sure that
  the mbuf contains pkthdr.
- It is impossible for a mbuf that does not contain divert tag to sneak into
  divert_packet(); add assertion about it.
- Rearrange code a little bit.

12 years agoGeneralize PF_MBUF_GENERATED mbuf firewall flag
Sepherosa Ziehau [Wed, 19 Dec 2007 12:13:17 +0000 (12:13 +0000)]
Generalize PF_MBUF_GENERATED mbuf firewall flag

12 years agocOPy? o.O
Sepherosa Ziehau [Wed, 19 Dec 2007 11:10:42 +0000 (11:10 +0000)]
cOPy?  o.O

12 years agoMake divert(4) socket dispatch mbuf to correct the lwkt port for further
Sepherosa Ziehau [Wed, 19 Dec 2007 11:00:23 +0000 (11:00 +0000)]
Make divert(4) socket dispatch mbuf to correct the lwkt port for further
processing (ip_{input,output}):
- Add mbuf** function parameter to protosw.pr_mport()
- Pass 'addr' to pr_mport() in so_pru_send(); udp_soport() is adjusted
  accordingly
- Add additional parameter to ip_mport(), so it could be called with both
  incoming and outgoing packets.  And the processing for outgoing UDP packets
  matches udp_soport()
- Add div_soport() as IPPROTO_DIVERT's pr_mport()
  o  Delegate non-PRU_SEND operation to cpu0_soport()
  o  Move receiving interface setting up code from div_output() into this
     function, so ip_mport() could be called
  o  Use ip_mport() to find the target lwkt port

12 years agoRemove trailing whitespace.
Sascha Wildner [Mon, 17 Dec 2007 18:38:00 +0000 (18:38 +0000)]
Remove trailing whitespace.

12 years ago.Pp is not needed before .Sh
Sascha Wildner [Mon, 17 Dec 2007 18:36:34 +0000 (18:36 +0000)]
.Pp is not needed before .Sh

12 years agoFix SYNOPSIS.
Sascha Wildner [Mon, 17 Dec 2007 18:27:14 +0000 (18:27 +0000)]
Fix SYNOPSIS.

12 years agoFix .Dv abuse: Use .Li for the labels.
Sascha Wildner [Mon, 17 Dec 2007 18:13:10 +0000 (18:13 +0000)]
Fix .Dv abuse: Use .Li for the labels.

12 years agoAdd ID for ICH8M in compatibility mode. This makes Thinkpad X61s report
Hasso Tepper [Mon, 17 Dec 2007 09:24:40 +0000 (09:24 +0000)]
Add ID for ICH8M in compatibility mode. This makes Thinkpad X61s report
correct HD speed.

Reviewed-by: tgen@
12 years agoFix flag name: it is 'schg' according to chflags(1).
Thomas Nikolajsen [Sun, 16 Dec 2007 21:07:34 +0000 (21:07 +0000)]
Fix flag name: it is 'schg' according to chflags(1).

12 years agoFix usage() to use correct name of program.
Thomas Nikolajsen [Sun, 16 Dec 2007 20:17:54 +0000 (20:17 +0000)]
Fix usage() to use correct name of program.

12 years agoAdd two cross references.
Thomas Nikolajsen [Sun, 16 Dec 2007 20:12:09 +0000 (20:12 +0000)]
Add two cross references.

12 years agoCorrect references to this OS.
Thomas Nikolajsen [Sun, 16 Dec 2007 20:10:21 +0000 (20:10 +0000)]
Correct references to this OS.

12 years agoDelete reference without relevance.
Thomas Nikolajsen [Sun, 16 Dec 2007 20:06:29 +0000 (20:06 +0000)]
Delete reference without relevance.

12 years agoCorrect location of svr4.4 and streams.4.
Thomas Nikolajsen [Sun, 16 Dec 2007 19:33:08 +0000 (19:33 +0000)]
Correct location of svr4.4 and streams.4.

12 years agoCorrect location of oltr.4.
Thomas Nikolajsen [Sun, 16 Dec 2007 19:04:58 +0000 (19:04 +0000)]
Correct location of oltr.4.

12 years agoFix building with 'options CPU_DISABLE_SSE'.
Sascha Wildner [Sun, 16 Dec 2007 18:46:01 +0000 (18:46 +0000)]
Fix building with 'options CPU_DISABLE_SSE'.

12 years agoConvert to mdoc.
Sascha Wildner [Sun, 16 Dec 2007 11:44:19 +0000 (11:44 +0000)]
Convert to mdoc.

12 years agoCorrect references to obsolete /etc/rc.* files: rc.serial & rc.network.
Thomas Nikolajsen [Sun, 16 Dec 2007 02:55:38 +0000 (02:55 +0000)]
Correct references to obsolete /etc/rc.* files: rc.serial & rc.network.

12 years agoDelete obsolete rc.* manual pages.
Thomas Nikolajsen [Sun, 16 Dec 2007 01:58:38 +0000 (01:58 +0000)]
Delete obsolete rc.* manual pages.
Correct some /etc/rc.d/* references and add rc.d history to rc.8.

12 years ago* Begin sentences on a new line.
Sascha Wildner [Sun, 16 Dec 2007 01:26:34 +0000 (01:26 +0000)]
* Begin sentences on a new line.

* Fix ioctl name: s/APMIO_GET/APMIO_GETINFO/

12 years agoUse .Pa everywhere.
Thomas Nikolajsen [Sat, 15 Dec 2007 16:49:43 +0000 (16:49 +0000)]
Use .Pa everywhere.

12 years agoAdapt to DragonFly. Remove ports sections.
Thomas Nikolajsen [Sat, 15 Dec 2007 12:20:06 +0000 (12:20 +0000)]
Adapt to DragonFly. Remove ports sections.
Break some overly long lines and add few more cross references.

12 years agoBring in some fixes from FreeBSD.
Sascha Wildner [Sat, 15 Dec 2007 12:04:42 +0000 (12:04 +0000)]
Bring in some fixes from FreeBSD.

This includes some lines for the recent additions in the elf headers.

12 years agoRemove definition and documentation of EI_BRAND which was renamed to
Sascha Wildner [Sat, 15 Dec 2007 11:39:15 +0000 (11:39 +0000)]
Remove definition and documentation of EI_BRAND which was renamed to
OLD_EI_BRAND a long time ago in FreeBSD.

OLD_EI_BRAND is still used in sys/kern/imgact_elf.c but it defines
its own.

12 years agoFix usage of .Fa, .Fn, .Vt, .Dv, .Sy...
Sascha Wildner [Sat, 15 Dec 2007 11:23:10 +0000 (11:23 +0000)]
Fix usage of .Fa, .Fn, .Vt, .Dv, .Sy...

12 years agoCorrectly document the PPIGEPP* and PPISEPP* ioctls.
Sascha Wildner [Sat, 15 Dec 2007 10:33:38 +0000 (10:33 +0000)]
Correctly document the PPIGEPP* and PPISEPP* ioctls.

12 years agoUse .Fa for struct members.
Sascha Wildner [Sat, 15 Dec 2007 10:23:58 +0000 (10:23 +0000)]
Use .Fa for struct members.

12 years agoMove a .Ed to the right place and use .Fa for struct members.
Sascha Wildner [Sat, 15 Dec 2007 10:03:17 +0000 (10:03 +0000)]
Move a .Ed to the right place and use .Fa for struct members.

12 years agoComment out CTLFLAG_SKIP which we don't have and use .Va for the name
Sascha Wildner [Sat, 15 Dec 2007 09:07:13 +0000 (09:07 +0000)]
Comment out CTLFLAG_SKIP which we don't have and use .Va for the name
spaces.

12 years agoUnbreak buildworld:
Sepherosa Ziehau [Sat, 15 Dec 2007 07:13:18 +0000 (07:13 +0000)]
Unbreak buildworld:
- Add libthread_xu to prebuilding libraries in top level Makefile.inc1.
- Put libthread_xu before libpthread in lib/Makefile, add comment about it.
- Fix typo in lib/libpthread/Makefile
- Add XXX-commented out DPADD in lib/libpthread/Makefile; a more 'complete'
  solution for the default thread library naming is needed.

12 years agoOnly use '.' at the end of sentences.
Sascha Wildner [Fri, 14 Dec 2007 23:16:55 +0000 (23:16 +0000)]
Only use '.' at the end of sentences.

12 years agoAdd some words about lwp_rtprio() to rtprio(2).
Sascha Wildner [Fri, 14 Dec 2007 23:12:55 +0000 (23:12 +0000)]
Add some words about lwp_rtprio() to rtprio(2).

12 years agoImprove markup.
Sascha Wildner [Fri, 14 Dec 2007 22:51:57 +0000 (22:51 +0000)]
Improve markup.

12 years agoSwitch to libthread_xu per default.
Simon Schubert [Fri, 14 Dec 2007 20:27:14 +0000 (20:27 +0000)]
Switch to libthread_xu per default.

12 years agoFP registers are now saved and restored by the kernel, remove the
Matthew Dillon [Fri, 14 Dec 2007 20:07:59 +0000 (20:07 +0000)]
FP registers are now saved and restored by the kernel, remove the
save/restore code entirely.

12 years agoUse the mc_fpformat field to determine the correct FP save/restore
Matthew Dillon [Fri, 14 Dec 2007 19:54:36 +0000 (19:54 +0000)]
Use the mc_fpformat field to determine the correct FP save/restore
instructions to use.

12 years agoProperly set the mc_fpformat field in the ucontext so libc_r knows which FP
Matthew Dillon [Fri, 14 Dec 2007 19:54:09 +0000 (19:54 +0000)]
Properly set the mc_fpformat field in the ucontext so libc_r knows which FP
format the saved FP state is in.

12 years agoRework sk(4) detach code:
Sepherosa Ziehau [Fri, 14 Dec 2007 11:37:11 +0000 (11:37 +0000)]
Rework sk(4) detach code:
- sk is detached before skc, so two interfaces must be stopped first and
  interrupt should be torn down when the first interface is detaching.
- bus_generic_detach() is not necessary

12 years agoAvoid use-after-free
Sepherosa Ziehau [Fri, 14 Dec 2007 10:54:25 +0000 (10:54 +0000)]
Avoid use-after-free