GitHub PushEvent at 2014-10-22 22:11:58
Repository: hardenedBSD
Actor: opntr-auto
Payload: {"shas":[["040f3ac494c1f69b7ae5430cc2b1452d0fbafdf0","e36e7b99f18ac68692734e6c83920556f488f532@FreeBSD.org","xen: fix usage of kern_getenv in PVH code\n\nThe value returned by kern_getenv should be freed using freeenv.\n\nReported by:\tCoverity\nCID:\t\t1248852\nSponsored by: Citrix Systems R&D","royger",false],["bca209134926c87ca1b88036757b0670f60d16ca","e36e7b99f18ac68692734e6c83920556f488f532@FreeBSD.org","xen: allow to register event channels without handlers\n\nThis is needed by the event channel user-space device, that requires\nregistering event channels without unmasking them. intr_add_handler\nwill unconditionally unmask the event channel, so we avoid calling it\nif no filter/handler is provided, and then the user will be in charge\nof calling it when ready.\n\nIn order to do this, we need to change the opaque type\nxen_intr_handle_t to contain the event channel port instead of the\nopaque cookie returned by intr_add_handler, since now registration of\nevent channels without handlers are allowed. The cookie will now be\nstored inside of the private xenisrc struct. Also, introduce a new\nfunction called xen_intr_add_handler that allows adding a\nfilter/handler after the event channel has been registered.\n\nSponsored by: Citrix Systems R&D\n\nx86/xen/xen_intr.c:\n - Leave the event channel without a handler if no filter/handler is\n   provided to xen_intr_bind_isrc.\n - Don't perform an evtchn_mask_port, intr_add_handler will already do\n   it.\n - Change the opaque type xen_intr_handle_t to contain a pointer to\n   the event channel port number, and make the necessary changes to\n   related functions.\n - Introduce a new function called xen_intr_add_handler that can be\n   used to add filter/handlers to an event channel after registration.\n\nxen/xen_intr.h:\n - Add prototype of xen_intr_add_handler.","royger",false],["4d53ee84fafa57a4faed008e018563a5523aa008","e36e7b99f18ac68692734e6c83920556f488f532@FreeBSD.org","xen: import a proper event channel user-space device\n\nThe user-space event channel device is used by applications to receive\nand send event channel interrupts. This device is based on the Linux\nevtchn device.\n\nSponsored by: Citrix Systems R&D\n\nxen/evtchn/evtchn_dev.c:\n - Remove the old event channel device, which was already disabled in\n   the build system.\n\ndev/xen/evtchn/evtchn_dev.c:\n - Import a new event channel device based on the one present in\n   Linux.\n - This device allows the following operations:\n   - Bind VIRQ event channels (ioctl).\n   - Bind regular event channels (ioctl).\n   - Create and bind new event channels (ioctl).\n   - Unbind event channels (ioctl).\n   - Send notifications to event channels (ioctl).\n   - Reset the device shared memory ring (ioctl).\n   - Unmask event channels (write).\n   - Receive event channel upcalls (read).\n - The new code is MP safe, and can be used concurrently.\n\nconf/files:\n - Add the new device to the build system.","royger",false],["28b52d792fe59919f599dd95f29b9446e570f700","e36e7b99f18ac68692734e6c83920556f488f532@FreeBSD.org","xen: add a Xen to BSD error translation\n\nSince Xen and FreeBSD error codes are completely different add a\ntranslation layer in order to convert Xen error codes into native\nFreeBSD error codes. This will be used by the privcmd device, which\nneeds to return the hypercall errors into user-space.\n\nSponsored by: Citrix Systems R&D\n\nxen/error.h:\n - Import Xen error codes.\n - Create a table to map Xen error codes into FreeBSD native error\n   codes.\n - Create an inline function that performs the translation.","royger",false],["919b7d8b7c042461296e10914c4a96ee74240c0a","e36e7b99f18ac68692734e6c83920556f488f532@FreeBSD.org","xen: implement the privcmd user-space device\n\nThis device is only attached to priviledged domains, and allows the\ntoolstack to interact with Xen. The two functions of the privcmd\ninterface is to allow the execution of hypercalls from user-space, and\nthe mapping of foreign domain memory.\n\nSponsored by: Citrix Systems R&D\n\ni386/include/xen/hypercall.h:\namd64/include/xen/hypercall.h:\n - Introduce a function to make generic hypercalls into Xen.\n\nxen/interface/xen.h:\nxen/interface/memory.h:\n - Import the new hypercall XENMEM_add_to_physmap_range used by\n   auto-translated guests to map memory from foreign domains.\n\ndev/xen/privcmd/privcmd.c:\n - This device has the following functions:\n   - Allow user-space applications to make hypercalls into Xen.\n   - Allow user-space applications to map memory from foreign domains,\n     this is accomplished using the newly introduced hypercall\n     (XENMEM_add_to_physmap_range).\n\nxen/privcmd.h:\n - Public ioctl interface for the privcmd device.\n\nx86/xen/hvm.c:\n - Remove declaration of hypercall_page, now it's declared in\n   hypercall.h.\n\nconf/files:\n - Add the privcmd device to the build process.","royger",false],["72ff21680daf0e1e8cd4b7f0c2d4cbc9fd93ed69","e36e7b99f18ac68692734e6c83920556f488f532@FreeBSD.org","netback: change xnb naming convention\n\nCurrent FreeBSD netback names the interface with xnb<device unit>, but\nthis is not suitable for usage with the Xen toolstack, which expects\nsomething similar to <prefix><domid><handle>. In order to solve this,\nchange the netback naming convention to use xnb<domid>.<handle>.\n\nSponsored by: Citrix Systems R&D\n\ndev/xen/netback/netback.c:\n - Change netback to use the nomenclature stated above.","royger",false],["6ede93b50e85fb1df179105cc7d97f919d5f9469","ffd97d30204c7458d6b97f3c098fa33f9bf99187@FreeBSD.org","Fix linking static test binaries with atf.test.mk\n\nCheck for -static in LDFLAGS or LDFLAGS.<test>, then pass in the appropriate\ndependency (LIBATF or LDATF)\n\nThis unbreaks the build with some of the NetBSD tests that need to be compiled\nstatically\n\nReviewed by: imp, jmmv\nPhabric: D991\nSponsored by: EMC / Isilon Storage Division","ngie",false],["0db2375e222d6863d12602a6ad573b1d6d7eaf6f","d1878f7213a7afa7d418ec69f4aed914c9e07d8d@FreeBSD.org","since we cast a pointer, use the correct signedness\n(this was already in, and got lost in a recent update).","luigi",false],["b11e3d483d8be79b29c0aa550dcf4a466fe49ab7","003fffd5649fc27c0fc0d15a402a4fe5b0444ce7@FreeBSD.org","cxgbe/iw_cxgbe: wake up waiters after flushing the qp.\n\nObtained from:\tChelsio","np",false],["5777570c4bae8462e162a47640808c4025fd8108","04aba1f4b7e0c9c606c4aa7893c849f89cf701d3@FreeBSD.org","Clip the settings for the NFS rsize, wsize mount options\nto a power of 2. For non-power of 2 settings, intermittent\npage faults have been reported. Although the bug that causes\nthese page faults/crashes has not been identified, it does\nnot appear to occur when rsize, wsize is a power of 2.\n\nReported by:\ttcberner@gmail.com\nMFC after:\t2 weeks","rmacklem",false],["2968266dee4823f1a3ca123abdaec941c303de06","ffd97d30204c7458d6b97f3c098fa33f9bf99187@FreeBSD.org","The NetBSD libc tests use several definitions/macros that aren't available in\nFreeBSD\n\nAdd the missing compat definitions/macros to lib/libnetbsd so the testcases\ncan be compiled with libnetbsd without having to invent ad hoc #define's, or\nhaving to convert things over to FreeBSD idioms\n\nReviewed by: brooks\nPhabric: D993\nSponsored by: EMC / Isilon Storage Division","ngie",false],["ac030d8a9b3b1ad0509983f48fc30eba25c8d08d","b8dc8f2cdfce0fe79e39c0797e0ab03724501f95@FreeBSD.org","Rename log2 to tal_log2.\n\nSubmitted by:\tluigi","melifaro",false],["0c94520901cb1a58a5f799010c4d5002531da6c6","e3a797ab434a636710f9737fcb9e6937f5361a39@hardenedbsd.org","HBSD: updated OP-ASLR kernel config\n\nSigned-off-by: Oliver Pinter <oliver.pntr@gmail.com>","Oliver Pinter",false],["01d036bb808b12cedf320611dacb8520dde06f74","e3a797ab434a636710f9737fcb9e6937f5361a39@hardenedbsd.org","HBSD: rename OP-ASLR kernel config to OP-HBSD\n\nSigned-off-by: Oliver Pinter <oliver.pntr@gmail.com>","Oliver Pinter",false],["ae2d1632d64b8b7417c922bb51b2f7ae1d87381e","e3a797ab434a636710f9737fcb9e6937f5361a39@hardenedbsd.org","HBSD: fix build after OP-HBSD kernel config update - related to vt changes\n\nSigned-off-by: Oliver Pinter <oliver.pntr@gmail.com>","Oliver Pinter",false],["d26983570dd82c361ef12b8744b1c412d67dcf71","04aba1f4b7e0c9c606c4aa7893c849f89cf701d3@FreeBSD.org","Revert r273481 so it can be recoded using fls(), which\nsome feel will make it more readable.","rmacklem",false],["388ceaef8f235408d5f9529d369e7d3bb223eae6","b0125fa187132d47dbe983b53b8ad9c1146edd9c@hardenedbsd.org","Merge remote-tracking branch 'freebsd/master' into hardened/current/master","Oliver Pinter +",false]],"size":17,"ref":"refs/heads/hardened/current/paxctl","head":"388ceaef8f235408d5f9529d369e7d3bb223eae6"}