Commit Graph

206827 Commits

Author SHA1 Message Date
christos
7b69fe6a2f PR/45595: bch: fix missing magic prefix 2011-11-10 13:41:00 +00:00
yamt
128f443a4a add a crude dependency on tm_p.h. build.sh -j128 fails for me without this. 2011-11-10 09:28:25 +00:00
riz
71932a0feb i386_use_pae is now just use_pae. 2011-11-10 03:45:40 +00:00
joerg
f02d1cc2e1 Don't redefine _C_LABEL. 2011-11-10 00:37:38 +00:00
joerg
e18cbfbf65 G/C -nostdinc usage, --sysroot is provided automatically. 2011-11-10 00:36:54 +00:00
jym
56027687e2 Turn the 'i386_use_pae' variable into simply 'use_pae'. Technically
speaking we are also running with PAE enabled in long mode under amd64,
so this variable will be used in various places across x86 machdep to
branch at runtime to functions that require extra handling for PAE mode.
2011-11-10 00:12:04 +00:00
drochner
8e6899dea3 Don't allow '/' characters in the "service" argument to pam_start()
The "service" is blindly appended to config directories ("/etc/pam.d/"),
and if a user can control the "service" it can get PAM to read config
files from any location.
This is not a problem with most software because the "service" is
usually a constant string. The check protects 3rd party software
from being abused.
(CVE-2011-4122)
2011-11-09 20:26:41 +00:00
drochner
7621b801a7 remove duplicated #defines (in a usually unused part of the code) 2011-11-09 20:17:44 +00:00
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