Commit Graph

238519 Commits

Author SHA1 Message Date
mrg 1e1a1a8da3 if NUSB == 0, don't look for usbhist. 2015-10-29 18:40:19 +00:00
christos c0d072e685 bump libc and add tzgetgmtoff(3) 2015-10-29 17:57:27 +00:00
christos d690aea660 new tzgetgmtoff 2015-10-29 17:55:09 +00:00
christos 4ba084a19e PR/50380: Balazs Scheidler: strptime() returns incorrect values in tm_gmtoff
- Always offset in seconds.
- Handle arbitrary timezones.
2015-10-29 17:54:49 +00:00
christos 37de2f9dd3 Add tzgetgmtoff(3) 2015-10-29 17:53:04 +00:00
christos cefa99b2ad Document tzgetgmtoff(3) 2015-10-29 17:51:58 +00:00
christos 1aed602970 Add tzgetgmtoff, delint compat 2015-10-29 17:49:24 +00:00
christos 1136c97c1c add tzgetgmtoff 2015-10-29 17:48:55 +00:00
christos 05ea9f0e38 Add tests for %z 2015-10-29 17:48:20 +00:00
leot 9df9aefc02 Make sure that nde->td_node is NULL for asserts.
Thanks and from Mindaugas Rasiukevicius.

Fixes PR kern/50381.
2015-10-29 16:19:44 +00:00
christos 805ab1e001 Simplify even further and fix non-modular kernels:
We cannot use the init at attach() trick, because other npf ext modules
will load before the attach function is called on non modular kernels.
2015-10-29 15:19:43 +00:00
shm c4764e65c8 - Added error checks for initgroups(3) and setgroups(2).
- Reorder functions in privilege regain - setgroups(2) should be called after
  seteuid(2).

OK christos@
2015-10-29 11:31:52 +00:00
jmcneill 0af4dfb9ad add nouveau_dri.so 2015-10-29 10:12:28 +00:00
jmcneill 98b6c89d6e build nouveau on evbarm, too 2015-10-29 10:10:09 +00:00
mrg 62b6708390 properly link and enable all the nouveau parts.
with this, hw GL seems to work!
2015-10-29 08:09:55 +00:00
mrg 961142429c provide a ttm-backed set of nouveau_uvm_ops{} in the ttm_bo_driver{}.
fixes NULL pointer derefs inside UVM due to lack of pager ops.

copy the DRM_FILE_PAGE_OFFSET vs !_LP64 workaround.

with these, X starts up on my GTX 440.
2015-10-29 08:08:52 +00:00
wiz e7cd356db3 New sentence, new line. 2015-10-29 07:46:08 +00:00
msaitoh 0e4eff48ea Fix a bug that the multiqueue setting is done in a multiqueue capabile
chip but can't use MSI-X on a machine. In that case, only one queue must
be used. Written by knakahara@ and tested by me.

 This change should be fix a problem which was reported by Robert Swindells.
2015-10-29 07:24:01 +00:00
wiz f0f2f50bf3 More articles, less typos. 2015-10-29 06:57:34 +00:00
uwe 1d644ad7b0 Document update_panels(). 2015-10-29 02:36:01 +00:00
uwe e47dc51a2a Fix typo missed by wizd(8). 2015-10-29 02:33:46 +00:00
christos 9ffbaaa4fd simplify 2015-10-29 02:29:41 +00:00
ozaki-r 8434ebbe32 Name virtqueue index 2015-10-29 02:09:02 +00:00
christos 856f67128b Add vioscsi, compile tested only (toxic) 2015-10-29 01:56:12 +00:00
mrg 0830d20e3a flesh out the descrition of kernhist_dumpmask() 2015-10-29 00:32:55 +00:00
mrg 679d7c25a6 introduce a new way of handling SYSCALL_DEBUG messages -- send them to
a kernel history, settable via the SCDEBUG_KERNHIST flag.

this requires a fairly significantly different set of messages than the
normal debug as histories are restricted:
	- each message can take one literal format string and upto 4
	  arguments
	- the arguments can not be strings if you want vmstat -u to
	  work (this could be fixed, and i might, as it would be nice
	  if we could print syscall names as well as numbers.)

introduce SCDEBUG_DEFAULT that is settable in the kernel config.

fix a problem in kernhist_dump_histories() where it would crash when a
history with no allocated entries was found.

extend kernhist_dumpmask() to handle the usbhist and scdebughist.
2015-10-29 00:27:08 +00:00
mrg 091c49eab9 remove "@echo done" from 4 rules that don't need it and the random "done"
in my build logs don't help understanding.
2015-10-29 00:18:55 +00:00
mrg 4810df2dff eliminate USBHIST as a define/option. it was entangled with USB_DEBUG
and only referenced a handful of times.  rename any usage in configs.

fixes recent build problems i introduced with the previous files.usb
change.
2015-10-29 00:15:48 +00:00
martin 6ae6da2395 Fix inverted KASSERT 2015-10-28 14:05:04 +00:00
wiz ed8dd38836 Improve wording. 2015-10-28 10:22:40 +00:00
wiz 9b23e645c3 Fix whitespace. 2015-10-28 10:18:54 +00:00
wiz 8249bf064f Fix xrefs.
XXX: someone should write stdscr(3)
2015-10-28 10:18:43 +00:00
shm c4fe1fac22 * add CGI support for ~user translation (-E switch)
* add redirects to ~user translation
* fix bugs around ~user translation
* add schema detection for absolute redirects
* fixed few memory leaks
* bunch of minor tweaks
* removed -r support
* smarter redirects

OK mrg@
2015-10-28 09:20:15 +00:00
shm 93eb731454 Added missing sa_mask initialization (CID 979636)
OK kamil@ mrg@
2015-10-28 08:15:53 +00:00
shm 39d8d23068 Fixed off-by-one in decode_ss (CID 977426)
OK kamil@
2015-10-28 07:27:24 +00:00
uwe 0c624ce435 Provide descriptions of panel functions. 2015-10-28 02:23:50 +00:00
christos c0dba4ec09 remove bogus KASSERT, there are error paths that don't satisfy this.
XXX: should improve error reporting to userland.
2015-10-28 01:54:10 +00:00
uwe fe1865411c Skeleton manual pages for libpanel functions. No content yet. 2015-10-27 23:42:55 +00:00
uwe ab1c44cb65 Manual page for libpanel. 2015-10-27 23:13:18 +00:00
christos 39340d9c97 use dma64 if available so we don't have do bounce around too much. 2015-10-27 23:08:27 +00:00
mrg 9884c86a80 make sure MSGBUFSIZE can't expand strangely by using parens. 2015-10-27 22:28:56 +00:00
mrg 7c7828f6e1 update some dependancies:
USB_DEBUG doesn't depend upon other options.
	USBHIST depends upon USB_DEBUG and KERNHIST.

now i can build a kernel with just one of either USB_DEBUG or USBHIST
and the right thing happens.
2015-10-27 22:25:23 +00:00
mrg 364ba5db1e push the real attach down via config_mountroot, like radeon, as we
need firmware files.. which are currently missing:

drm kern error: nouveau E[  PGRAPH][nouveau0] failed to load fuc409c
2015-10-27 21:46:42 +00:00
christos 32f4b28226 modules don't define MODULAR. 2015-10-27 19:58:09 +00:00
christos afd95c9bf1 simplify (and fix) logic. 2015-10-27 19:31:55 +00:00
christos 5e4e0727ff fix operator precedence. 2015-10-27 18:49:26 +00:00
christos 3218d7d4ba make sure we have a cookie before we try to clear it. 2015-10-27 18:19:05 +00:00
christos d5e6f772c4 Print the negotiated feature bits 2015-10-27 16:04:19 +00:00
christos 06d706679a add the common flag bits 2015-10-27 16:04:05 +00:00
christos dcd9b75217 - Print the negotiated feature bits
- Define a constant for the minimum number of segments and use that.
- Remove unused sc_lock
- Use single variables instead of arrays of 1 element
- To the transfer size and segment size negotiation more correctly
- Make vr_bp NULL when unused.
- Add missing abort calls
2015-10-27 16:03:04 +00:00