Commit Graph

166650 Commits

Author SHA1 Message Date
matt 9e910bd0fa Make sure device interrupts are handled at IPL_VM 2008-02-05 00:04:24 +00:00
yamt d5bac2f6b1 redo tcp_input.c rev.1.230 correctly.
revision 1.230
    date: 2005/06/30 02:58:28;  author: christos;  state: Exp;  lines: +20 -4
    Normalize our PAWS code with Free and Open, as mentioned in tech-security.

reviewed by christos@ and matt@.
2008-02-04 23:56:14 +00:00
rtr 1db9feaaa0 fix comment Abtract -> Abstract 2008-02-04 23:08:01 +00:00
dsl c060191386 Regen for merging fcntl() and fcntl64(). 2008-02-04 22:24:33 +00:00
dsl 174ee4c867 Use the same function to implement linux32_sys_fcntl() and linux_sys_fcntl64().
A rather excessive amount of 'appending 64' to names seems to have happened
when linux won support for files > 4G.
technically the linux32_sys_fcntl() function should error the 64bit file
locking requests - but life is too short.
2008-02-04 22:23:43 +00:00
mlelstv 527bf7ecad Check wether interrupts originate from the bge hardware.
Fixes PR kern/33433.
2008-02-04 21:44:35 +00:00
elad 38012644ad Properly classify kauth PASSTHRU requests.
Done with much help from chuck@, thanks!
2008-02-04 21:08:13 +00:00
elad 9db39a0c09 Link to scanned Xylogics manuals, found by chuck@.
URL: http://www.bitsavers.org/pdf/xylogics/
2008-02-04 20:59:34 +00:00
jmmv 7bbabbe539 Note the import of atf 0.4. 2008-02-04 20:36:49 +00:00
jmmv cb1adbc6e9 Adjust lists to match the import of atf 0.4. 2008-02-04 20:33:09 +00:00
jmmv bd40f72cd9 Adjust for atf 0.4: add new files and adapt configuration. 2008-02-04 20:32:11 +00:00
jmmv d8ef502768 Add the atf-exec and atf-killpg tools that come with atf 0.4. 2008-02-04 20:31:32 +00:00
jmmv 53f55c0659 Add the new directories required by atf 0.4. 2008-02-04 20:31:07 +00:00
jmmv 6d7b7f5fd1 Sync with share files from atf 0.4. 2008-02-04 20:30:45 +00:00
jmmv 555b9649d4 Sync with the tests tree from atf 0.4. 2008-02-04 20:30:15 +00:00
jmmv 0a9d6f9444 Update atf entry to mention 0.4. 2008-02-04 20:27:00 +00:00
jmmv f2a0ff428b Remove files that disappeared in atf-0.4. 2008-02-04 20:26:03 +00:00
jmmv f6f54bd63a Import of ATF 0.4
Changes in this release:

* Added two new manual pages, atf-c++-api and atf-sh-api, describing the
  C++ and POSIX shell interfaces used to write test programs.

* Added a pkg-config file, useful to get the flags to build against the
  C++ library or to easily detect the presence of ATF.

* Added a way for test cases to require a specific architecture and/or
  machine type through the new 'require.arch' and 'require.machine'
  meta-data properties, respectively.

* Added the 'timeout' property to test cases, useful to set an upper-bound
  limit for the test's run time and thus prevent global test program stalls
  due to the test case's misbehavior.

* Added the atf-exec(1) internal utility, used to execute a command after
  changing the process group it belongs to.

* Added the atf-killpg(1) internal utility, used to kill process groups.

* Multiple portability fixes.  Of special interest, full support for SunOS
  (Solaris Express Developer Edition 2007/09) using the Sun Studio 12 C++
  compiler.

* Fixed a serious bug that prevented atf-run(1) from working at all under
  Fedora 8 x86_64.  Due to the nature of the bug, other platforms were
  likely affected too.
2008-02-04 20:21:48 +00:00
christos 0523aae770 PR/37954: Thomas Klausner: "tail -c 2" broken.
It is not tail -c 2 but most of tail -c <n> with pipes. Fix by Anon Ymous
2008-02-04 16:23:11 +00:00
christos 1d50c3e36a add gettytab 2008-02-04 15:30:44 +00:00
christos b11674e1a4 move gettytab to paths.h 2008-02-04 15:27:20 +00:00
tsutsui e09797feab FreeBSD says "16 bits" comment about RTK_GTXSTART was incorrect.
Use CSR_WRITE_1() for it. (though the previous code also worked)
2008-02-04 15:16:49 +00:00
tls efc90f2f7e Some locking fixes (double-release mutex in softintr wakeup case, which I
hadn't tested) and an uninitialized field in cse which Darran Hunt
found.  Some more debugging printfs.

Turn on MPSAFE for the kthread.  We're not sure it's safe for the softint
yet.  Gives a little performance kick for swcrypto with many requests on
MP systems.
2008-02-04 14:46:26 +00:00
jmmv 1561f4867f Rebuild shell-based tests if the atf-compile host tool has changed. The
contents of the generated scripts may change (as will happen with ATF 0.4),
so this dependency is important to have.  Dunno how to deal with the
non-tools case other than adding an entry in UPDATING, but if you are not
using tools, you can expect all kinds of breakage.
2008-02-04 14:15:57 +00:00
joerg 201546aaac Fix quirk to clean only PCI register 0x6a and 0x6b, which is likely
what the original code intended. This avoids the unaligned access.
According to jmmv@'s testing, this seems to work.
2008-02-04 14:12:25 +00:00
ad 081044f790 Don't call printf from an IPI handler. 2008-02-04 12:46:30 +00:00
chris 1538e8f144 ~17 months ago acorn32 had the WSCONS versions of GENERIC and NC removed.
Update sysinst to no longer offer kernels that don't exist.
2008-02-04 08:42:41 +00:00
mrg 399266cb7b use C comments, not C++ comments. 2008-02-04 04:20:51 +00:00
mrg 8a519a7389 initialise some variables to appease gcc -O3. 2008-02-04 02:42:52 +00:00
mrg df589eb5b4 add a couple of #ifdef USE_TLS blocks to help MKCRYPTO=no link. 2008-02-04 02:21:30 +00:00
mrg 5913e24b1e support MKCRYPTO=no - tag ntp-keygen(8) with crypto. 2008-02-04 02:13:37 +00:00
riz e298de717f Add 'sha1' as one of the password ciphers to be chosen from at
install time.  Translations will need to be adjusted - I didn't feel
comfortable touching anything but .en and .de despite the relatively
simple adjustment...
2008-02-04 01:54:55 +00:00
hubertf f81f738d09 disclaim copyright 2008-02-04 01:28:20 +00:00
dholland f5334b0815 More assorted cleanup merged from larn 12.2. 2008-02-04 01:07:01 +00:00
tls e5bd2a127e Rework opencrypto to use a spin mutex (crypto_mtx) instead of "splcrypto"
(actually splnet) and condvars instead of tsleep/wakeup.  Fix a few
miscellaneous problems and add some debugging printfs while there.

Restore set of CRYPTO_F_DONE in crypto_done() which was lost at some
point after this code came from FreeBSD -- it made it impossible to wait
properly for a condition.

Add flags analogous to the "crp" flags to the key operation's krp struct.
Add a new flag, CRYPTO_F_ONRETQ which tells us a request finished before
the kthread had a chance to dequeue it and call its callback -- this was
letting requests stick on the queues before even though done and copied
out.

Callers of crypto_newsession() or crypto_freesession() must now take the
mutex.  Change netipsec to do so.  Dispatch takes the mutex itself as
needed.

This was tested fairly extensively with the cryptosoft backend and lightly
with a new hardware driver.  It has not been tested with FAST_IPSEC; I am
unable to ascertain whether FAST_IPSEC currently works at all in our tree.

pjd@FreeBSD.ORG, ad@NetBSD.ORG, and darran@snark.us pointed me in the
right direction several times in the course of this.  Remaining bugs
are mine alone.
2008-02-04 00:35:34 +00:00
mrg e972654d70 support MKCRYPTO=no:
- don't link -lssl -lcrypto
- -DNO_SSL_SUPPORT
2008-02-03 23:48:09 +00:00
christos ed13fe5855 fix posix_memalign; we are not going to support alignments > pagesize in
this implementation.
2008-02-03 22:56:53 +00:00
christos 342c547a73 regression test for posix_memalign 2008-02-03 22:56:13 +00:00
martin 4b72e076f4 Do not panic when trying to disestablish a pci interrupt. 2008-02-03 22:51:21 +00:00
mrg c2b313f307 bump NetBSD date. 2008-02-03 22:15:38 +00:00
joerg 42a6101c51 pkg_install-20080202 merged. 2008-02-03 21:28:38 +00:00
joerg 32cb208674 Catch up with pkg_install-20080202: pkg_info needs libarchive, libbz2
and libz now.
2008-02-03 21:27:27 +00:00
dholland c310e89d2d Once upon a time, larn 12.0 had functions named getchar() and putchar()
that conflicted with libc. We changed them to lgetchar() and xputchar()
respectively; larn 12.2 changed them to ttgetch() and ttputch(). After
reflecting on this for a while I've decided to adopt the larn 12.2
names; not so much for compatibility but for consistency going forward.
So, massrename them. Also make ttputch() static.
2008-02-03 21:24:58 +00:00
joerg 777b7d39b8 pkg_install-20080202 2008-02-03 21:21:30 +00:00
dholland e87aa9031c Don't create files mode 666 in /var. (The code in question is not enabled
by default, though.)
2008-02-03 20:41:53 +00:00
dholland 5c10491064 Larn does not need its own private versions of functions from <ctype.h>.
Also, remove the function gettokstr(), which is not used. From larn 12.2.
2008-02-03 20:11:04 +00:00
dholland b6e0b3d3c9 A long time ago, larn had code to prohibit playing it during work hours.
Most of this code was removed ages ago, probably when dm(6) was invented;
long before -r1.1 in the NetBSD tree in any event.

Now remove the last fragment of it.

Also nuke the file of US holidays 1987-1993 that we've been carrying
around for no reason.
2008-02-03 20:01:24 +00:00
skrll 149ffa5f3f Remove DBG=-g that snuck in. 2008-02-03 19:58:34 +00:00
chris 0cdb05c075 Use memmove rather than memcpy when moving rows around the framebuffer.
This fixes a problem where scrolling down fills the whole screen with the
first line on screen.
2008-02-03 19:38:29 +00:00
dholland ef066a156b Some assorted minor cleanups, from larn 12.2. 2008-02-03 19:29:50 +00:00