Commit Graph

197875 Commits

Author SHA1 Message Date
christos c464e0ebc5 Fix non-fortify build. 2011-02-15 16:29:09 +00:00
christos 99c6c22267 From Anon Ymous:
1) libsaslc is an SASL client only.
2) dovecot is an SASL server only.
3) cyrus-sasl is both a client and a server.
4) postfix allows us to have multiple SASL servers and clients.
5) The SASL server to use at runtime is determined by the setting of
   "smtpd_sasl_type" in main.cf (note that is smtpd_ not smtp_).  If
   that is not set, then it defaults to the value of
   DEF_SERVER_SASL_TYPE at build time, which if not set, defaults to
   "cyrus".  See postfix/dist/src/global/mail_params.h.
6) The SASL client to use at runtime is determined by the setting of
   "smtp_sasl_type" in main.cf.  If that is not set, then it defaults
   to the value of DEF_CLIENT_SASL_TYPE at build time, which if not
   set, defaults to "cyrus".  See postfix/dist/src/global/mail_params.h.
7) If MKCRYPTO is "no", libsaslc will not link as it requires the
   crypto libraries, so libsaslc cannot be enabled (as it was before)
   without crypto.
8) I have made the definition of DEF_CLIENT_SASL_TYPE conditional on
   MKCRYPTO due to (7).  Without crypto it will default to cyrus.
9) HAVE_CYRUS_SASL is _never_ defined during a normal build and _never_
   should be!  It is there for the convenience of users who wish to
   install cyrus-sasl and rebuild postfix with it.  It is also very
   useful for testing if it is suspected that something might be wrong
   with libsaslc.  PLEASE DO NOT REMOVE IT!
2011-02-15 16:19:33 +00:00
pooka 3129d3ab75 Cleanup server socket before sending back "ok" for halt. Fixes
some occasionally-seen race conditions in tests which do server
restarts (e.g. the raidframe tests).
2011-02-15 16:10:41 +00:00
pooka 3f47eb3b3b remove unnecessary debug printf 2011-02-15 15:57:33 +00:00
pooka 36823968f7 test FD_CLOEXEC 2011-02-15 15:54:56 +00:00
pooka 9b097994c2 Support FD_CLOEXEC in rump kernels. 2011-02-15 15:54:28 +00:00
pooka 7594b96b98 another day, another tp 2011-02-15 15:18:37 +00:00
pooka fd59a0e429 add some exec() tests 2011-02-15 15:16:46 +00:00
jmcneill 8f6ebfdd74 map the framebuffer and agp with BUS_SPACE_MAP_PREFETCHABLE 2011-02-15 14:24:23 +00:00
pooka 172a314918 dup() is now implemented using fcntl() 2011-02-15 14:01:52 +00:00
pooka 8b62780ace Properly implement fcntl commands: F_DUPFD, F_CLOSEM, F_MAXFD 2011-02-15 13:59:28 +00:00
jmcneill afe776bc5c retire azalia from GENERIC 2011-02-15 12:06:22 +00:00
pooka 5aace62bf3 augment comment 2011-02-15 11:43:53 +00:00
mrg 1f631a0aa9 give memfault_sun*() some entry points that both gdb and ddb will find. 2011-02-15 11:30:21 +00:00
tsutsui 21a51402a9 Fix partition ids in the previous disklabel(8)'s COMPAT_386BSD_MBRPART entry. 2011-02-15 11:21:32 +00:00
tsutsui b22c24eba3 Note hp700 HIL support. 2011-02-15 11:18:49 +00:00
tsutsui b10df2f5e4 - make local functions static
- use aprint_normal(9) and variants
- misc KNF
2011-02-15 11:05:51 +00:00
mrg 7b6c56da68 - move nmi_sun4m intr counting into nmi_soft/nmi_hard.
- request the appropriate stack space for nmi_sun4m, in particular,
  make sure we have space for %g2...%g5.  now entering ddb via eg,
  serial break no longer causes cpu1 to fault.
2011-02-15 10:59:25 +00:00
pooka 5e301bc45b support HANDSHAKE_EXEC 2011-02-15 10:37:07 +00:00
tsutsui fa70e99270 - make local functions static
- remove parentheses from return
- use aprint_error(9)
2011-02-15 10:35:39 +00:00
pooka abcc13e159 Add an "exec" callback for the proxy code. The client can now
notify the rump kernel of an exec having taken place.
2011-02-15 10:35:05 +00:00
tsutsui 7e87afa114 Add MI HIL (keyboard/mouse) support from OpenBSD.
Tested on 735/125 and ok'ed by skrll@.
2011-02-15 10:32:56 +00:00
cegger db0e6900db update cpuid bits 2011-02-15 10:11:25 +00:00
mrg 67daa56633 sprinkle some kpreempt_{dis,en}able() in various strategic points
we will need when we get to actually enabling kernel preemption.
2011-02-15 09:56:32 +00:00
mrg 8e196db30d remove unused CPUFLG_READY and CPU_NOTREADY() macro. 2011-02-15 09:05:14 +00:00
jmcneill 1c1a1efa3c add AGP v3 support to agp_generic_enable from FreeBSD 2011-02-15 08:57:01 +00:00
jmcneill 64b8c01373 print AGP mode (v3/v2compat/v2) with aprint_debug instead of aprint_normal 2011-02-15 08:56:11 +00:00
is 96c5ad97be Bug fix: in a game with 26 planes, the last one to be allocated wouldn't
be allocated if it was the only eligible one.
From Jonathan David Amery via Debian Bug report 214626.
2011-02-15 08:25:25 +00:00
macallan 30bc81416e don't muck with the LVDS_BLON bit 2011-02-15 04:06:43 +00:00
jmcneill 540bdd7510 port-i386/44563: boot loader prompt doesn't read keyboard input on a MacBook1,1
check for keystroke (int 16h, AH=01h) before getting keystroke (int 16h,
AH=00h), fixes bootloader keyboard input with Apple firmware, from Taylor R
Campbell
2011-02-14 23:47:11 +00:00
njoly 4b4028158d missing lvm keyword. 2011-02-14 21:29:45 +00:00
pooka 1faeae7181 MSFT assigned the copyright to these files to TNF, so fix license.
Also, make rcsid placement match man.template.
2011-02-14 21:13:17 +00:00
pooka d6b3a51109 fix nic name in diagnostic. from sandrof 2011-02-14 21:00:17 +00:00
pooka 3e3af76e8c explicitly set BLOCKSIZE so that we don't get fooled again 2011-02-14 19:56:30 +00:00
pooka c754a0ea3b -debugging crud 2011-02-14 19:54:29 +00:00
jruoho 23501c315c Fix small negligence mistake. 2011-02-14 18:51:44 +00:00
drochner 6ed51462a6 one more botched statistics counter (could increment semi-random locations) 2011-02-14 18:49:31 +00:00
jruoho 08e33da785 ACPICA 20110211 is out.
(Mostly bug fixes; for once, no big API changes.)
2011-02-14 18:41:09 +00:00
jruoho 6a329369d7 AISE, AYF, BAK, BOC, BTFT, CPC, DIAFYO, EDS, FITB, FYEO, GLWT, IAE, ICUR,
IDTS, IMBO, INPO, IUD, KMA, KWIM, MAD, NFA, NIMBY, NUNP, ONNA, ONNTA,
OOSOOM, PFI, PPP, ROI, SAR, SITD, TCB, TIC, TINWIS, TM, TMK, TTM, TWAIN,
WAFWOT, WDYMBT, WELC, WWJD, YAOTM, YWSYLS.
2011-02-14 18:33:26 +00:00
matt 9fbae4ec6b Add -D_KMEMUSER to CPPFLAGS 2011-02-14 18:27:24 +00:00
matt c82db00b04 Add NetLogic Fast Messaging instructions 2011-02-14 18:23:35 +00:00
matt 3359874d01 Add libsaslc entries 2011-02-14 18:20:44 +00:00
pooka 0d30d053f5 remove a decidedly illogical statement 2011-02-14 17:30:54 +00:00
drochner 254b02f7fb fix output bytecount statcounter 2011-02-14 16:34:43 +00:00
uebayasi dbb2d01c6b Suppress a superfluous whitespace after "time=..." in the output. 2011-02-14 16:27:58 +00:00
bouyer 2df8503191 if DIAGNOSTIC, check the size of the transaction in wapbl_end().
Hopefully this will point us to the place which generaed the large
transaction, before an asynchronous panic() in wabl_end()
2011-02-14 16:05:11 +00:00
pooka 2e5e7c9a68 slap this with summa dat +files 2011-02-14 15:15:40 +00:00
pooka e7ac403943 Test that hijacked ssh/sshd work.
Copypastes jmmv's sshd magic from fs/psshfs.
(dunno if it's worth sharing the code, or even what the
best practice for doing so would be)
2011-02-14 15:14:00 +00:00
pooka 2ba7fe5525 A bunch of changes which essentially make sshd work with a hijacked
rump tcp/ip stack:

* sshd likes to fork and then re-exec itself
  ==> trap execve() and augment the env with the current parameters
      essential to a rump kernel (kernel communication fd, information
      about dup2'd file descriptors)

* sshd likes to play lots of games with pipes, socketpairs and dup{,2}()
  ==> make sure we do not close essential rump client descriptors:
      dup() them to a safe place, except for F_CLOSEM where we
      simply leave them alone.  also, partially solved by the above,
      make sure the process's set of rump kernel descriptors persists
      over exec()

* sshd likes to chdir() before exec
  ==> for unix-style rump_sp(7) sockets save the full path on the
      initial exec and use it afterwards.  thread the path through
      the environment in execve()
2011-02-14 14:56:23 +00:00
hannken 4005d75059 ibmhawk_set: No need to set states ENVSYS_SWARNxxx, sysmon will do it. 2011-02-14 14:15:25 +00:00