Commit Graph

206869 Commits

Author SHA1 Message Date
christos 60b08a4dfb cosmetic, no functional change:
- sizeof(*var) instead of sizeof(type)
- sort the event counters in the discard the same as alloc for readability
2011-11-09 19:43:22 +00:00
wiz 10532e0141 Sort sections, use Aq, add comma in enumeration. 2011-11-09 19:42:27 +00:00
christos c4753f0f6f sync with /usr/bin/time, use CLOCK_MONOTONIC 2011-11-09 19:16:00 +00:00
christos d656290c5d PR/45592: Greg A. Woods: changes to get time(1) to use CLOCK_MONOTONIC 2011-11-09 19:10:10 +00:00
tron 7207ea5adf Postfix 2.8.7 has been imported. 2011-11-09 19:08:59 +00:00
tron 37141b1254 Resolve conflicts from last import. 2011-11-09 19:06:34 +00:00
tron c3d89ca464 Import Postfix 2.8.7. Changes since version 2.8.6:
Postfix stable release 2.8.7 is available. This contains a workaround for
a problem that is fixed in Postfix 2.9.
- The postscreen daemon, which is not enabled by default, sent non-compliant
  SMTP responses (220- followed by 421) when it could not give a connection
  to a real smtpd process. These responses caused some remote SMTP clients
  to return mail as undeliverable.

  The workaround is to hang up after sending 220- without sending the
  421 "sorry" reply; this is harmless.
2011-11-09 18:58:43 +00:00
drochner bbe84d1654 for the *xattr() calls, return ENOTSUP rather than EOPNOTSUPP if
the filesystem doesn't support extended attributes -- this is how
it is documented in Linux manpages
(on Linux itself, ENOTSUP and EOPNOTSUPP are the same value)
approved by Emmanuel Dreyfus
2011-11-09 18:29:28 +00:00
matt 41adc9f5c2 Make sure to invalidate correct size. 2011-11-09 17:05:50 +00:00
christos 5607c3d45b add a large timeout for libtre 2011-11-09 15:14:44 +00:00
christos cd021ecc4e need || instead of && 2011-11-09 14:42:42 +00:00
wiz 918f67027f Use Sq, and remove trailing whitespace. 2011-11-09 14:16:00 +00:00
is 5224338e35 If hosts.lpd contains '+', don't insist on reverse DNS == forward DNS. 2011-11-09 12:45:58 +00:00
roy 6a222e7196 Replace fgetln(3) with the more standard getline(3) 2011-11-09 07:40:27 +00:00
macallan e572604a78 Support setting the temperature threshold for the LM75's alarm/interrupt
output. Some hardware ( I'm looking at you, Gdium ) abuses it to control
a fan.
2011-11-09 05:47:54 +00:00
riz 6d1b5d773a Don't add iscsi_utils.c without 'iscsi' condition. 2011-11-09 00:51:00 +00:00
christos d08c0f066a mention libgcc/emacs hack. 2011-11-08 23:11:42 +00:00
christos d87651d3f4 Somehow emacs tries to unregister frame info for a symbol it did not register.
Don't abort for now. This worked before because the previous version of gcc
did not bother unregistering. Adding debugging printfs makes emacs core
dump, where other programs work fine.
2011-11-08 23:08:11 +00:00
joerg 2405db5059 Just because IPV6 support is disabled doesn't mean inet_ntop are not
present. Since the local prototype conflicts, use the system version.
2011-11-08 22:21:30 +00:00
joerg e7b856ae43 Unbreak MKINET6=no 2011-11-08 22:13:58 +00:00
christos af2ef29d66 use writev(2) instead of dprintf(3) for portability. Suggested by joerg@ 2011-11-08 20:25:14 +00:00
apb bbc5f4100a The previous change made "nooutput -2" discard both stdout and
stderr, whereas it should discard only stderr.  This commit
should fix that problem.
2011-11-08 19:36:30 +00:00
christos c8e7a7eec2 if we don't have any sets yet, don't try to look in them. 2011-11-08 19:25:45 +00:00
apb 97355391d0 In the nooutput function, don't mess with file descritor 4
at the outer level; do it inside a subshell context so as not
to interfere with a different use of fd 4 by the caller.

This should fix PR 45590.
2011-11-08 19:11:19 +00:00
christos 788c275de8 Change the way that we compute the time when we fall in the dst gap: instead
of supplying just the high bound and thus losing minutes and seconds, add
the DST offset to the struct tm (since we know we are going to move ahead
since we fell in the gap), and try again.
2011-11-08 18:37:31 +00:00
cherry 3520926365 Expose the PG_k #define pt/pd bit to both xen and "baremetal" x86. This is required, since kernel pages are mapped with user permissions in XEN/amd64 since the VM kernel runs in ring3. Since XEN/i386(including PAE) runs in ring1, supervisor mode is appropriate for these ports. We need to share this since the pmap implementation is still shared. Once the xen implementation is sufficiently independant of the x86 one, this can be made private to xen/include/xenpmap.h 2011-11-08 17:16:52 +00:00
joerg 4041630e67 libkern.h maps memcmp, memset and strcpy to the compiler builtins on
some platforms, so make sure to #undef them first.
2011-11-08 16:52:11 +00:00
joerg 7964dc0f2c Don't use constant macros in conditionals, use a #if check. 2011-11-08 16:45:43 +00:00
joerg bd40a21a42 Add comment about the name overlap with libcrypto for SHA2 and friends 2011-11-08 16:25:25 +00:00
njoly 56c361b84c Fix build. 2011-11-08 12:44:29 +00:00
njoly 1787cd2761 Regen for kqueue1. 2011-11-08 10:59:44 +00:00
njoly c7617a5386 Add kqueue1(2) support. 2011-11-08 10:59:12 +00:00
wiz 156fd028ba Remove trailing whitespace. New sentence, new line. 2011-11-08 10:56:59 +00:00
njoly acbb866e79 +libtre.so.0.8.debug 2011-11-08 10:52:20 +00:00
njoly eede09bd58 +agrep.debug 2011-11-08 10:49:41 +00:00
macallan a47b14678b switch to 32bit colour for X, switch back to 8 bit for console emulation 2011-11-08 07:05:06 +00:00
macallan 8d40cdce2a fix a typo 2011-11-08 06:56:36 +00:00
macallan cac1dc33ce run the console in 8 bit colour for additional speed
( on Gdium this scrolls more than twice as fast as the 16bit default mode )
2011-11-08 06:56:07 +00:00
jruoho 945d534b41 Few naive checks for cpuset(3) and ftok(3). 2011-11-08 05:47:00 +00:00
joerg 4ec2670ea3 Check MKPIC and don't hard-code m68k. 2011-11-08 01:52:05 +00:00
jym 28ecaa21fd Small improvements to kauth(9). 2011-11-08 00:55:53 +00:00
njoly aa8703ce6a Adjust dependencies for alpha. 2011-11-07 23:21:32 +00:00
jym 331bd1b067 As suggested by Enami, rework the msgfmt logic a bit:
- error out when an unknown specifier is used. Do this in f_msgfmt(),
before dd(1) starts operation.
- allow buffer_write() to flush the internal buffer even when NULL is
passed as parameter.

Some whitespace fixes too.
2011-11-07 22:24:23 +00:00
phx 155d3131ad Fixed Iomega microcontroller support. Implemented Iomega reboot function. 2011-11-07 21:11:55 +00:00
is 1ee229bdd2 Remove pattern for arith_adjacentmem in arm.md, thus fixing
PR toolchain/45576 at a very small run-time cost.

This was suggested by Richard Earnshaw.

A real fix is known to be in gcc 4.5.3 (as in NetBSD-current) and in
gcc-current; don't apply in that tree.
2011-11-07 20:35:39 +00:00
christos 0d371217b3 no need to adjust the off, hi is already at the right time. 2011-11-07 19:42:03 +00:00
cherry 926a93384f Add an ipi callback to force hypervisor callback. this is useful to "re-route" interrupts to a given vcpu 2011-11-07 15:51:31 +00:00
he abbf8bf0e6 Two more instances which need "return 0;" to fix the build. 2011-11-07 14:18:51 +00:00
njoly 3f1f7fac1b +./usr/libdata/debug/usr/tests/lib/libtre 2011-11-07 13:39:54 +00:00
he e808022f5e Return 0 from md_pre_mount(), which is otherwise empty here, so that
this builds again.
2011-11-07 12:40:26 +00:00