summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-05Add a function for getting the current core's hardware identifier.Visa Hankala
For now, the kernel does enforce one-to-one mapping between logical cpuids and hardware coreids, but the reliance on that should be removed eventually.
2017-11-05Remove unmaintained debug code.Visa Hankala
2017-11-05syncJeremie Courreges-Anglas
2017-11-04Revert recent changes to unbreak ports/net/sambaJeremie Courreges-Anglas
While it is not clear (to me) why that ports ends up with corrupted shared libs, reverting those changes fixes the issue and should allow us to close p2k17 more smoothly. Discussed with a bunch, ok ajacoutot@ guenther@
2017-11-04Don't keep blindly chugging along when receiving an unexpected imsg,Florian Obser
something is seriously wrong.
2017-11-04Move the ioctls that only need a read lock from ifioctl into a newTheo Buehler
function ifioctl_get(). This simplifies an upcoming diff. suggested by & ok mpi, input & ok florian
2017-11-04raw_init() is dead and <net/raw_cb.h> doesn't need to be included there.Martin Pieuchot
2017-11-04Since rev 1.502 of rc(8) it creates a /bsd.booted hard link. At theFlorian Obser
end of rc we call reorder_kernel which creates a /obsd hard link to the same kernel. In the past obsd was only created when doing a manual make install in the kernel sources. There is no need for two backup hard links during boot, rearange the kernel Makefiles to restore previous behaviour and thus stopping reorder_kernel from scribbling over /obsd. Makes muscle memory of some kernel developers work again: /obsd can serve as a known good kernel; and there was much rejoycing... Discussed at length with benno, rpe, phessler and tb at p2k17. Seems like a good idea to deraadt. OK benno, phessler, rpe, tb
2017-11-04Decline duplicate offers for the requested address, as areKenneth R Westerback
duplicate offers for other addresses, so that the fastest responding and presumably 'closest' DHCP server is used.
2017-11-04Make it possible for multiple threads to enter kqueue_scan() in parallel.Martin Pieuchot
This is a requirement to use a sleeping lock inside kqueue filters. It is now possible, but not recommended, to sleep inside ``f_event''. Threads iterating over the list of pending events are now recognizing and skipping other threads' markers. knote_acquire() and knote_release() must be used to "own" a knote to make sure no other thread is sleeping with a reference on it. Acquire and marker logic taken from DragonFly but the KERNEL_LOCK() is still serializing the execution of the kqueue code. This also enable the NET_LOCK() in socket filters. Tested by abieber@ & juanfra@, run by naddy@ in a bulk, ok visa@, bluhm@
2017-11-04fuse_loop_mt() isn't implemented so return an error value.Martin Pieuchot
From Helg Bredow.
2017-11-04Stop calling ifp->if_ioctl() inside in{,6}_ioctl().Martin Pieuchot
Instead return EOPNOTSUPP and call it from ifioctl(). This will help getting per-driver ioctl routines outside of need the NET_LOCK(). While here always return ENXIO when ``ifp'' is NULL. ok visa@, florian@
2017-11-04Use the correct version macro.Martin Pieuchot
From Helg Bredow, ok pirofti@
2017-11-04Use the macro for cache line size.Visa Hankala
2017-11-04Check buffer size parameters at compile time.Visa Hankala
2017-11-04One macro for cache line size is enough.Visa Hankala
2017-11-04Interface counters should only increment.Florian Obser
haesbaert points out that ie(4) does a weird error accounting dance which requires it to decrement a interface counter in some cases. Shuffle things around to only ever do an increment "sure" kettenis, OK mpi
2017-11-04polish debug printfs, no behaviour change.Alexandre Ratchov
2017-11-04whitespaceMike Larkin
2017-11-04Remove a debug message that has outlived its usefulness.Mike Larkin
From Carlos Cardenas, who discussed this with reyk@ also. Thanks!
2017-11-04syncVisa Hankala
2017-11-03Tests of libexpat 2.2.5 also need source file structdata.c.Alexander Bluhm
2017-11-03Prefill client rec buffer with silence. This is necessary becauseAlexandre Ratchov
certain channels don't get samples, for instance when mono->stereo conversion is disabled.
2017-11-03Clear key properly if on space with nothing in it.Nicholas Marriott
2017-11-03Prefill rec buffer with silence. This is necessary because certainAlexandre Ratchov
channels don't get samples, for instance when mono->stereo conversion is disabled.
2017-11-03Support mouse on preview in tree mode.Nicholas Marriott
2017-11-03Remove alternative implementations of GMX CAM setup logicVisa Hankala
that have been disabled since r1.1.
2017-11-03After inlining of raw_detach we know the sizes for free; pointed outFlorian Obser
by & OK mpi, input & OK visa
2017-11-03Fix regression, pointed out by Mark Johnston.Martin Pieuchot
2017-11-03Fix a stupid typo.Visa Hankala
2017-11-03properly cleanup the controller after closing the cmdfh.Marc Espie
don't call exit, since grab_object is only used within a fork and parent does exit. this prevents signal cleanup from fucking up and trying to close the fhs a second time. somewhat long-standing problem, as seen by jeremy@ and I. okay jeremy@
2017-11-03We are processing Router Solicitation / Advertisement messages onlyFlorian Obser
for the Source Link-layer Address Options. Merge nd6_rs_input() and nd6_ra_input() into one generic function that does just that. input & OK mpi
2017-11-03Change mouse in modes so that one click moves the cursor and a doubleNicholas Marriott
click chooses the line.
2017-11-03use rop->rcb similar like in pfkeyv2_detach(); suggested by visaFlorian Obser
2017-11-03Inline trivial functions from raw_cb.c and tedu it.Florian Obser
Suggested by and OK mpi, OK visa
2017-11-03Make dump_itype() dump enum members.Martin Pieuchot
From Mark Johnston, markj@FreeBSD
2017-11-03Fix a format string warning in dump_type().Martin Pieuchot
From Mark Johnston, markj@FreeBSD
2017-11-03Fix formatting in the case where a symbol table isn't present.Martin Pieuchot
From Mark Johnston, markj@FreeBSD
2017-11-03There is no way SS_NOFDREF is set on a raw socket in raw_usrreq forFlorian Obser
PRU_DISCONNECT or PRU_ABORT. So raw_disconnect() and sofree() return immediately so remove the dead code. Also the following call to soisdisconnected() would be a use after free. This removes the last calls to raw_disconnect() so tedu it.
2017-11-03There can be multiple default routers sending router advertisements.Florian Obser
Install the default route with mpath flag. OK mpi
2017-11-03update reference to ports www page after it moved.Steven Mestdagh
ok jca@ tb@
2017-11-03use %lx to print the frame address if resolving of the symbol name failsJasper Lievisse Adriaanse
as discussed with and ok mpi@
2017-11-03Spaces -> tab, no binary change.Kenji Aoyama
2017-11-03Spaces -> tab, no binary change.Kenji Aoyama
2017-11-03Spaces -> tab, no binary change.Kenji Aoyama
2017-11-03reuse parse_multistate for parse_flag (yes/no arguments). SavesDamien Miller
a few lines of code and makes the parser more consistent wrt case- sensitivity. bz#2664 ok dtucker@
2017-11-03allow certificate validity intervals that specify only a start orDamien Miller
stop time (we already support specifying both or neither)
2017-11-03allow "cd" and "lcd" commands with no explicit path argument.Damien Miller
lcd will change to the local user's home directory as usual. cd will change to the starting directory for session (because the protocol offers no way to obtain the remote user's home directory). bz#2760 ok dtucker@
2017-11-03When doing a config test with sshd -T, only require the attributesDarren Tucker
that are actually used in Match criteria rather than (an incomplete list of) all criteria. ok djm@, man page help jmc@
2017-11-03typos in ECDSA certificate names; bz#2787 reported by Mike GerowDamien Miller