DragonFly BSD

CVS log for src/sys/sys/caps.h

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Feb 26 21:41:08 2007 UTC (7 years, 6 months ago) by corecode
Branches: MAIN
CVS tags: HEAD, DragonFly_RELEASE_2_0_Slip, DragonFly_RELEASE_2_0, DragonFly_RELEASE_1_12_Slip, DragonFly_RELEASE_1_12, DragonFly_RELEASE_1_10_Slip, DragonFly_RELEASE_1_10, DragonFly_Preview
Diff to: previous 1.10: preferred, unified; selected 1.6: preferred, unified
Changes since revision 1.10: +1 -1 lines
1:1 Userland threading stage 4.6/4:

Factor out a new function `lwp_fork()' from fork1().  Rearrange various
fork helpers to operate exclusively on procs or lwps.  Collect some MI
code from MD sources into lwp_fork().

Reviewed-by: Thomas E. Spanjaard <tgen@netphreax.net>

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Feb 3 17:05:59 2007 UTC (7 years, 7 months ago) by corecode
Branches: MAIN
Diff to: previous 1.9: preferred, unified; selected 1.6: preferred, unified
Changes since revision 1.9: +1 -1 lines
1:1 Userland threading stage 2.11/4:

Move signals into lwps, take p_lwp out of proc.

Originally-Submitted-by:  David Xu <davidxu@freebsd.org>
Reviewed-by: Thomas E. Spanjaard <tgen@netphreax.net>

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat May 20 02:42:13 2006 UTC (8 years, 3 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_8_Slip, DragonFly_RELEASE_1_8, DragonFly_RELEASE_1_6_Slip, DragonFly_RELEASE_1_6
Diff to: previous 1.8: preferred, unified; selected 1.6: preferred, unified
Changes since revision 1.8: +1 -0 lines
I'm growing tired of having to add #include lines for header files that
the include file(s) I really want depend on.

Go through nearly all major system include files and add appropriately
#ifndef'd #include lines to include all dependant header files.  Kernel
source files now only need to #include the header files they directly
depend on.

So, for example, if I wanted to add a SYSCTL to a kernel source file,
I would only have to #include <sys/sysctl.h> to bring in the support for
it, rather then four or five header files in addition to <sys/sysctl.h>.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Apr 25 18:54:32 2004 UTC (10 years, 4 months ago) by cpressey
Branches: MAIN
CVS tags: DragonFly_Stable, DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004, DragonFly_RELEASE_1_4_Slip, DragonFly_RELEASE_1_4, DragonFly_RELEASE_1_2_Slip, DragonFly_RELEASE_1_2, DragonFly_1_0_REL, DragonFly_1_0_RC1, DragonFly_1_0A_REL
Diff to: previous 1.7: preferred, unified; selected 1.6: preferred, unified
Changes since revision 1.7: +1 -0 lines
Add missing function prototype.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Mar 31 19:28:25 2004 UTC (10 years, 5 months ago) by dillon
Branches: MAIN
Diff to: previous 1.6: preferred, unified
Changes since revision 1.6: +4 -3 lines
Change CAPS over to use XIO instead of the vmspace_copy() junk it was using
before.  This almost doubles CAPS IPC messaging performance.

Also correct a number of memory leaks due to incorrect reference counting.

Revision 1.6: download - view: text, markup, annotated - [selected for diffs]
Sun Mar 14 11:04:12 2004 UTC (10 years, 6 months ago) by hmp
Branches: MAIN
Diff to: previous 1.5: preferred, unified
Changes since revision 1.5: +1 -1 lines
Correct typo in comment.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Mar 6 22:14:16 2004 UTC (10 years, 6 months ago) by dillon
Branches: MAIN
Diff to: previous 1.4: preferred, unified; selected 1.6: preferred, unified
Changes since revision 1.4: +9 -2 lines
Additional CAPS IPC work.  Add additional system calls to allow a CAPS
server to set a generation number and a CAPS client to query it, which can
be used for any purpose but which is intended to allow a server to tell its
clients to invalidate their caches.

Add missing fork-handling code.  CAPS links are only good on a thread-by-thread
basis.  When a process forks/rforks/clones any active CAPS links will be
created as dummy entries in the forked process, causing CAPS syscalls to
return ENOTCONN.   This allows code based on CAPS to detect when it has been
forked so it can re-connect to the service.

Make a slight change to the API.  caps_sys_put() now returns an immediate
ENOTCONN if it forked.  Note that userland CAPS code must still deal with
the case where a message has been sent and the connection is lost before the
reply is returned.  The kernel automatically replies unreplied messages
with 0-length data in these cases.

Add additional flags to the API, including one that allows a client to
block when connecting to a non-existant service.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Feb 25 17:38:51 2004 UTC (10 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.3: preferred, unified; selected 1.6: preferred, unified
Changes since revision 1.3: +9 -10 lines
Remove parameter names.

Submitted by Chris Pressey <cpressey@catseye.mine.nu>

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jan 18 12:50:15 2004 UTC (10 years, 8 months ago) by dillon
Branches: MAIN
Diff to: previous 1.2: preferred, unified; selected 1.6: preferred, unified
Changes since revision 1.2: +4 -4 lines
move the caps_type enum so it is accessible through both user and kernel
compiles.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jan 18 12:29:50 2004 UTC (10 years, 8 months ago) by dillon
Branches: MAIN
Diff to: previous 1.1: preferred, unified; selected 1.6: preferred, unified
Changes since revision 1.1: +144 -52 lines
CAPS IPC library stage 1/3: The core CAPS IPC code, providing system calls
to create and connect to named rendezvous points.  The CAPS interface
implements a many-to-1 (client:server) capability and is totally self
contained.  The messaging is designed to support single and multi-threading,
synchronous or asynchronous (as of this commit: polling and synchronous only).

Message data is 100% opaque and so while the intention is to integrate it into
a userland LWKT messaging subsystem, the actual system calls do not depend
on any LWKT structures.

Since these system calls are experiemental and may contain root holes,
they must be enabled via the sysctl kern.caps_enabled.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Nov 24 21:15:54 2003 UTC (10 years, 9 months ago) by dillon
Branches: MAIN
Diff to: selected 1.6: preferred, unified
Add a new library, libcaps, which is intended to encompass DragonFly-specific
core threading and IPC mechanisms.

As of this commit the library is very incomplete.  It works just well enough
to run the IPC test program unthreaded.  For the moment it is implemented
via unix domain sockets.  The IPC mechanism is eventually expected to be
moved directly into the kernel and use an upcall for replies.

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