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


Keyword substitution: kv
Default branch: MAIN


Revision 1.15.10.1: download - view: text, markup, annotated - select for diffs
Sat Aug 2 05:57:42 2025 UTC (15 months, 2 weeks ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +3 -3 lines
Sync with HEAD

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Jun 1 23:30:36 2025 UTC (17 months, 2 weeks ago) by bad
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102, perseant-exfatfs-base-20250801, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, HEAD
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
update comment about where this file is included

sys_indirect.c is long gone.  however sys_scdebug.c includes this file.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Jun 29 16:33:09 2022 UTC (4 years, 4 months ago) by hannken
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, netbsd-10-base, netbsd-10-2-RELEASE, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: perseant-exfatfs
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -5 lines
Synchronize SYS_SYSCALL() with other syscall implementations and
call trace_exit() even if trace_enter() returned an error.

PR kern/52166 "syscallemu does not work on sparc (32-bit)"
PR toolchain/56117 "New test failures on amd64 since switch to gcc10"

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Mar 14 12:02:19 2022 UTC (4 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +21 -4 lines
syscall(2): Provide better attribution for biglock slippage.

This adds a small overhead to the syscall path, but only when invoked
via the syscall(2) syscall, for which stack traces generally don't
print the actual syscall number in question so the better attribution
may make a difference.

Revision 1.11.18.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:52 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.11.18.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.18.1: +2 -3 lines
Merge changes from current as of 20200406

Revision 1.12.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:03 2020 UTC (6 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +2 -3 lines
Sync with head.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Feb 8 07:07:07 2020 UTC (6 years, 9 months ago) by maxv
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -3 lines
Retire KLEAK.

KLEAK was a nice feature and served its purpose; it allowed us to detect
dozens of info leaks on the kernel->userland boundary, and thanks to it we
tackled a good part of the infoleak problem 1.5 years ago.

Nowadays however, we have kMSan, which can detect uninitialized memory in
the kernel. kMSan supersedes KLEAK: it can detect what KLEAK was able to
detect, but in addition, (1) it operates in all of the kernel and not just
the kernel->userland boundary, (2) it requires no user interaction, and (3)
it is deterministic and not statistical.

That makes kMSan the feature of choice to detect info leaks nowadays;
people interested in detecting info leaks should boot a kMSan kernel and
just wait for the magic to happen.

KLEAK was a good ride, and a fun project, but now is time for it to go.

Discussed with several people, including Thomas Barabosch.

Revision 1.11.18.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:03 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -2 lines
Sync with HEAD

Revision 1.11.16.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:02:04 2018 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +3 -2 lines
Sync with HEAD, resolve a few conflicts

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Dec 2 21:00:13 2018 UTC (7 years, 11 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -2 lines
Introduce KLEAK, a new feature that can detect kernel information leaks.

It works by tainting memory sources with marker values, letting the data
travel through the kernel, and scanning the kernel<->user frontier for
these marker values. Combined with compiler instrumentation and rotation
of the markers, it is able to yield relevant results with little effort.

We taint the pools and the stack, and scan copyout/copyoutstr. KLEAK is
supported on amd64 only for now, but it is not complicated to add more
architectures (just a matter of having the address of .text, and a stack
unwinder).

A userland tool is provided, that allows to execute a command in rounds
and monitor the leaks generated all the while.

KLEAK already detected directly 12 kernel info leaks, and prompted changes
that in total fixed 25+ leaks.

Based on an idea developed jointly with Thomas Barabosch (of Fraunhofer
FKIE).

Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:38:45 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +6 -7 lines
update from HEAD

Revision 1.10.16.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:20 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +6 -7 lines
Sync with HEAD

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Mar 7 16:38:49 2015 UTC (11 years, 8 months ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -7 lines
regen

Revision 1.9.38.1: download - view: text, markup, annotated - select for diffs
Sat Jun 2 11:09:34 2012 UTC (14 years, 5 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +5 -4 lines
sync to latest -current.

Revision 1.9.34.1: download - view: text, markup, annotated - select for diffs
Wed May 23 10:08:12 2012 UTC (14 years, 5 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +5 -4 lines
sync with head.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat May 5 19:44:02 2012 UTC (14 years, 6 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, khorben-n900, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:12 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +2 -5 lines
Sync with HEAD.

Revision 1.8.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:10 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +2 -5 lines
sync with head.

Revision 1.8.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:27 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +2 -5 lines
sync with head.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Apr 29 06:53:03 2008 UTC (18 years, 6 months ago) by martin
Branches: 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-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, 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-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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-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, jmcneill-usbmp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -5 lines
Convert to new 2 clause license

Revision 1.7.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:01 2008 UTC (18 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.7.2.2: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.2: +7 -6 lines
sync with HEAD

Revision 1.1.8.4: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:06:47 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.1.8.3: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.8.3: +7 -7 lines
Sync with HEAD.

Revision 1.1.6.4: download - view: text, markup, annotated - select for diffs
Mon Feb 11 14:59:58 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.6.3: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.6.3: +7 -6 lines
sync with head.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Feb 6 22:12:42 2008 UTC (18 years, 9 months ago) by dsl
Branches: 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
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +7 -6 lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 21 09:46:25 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.6.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.6.2: +9 -9 lines
sync with head

Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:56:23 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.1: +95 -0 lines
sync with HEAD

Revision 1.1.14.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:11:43 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.1.14.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.14.2: +2 -2 lines
Sync with HEAD

Revision 1.7.2.1
Sat Jan 5 12:53:56 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
FILE REMOVED
Changes since revision 1.7: +0 -95 lines
file sys_syscall.c was added on branch matt-armv6 on 2008-01-09 01:56:23 +0000

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jan 5 12:53:56 2008 UTC (18 years, 10 months ago) by dsl
Branches: MAIN
CVS tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: matt-armv6
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4 lines
Don't pass 'curlwp' into trace_enter() and trace_exit().

Revision 1.1.14.2: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:56:15 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.1.14.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.14.1: +5 -5 lines
Sync with HEAD

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Dec 31 15:32:13 2007 UTC (18 years, 10 months ago) by ad
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -3 lines
Remove systrace. Ok core@.

Revision 1.1.8.3: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:46:12 2007 UTC (18 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.1.8.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.8.2: +7 -6 lines
Sync with HEAD.

Revision 1.1.10.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:57:15 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +7 -6 lines
Sync with head.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Dec 22 16:19:35 2007 UTC (18 years, 10 months ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base3
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 22 11:38:55 2007 UTC (18 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 20 23:03:12 2007 UTC (18 years, 11 months ago) by dsl
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 13 21:56:55 2007 UTC (18 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -1 lines
Sync with HEAD

Revision 1.1.12.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:44:14 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +2 -2 lines
sync with head.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Dec 11 12:16:34 2007 UTC (18 years, 11 months ago) by lukem
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, cube-autoconf-base, cube-autoconf
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
use __KERNEL_RCSID() instead of __RCSID()

Revision 1.1.8.2: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:48:55 2007 UTC (19 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.1.8.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.8.1: +95 -0 lines
Sync with HEAD.

Revision 1.1.6.2: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:44:52 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.6.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.6.1: +95 -0 lines
sync with head.

Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:02:28 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.1: +95 -0 lines
Sync with HEAD

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 11 16:48:13 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +95 -0 lines
Sync with HEAD.

Revision 1.1.8.1
Fri Nov 9 14:50:51 2007 UTC (19 years ago) by mjf
Branches: mjf-devfs
FILE REMOVED
Changes since revision 1.1: +0 -95 lines
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 (19 years ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.1: +0 -95 lines
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 (19 years ago) by bouyer
Branches: bouyer-xenamd64
FILE REMOVED
Changes since revision 1.1: +0 -95 lines
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 (19 years ago) by joerg
Branches: jmcneill-pm
FILE REMOVED
Changes since revision 1.1: +0 -95 lines
file sys_syscall.c was added on branch jmcneill-pm on 2007-11-11 16:48:13 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Nov 9 14:50:51 2007 UTC (19 years ago) by dsl
Branches: 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.

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

CVSweb <webmaster@jp.NetBSD.org>