summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-09Needed by recent libsaMiod Vallat
2013-10-09Change "physical address" to "tunnel:" in ifconfig's tunnel addressReyk Floeter
output. This is more consistent with the current ifconfig style and matches the "tunnel" configuration command. ok claudio@ jmc@ deraadt@
2013-10-09DIsplay fixes, also print boot path before attempting to boot it. Still notMiod Vallat
cranking boot blocks version because it's unlikely anyone but me is running them at the moment.
2013-10-09Parse (hex) partition number in boot path. For experts only.Miod Vallat
2013-10-09Fix build (forgot to rerun make depend)Miod Vallat
2013-10-09Fix parse_args() to ignore device specification and correctly append theMiod Vallat
default kernel name if only a boot device is specified. This makes boot paths like "sd()" auto-boot without asking for a kernel name.
2013-10-09Move common SCSI defines and structs to their own header, to eventually allowMiod Vallat
SCSI tape support. Drop sync negotiation from oosiop code, we can run without it.
2013-10-09Merge binutils 2.15 einfo() buffering change to binutils-2.17.Todd C. Miller
OK deraadt@ miod@
2013-10-09Enable synch negotiation; code was there but not enabled since this driver wasMiod Vallat
ported from NetBSD. Tested on hppa (720) and aviion (4600).
2013-10-09Various fixes to make kiic(4) work on my G5s.Martin Pieuchot
Only read the bus number from the "i2c-bus" child node if present, this node exists only in some device-trees, otherwise use the bus number encoded in the address of the device. Fix an off-by-one when reading the data. While here remove unused functions.
2013-10-09Initialize ns_per_tick as soon as we have read the timebase from theMartin Pieuchot
device-tree to restore the behaviour present before my last change. This fixes a regression seen on some Powerbooks where one of the two kiic(4) would always timeout when trying to configure the audio chip.
2013-10-09Trim leading white space from the message before trying to extractTodd C. Miller
the program name. Works around a problem with the ObiHai 202's syslog client (and possibly others) where an extra space is added to the message before the program name. OK krw@ henning@ deraadt@
2011-04-24Here comes the easter bunnytils 2.17 (the last version released against aMiod Vallat
licence mere mortals can understand the terms of); will be connected to the build on an arch-by-arch basis. Testsuites and generated files have been intentionnaly omitted from this import. Peer pressure and ok from at least drahn@ pirofti@ deraadt@
2013-10-09tweak previous;Jason McIntyre
2013-10-09shorten output; ok henning phesslerTheo de Raadt
2013-10-09Fix a possible mbuf leak, from NetBSD via Loganaden Velvindron.Martin Pieuchot
ok claudio@, henning@
2013-10-09Include the 'state of health' field in the bbu ok sensor value.Jonathan Matthew
The dell perc 6/i sets this to zero (meaning bad) when it decides the battery doesn't have enough capacity for it to allow write back mode, but doesn't set any of the other flags to tell us why. ok dlg@, tested by sthen@
2013-10-09Introduce in_ifdetach() a function to remove all the IPv4 addressesMartin Pieuchot
of an interface, named after its IPv6 equivalent. Make use of it instead of removing addresses by hand when detaching or destroying an interface. As a bonus, multicast records linked to the just divorced^Wdetached interface are no longer leaked. No objection from the gang, ok mikeb@
2013-10-09Don't leak ruleitems from match rules when hitting a per-rule max state limit.Camiel Dobbelaar
ok henning
2013-10-09Move the (commented out) syslog directive above the error_log lines.Paul de Weerd
Prevents "nginx: [emerg] You must set the syslog directive and enable it first." OK sthen@ and ajacoutot@
2013-10-09Allow us to bulk add / delete routes with the same attributes. ReallyPeter Hessler
useful for distributing IP lists. OK beck@, claudio@, henning@
2013-10-09Make sure that pfctl_state_store() frees the inbuf pointer and closesLawrence Teo
the state file before returning. ok henning
2013-10-09Use monitor/mwait to idle when available. Make cpu_unidle() do nothingPhilip Guenther
if it can tell the target CPU isn't actually idling and introduce cpu_kick() for the cases where we want to force a non-idle CPU into the kernel. just a port of the amd64 version; testing by many
2013-10-08Early stages of a working disk bootloader for OpenBSD/aviion.Miod Vallat
Currently limited to oosiop(4) controllers, and thus models 4600 and 530. There are some rough edges to polish to avoid manual interaction (kernel currently can't figure its boot device when booted from disk), but the hard (and hair-pulling) work is over. And we can have kernel symbols again!
2013-10-08Try to be a bit more cross-compile friendly.Miod Vallat
2013-10-08all the chips rings are protected by a single mutex, which is used in bothDavid Gwynne
the scsi_cmd and intr paths. scsi_done can restart io though, which means the mutex will be tried recursively which panics. defer scsi_done calls after mtx_leave by putting completed ccbs on a list on the stack that we can walk. i hate locks.
2013-10-08backwards compatibility is king, and will remain king, until 2038.Reyk Floeter
2013-10-08set xs->resid to 0 on successful command completion. makes things work.David Gwynne
2013-10-08ring producers and consumers are 32bit counters, while the ringDavid Gwynne
sizes are much much smaller. you need to mask the req ring producer with its size to get its actual entry. also stops scribbling over memory you dont really own. lets esxi guests boot without panicking now. maybe itll fix jsgs workstation panic too. fusion and esxi can do some io now, but not get I/O errors writing to write an mbr with fdisk -i.
2013-10-08Keep disk sector calcuations in u_int64_t as long as possible, andKenneth R Westerback
avoid using a daddr_t variable to hold a disk sector value even temporarily. No intentional functional change.
2013-10-08basic manpage for a basic driverDavid Gwynne
2013-10-08Increase the size of the Diffie-Hellman groups requested for a each symmetricDarren Tucker
key size. New values from NIST Special Publication 800-57 with the upper limit specified by RFC4419. Pointed out by Peter Backes, ok djm@.
2013-10-08vmwpvs(4), a driver for VMware Paravirtual SCSI things in vmware guests.David Gwynne
i got it working on the eurostar while bored, and its at a point where it will work given a bit more attention rather than just being a way to occupy my time. there's some cool use after frees and a lack of hotplug support to work on ok krw@ jsg@
2013-10-08Reference mi_syscall() and mi_syscall_return() and syscall_mi.hPhilip Guenther
Update userret() arguments
2013-10-081) our dirent entries are now 8 byte aligned.Philip Guenther
2) d_type isn't the file's st_mode, but rather a type that can be derived from the file's mode. 3) the readdir callback should be setting d_off. Assume for now that fuse-based filesystems can operate with length based offsets 4) if the file type is unknown, use DT_UNKNOWN explictly instead of assuming that's equal to zero ok syl@
2013-10-08Fix delivery of SIGPROF and SIGVTALRM to threaded processes by havingPhilip Guenther
hardclock() set a flag on the running thread and force AST processing, and then have the thread signal itself from userret(). idea and flag names from FreeBSD ok jsing@
2013-10-08If a thread sends a signal to its own process, then have that threadPhilip Guenther
take the signal by preference if it's eligible (unblocked or sigwaiting). ok jsing@
2013-10-08POSIX specifies that when the pax input file requests a hardlinkPhilip Guenther
to a symlinks, that it be exactly that and not a hardlink to the file pointed to by the symlink. Use linkat() to get what we want. ok deraadt@
2013-10-08Obtain the uptime of the running system using the new CLOCK_UPTIME,Philip Guenther
so that averages/rates are over the actual time-running-not-suspended. For kernel cores, peek at the 'time_uptime' and 'naptime' variables. original report by and ok mlarkin@
2013-10-07Printf size_t vars with %zu, not %ld;Ingo Schwarze
from Antonio Huete Jimenez <tuxillo at quantumachine dot net> via Franco Fichtner (both DragonFly).
2013-10-07disk sizes, partition sizes and partition offsets are u_int64_tKenneth R Westerback
values rather than daddr_t values. So use u_int64_t to store them and %llu to print them in checkdisklabel().
2013-10-07Say 'fragments' where fragments are meant. Divide by DEV_BSIZEKenneth R Westerback
to convert from bytes to DEV_SIZE. ok otto@ zhuk@ (for his chunk)
2013-10-07Have platform->bootstrap() return the machine speed in MHz, which is used toMiod Vallat
set up the delay constant.
2013-10-07Put the kernel VBR page at the beginning of the kernel text, as done onMiod Vallat
mvme88k, to be able to unmap the page at address zero in the kernel, and have the vbr page read-only after being initialized.
2013-10-07Split the 64-bit interrupt source mask code into two 32-bit `interrupt' andMiod Vallat
`extended interrupt' masks. This is how the hardware works, and this makes the code simpler than attempting to aggregate them. No functional change.
2013-10-07Fix some different signedness error. this commit make clang happier.Sylvestre Gallon
Thanks to Pedro Martelletto.
2013-10-07use printf(9) consistently in FUSESylvestre Gallon
2013-10-07Add kqueue's support for FUSE.Sylvestre Gallon
tested with ajacoutot@ on gvfs+nautilus.
2013-10-07Remove an unused variable and a useless bzeroSylvestre Gallon
2013-10-07Refactor fb_len and fb_err handling in libfuse.Sylvestre Gallon