DragonFly BSD

CVS log for src/sys/net/rtsock.c

[BACK] Up to [DragonFly] / src / sys / net

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Oct 27 02:56:30 2008 UTC (5 years, 9 months ago) by sephe
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.44: preferred, unified
Changes since revision 1.44: +1 -1 lines
pr_ctlinput is usually called when certains types of ICMP packets are received.
However, the processing of ICMP packets happens in netisr0, which means the
thread context, in which pr_ctlinput is called, is not correct.  To handle this
following two fixes are applied:
- Add pr_ctlport to protosw and ip6protosw, which could be used to locate
  correct msgport to call pr_ctlinput for specific protocol
- All necessary information needed by pr_ctlinput are gather into one netmsg,
  and this netmsg is delivered synchronously (some information is on the stack)

Note for new protocol implementation:
pr_ctlinput and pr_ctlport should be both NULL or both non-NULL.

Obtained-from: dillon@
Tested-by: pavalos@

Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Jul 7 22:02:10 2008 UTC (6 years ago) by nant
Branches: MAIN
CVS tags: DragonFly_RELEASE_2_0_Slip, DragonFly_RELEASE_2_0, DragonFly_Preview
Diff to: previous 1.43: preferred, unified
Changes since revision 1.43: +1 -0 lines
Introduce experimental MPLS over ethernet support. Add 'options MPLS'
to the kernel config file to enable it. This modification increases
the footprint of each route in the FIB by 12 bytes, used to hold up
to 3 label operations per route.

Hints-from: Ayame, NiSTswitch implementations.
Reviewed-by: dillon@, sephe@, hsu@, hasso@.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Mar 7 11:34:19 2008 UTC (6 years, 4 months ago) by sephe
Branches: MAIN
Diff to: previous 1.42: preferred, unified
Changes since revision 1.42: +21 -10 lines
Parallelize ifnet.if_addrhead accessing by duplicating the list itself
on each CPU, each list element points to ifaddr:
- Add SI_SUB_PRE_DRIVERS before SI_SUB_DRIVERS, so action could be taken
  before drivers' initialization (mainly before NIC driver's if_attach())
- Move netisr_init() to the FIRST of SI_SUB_PRE_DRIVERS, so that
  netmsg_service_port_init() could be called in earlier stage of system
  initialization.
- Create one thread on each CPU to propagate changes to ifnet.if_addrhead.
  Their thread ports are registered with netmsg_service_port_init() for
  port syncing operation.
- Change to ifnet.if_addrhead begins in netisr0, i.e. serial of changes
  to ifnet.if_addrhead are serialized by netisr0
- ifaddr's refcnt is moved to its list elements, i.e. per-CPU refcnt.
  They are initialized to 1 instead of 0.
- A magic field is added to ifaddr list element to make sure that IFAREF
  and IFAFREE are called on valid ifaddr list element.  This field is
  initialized to a magic value and is wiped out once the list element's
  refcnt drops to 0
- To close the gap between testing and freeing, once the ifaddr list
  element's refcnt drops to 0, ifa_portfn(0) (a thread's port on CPU0) is
  poked to check whether ifaddr is referenced on other CPUs, if not, then
  ifaddr is freed on ifa_portfn(0)

Reviewed-by: dillon@ (earlier version)

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Jan 6 16:55:51 2008 UTC (6 years, 6 months ago) by swildner
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_12_Slip, DragonFly_RELEASE_1_12
Diff to: previous 1.41: preferred, unified
Changes since revision 1.41: +0 -2 lines
Remove bogus checks after kmalloc(M_WAITOK) which never returns NULL.

Reviewed-by: hasso

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Dec 19 11:00:22 2007 UTC (6 years, 7 months ago) by sephe
Branches: MAIN
Diff to: previous 1.40: preferred, unified
Changes since revision 1.40: +1 -1 lines
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

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Aug 9 01:10:05 2007 UTC (6 years, 11 months ago) by dillon
Branches: MAIN
Diff to: previous 1.39: preferred, unified
Changes since revision 1.39: +2 -0 lines
Add the MBUF_DEBUG option.  This is a fairly invasive option that should
not be used on production boxes.  All active mbufs are tracked with a separate
tracking structure and arranged in a RB tree.  A kernel built with this
option can dump all active mbufs with 'sysctl kern.ipc.showmbufs'.

A person debugging the kernel can sprinkle mbuftrackid() calls in the code
to associate an integer id with an mbuf to make the sysctl output more
useful.

The size of the mbuf structure is NOT changed through the use of this option,
but mbuf management overhead will be increased.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Jun 24 20:00:00 2007 UTC (7 years, 1 month ago) by dillon
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_10_Slip, DragonFly_RELEASE_1_10
Diff to: previous 1.38: preferred, unified
Changes since revision 1.38: +35 -2 lines
Fix rts_input() which is the only procedure which calls raw_input().  As
with other packet input routines, the mbuf must be demuxed and forwarded
to the correct protocol thread so it can be cpu-localized for processing.

This allow anyone, including interrupt code, to write to the routing
socket.

Reported-by: "Sepherosa Ziehau" <sepherosa@gmail.com>

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Apr 21 02:26:47 2007 UTC (7 years, 3 months ago) by dillon
Branches: MAIN
Diff to: previous 1.37: preferred, unified
Changes since revision 1.37: +20 -5 lines
Convert all pr_usrreqs structure initializations to the .name = data format.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Mar 4 18:51:59 2007 UTC (7 years, 4 months ago) by swildner
Branches: MAIN
Diff to: previous 1.36: preferred, unified
Changes since revision 1.36: +0 -18 lines
Remove weird license clause which has expired.

Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 28 15:01:06 2006 UTC (7 years, 8 months ago) by sephe
Branches: DragonFly_RELEASE_1_6
CVS tags: DragonFly_RELEASE_1_6_Slip
Diff to: previous 1.32: preferred, unified; next MAIN 1.33: preferred, unified
Changes since revision 1.32: +1 -1 lines
M_NOWAIT -> MB_DONTWAIT

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Nov 28 14:44:03 2006 UTC (7 years, 8 months ago) by sephe
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_8_Slip, DragonFly_RELEASE_1_8
Diff to: previous 1.35: preferred, unified
Changes since revision 1.35: +1 -1 lines
M_NOWAIT -> MB_DONTWAIT

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Oct 23 09:27:37 2006 UTC (7 years, 9 months ago) by swildner
Branches: MAIN
Diff to: previous 1.34: preferred, unified
Changes since revision 1.34: +2 -2 lines
Rather than making static declarations global, get rid of the extern.

Pointed-out-by:  dillon
Additional-clue: corecode

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Sep 30 22:06:04 2006 UTC (7 years, 9 months ago) by swildner
Branches: MAIN
Diff to: previous 1.33: preferred, unified
Changes since revision 1.33: +1 -1 lines
De-staticize (previously declared extern).

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Sep 5 00:55:46 2006 UTC (7 years, 10 months ago) by dillon
Branches: MAIN
Diff to: previous 1.32: preferred, unified
Changes since revision 1.32: +10 -10 lines
Rename malloc->kmalloc, free->kfree, and realloc->krealloc.  Pass 1

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu May 18 13:51:45 2006 UTC (8 years, 2 months ago) by sephe
Branches: MAIN
Branch point for: DragonFly_RELEASE_1_6
Diff to: previous 1.31: preferred, unified
Changes since revision 1.31: +64 -12 lines
Sync 802.11 support with FreeBSD6:
    "it includes completed 802.11g, WPA, 802.11i, 802.1x, WME/WMM, AP-side
     power-save, crypto plugin framework, authenticator plugin framework,
     and access control plugin frameowrk."

Reoriganize the layout of netproto/802_11: put generic 802.11 layer, crypto
modules, authentication module and access control module into their own
directories.  Header files are still in their original place.

Nuke all of the mutexing in generic 802.11, reorganize ieee80211_node table
scanning a little bit.

Rename FreeBSD's m_append() to ieee80211_mbuf_append(), rename FreeBSD's
m_unshare() to ieee80211_mbuf_clone() and put them into
netproto/802_11/wlan/ieee80211_dragonly.c
They are not generic enough for public using, at least for now.
Pointed-out-by: hsu

Expose ieee80211_add_{ssid, xrates, rates}() which are used by acx(4)

Keep using opencrypto's AES implmentation for 802.11 CCMP crypto module


Sync ifconfig(8)'s 802.11 support with FreeBSD6


Update acx(4) and ndis(4) for the new 802.11 support

Sync iwi(4), ipw(4), wi(4) and ray(4) with FreeBSD6

For iwi(4):
- Fix ieee80211_node leakage
- Use a bitmap instead of FreeBSD's "unit number alloctor" to allocate IBSS node


Add generic 802.11 layer and crypto modules into GENERIC and LINT,
authentication module and access module are only added to LINT

Unhook awi(4) from GENERIC and LINT temporarily, since as of this commit it
is broken :(  It will be fixed sometime later.


Thank Sam Leffler and many other people for their work on 802.11 support.

Thank Andrew Atrens and Adrian Michael Nida for submitting the patch.

Thank all the people that helped testing 802.11 patches for this commit


Based-on-Patch-Submitted-by:
  Andrew Atrens <atrens@nortelnetworks.com>
  Adrian Michael Nida <nida@musc.edu>

Tested-by:
  Thomas Schlesinger <schlesinger@netcologne.de>
  Johannes Hofmann <Johannes.Hofmann@gmx.de>
  Andrew Thompson <andrew@hijacked.us>
  Erik Wikström <erik-wikstrom@telia.com>

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat May 6 02:43:12 2006 UTC (8 years, 2 months ago) by dillon
Branches: MAIN
Diff to: previous 1.30: preferred, unified
Changes since revision 1.30: +1 -1 lines
The thread/proc pointer argument in the VFS subsystem originally existed
for...  well, I'm not sure *WHY* it originally existed when most of the
time the pointer couldn't be anything other then curthread or curproc or
the code wouldn't work.  This is particularly true of lockmgr locks.

Remove the pointer argument from all VOP_*() functions, all fileops functions,
and most ioctl functions.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Jan 31 19:05:35 2006 UTC (8 years, 5 months ago) by dillon
Branches: MAIN
Diff to: previous 1.29: preferred, unified
Changes since revision 1.29: +153 -89 lines
Bring in the parallel route table code and clean up ARP.  The
route table is now replicated across all cpus (ncpus, not ncpus2).
Note that cloned routes are not replicated.

This removes one of the few remaining obstacles to being able
to run the network protocol stacks without the BGL.

Primary-Design-by: Jeffrey Hsu
Work-by: Jeffrey Hsu and Matthew Dillon

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Jul 15 17:54:47 2005 UTC (9 years ago) by eirikn
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_4_Slip, DragonFly_RELEASE_1_4
Diff to: previous 1.28: preferred, unified
Changes since revision 1.28: +19 -0 lines
Tie SCTP into the kernel, this includes adding a new syscall (sctp_peeloff).

Obtained from: KAME

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Jun 14 19:47:30 2005 UTC (9 years, 1 month ago) by joerg
Branches: MAIN
Diff to: previous 1.27: preferred, unified
Changes since revision 1.27: +37 -38 lines
Convert to critical sections.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun May 29 10:08:36 2005 UTC (9 years, 2 months ago) by hsu
Branches: MAIN
Diff to: previous 1.26: preferred, unified
Changes since revision 1.26: +1 -8 lines
Deprecate MCLGET() in favor of m_getcl() or m_getl() in order to
take advantage of cluster caching.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed May 25 01:44:16 2005 UTC (9 years, 2 months ago) by dillon
Branches: MAIN
Diff to: previous 1.25: preferred, unified
Changes since revision 1.25: +2 -2 lines
Rewrite the polling code.  Instead of trying to do fancy polling enablement
from inside the IF interrupt itself, which creates a headache in the code,
simply allow IFF_POLLING to be set and cleared via ifconfig.  This greatly
simplifies both the networking code and the polling code and allows polling
to be enabled and disabled at will on a per-network-interface basis.

* Drivers no longer have to have polling checks in the interrupt path.
* An if_poll function vector has been added.  Polling is supported if the
  driver initializes the vector.
* Registration command added to the poll function command list.
* Driver code for registration and deregistration is now greatly simplified.

The kernel polling code no longer randomly turns off the polling bit if an
interface goes down or is reset.

Remove IFCAP_POLLING, it serves no purpose.

Fix a couple of bugs in the serializer code.  Add a warning in
nexus_setup_intr if a driver tries to specify a serializer and an SPL.
A driver can specify one or the other, not both.

Convert the EM driver to use the new serializer API instead of SPLs.

Add ifconfig poll and ifconfig -poll support to ifconfig, and fix bugs
in the rtsock code that only returned the low 16 bits of the interface
flags so ifconfig properly reports when polling mode is turned on for an
interface.

NOTE to people using polling.  You must first enable polling via
kern.polling.enable, and then may specify the 'poll' directive in ifconfig
to enable it on a per interface basis.  If IFF_POLLING refuses to be set,
the device does not support polling.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Apr 18 23:50:30 2005 UTC (9 years, 3 months ago) by hsu
Branches: MAIN
CVS tags: DragonFly_Stable
Diff to: previous 1.24: preferred, unified
Changes since revision 1.24: +1 -3 lines
Prefer TAILQ_EMPTY() to null-check on the result of TAILQ_FIRST().

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Mar 4 03:37:43 2005 UTC (9 years, 4 months ago) by hsu
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_2_Slip, DragonFly_RELEASE_1_2
Diff to: previous 1.23: preferred, unified
Changes since revision 1.23: +7 -6 lines
Change a 'char *' to a 'void *' because that field is not accessed
as characters.
Add a comment clarifying that fillrtmsg() is not an external API function.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Mar 4 02:21:48 2005 UTC (9 years, 4 months ago) by hsu
Branches: MAIN
Diff to: previous 1.22: preferred, unified
Changes since revision 1.22: +4 -3 lines
Convert the struct domain next pointer to an SLIST.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Feb 24 23:41:43 2005 UTC (9 years, 5 months ago) by dillon
Branches: MAIN
Diff to: previous 1.21: preferred, unified
Changes since revision 1.21: +1 -1 lines
Fix an issue that the iwi driver seems to hit, that of routing socket
operations on interfaces which no longer have an assigned IP address
by reverting a portion of 1.19.

Submitted-by: Andrew Atrens <atrens@nortelnetworks.com>

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jan 26 23:09:57 2005 UTC (9 years, 6 months ago) by hsu
Branches: MAIN
Diff to: previous 1.20: preferred, unified
Changes since revision 1.20: +356 -316 lines
Code cleanup.  Refactor some functions.  Push some globals into local scope.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Jan 6 17:59:32 2005 UTC (9 years, 6 months ago) by hsu
Branches: MAIN
Diff to: previous 1.19: preferred, unified
Changes since revision 1.19: +85 -10 lines
Now that I understand the poorly written BSD routing code and what
it was trying to do, rewrite it in a clear and concise manner.

The old rtalloc1() code written by CSRG had a number of problems:
  1. it was not clear which route was being returned
  2. it was not clear what was being reported
  3. it hid the essential radix tree lookup operation inside a series of
      conditional tests and inline assignments
  4. it had multiple gotos to the inside of if statements
  5. it intermixed reporting code with the operational logic of lookup
      and cloning
  6. it assigns multiple times to key variables
  7. it has unnecessary assignments to key variables
  8. it overloaded the "report" argument parameter, to have two
      different semantics
  9. it misnamed the key route lookup function "rtalloc1", obscuring all uses
      of route lookup.

In contrast to the rtalloc1 code in FreeBSD 4 or the even more convoluted
rtalloc1 code in FreeBSD 5, the DragonFlyBSD version
  A. has a clear control flow that makes the common case obvious
      by highlighting the core call to the radix tree look up function,
      eliminating gotos into if statements,
      and completely separating out the special-case cloning logic
  B. makes it clear which route is being returned
      by only assigning once to the key "rt" variable
      and by expliciting returning "rt" or "clonedroute"
  C. abstracts out the reporting code into its own reporting API
  D. cleans up the semantics of the "report" argument parameter to
      only indicate whether to report a miss and not whether to clone
  E. introduces a simple single-argument API for caller that want to clone
      and those that do not.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Jan 6 09:14:13 2005 UTC (9 years, 6 months ago) by hsu
Branches: MAIN
Diff to: previous 1.18: preferred, unified
Changes since revision 1.18: +8 -18 lines
Cosmetic cleanups.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Dec 28 08:09:59 2004 UTC (9 years, 7 months ago) by hsu
Branches: MAIN
Diff to: previous 1.17: preferred, unified
Changes since revision 1.17: +15 -15 lines
Clean up the networking code before I parallelize the routing code.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Dec 21 02:54:14 2004 UTC (9 years, 7 months ago) by hsu
Branches: MAIN
Diff to: previous 1.16: preferred, unified
Changes since revision 1.16: +55 -23 lines
Clean up the routing and networking code before I parallelize routing.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Dec 15 00:11:04 2004 UTC (9 years, 7 months ago) by hsu
Branches: MAIN
Diff to: previous 1.15: preferred, unified
Changes since revision 1.15: +154 -157 lines
Clean up routing code before I parallelize it.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Dec 14 18:46:08 2004 UTC (9 years, 7 months ago) by hsu
Branches: MAIN
Diff to: previous 1.14: preferred, unified
Changes since revision 1.14: +23 -24 lines
Clean up routing code before I parallelize it.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Jun 3 15:04:51 2004 UTC (10 years, 1 month ago) by joerg
Branches: MAIN
CVS tags: DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004, DragonFly_1_0_REL, DragonFly_1_0_RC1, DragonFly_1_0A_REL
Diff to: previous 1.13: preferred, unified
Changes since revision 1.13: +10 -3 lines
Change pr_output's signature to take two fixed arguments and possible
additional varidic arguments. Change the various protocols accordingly.

This is not the signature NetBSD uses (only struct mbuf * + variadic),
but since all protocols use the socket argument (beside NS), it is more
reasonable to keep that static as well.

While at it, fix the pr_soport in ip6protosw to match the protosw.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Jun 2 14:42:57 2004 UTC (10 years, 1 month ago) by eirikn
Branches: MAIN
Diff to: previous 1.12: preferred, unified
Changes since revision 1.12: +2 -2 lines
Change mbug allocation flags from M_ to MB_ to avoid confusion with malloc
flags.

Requested by: Jeffrey Hsu

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Apr 22 04:21:29 2004 UTC (10 years, 3 months ago) by dillon
Branches: MAIN
Diff to: previous 1.11: preferred, unified
Changes since revision 1.11: +2 -2 lines
M_NOWAIT -> M_WAITOK or M_INTWAIT conversions.  There is a whole lot of net
code that is improperly using M_NOWAIT.  Also remove now unneeded NULL checks
since malloc will panic rather then return NULL when M_NULLOK is not set.

Use M_INTWAIT|M_NULLOK in some cases (such as route table allocation) in
order to allow malloc to return NULL when the limit for the malloc type
is reached.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Mar 6 05:20:31 2004 UTC (10 years, 4 months ago) by hsu
Branches: MAIN
Diff to: previous 1.10: preferred, unified
Changes since revision 1.10: +8 -9 lines
Eliminate the use of curproc in route_output() by passing down the process id
it needs.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Mar 6 01:58:54 2004 UTC (10 years, 4 months ago) by hsu
Branches: MAIN
Diff to: previous 1.9: preferred, unified
Changes since revision 1.9: +1 -1 lines
Dispatch upper-half protocol request handling.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Mar 5 16:57:15 2004 UTC (10 years, 4 months ago) by hsu
Branches: MAIN
Diff to: previous 1.8: preferred, unified
Changes since revision 1.8: +2 -2 lines
Once we distribute socket protocol processing requests to different
processors, we no longer have a process context to refer to, so
eliminate the use of curproc in soreserve() by passing the sockbuf
resource limit all the down from the system call code to sbreserve().

Eliminate the use of curproc in unp_attach() by passing down the
fields it needs from the proc structure.  Define a pru_attach_info
structure to hold the information the attach usrreq function requires.

The thread argument to in_pcballoc() is unused, so we don't need
to pass a thread structure down to in_pcballoc().

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jan 6 03:17:25 2004 UTC (10 years, 6 months ago) by dillon
Branches: MAIN
Diff to: previous 1.7: preferred, unified
Changes since revision 1.7: +1 -2 lines
if_xname support Part 2/2: Convert remaining netif devices and implement full
support for if_xname.  Restructure struct ifnet in net/if_var.h, pulling in
a few minor additional changes from current including making if_dunit an int,
and making if_flags an int.

Submitted-by: Max Laier <max@love2party.net>

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Oct 6 06:08:23 2003 UTC (10 years, 9 months ago) by hsu
Branches: MAIN
Diff to: previous 1.6: preferred, unified
Changes since revision 1.6: +61 -44 lines
Unroll obfuscated loop.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Aug 26 20:49:47 2003 UTC (10 years, 11 months ago) by rob
Branches: MAIN
Diff to: previous 1.5: preferred, unified
Changes since revision 1.5: +8 -8 lines
__P() removal

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Jul 26 20:19:34 2003 UTC (11 years ago) by rob
Branches: MAIN
Diff to: previous 1.4: preferred, unified
Changes since revision 1.4: +39 -39 lines
Register keyword removal

Approved by: Matt Dillon

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jun 25 03:56:02 2003 UTC (11 years, 1 month ago) by dillon
Branches: MAIN
CVS tags: PRE_MP
Diff to: previous 1.3: preferred, unified
Changes since revision 1.3: +10 -10 lines
proc->thread stage 4: rework the VFS and DEVICE subsystems to take thread
pointers instead of process pointers as arguments, similar to what FreeBSD-5
did.  Note however that ultimately both APIs are going to be message-passing
which means the current thread context will not be useable for creds and
descriptor access.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jun 23 17:55:45 2003 UTC (11 years, 1 month ago) by dillon
Branches: MAIN
Diff to: previous 1.2: preferred, unified
Changes since revision 1.2: +3 -3 lines
proc->thread stage 2: MAJOR revamping of system calls, ucred, jail API,
and some work on the low level device interface (proc arg -> thread arg).
As -current did, I have removed p_cred and incorporated its functions
into p_ucred.  p_prison has also been moved into p_ucred and adjusted
accordingly.  The jail interface tests now uses ucreds rather then processes.

The syscall(p,uap) interface has been changed to just (uap).  This is inclusive
of the emulation code.  It makes little sense to pass a proc pointer around
which confuses the MP readability of the code, because most system call code
will only work with the current process anyway.  Note that eventually
*ALL* syscall emulation code will be moved to a kernel-protected userland
layer because it really makes no sense whatsoever to implement these
emulations in the kernel.

suser() now takes no arguments and only operates with the current process.
The process argument has been removed from suser_xxx() so it now just takes
a ucred and flags.

The sysctl interface was adjusted somewhat.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 04:28:48 2003 UTC (11 years, 1 month ago) by dillon
Branches: MAIN
Diff to: previous 1.1: preferred, unified
Changes since revision 1.1: +1 -0 lines
Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids.  Most
ids have been removed from !lint sections and moved into comment sections.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 02:55:28 2003 UTC (11 years, 1 month ago) by dillon
Branches: MAIN
CVS tags: FREEBSD_4_FORK
import from FreeBSD RELENG_4 1.44.2.11

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options