#
deeec4a8 |
| 24-Dec-2022 |
andvar <andvar@NetBSD.org> |
s/reqest/request/, s/requst/request/ and s/reuqest/request/ in comments.
|
#
fc897702 |
| 16-Jul-2020 |
msaitoh <msaitoh@NetBSD.org> |
Don't accept negative value.
Reported-by: syzbot+e71a77402d6668f1868d@syzkaller.appspotmail.com
|
#
c4115e3d |
| 18-Apr-2019 |
christos <christos@NetBSD.org> |
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@
|
#
7aacc32c |
| 10-May-2018 |
ozaki-r <ozaki-r@NetBSD.org> |
Fix pserialize enter/exit pairs in linux_getifconf and linux32_getifconf
Tested by using a small linux program that uses ioctl(SIOCGIFCONF). Probably fix PR kern/53259 as well.
|
#
54d4ee11 |
| 22-Nov-2017 |
ozaki-r <ozaki-r@NetBSD.org> |
Fix and make consistent of usages of psz/psref in ifconf variants
|
#
49c4be2f |
| 14-Mar-2017 |
ozaki-r <ozaki-r@NetBSD.org> |
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
|
#
3ad55fb6 |
| 01-Aug-2016 |
ozaki-r <ozaki-r@NetBSD.org> |
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, pseria
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.
show more ...
|
#
3d4d635b |
| 07-Jul-2016 |
ozaki-r <ozaki-r@NetBSD.org> |
Switch the address list of intefaces to pslist(9)
As usual, we leave the old list to avoid breaking kvm(3) users.
|
#
38fc68b8 |
| 05-Jul-2016 |
ozaki-r <ozaki-r@NetBSD.org> |
Fix psref isn't released in a case of IFADDR_EMPTY
|
#
41c2e7d1 |
| 16-Jun-2016 |
ozaki-r <ozaki-r@NetBSD.org> |
Use curlwp_bind and curlwp_bindx instead of open-coding LP_BOUND
|
#
8edd7605 |
| 15-Jun-2016 |
ozaki-r <ozaki-r@NetBSD.org> |
Protect if_byindex by pserialize
|
#
bb387e19 |
| 12-May-2016 |
ozaki-r <ozaki-r@NetBSD.org> |
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 ps
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.
show more ...
|
#
96293727 |
| 24-Jul-2015 |
maxv <maxv@NetBSD.org> |
Unused inits (harmless).
Found by Brainy.
|
#
c3b42dac |
| 26-Nov-2014 |
ozaki-r <ozaki-r@NetBSD.org> |
Tweak ifconf variants
The tweaks make the code intention clear and make further changes easy.
No functional change.
|
#
0e99d576 |
| 17-May-2014 |
rmind <rmind@NetBSD.org> |
Replace open-coded access (and boundary checking) of ifindex2ifnet with if_byindex() function.
|
#
891f436c |
| 11-Jan-2013 |
christos <christos@NetBSD.org> |
Use copyin/copyout and linux-specific ifreq structures (they are the same as the netbsd ones, but this disconnects them)
|
#
267cf1b4 |
| 15-Mar-2012 |
bouyer <bouyer@NetBSD.org> |
Do not read past end of array. Found by gcc -03
|
#
9e962067 |
| 12-Dec-2009 |
njoly <njoly@NetBSD.org> |
Add missing semicolons after NETBSD32TOx_UAP macro calls.
|
#
5e38c900 |
| 10-Dec-2009 |
njoly <njoly@NetBSD.org> |
Add SIOCGIFMTU support.
|
#
ed22c066 |
| 10-Dec-2009 |
njoly <njoly@NetBSD.org> |
Do not give native requests to netbsd32_ioctl(), use the compat netbsd32 equivalent instead.
|
#
e7123f32 |
| 13-Nov-2009 |
joerg <joerg@NetBSD.org> |
Return the result of copyout. Reminded by Niolas Joly.
|
#
8277e921 |
| 13-Nov-2009 |
joerg <joerg@NetBSD.org> |
Provide SIOCGIFNAME.
|
#
92ce8c6a |
| 19-Nov-2008 |
ad <ad@NetBSD.org> |
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
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
show more ...
|
#
066b9aab |
| 23-Jul-2008 |
njoly <njoly@NetBSD.org> |
Add linux32_getifconf, following recent linux_getifconf addition.
|
#
9084eed1 |
| 27-Jun-2008 |
njoly <njoly@NetBSD.org> |
Add SIOCGIFHWADDR support. Tested by Cem Kayali.
|