The NetBSD Project

CVS log for src/sys/kern/sys_syscall.c

[BACK] Up to [cvs.netbsd.org] / src / sys / kern

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.9.34.1 / (download) - annotate - [select for diffs], Wed May 23 10:08:12 2012 UTC (2 days, 21 hours ago) by yamt
Branch: yamt-pagecache
Changes since 1.9: +5 -4 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Sat May 5 19:44:02 2012 UTC (2 weeks, 6 days ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, HEAD
Changes since 1.9: +5 -4 lines
Diff to previous 1.9 (colored)

use sy_call() so that l->l_sysent gets set, so that we can autoload modules
that define new syscalls properly.

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:12 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.8: +2 -5 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:10 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.8: +2 -5 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head.

Revision 1.8.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:27 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.8: +2 -5 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Apr 29 06:53:03 2008 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-6-base, netbsd-6, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-pagecache
Changes since 1.8: +2 -5 lines
Diff to previous 1.8 (colored)

Convert to new 2 clause license

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:01 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.7.2.2: +7 -6 lines
Diff to previous 1.7.2.2 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with HEAD

Revision 1.1.8.4 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:47 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.1.8.3: +7 -7 lines
Diff to previous 1.1.8.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.1.6.4 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:58 2008 UTC (4 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.6.3: +7 -6 lines
Diff to previous 1.1.6.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Feb 6 22:12:42 2008 UTC (4 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.7: +7 -6 lines
Diff to previous 1.7 (colored)

Remove the 'args' parameter to 'trace_exit()' it is no longer used.
Instead of passing the (un)real system call code and syscall table pointer,
just pass the number of arguments - which is what ktrace really wants.
Ride forthcoming 4.99.53

Revision 1.1.6.3 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:25 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.6.2: +9 -9 lines
Diff to previous 1.1.6.2 (colored) to branchpoint 1.1 (colored)

sync with head

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:23 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.7.2.1: +95 -0 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored)

sync with HEAD

Revision 1.1.14.3 / (download) - annotate - [select for diffs], Tue Jan 8 22:11:43 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.1.14.2: +2 -2 lines
Diff to previous 1.1.14.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.7.2.1, Sat Jan 5 12:53:56 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.7: +0 -95 lines
FILE REMOVED

file sys_syscall.c was added on branch matt-armv6 on 2008-01-09 01:56:23 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jan 5 12:53:56 2008 UTC (4 years, 4 months ago) by dsl
Branch: MAIN
CVS Tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: matt-armv6
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

Don't pass 'curlwp' into trace_enter() and trace_exit().

Revision 1.1.14.2 / (download) - annotate - [select for diffs], Wed Jan 2 21:56:15 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.1.14.1: +5 -5 lines
Diff to previous 1.1.14.1 (colored) to branchpoint 1.1 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Mon Dec 31 15:32:13 2007 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (colored)

Remove systrace. Ok core@.

Revision 1.1.8.3 / (download) - annotate - [select for diffs], Thu Dec 27 00:46:12 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.1.8.2: +7 -6 lines
Diff to previous 1.1.8.2 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Revision 1.1.10.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:57:15 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.1: +7 -6 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Sync with head.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Dec 22 16:19:35 2007 UTC (4 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Further constification of the syscall args buffer.
It will get __UNCONST() applied in the systrace code if/when systrace tries
to change the arguments.  This sucks since the syscall args might be in
the trap frame, and the syscall might return ERESTART so the restarted call
would use the wrong arguments.
OTOH systrace() (as a security measure) is almost impossible to implement
for a threaded app (validated filenames can be changed before namei() reads
them into memory).
The current code is just plain broken for threaded apps - data that needs
to be lwp-specified is proc-specific.
I believe ad is planning to nuke systrace ...

Revision 1.4 / (download) - annotate - [select for diffs], Sat Dec 22 11:38:55 2007 UTC (4 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.3: +5 -4 lines
Diff to previous 1.3 (colored)

Add a few buckets of 'const' and 'static' to the system call trace code.
sys_trace() still needs to be able to update the syscall args.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Dec 20 23:03:12 2007 UTC (4 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (colored)

Convert all the system call entry points from:
    int foo(struct lwp *l, void *v, register_t *retval)
to:
    int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.

Revision 1.1.14.1 / (download) - annotate - [select for diffs], Thu Dec 13 21:56:55 2007 UTC (4 years, 5 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

Sync with HEAD

Revision 1.1.12.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:44:14 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-kmem
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 11 12:16:34 2007 UTC (4 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, cube-autoconf-base, cube-autoconf
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

use __KERNEL_RCSID() instead of __RCSID()

Revision 1.1.8.2 / (download) - annotate - [select for diffs], Mon Nov 19 00:48:55 2007 UTC (4 years, 6 months ago) by mjf
Branch: mjf-devfs
Changes since 1.1.8.1: +95 -0 lines
Diff to previous 1.1.8.1 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:52 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.6.1: +95 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored)

sync with head.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Tue Nov 13 16:02:28 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.1.4.1: +95 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Nov 11 16:48:13 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.1.2.1: +95 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.1.8.1, Fri Nov 9 14:50:51 2007 UTC (4 years, 6 months ago) by mjf
Branch: mjf-devfs
Changes since 1.1: +0 -95 lines
FILE REMOVED

file sys_syscall.c was added on branch mjf-devfs on 2007-11-19 00:48:54 +0000

Revision 1.1.6.1, Fri Nov 9 14:50:51 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1: +0 -95 lines
FILE REMOVED

file sys_syscall.c was added on branch yamt-lazymbuf on 2007-11-15 11:44:52 +0000

Revision 1.1.4.1, Fri Nov 9 14:50:51 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.1: +0 -95 lines
FILE REMOVED

file sys_syscall.c was added on branch bouyer-xenamd64 on 2007-11-13 16:02:28 +0000

Revision 1.1.2.1, Fri Nov 9 14:50:51 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.1: +0 -95 lines
FILE REMOVED

file sys_syscall.c was added on branch jmcneill-pm on 2007-11-11 16:48:13 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Fri Nov 9 14:50:51 2007 UTC (4 years, 6 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-lazymbuf, yamt-kmem, vmlocking2, mjf-devfs, jmcneill-pm, bouyer-xeni386, bouyer-xenamd64

Add MI implementations of the indirect stystem call functions sys_syscall()
and sys___syscall().
These functions are only used if the MI system call entry code doesn't
special-case the relevant entries.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>