Commit Graph

205613 Commits

Author SHA1 Message Date
christos 5c43ae241d put back the cc == 0 check, because we can re-enter the loop with cc != 0
if we block.
2011-09-24 04:10:03 +00:00
christos ed66ced678 mention the new kern.tty.qsize 2011-09-24 00:08:05 +00:00
christos 97a37f38a3 mention the new QSIZE ioctls. 2011-09-24 00:06:20 +00:00
christos 92a9826daf - Introduce a sysctl to control the default tty queue size kern.tty.qsize,
which defaults to 1024 as before.
- Add two ioctls TIOC{G,S}QSIZE to read and adjust the queue size on
  individual ptys.

NB: ttys (and ptys) still silently (or beepingly (IMAXBEL)) drop
    characters if the queue size is exceeded. I.e. you can appear
    to succeed writing to the {p,t}ty, but not all characters will
    have made it if the queue overflows.  CVS:
2011-09-24 00:05:38 +00:00
christos f78cce945e Fix various bogus things:
- Don't use TTYHOG - 1, you can use the last byte in the ring buffer.
- Don't put unnecessary if statements around the code. The loop invariant
  is that if you reach the top of the loop, cc == 0.
- Remove cast to (void *).
- Check result of b_to_q and adjust cc.
- Explain what the TTYHOG - 2 code tried to do, and do it right.
2011-09-23 23:57:06 +00:00
macallan e841961c7a the cached/not cached stuff doesn't build when both MIPS1 and MIPS3 are
defined so put it back to #if defined(_MIPS_PADDR_T_64BIT) || defined(_LP64)
there is no good reason why it can't work on MIPS1 though.
2011-09-23 23:02:23 +00:00
apb 18b764946f * use a :M* modifier when testing whether the expanded list of
files is empty.  Sometimes the variable contains one or more spaces,
  and testing against "" gave the wrong result, but applying the
  :M* modifier discards the spaces.  This should fix PR 45396.
* Instead of using "-" to ignore the exit status from the rm command,
  use ||true.  This should work around the bug in PR 45356, but that
  bug is not fixed.
* Suppress the ${MKMSG} command with .if 0.  People who build with
  MAKEVERBOSE=1 don't want to see the message, and people who build
  with MAKEVERBOSE=2 or higher will see the actual rm command.  The
  message may be useful for debugging this makefile itself, so it's
  only disabled, not deleted.
2011-09-23 21:13:14 +00:00
nonaka 03a2460641 recompile. 2011-09-23 16:41:16 +00:00
wiz 6b97660a0d Sort sections. 2011-09-23 16:22:00 +00:00
nonaka 0d76ddb88a reduce combobox size. 2011-09-23 16:02:08 +00:00
nonaka 15a644d9d2 fix build failure. 2011-09-23 16:00:15 +00:00
christos 04f8076084 Change obsolete CBSIZE constant (48), to a power of two constant (64) that
is close enough to match the original assumptions.
2011-09-23 15:29:08 +00:00
jruoho 008d0db94d Also note /etc/saslc.d. 2011-09-23 15:24:35 +00:00
jruoho ce1c27eb07 Build and install MLINKS for the libsaslc(3) functions. 2011-09-23 15:17:31 +00:00
christos 326815ee3d remove things that have not been used for almost 20 years (cblock stuff) 2011-09-23 14:47:41 +00:00
jruoho bb5956aa49 Move i386/fdc(4), i386/lpt(4), and i386/mem(4) to man4.x86.
Part of PR port-amd64/36350.
2011-09-23 14:45:06 +00:00
njoly 010e748696 Regen for NVIDIA GeForce 210. 2011-09-23 14:26:23 +00:00
njoly 69269285f7 Add NVIDIA GeForce 210. 2011-09-23 14:25:13 +00:00
nonaka b161126702 fix compile failure. 2011-09-23 14:14:38 +00:00
jruoho b78b168963 More bugs in pow(3); cases for PR port-amd64/45391. 2011-09-23 13:48:28 +00:00
macallan a84e510199 make this build again with 32bit paddr_t
from he@
2011-09-23 12:42:15 +00:00
macallan a1ae3c591a remove accidentially committed debug output 2011-09-23 12:34:52 +00:00
jruoho e2a2156628 ACPICA 20110922 is out.
And the fun never stops: ACPI 5.0 is scheduled to be released soon.
2011-09-23 10:27:14 +00:00
tron b8b5c88370 Fix build with stack smash protection enabled. 2011-09-23 09:36:37 +00:00
mrg 81a1075469 apply some (uintptr_t) so that printing printers works on i386 (likely
all 32 bit.)
2011-09-23 07:31:39 +00:00
mrg f5aeae98ef add libgomp to this list of libs; so compat finds it properly. 2011-09-23 07:12:10 +00:00
mrg 8b0b8ab146 build and install libgomp, as needed by "cc -fopenmp", and its
suplimentary files like libgomp.spec and omp.h.
2011-09-23 06:47:54 +00:00
mrg e9341e1933 build compat versions of libgomp for everything except mips N64 (for now.) 2011-09-23 06:44:36 +00:00
mrg 68568a44b1 since omp.h is part of libgomp, put it in the libgomp files not the
libstdc++ files.
2011-09-23 06:43:46 +00:00
manu 38de55a5dd Fix the build that was broken by struct lwp *updateproc reference in
RUMP-visible code. Instead of checking that updateproc (aka ioflush,
aka syncer) will not sleep in PUFFS code, I check for any kernel thread:
after all none of them are designed to hang awaiting for a remote filesystem
operation to complete.
2011-09-23 01:57:32 +00:00
christos eae1c5542c PR/45393: Greg A. Woods: The mount point validation code (that looks for
nocoredump filesystems to avoid dumping on them) only worked for core
filenames that dump in the current working directory. Update the code to
validate the mount point of the parent directory of the core file if needed.
2011-09-23 00:03:29 +00:00
jym afeabb041e Expose Xen kernfs entries inside a domU. Patch originally from sborrill@,
slightly modified by me to profit from runtime checks for dom0 privileges
instead of using compile time macros (DOM0OPS).

It should now be possible to use pkgsrc's sysutils/xentools inside
a domU to query XenStore entries (or even modify part of it if the domain
has enough rights).
2011-09-22 23:02:34 +00:00
martin 12de7c048b Update Rawrite32 to latests version 2011-09-22 22:00:52 +00:00
christos 3454671372 Restore updateproc because rump uses it until we figure out how to remove it
for good.
2011-09-22 21:58:07 +00:00
mrg de7f28c14f only install libgomp.spec for the native build. look in the archdir
for libgomp.spec.

XXX: FILES/FILESDIR isn't working here for me yet.  no idea why.
2011-09-22 20:55:17 +00:00
apb 64d2b8e0ba Use vis(3) encoding when a string format is modified by the '#' flag.
Also bump copyright years.
2011-09-22 20:23:55 +00:00
christos 4e692bff8b document what size is. 2011-09-22 18:21:58 +00:00
njoly a7999336ff In functions list, switch from tab characters to Ta macro. Makes
nroff properly handle xrefs.
2011-09-22 18:14:09 +00:00
christos a0af16e360 - factor out common code in the inet and inet6 printing.
- add appletalk (ddp) support.
2011-09-22 17:27:50 +00:00
he 65217c2910 Also eliminate now-no-longer-used local variable. 2011-09-22 16:08:49 +00:00
he 89071b8936 Make this build again: include <err.h> when needed, and don't
shadow err() with a local variable called err...
2011-09-22 16:05:11 +00:00
christos 8624929e77 Fix unchecked malloc, check for overflow (Maksymilian Arciemowicz)
While here, remove unused casts, fix types.
2011-09-22 12:49:57 +00:00
christos 3670fb8d46 Eliminate unchecked malloc (Maksymilian Arciemowicz) 2011-09-22 12:43:09 +00:00
christos 144b6f2c66 Check result of malloc (Maksymilian Arciemowicz) 2011-09-22 12:40:48 +00:00
christos 5b4a37ed53 check the result of malloc (Maksymilian Arciemowicz) 2011-09-22 12:38:33 +00:00
jym 3d92bf7df0 The bnx(4) handler runs at IPL_NET (works with spin mutexes), while
allocations can be deferred to a workqueue(9): set its highest IPL to
IPL_NET and not IPL_NONE, which is protected by an adaptive/sleeping mutex.
2011-09-22 08:42:53 +00:00
mrg 162d7d5b76 remove an extra ".TP" that broke my build. 2011-09-22 07:30:04 +00:00
macallan fc1dcffcb1 use BUS_SPACE_MAP_PREFETCHABLE 2011-09-22 06:16:13 +00:00
macallan 9320bc4780 support BUS_SPACE_MAP_PREFETCH in order to allow mapping device memory and
DMA buffers with cacheing disabled but things like write combining, relaxed
ordering etc. allowed when the CPU supports it
so far enabled only on Loongson, should work on R1xk and probably newer CPUs
2011-09-22 05:08:52 +00:00
mrg 23f1423382 regenerate. 2011-09-22 04:22:17 +00:00