CVS log for src/sys/compat/linux/common/linux_sysctl.c
Up to [cvs.NetBSD.org] / src / sys / compat / linux / common
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Jul 10 02:31:55 2023 UTC (3 years, 4 months ago) by christos
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20261102,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
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.47: preferred, colored
Changes since revision 1.47: +4 -4
lines
Add memfd_create(2) from GSoC 2023 by Theodore Preduta
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Sep 23 06:56:27 2021 UTC (5 years, 1 month ago) by ryo
Branches: MAIN
CVS tags: 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
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +5 -2
lines
add support COMPAT_LINUX for aarch64
Revision 1.44.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:00 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +21 -18
lines
Merge changes from current as of 20200406
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Mar 21 16:28:56 2020 UTC (6 years, 7 months ago) by pgoyette
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,
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
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +21 -6
lines
Deal with having to teardown sysctl entries in multiple sub-trees.
(This used to work, but I broke it recently.)
Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Mar 16 21:20:09 2020 UTC (6 years, 8 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +13 -25
lines
Use the module subsystem's ability to process SYSCTL_SETUP() entries to
automate installation of sysctl nodes.
Note that there are still a number of device and pseudo-device modules
that create entries tied to individual device units, rather than to the
module itself. These are not changed.
Revision 1.40.18.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:55 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.40.18.1: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.18.1: +9 -0
lines
update from HEAD
Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Sep 29 17:08:00 2017 UTC (9 years, 1 month ago) by maxv
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
phil-wifi-base,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
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,
pgoyette-compat,
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,
is-mlppp-base,
is-mlppp,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: phil-wifi
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +11 -2
lines
Remove compat_linux from the autoload list, and add a sysctl to enable or
disable it - which defaults to disabled. The following command is now
required to use linux binaries:
sysctl -w emul.linux.enabled=1
After a discussion on tech-kern@. All the other ideas to reduce the attack
surface have drawbacks, and this sysctl seems to be the best option.
Revision 1.40.18.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:32 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +5 -10
lines
Rebase to HEAD as of a few days ago.
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:33 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +3 -3
lines
Rebase.
Revision 1.40.8.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:17 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +4 -9
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.40.22.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:32 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +5 -10
lines
sync with head
Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri May 16 12:22:32 2014 UTC (12 years, 6 months ago) by martin
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
rmind-smpnet-nbase,
rmind-smpnet-base,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
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,
nick-nhusb-base,
nick-nhusb,
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,
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,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3
lines
Get rid of all sysc_init_field uses - initialize fields directly in C99
notation.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Feb 25 18:30:09 2014 UTC (12 years, 8 months ago) by pooka
Branches: MAIN
CVS tags: yamt-pagecache-base9,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -7
lines
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.
Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Nov 18 01:36:49 2013 UTC (13 years ago) by chs
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -4
lines
claim to be linux 3.11.6 (opensuse 13.1).
Revision 1.39.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:51 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +4 -9
lines
sync with head
Revision 1.39.4.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:50 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +4 -9
lines
Sync with HEAD.
Revision 1.34.10.3: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:08 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.34.10.2: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.10.2: +4 -9
lines
sync with head.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Jul 7 01:30:35 2010 UTC (16 years, 4 months ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
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,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
khorben-n900,
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-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
agc-symver-base,
agc-symver
Branch point for: yamt-pagecache,
tls-maxphys,
rmind-smpnet
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -9
lines
many changes for COMPAT_LINUX:
- update the linux syscall table for each platform.
- support new-style (NPTL) linux pthreads on all platforms.
clone() with CLONE_THREAD uses 1 process with many LWPs
instead of separate processes.
- move the contents of sys__lwp_setprivate() into a new
lwp_setprivate() and use that everywhere.
- update linux_release[] and linux32_release[] to "2.6.18".
- adjust placement of emul fork/exec/exit hooks as needed
and adjust other emul code to match.
- convert all struct emul definitions to use named initializers.
- change the pid allocator to allow multiple pids to refer to the same proc.
- remove a few fields from struct proc that are no longer needed.
- disable the non-functional "vdso" code in linux32/amd64,
glibc works fine without it.
- fix a race in the futex code where we could miss a wakeup after
a requeue operation.
- redo futex locking to be a little more efficient.
Revision 1.34.10.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:22 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.34.10.1: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.10.1: +62 -64
lines
sync with head.
Revision 1.36.4.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:31 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +61 -64
lines
Sync with HEAD.
Revision 1.34.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:45 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.34.6.2: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.6.2: +59 -62
lines
Sync with HEAD.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Jan 5 09:33:19 2009 UTC (17 years, 10 months ago) by njoly
Branches: MAIN
CVS tags: 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,
uebayasi-xip-base1,
uebayasi-xip-base,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3
lines
Make sysctl(2) fails with ENOTDIR (instead of EINVAL) for invalid mib
vector length.
Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:56 2008 UTC (17 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +60 -63
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Nov 19 18:36:03 2008 UTC (18 years ago) by ad
Branches: MAIN
CVS tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +60 -60
lines
Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:
- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Nov 12 12:36:10 2008 UTC (18 years ago) by ad
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -5
lines
Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
Revision 1.34.6.2: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:03 2008 UTC (18 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.34.6.1: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.6.1: +1 -0
lines
Sync with HEAD.
Revision 1.35.2.3: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:54 2008 UTC (18 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.35.2.2: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.2.2: +3 -2
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.35.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 18 16:32:55 2008 UTC (18 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +3 -2
lines
Sync with head.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Jun 18 12:24:18 2008 UTC (18 years, 5 months ago) by tsutsui
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
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,
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-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
haad-dm
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -2
lines
Include <sys/sched.h> before <sys/syscallargs.h> for cpuset_t.
Revision 1.34.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:04 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -9
lines
Sync with HEAD.
Revision 1.34.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:20 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +2 -9
lines
sync with head.
Revision 1.34.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:23:43 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -9
lines
sync with head.
Revision 1.35.2.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:35:05 2008 UTC (18 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.35.2.1: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.2.1: +2 -3
lines
Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.
Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)
Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.
This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.
I think this reduction is very good thing.
Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:56 2008 UTC (18 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -2
lines
Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.
Also, kern_sa.c has received partial cleanup. There's still more
to do, though.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:44 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa,
simonb-wapbl
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:27 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +5 -15
lines
Sync with HEAD.
Revision 1.17.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:41:30 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.17.2.5: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.2.5: +6 -17
lines
sync with head
Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:51:18 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.31.2.1: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.1: +6 -17
lines
sync with HEAD
Revision 1.32.8.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:10:46 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.32.8.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.8.1: +3 -13
lines
Sync with HEAD
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Jan 7 16:12:53 2008 UTC (18 years, 10 months ago) by ad
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,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
mjf-devfs2
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +5 -15
lines
Patch up sysctl locking:
- Lock processes, credentials, filehead etc correctly.
- Acquire a read hold on sysctl_treelock if only doing a query.
- Don't wire down the output buffer. It doesn't work correctly and the code
regularly does long term sleeps with it held - it's not worth it.
- Don't hold locks other than sysctl_lock while doing copyout().
- Drop sysctl_lock while doing copyout / allocating memory in a few places.
- Don't take kernel_lock for sysctl.
- Fix a number of bugs spotted along the way
Revision 1.32.8.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:52:45 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -4
lines
Sync with HEAD
Revision 1.32.4.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:49:20 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +3 -4
lines
Sync with head.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Dec 20 23:02:57 2007 UTC (18 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base3
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -4
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.31.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:25:02 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -2
lines
sync with HEAD
Revision 1.17.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:41 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.17.2.4: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.4: +4 -2
lines
sync with head.
Revision 1.30.6.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:44:00 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.30.6.1: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.6.1: +4 -2
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.31.6.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:37:00 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +4 -2
lines
Sync with HEAD.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Oct 19 18:52:12 2007 UTC (19 years, 1 month ago) by njoly
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
jmcneill-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: vmlocking2,
mjf-devfs,
bouyer-xeni386
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -2
lines
Add compat_linux and exec_linux_elf lkm support for amd64:
- Add needed COMPAT_OSSAUDIO to GENERIC.
- Add missing includes needed by linux_syscallargs.h.
- Add lkm building.
Revision 1.17.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:32:27 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.17.2.3: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.3: +5 -12
lines
sync with head.
Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:19:59 2007 UTC (19 years, 2 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +4 -12
lines
Sync with HEAD.
Revision 1.25.6.3: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:25:55 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.25.6.2: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.6.2: +4 -12
lines
Sync with HEAD.
Revision 1.30.6.1: download - view: text, markup, annotated - select for diffs
Thu Aug 16 11:02:50 2007 UTC (19 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -12
lines
Sync with HEAD.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Aug 15 12:07:30 2007 UTC (19 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
nick-csl-alignment-base5
Branch point for: matt-armv6,
bouyer-xenamd64
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -12
lines
Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.
Revision 1.25.8.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:04:20 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +3 -2
lines
Sync with head.
Revision 1.25.6.2: download - view: text, markup, annotated - select for diffs
Sun May 27 14:35:10 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.25.6.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.6.1: +3 -13
lines
Sync with head.
Revision 1.25.2.3: download - view: text, markup, annotated - select for diffs
Thu May 17 13:41:15 2007 UTC (19 years, 6 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.25.2.2: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.2.2: +2 -15
lines
sync with head.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu May 10 21:30:15 2007 UTC (19 years, 6 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
nick-csl-alignment-base,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: nick-csl-alignment,
jmcneill-pm
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -15
lines
- linux uname -m on x86 returns i{3,4,5,6}86 make it so.
- delete the machine sysctl that never worked, and gc linux_machine.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu May 10 17:12:32 2007 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3
lines
move the #if 0 down a few lines so linux_machine gets initialized. Pointed
out by Joachim K�nig
Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Mon May 7 10:55:13 2007 UTC (19 years, 6 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.25.2.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.1: +5 -2
lines
sync with head.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun May 6 23:25:26 2007 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -2
lines
Remove change that obviously was not tested (since it uses LINUX_KERN_VERSION
again, producing EEXIST). There is no machine sysctl in linux that corresponds
to this (at least on my i386 suse box)
Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Sun Apr 29 11:05:40 2007 UTC (19 years, 6 months ago) by bouyer
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +3 -2
lines
Pull up following revision(s) (requested by manu in ticket #596):
sys/compat/linux/arch/amd64/linux_machdep.h: revision 1.8
sys/compat/linux/common/linux_sysctl.c: revision 1.27
Linux's uname should return x86_64 as machine_arch
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Apr 23 12:45:42 2007 UTC (19 years, 6 months ago) by manu
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -2
lines
Linux's uname should return x86_64 as machine_arch
Revision 1.25.6.1: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:26:23 2007 UTC (19 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +13 -2
lines
Sync with head.
Revision 1.25.10.1: download - view: text, markup, annotated - select for diffs
Thu Mar 29 19:27:37 2007 UTC (19 years, 7 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +13 -2
lines
Pullup to -current
Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:55:09 2007 UTC (19 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +13 -2
lines
sync with head.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Mar 23 04:16:13 2007 UTC (19 years, 7 months ago) by mrg
Branches: MAIN
CVS tags: thorpej-atomic-base,
thorpej-atomic
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +13 -2
lines
implement emul.linux.kern.machine, which can be set to "i686", like
some applications seem to want.
Revision 1.17.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:09:23 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.17.2.2: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.2: +2 -3
lines
sync with head.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:19 2007 UTC (19 years, 9 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp,
vmlocking,
reinoud-bufcleanup,
mjf-ufs-trans
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -3
lines
Merge newlock2 to head.
Revision 1.19.10.2: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:51:33 2007 UTC (19 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.19.10.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.10.1: +2 -3
lines
Remove support for SA. Ok core@.
Revision 1.17.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:38 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.17.2.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.1: +13 -2
lines
sync with head.
Revision 1.19.12.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:48 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.19.12.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.12.1: +3 -3
lines
sync with head.
Revision 1.19.10.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:10 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +13 -2
lines
Sync with head.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:42 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
newlock2-nbase,
newlock2-base,
netbsd-4-base
Branch point for: netbsd-4
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3
lines
__unused removal on arguments; approved by core.
Revision 1.19.12.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:24 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +14 -3
lines
sync with head
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:48 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Sep 24 21:44:58 2006 UTC (20 years, 1 month ago) by dbj
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3
lines
use _KERNEL_OPT instead of _LKM to check whether to include "opt_ktrace.h"
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Sep 24 05:48:27 2006 UTC (20 years, 1 month ago) by dogcow
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -2
lines
opt_ktrace.h doesn't exist when building LKMs.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Sep 23 22:12:00 2006 UTC (20 years, 1 month ago) by manu
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +11 -2
lines
Add sysctl tracing to emulations.
While we are there, fix a bug in FreeBSD sysctl emulation: use copyin for
moving data to the kernel
Revision 1.18.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:45:52 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +3 -3
lines
sync with head
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:59:12 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3
lines
sync with head.
Revision 1.18.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:13 2006 UTC (20 years, 6 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +3 -3
lines
Sync with head.
Revision 1.18.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 04:01:22 2006 UTC (20 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +3 -3
lines
sync with head.
Revision 1.18.8.1: download - view: text, markup, annotated - select for diffs
Mon Mar 13 09:07:07 2006 UTC (20 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +3 -3
lines
sync with head.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Mar 8 03:55:31 2006 UTC (20 years, 8 months ago) by jonathan
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
simonb-timecounters-base,
rpaulo-netinet-merge-pcb-base,
peter-altq-base,
peter-altq,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3
lines
Rework Linux sysctl()-emulation, so that on amd64, we return the same
Linux kernel-version as on i386 and ppc (currently 2.4.18), and a date
in Feb 2002.
On all other NetBSD platforms we return a Linux-kernel version of
2.0.38 and a date sometime in 2000, which (AFAIK) predates the
existence of amd64, and therefore predates Linux support for amd64.
To me, it makes much more sense to return the same Linux-kernel-version
and date for both 32-bit x86 and 64-bit x86.
Empirically (and not least), this change also allows SuSE 10 amd64
binaries to run under our Linux amd64 binary emulation (both static
and dynamic-linked, given suitable setup) , which they didn't when we
reported a Linux/x86_64 kernel version of 2.0.38.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:20:19 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
elad-kernelauth
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
merge ktrace-lwp.
Revision 1.9.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:01:07 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.9.2.4: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.4: +3 -3
lines
Sync with HEAD. Here we go again...
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Jun 20 02:49:19 2005 UTC (21 years, 5 months ago) by atatat
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3
lines
Change the rest of the sysctl subsystem to use const consistently.
The __UNCONST macro is now used only where necessary and the RW macros
are gone. Most of the changes here are consumers of the
sysctl_createv(9) interface that now takes a pair of const pointers
which used not to be.
Revision 1.9.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:25:41 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.9.2.3: preferred, colored
Changes since revision 1.9.2.3: +2 -2
lines
Fix the sync with head I botched.
Revision 1.9.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:43:44 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.9.2.2: preferred, colored
Changes since revision 1.9.2.2: +2 -2
lines
Sync with HEAD.
Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:44:05 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.9.2.1: preferred, colored
Changes since revision 1.9.2.1: +162 -214
lines
Sync with HEAD
Revision 1.13.2.3: download - view: text, markup, annotated - select for diffs
Wed May 26 20:06:30 2004 UTC (22 years, 5 months ago) by he
Branches: netbsd-2-0
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2
Diff to: previous 1.13.2.2: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.2: +12 -7
lines
Pull up revision 1.16 (requested by atatat in ticket #387):
Add sysctl descriptions under emul subtree.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue May 25 04:29:08 2004 UTC (22 years, 5 months ago) by atatat
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +12 -7
lines
Sysctl descriptions under emul subtree.
Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Sun May 23 10:46:28 2004 UTC (22 years, 5 months ago) by tron
Branches: netbsd-2-0
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.1: +6 -3
lines
Pull up revision 1.15 (requested by atatat in ticket #374):
Tweak sysctl setup functions (the macros, actually) for use in lkms,
and tweak lkminit_*.c (where applicable) to call them, and to call
sysctl_teardown() when being unloaded.
This consists of (1) making setup functions not be static when being
compiled as lkms (change to sys/sysctl.h), (2) making prototypes
visible for the various setup functions in header files (changes to
various header files), and (3) making simple "load" and "unload"
functions in the actual lkminit stuff.
linux_sysctl.c also needs its root exposed (ie, made not static) for
this (when built as an lkm).
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu May 20 06:34:24 2004 UTC (22 years, 6 months ago) by atatat
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +6 -3
lines
Tweak sysctl setup functions (the macros, actually) for use in lkms,
and tweak lkminit_*.c (where applicable) to call them, and to call
sysctl_teardown() when being unloaded.
This consists of (1) making setup functions not be static when being
compiled as lkms (change to sys/sysctl.h), (2) making prototypes
visible for the various setup functions in header files (changes to
various header files), and (3) making simple "load" and "unload"
functions in the actual lkminit stuff.
linux_sysctl.c also needs its root exposed (ie, made not static) for
this (when built as an lkm).
Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 29 04:07:18 2004 UTC (22 years, 6 months ago) by jmc
Branches: netbsd-2-0
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3
lines
Pullup rev 1.14 (requested by atatat in ticket #206)
Be consistent about using sysc_init_field()
Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Apr 27 03:49:03 2004 UTC (22 years, 6 months ago) by atatat
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3
lines
Be consistent about using sysc_init_field()
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Mar 24 15:34:52 2004 UTC (22 years, 7 months ago) by atatat
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +31 -22
lines
Tango on sysctl_createv() and flags. The flags have all been renamed,
and sysctl_createv() now uses more arguments.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Mar 9 03:13:07 2004 UTC (22 years, 8 months ago) by atatat
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -7
lines
Remove useless comment about stuff that never happened.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Dec 4 19:38:23 2003 UTC (22 years, 11 months ago) by atatat
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +152 -212
lines
Dynamic sysctl.
Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al. Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.
Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded. Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.
All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.
PS - I'm sorry, but there's a distinct lack of documentation at the
moment. I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:30:45 2003 UTC (23 years, 3 months ago) by agc
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -7
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:25:48 2003 UTC (23 years, 4 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +20 -20
lines
Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:29:32 2003 UTC (23 years, 4 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +18 -18
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:22 2003 UTC (23 years, 4 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +20 -20
lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jan 18 21:21:37 2003 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -3
lines
Merge the nathanw_sa branch.
Revision 1.2.2.7: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:37:25 2002 UTC (23 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.2.2.6: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.6: +3 -3
lines
Sync with HEAD.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Nov 25 10:34:34 2002 UTC (23 years, 11 months ago) by schmonz
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3
lines
Report ourselves as Linux 2.4.18 on powerpc, too.
Revision 1.2.8.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:44:29 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.2.8.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.8.2: +38 -11
lines
catch up with -current on kqueue branch
Revision 1.2.2.6: download - view: text, markup, annotated - select for diffs
Wed May 29 21:32:45 2002 UTC (24 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.2.5: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.5: +3 -2
lines
#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.
(Behold the Power of Ed)
Revision 1.2.2.5: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:05:14 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.2.4: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.4: +8 -11
lines
Catch up to -current.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Apr 4 09:32:11 2002 UTC (24 years, 7 months ago) by tron
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gehenna-devsw-base,
gehenna-devsw
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -10
lines
Set default kernel version of Linux emulation to 2.4.18 on the i386 port.
It has been successfully tested using SuSE 7.3 libraries and binaries with
many applications.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Apr 2 20:23:44 2002 UTC (24 years, 7 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
rename sysctl_linux() to linux_sysctl() and hook it into emul_linux
Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:44:30 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.3: +33 -3
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Mar 20 00:27:58 2002 UTC (24 years, 8 months ago) by christos
Branches: MAIN
CVS tags: eeh-devprop-base,
eeh-devprop
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +33 -3
lines
emulation specific sysctls. Also change the kernel date to nov 11 as requested
by bad.
Revision 1.2.8.2: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:00:39 2002 UTC (24 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.2.8.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.8.1: +260 -0
lines
Catch up with -current.
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Thu Feb 28 23:59:32 2002 UTC (24 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.2: +4 -3
lines
LWPify linux_{set/get}rlimit(); move and LWPify linux_sysctl().
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:12:57 2002 UTC (24 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +260 -0
lines
Catch up to -current.
Revision 1.2.8.1
Wed Feb 20 17:02:48 2002 UTC (24 years, 9 months ago) by jdolecek
Branches: kqueue
FILE REMOVED
Changes since revision 1.2: +0 -260
lines
file linux_sysctl.c was added on branch kqueue on 2002-03-16 16:00:39 +0000
Revision 1.2.2.1
Wed Feb 20 17:02:48 2002 UTC (24 years, 9 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.2: +0 -260
lines
file linux_sysctl.c was added on branch nathanw_sa on 2002-02-28 04:12:57 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Feb 20 17:02:48 2002 UTC (24 years, 9 months ago) by christos
Branches: MAIN
CVS tags: newlock-base,
newlock,
ifpoll-base
Branch point for: nathanw_sa,
kqueue
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +24 -9
lines
allow writing of kernel.version, kernel.osrelease, kernel.ostype... I might
revert that l8r if I come up with something better.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Feb 15 20:02:56 2002 UTC (24 years, 9 months ago) by christos
Branches: MAIN
s/printf/uprintf/
CVSweb <webmaster@jp.NetBSD.org>