CVS log for src/sys/compat/common/uipc_syscalls_40.c
Up to [cvs.NetBSD.org] / src / sys / compat / common
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Jul 7 18:17:33 2022 UTC (2 years, 5 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
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,
HEAD
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3
lines
ifioctl(9): Don't touch ifconf or ifreq until command is validated.
sys_ioctl validates the data pointer according to the command's size
and direction. But userland may ioctl commands other than
OSIOCGIFCONF or OOSIOCGIFCONF -- and if userland passes an IOC_VOID
command, the argument is passed through verbatim and may be null.
Reported-by: syzbot+19b1bf83e5481273eafc@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?id=f4c91a7dcd31901c80d91af6ed01456faf0a7286
Reported-by: syzbot+442c033feb784d055185@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?id=4a3a4b92dbe9695046ff17a5474cef52aed23e0b
Reported-by: syzbot+4c87d0cdf7025741ea7a@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?id=3e5f42c998e43ad42da40dec3c7873e6aae187e4
Revision 1.13.6.4: download - view: text, markup, annotated - select for diffs
Fri Jul 17 15:28:07 2020 UTC (4 years, 4 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.13.6.3: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.6.3: +6 -3
lines
Pull up following revision(s) (requested by msaitoh in ticket #1576):
sys/net/if.c: revision 1.479
sys/compat/common/uipc_syscalls_40.c: revision 1.23
sys/compat/linux/common/linux_socket.c: revision 1.150
sys/compat/linux32/common/linux32_socket.c: revision 1.31
Don't accept negative value.
Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Fri Jul 17 15:24:48 2020 UTC (4 years, 4 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +6 -3
lines
Pull up following revision(s) (requested by msaitoh in ticket #1018):
sys/net/if.c: revision 1.479
sys/compat/common/uipc_syscalls_40.c: revision 1.23
sys/compat/linux/common/linux_socket.c: revision 1.150
sys/compat/linux32/common/linux32_socket.c: revision 1.31
Don't accept negative value.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Jul 16 15:02:08 2020 UTC (4 years, 4 months ago) by msaitoh
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,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +6 -3
lines
Don't accept negative value.
Reported-by: syzbot+e71a77402d6668f1868d@syzkaller.appspotmail.com
Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:00 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.1: +4 -4
lines
Merge changes from current as of 20200406
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:00 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +3 -3
lines
Sync with head.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Feb 22 09:42:20 2020 UTC (4 years, 9 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3
lines
pass the address of the field, instead of relying on it being the first
field of the structure, no functional change
Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Dec 12 02:15:42 2019 UTC (5 years ago) by pgoyette
Branches: MAIN
CVS tags: ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3
lines
Rather than keeping a separate mutex, condvar, and pserialize for each
module hook, we can share a common set of synchronization structures.
This cuts the amount of cacheline_aligned data for these structures by
50%.
Note that we still have a per-hook localcount, since we need to count
individual references.
As discussed with riastradh@
Welcome to 9.99.22 !
Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:58 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +20 -12
lines
Sync with HEAD
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Apr 23 07:45:06 2019 UTC (5 years, 7 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Branch point for: netbsd-9
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -7
lines
KNF. No functional change.
Revision 1.7.34.1: download - view: text, markup, annotated - select for diffs
Fri Apr 19 16:03:09 2019 UTC (5 years, 7 months ago) by martin
Branches: netbsd-7-0
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -2
lines
Pull up following revision(s) via patch (requested by christos in ticket #1689):
sys/compat/linux/common/linux_socket.c: revision 1.145
sys/net/if.c: revision 1.449
sys/compat/linux32/common/linux32_socket.c: revision 1.30
sys/compat/common/uipc_syscalls_40.c: revision 1.19
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks!
-
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks! This is the compat code part
pointed out by ozaki-r@
Revision 1.7.38.1: download - view: text, markup, annotated - select for diffs
Fri Apr 19 16:02:24 2019 UTC (5 years, 7 months ago) by martin
Branches: netbsd-7-1
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -2
lines
Pull up following revision(s) via patch (requested by christos in ticket #1689):
sys/compat/linux/common/linux_socket.c: revision 1.145
sys/net/if.c: revision 1.449
sys/compat/linux32/common/linux32_socket.c: revision 1.30
sys/compat/common/uipc_syscalls_40.c: revision 1.19
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks!
-
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks! This is the compat code part
pointed out by ozaki-r@
Revision 1.7.32.1: download - view: text, markup, annotated - select for diffs
Fri Apr 19 16:01:34 2019 UTC (5 years, 7 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -2
lines
Pull up following revision(s) via patch (requested by christos in ticket #1689):
sys/compat/linux/common/linux_socket.c: revision 1.145
sys/net/if.c: revision 1.449
sys/compat/linux32/common/linux32_socket.c: revision 1.30
sys/compat/common/uipc_syscalls_40.c: revision 1.19
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks!
-
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks! This is the compat code part
pointed out by ozaki-r@
Revision 1.13.6.3: download - view: text, markup, annotated - select for diffs
Fri Apr 19 09:12:58 2019 UTC (5 years, 7 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Diff to: previous 1.13.6.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.6.2: +3 -2
lines
Pull up following revision(s) (requested by christos in ticket #1233):
sys/compat/linux/common/linux_socket.c: revision 1.145
sys/net/if.c: revision 1.449
sys/compat/linux32/common/linux32_socket.c: revision 1.30
sys/compat/common/uipc_syscalls_40.c: revision 1.19
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks!
-
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks! This is the compat code part
pointed out by ozaki-r@
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Apr 18 17:45:12 2019 UTC (5 years, 7 months ago) by christos
Branches: MAIN
CVS tags: isaki-audio2-base,
isaki-audio2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -2
lines
Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks! This is the compat code part
pointed out by ozaki-r@
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Mar 1 11:06:56 2019 UTC (5 years, 9 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -4
lines
Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.
NFCI intended.
Ride the earlier kernel bump - it;s getting crowded.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Jan 27 02:08:39 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +16 -7
lines
Merge the [pgoyette-compat] branch
Revision 1.15.2.13: download - view: text, markup, annotated - select for diffs
Wed Jan 23 03:34:14 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.15.2.12: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.12: +4 -7
lines
Convert the macros for setting and unsetting a hook to generate
in-line code rather than using an intermediary hook##set routine.
Hooks are set and unset only in one place, so the intermediary
routine provides no benefit. IMHO using the macro at the point-
of-call is more readable than using it elsewhere in the code and
then calling the generated intermediary routine (for which you
won't even find its declaration or definition unless you remember
to search for the HOOK_SET macro instead).
NFC intended, will verify with a bulk build and an atf test run.
Revision 1.15.2.12: download - view: text, markup, annotated - select for diffs
Mon Oct 15 04:33:34 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.15.2.11: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.11: +2 -4
lines
Convert a couple more hooks to the MP-safe mechanism.
While here, clean up some headers and remove any that are now empty.
Revision 1.15.2.11: download - view: text, markup, annotated - select for diffs
Sat Sep 22 04:56:28 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.15.2.10: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.10: +6 -2
lines
#include "opt_compat_netbsd.h" for all sources that provide compat code.
Revision 1.15.2.10: download - view: text, markup, annotated - select for diffs
Thu Sep 20 07:34:09 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.15.2.9: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.9: +8 -4
lines
Use the MP-safe hooks mechanism for the uipc_syscalls_40 and _50
routines.
Revision 1.15.2.9: download - view: text, markup, annotated - select for diffs
Mon Apr 16 03:41:34 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.15.2.8: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.8: +5 -4
lines
Rename if_[45]0_{init,fini} entry points to more appropriate and more
consistent uipc_syscalls_[45]0_{init,fini} and remove some multiple
declarations.
Revision 1.15.2.8: download - view: text, markup, annotated - select for diffs
Mon Apr 16 01:59:56 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.15.2.7: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.7: +2 -2
lines
Sync with HEAD, resolve some conflicts
Revision 1.15.2.7: download - view: text, markup, annotated - select for diffs
Sun Apr 15 06:23:31 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.15.2.6: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.6: +3 -3
lines
Make compat_ifconf() and compat_ifdatareq() static
Revision 1.15.2.6: download - view: text, markup, annotated - select for diffs
Thu Apr 12 22:33:41 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.15.2.5: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.5: +11 -7
lines
Merge christos's recent changes on HEAD
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Apr 12 18:50:13 2018 UTC (6 years, 8 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-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
Branch point for: phil-wifi
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +24 -6
lines
provide vectors for the ifconf compat code and ifdatareq compat code.
Revision 1.15.2.5: download - view: text, markup, annotated - select for diffs
Thu Mar 8 09:56:05 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.15.2.4: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.4: +3 -6
lines
Remove unnecessary conditionals. These files aren't built unless
their content is needed (via config option or module configuration).
Revision 1.15.2.4: download - view: text, markup, annotated - select for diffs
Thu Mar 8 00:25:30 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.15.2.3: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.3: +3 -2
lines
Handle ifconf() compat vectors
Revision 1.15.2.3: download - view: text, markup, annotated - select for diffs
Tue Mar 6 23:17:42 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.15.2.2: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.2: +4 -2
lines
Use a .h file for declaring the if_40_{init, fini} routines
Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 6 22:46:41 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.1: +3 -3
lines
Typo in function declaration.
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 6 05:46:06 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +21 -2
lines
Untangle some networking compat code so we can build a kernel with
networking and MODULAR, but without any actual COMPAT_* code (ie,
assuming that all the compat stuff can be added later via modules).
Revision 1.13.6.2: download - view: text, markup, annotated - select for diffs
Mon Dec 4 13:55:00 2017 UTC (7 years ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1
Diff to: previous 1.13.6.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.6.1: +4 -2
lines
Additionaly pull up rev 1.15 for ticket #407, requested by ozaki-r:
#idef the label next_ifa: just like the only goto using it.
Revision 1.7.16.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:53 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +58 -19
lines
update from HEAD
Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Thu Nov 30 15:57:37 2017 UTC (7 years ago) by martin
Branches: netbsd-8
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +17 -12
lines
Pull up following revision(s) (requested by ozaki-r in ticket #407):
sys/compat/linux32/common/linux32_socket.c: revision 1.28
sys/net/if.c: revision 1.400
sys/netipsec/key.c: revision 1.243
sys/compat/linux/common/linux_socket.c: revision 1.139
sys/netinet/ip_carp.c: revision 1.93
sys/netinet6/in6.c: revision 1.252
sys/netinet6/in6.c: revision 1.253
sys/netinet6/in6.c: revision 1.254
sys/net/if_spppsubr.c: revision 1.173
sys/net/if_spppsubr.c: revision 1.174
sys/compat/common/uipc_syscalls_40.c: revision 1.14
Protect IFADDR_READER_FOREACH and obtained ifa with psz/psref
Fix usage of FOREACH macro
key_sad.lock is held there so SAVLIST_WRITER_FOREACH is enough.
Protect IFADDR_READER_FOREACH and obtained ifa with psz/psref
Protect IFADDR_READER_FOREACH and obtained ifa with psz/psref (more)
Fix and make consistent of usages of psz/psref in ifconf variants
Remove unnecessary goto because there is no cleanup code to share (NFC)
Tweak a condition; we don't need to care ifacount to be negative
Fix a race condition of in6_ifinit
in6_ifinit checks the number of IPv6 addresses on a given interface and
if it's zero (i.e., an IPv6 address being assigned to the interface
is the first one), call if_addr_init. However, the actual assignment of
the address (ifa_insert) is out of in6_ifinit. The check and the
assignment must be done atomically.
Fix it by holding in6_ifaddr_lock during in6_ifinit and ifa_insert.
And also add missing pserialize to IFADDR_READER_FOREACH.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Nov 22 15:25:34 2017 UTC (7 years ago) by martin
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
pgoyette-compat-base,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -2
lines
#idef the label next_ifa: just like the only goto using it.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Nov 22 10:19:14 2017 UTC (7 years ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +17 -12
lines
Fix and make consistent of usages of psz/psref in ifconf variants
Revision 1.8.2.4: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:58 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.8.2.3: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.3: +5 -5
lines
Sync with HEAD
Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:40 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +5 -5
lines
Sync with HEAD
Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:23 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.11.2.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.1: +5 -5
lines
Sync with HEAD
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Mar 14 09:03:08 2017 UTC (7 years, 9 months ago) by ozaki-r
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: netbsd-8
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +5 -5
lines
Use if_acquire and if_release instead of using psref API directly
- Provide if_release for consistency to if_acquire
- Use if_acquire and if_release for ifp iterations
- Make ifnet_psref_class static
Revision 1.8.2.3: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:37 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.8.2.2: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.2: +15 -6
lines
Sync with HEAD
Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 6 00:19:06 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +15 -6
lines
Sync with HEAD
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Aug 1 03:15:30 2016 UTC (8 years, 4 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
localcount-20160914,
bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +15 -6
lines
Apply pserialize and psref to struct ifaddr and its variants
This change makes struct ifaddr and its variants (in_ifaddr and in6_ifaddr)
MP-safe by using pserialize and psref. At this moment, pserialize_perform
and psref_target_destroy are disabled because (1) we don't need them
because of softnet_lock (2) they cause a deadlock because of softnet_lock.
So we'll enable them when we remove softnet_lock in the future.
Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:00 2016 UTC (8 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.1: +8 -8
lines
Sync with HEAD
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jul 7 09:32:02 2016 UTC (8 years, 5 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160726,
nick-nhusb-base-20160907
Branch point for: pgoyette-localcount
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4
lines
Switch the address list of intefaces to pslist(9)
As usual, we leave the old list to avoid breaking kvm(3) users.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jun 16 02:38:40 2016 UTC (8 years, 5 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +6 -6
lines
Use curlwp_bind and curlwp_bindx instead of open-coding LP_BOUND
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:20 2016 UTC (8 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +28 -7
lines
Sync with HEAD
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu May 12 02:24:16 2016 UTC (8 years, 7 months ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20160529
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +28 -7
lines
Protect ifnet list with psz and psref
The change ensures that ifnet objects in the ifnet list aren't freed during
list iterations by using pserialize(9) and psref(9).
Note that the change adds a pslist(9) for ifnet but doesn't remove the
original ifnet list (ifnet_list) to avoid breaking kvm(3) users. We
shouldn't use the original list in the kernel anymore.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Nov 26 09:53:53 2014 UTC (10 years ago) by ozaki-r
Branches: MAIN
CVS tags: 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
Branch point for: nick-nhusb
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +10 -8
lines
Tweak ifconf variants
The tweaks make the code intention clear and make further changes easy.
No functional change.
Revision 1.6.44.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:15 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +2 -3
lines
Sync with HEAD.
Revision 1.6.38.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:39 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +2 -3
lines
sync with head
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jan 19 10:21:16 2011 UTC (13 years, 10 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base9,
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-pagecache,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
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,
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-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-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,
khorben-n900,
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: tls-maxphys,
netbsd-7-1,
netbsd-7-0,
netbsd-7
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -3
lines
Remove includes <sys/mount.h> and <sys/sched.h> added for <sys/syscallargs.h>.
Now they are handled by $sysarghdrextra in sys/kern/syscalls.conf.
Revision 1.4.12.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:50:32 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +4 -4
lines
sync with HEAD
Revision 1.4.10.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:36:38 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +4 -4
lines
Sync with HEAD.
Revision 1.4.20.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:18:34 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +4 -4
lines
Sync with HEAD.
Revision 1.4.22.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:56:35 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +4 -4
lines
Sync with head.
Revision 1.4.14.3: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:27:38 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.14.2: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.14.2: +4 -4
lines
sync with head
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Dec 5 22:51:28 2007 UTC (17 years ago) by dyoung
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
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,
yamt-nfs-mp-base,
yamt-nfs-mp,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
vmlocking2-base3,
vmlocking2-base2,
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,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-net80211-sync-base,
nick-net80211-sync,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
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,
mjf-devfs2,
mjf-devfs-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,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
jruoho-x86intr-base,
jmcneill-pm-base,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
ad-socklock-base1,
ad-audiomp2-base,
ad-audiomp2
Branch point for: rmind-uvmplock,
jruoho-x86intr
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3
lines
Use IFADDR_EMPTY().
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Dec 5 01:03:30 2007 UTC (17 years ago) by dyoung
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
Use IFADDR_FOREACH().
Revision 1.4.14.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:31:52 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.14.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.14.1: +115 -0
lines
sync with head.
Revision 1.4.4.2: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:03:49 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.4.4.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.4.1: +115 -0
lines
Sync with head.
Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 9 23:57:41 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.4.2.2: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.2: +2 -2
lines
Sync with head.
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 9 21:37:08 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +115 -0
lines
Sync with head.
Revision 1.4.14.1
Sat Jun 2 01:29:25 2007 UTC (17 years, 6 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.4: +0 -115
lines
file uipc_syscalls_40.c was added on branch yamt-lazymbuf on 2007-09-03 14:31:52 +0000
Revision 1.4.4.1
Sat Jun 2 01:29:25 2007 UTC (17 years, 6 months ago) by mjf
Branches: mjf-ufs-trans
FILE REMOVED
Changes since revision 1.4: +0 -115
lines
file uipc_syscalls_40.c was added on branch mjf-ufs-trans on 2007-07-11 20:03:49 +0000
Revision 1.4.2.1
Sat Jun 2 01:29:25 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
FILE REMOVED
Changes since revision 1.4: +0 -115
lines
file uipc_syscalls_40.c was added on branch vmlocking on 2007-06-09 21:37:08 +0000
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jun 2 01:29:25 2007 UTC (17 years, 6 months ago) by enami
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
jmcneill-base,
hpcarm-cleanup,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: yamt-lazymbuf,
vmlocking2,
vmlocking,
mjf-ufs-trans,
mjf-devfs,
matt-armv6,
jmcneill-pm
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +18 -21
lines
Reduce difference between compat_ifconf() and ifconf():
- exit on error rather than proceeding to next interface.
- make code simpler.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed May 30 21:02:02 2007 UTC (17 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -19
lines
Move the nasty ifdefs in one place. Requested by ad and dyoung.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue May 29 23:57:33 2007 UTC (17 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -2
lines
wrap the whole function in COMPAT_40
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue May 29 21:32:27 2007 UTC (17 years, 6 months ago) by christos
Branches: MAIN
Add a sockaddr_storage member to "struct ifreq" maintaining backwards
compatibility with the older ioctls. This avoids stack smashing and
abuse of "struct sockaddr" when ioctls placed "struct sockaddr_foo's" that
were longer than "struct sockaddr".
XXX: Some of the emulations might be broken; I tried to add code for
them but I did not test them.
CVSweb <webmaster@jp.NetBSD.org>