Commit Graph

194050 Commits

Author SHA1 Message Date
christos
203850f0b2 - simple fseek->fseeko conversion. probably needs more work.
- use a constant instead of sprinkling 2048 everywhere.
2010-10-22 00:49:15 +00:00
yamt
0356d9d499 Xosyscall: sync with Xsyscall. 2010-10-21 11:43:22 +00:00
yamt
0320f1268a Xsyscall: remove a stale comment. 2010-10-21 11:42:26 +00:00
yamt
ce54ddc1de Xsyscall: remove an unused label. 2010-10-21 11:41:31 +00:00
yamt
cc2d727ec3 Xsyscall: save %es before enabling interrupts. otherwise it can be
clobbered by preemption.  PR/43903.
2010-10-21 11:39:45 +00:00
yamt
c97e27eb0e cpu_setmcontext: add a comment 2010-10-21 11:28:34 +00:00
yamt
f34d0e9eb1 cpu_fsgs_zero: clear %fs and %gs even in the case of !PK_32. 2010-10-21 11:27:46 +00:00
yamt
7cee2df796 cpu_fsgs_zero: always clear tf_fs and tf_gs. 2010-10-21 11:22:55 +00:00
yamt
9dbb22af20 don't forget to call nmi_init. 2010-10-21 11:17:54 +00:00
yamt
65656eb8a2 unp_connect: fix an assertion 2010-10-21 11:14:39 +00:00
yamt
6c0992266e unp_connect2: fix a comment. 2010-10-21 11:13:43 +00:00
uebayasi
c69e271d09 Update uebayasi-xip. 2010-10-21 08:45:29 +00:00
tteras
84874398b5 Introduce priorities for file descriptor polling mechanism and give
priority to admin port. If admin port is used by ISAKMP-SA hook scripts
they should be preferred, other wise heavy traffic can delay admin port
requests considerably. This in turn may cause renegotiation loop for
ISAKMP-SA. This is mostly useful for OpenNHRP setup, but can benefit
other setups too.
2010-10-21 06:15:28 +00:00
tteras
af50f9e5f9 Remove initial-contact entry when all ISAKMP-SA are purged via adminport.
This will avoid stale security associations if some of the delete
notifications happens to get lost.
2010-10-21 06:04:33 +00:00
jmcneill
5823e38b87 perform pathname lookup with NOCHROOT flag 2010-10-21 01:02:34 +00:00
pooka
41dc37e6d7 Set sensor state to valid upon refresh to make things generally work.
pgoyette ok
2010-10-20 19:21:04 +00:00
phx
0295fcde77 Support sysctl machdep.cpu_speed for 7447A and 7448 based Macs. On those
machines the CPU's DFS (Dynamic Frequency Switching) feature is used instead
of a GPIO to control the speed.
Two new functions in powerpc/oea/cpu_subr.c were introduced to support
reading and writing of DFS: cpu_get_dfs() and cpu_set_dfs(). Also works
for multiple CPUs, but not before interrupts are enabled.
2010-10-20 18:52:33 +00:00
pooka
f4fd6656e3 remove unused routine (per comment) 2010-10-20 18:50:46 +00:00
pooka
8660c50d36 Attach swsensor only once (it attaches automatically via MODULE
like everything else that is linked in as a module).
2010-10-20 18:48:13 +00:00
christos
aeccdbb591 improve error handling and logging. 2010-10-20 17:05:54 +00:00
jmmv
6098e2d456 Per gson@'s request, make these tests less verbose so that the output of
atf-run is not twice as large as before.  This is a pull-up of
699284e5c0d0a375958293e578af4e02d68d1182.

(I don't think it's reasonable to intentionally cripple tests as I have
just done here.  In the future I would like to only report the output of
failed test cases, which would allow us to undo this, but not there yet.)
2010-10-20 16:25:01 +00:00
pooka
177b6d9664 Remove XXX comment with the text "going away soon". It was added
in September 1989 -- I think we passed "soon" around last week.
2010-10-20 15:02:17 +00:00
tsutsui
2240ae6f10 Also build and install compat_aoutm68k.kmod and exec_aout.kmod on m68000
to make things easier.  ${MACHINE_ARCH} == ${MACHINE_CPU} on m68k
so we can't use ad.m68k for a set list to exclude m68000.
2010-10-20 14:50:22 +00:00
tteras
976b63b0c6 Use high-level openssl EVP and HMAC functions when possible: this allows
openssl to perform hardware acceleration if available.
2010-10-20 13:40:02 +00:00
tteras
fa4803bf0a Various improvements to error log messages and a few additional error log
messages to improve diagnosing an error condition.
2010-10-20 13:37:37 +00:00
tsutsui
80b1067a63 Split device_t/softc. 2010-10-20 13:00:06 +00:00
tteras
49a8dd9d23 Fix address comparison so we actually close sockets which were bound to
IP-address that got deconfigured.
2010-10-20 10:56:39 +00:00
jmmv
00b463c3e0 Note import of atf 0.11. 2010-10-20 09:22:45 +00:00
jmmv
fc81f1bd0c Adjust file lists and directories to match atf 0.11. 2010-10-20 09:22:32 +00:00
jmmv
41e4dfff04 Adjust reachover makefiles for atf 0.11. 2010-10-20 09:20:09 +00:00
jmmv
0bc037cb06 Resolve import conflicts. 2010-10-20 09:17:21 +00:00
jmmv
895f502b7b Import atf-0.11:
Experimental version released on October 20th, 2010.

* The ATF_CHECK* macros in atf-c++ were renamed to ATF_REQUIRE* to match
  their counterparts in atf-c.

* Clearly separated the modules in atf-c that are supposed to be public
  from those that are implementation details.  The header files for the
  internal modules are not installed any more.

* Made the atf-check tool private.  It is only required by atf-sh and being
  public has the danger of causing confusion.  Also, making it private
  simplifies the public API of atf.

* Changed atf-sh to enable per-command error checking (set -e) by default.
  This catches many cases in which a test case is broken but it is not
  reported as such because execution continues.

* Fixed the XSTL and CSS stylesheets to support expected failures.
2010-10-20 09:14:17 +00:00
jmmv
8d9c35f478 Sync list of files to ignore in preparation for the 0.11 import. 2010-10-20 08:56:16 +00:00
kiyohara
590078265e Add INSTALL+ramdisk fllopy for installation. 2010-10-20 02:59:58 +00:00
kiyohara
f354ac58bd s/BEBOX/BeBox/.
Disable some COMPAT_*-s.  And indent.
Disable TMPFS.
Add some options WS*-s.
Add attimer.
Add atapibus and atapi-devices.
Add ukphy.
spkr attached pcppi not pckbd.
2010-10-20 02:54:10 +00:00
kiyohara
148464ad85 Move PCI_NETBSD_CONFIGURE to std.bebox. It is MUST REQUIRED. 2010-10-20 02:39:19 +00:00
jmcneill
42ff6ac8bc If PCDISPLAY_SOFTCURSOR is defined, disable the hardware cursor on resume. 2010-10-19 22:27:54 +00:00
jmcneill
293d066925 When disabling the hardware cursor, use the 'cursor disable' bit in the
cursor start register. I think this only accidentally worked for the past
11 years because the start and end scanlines were both set to 0x10.

See also http://www.osdever.net/FreeVGA/vga/crtcreg.htm#0A
2010-10-19 22:27:19 +00:00
pooka
a500a55cf2 Make virtif a cloner so that it can be brough to life also with
"ifconfig create".  As previously, virt<n> interfaces with the
host's /dev/tap<n> (I guess it could be made explicit with
"ifconfig media", but leave it this way for now).
2010-10-19 19:19:41 +00:00
jmmv
b27e7b1e81 Oh, wow. Loads of broken ipf test cases that went unnoticed because they
were unchecked errors.  Fix them.

These have been caught by the upcoming version of atf, which explicitly
does 'set -e' in shell test programs.
2010-10-19 16:36:36 +00:00
pooka
cb4b70f7d6 Attach PF_LINK domain. ifconfig wants to play with it, plus there's
no reason not to anyway.
2010-10-19 15:40:15 +00:00
wiz
60fb8c1186 Fix Xrefs. Use more markup. 2010-10-19 12:53:23 +00:00
pgoyette
04f56e6a22 Include swsensor(4) in ALL 2010-10-19 11:58:42 +00:00
pgoyette
adb48c7f00 Build the new swsensor(4) device and add to set lists 2010-10-19 11:58:00 +00:00
pgoyette
3ae668c1c8 Add a new software-only sensor device. This is intended for use as a
kernel module, and can be helpful to generate sysmon_envsys events
when creating/modifying powerd scripts.  This will also be used in an
upcoming series of atf tests for sysmon_envsys itself.
2010-10-19 11:55:38 +00:00
agc
b990d6628e 2 minor changes:
+ when writing out the key as an ssh key, don't include the user id
information at the end, in-line with expectations about standard ssh
key formats

+ since the signing key changed its "menu line" entry from "pub" to
"signature", the offset of the key id moved 7 chars to the right, so
take this into consideration when generating new keys
2010-10-19 00:00:00 +00:00
phx
23b820a811 opt_m68k_arch.h can only be included when compiling for amiga/68k. 2010-10-18 22:02:25 +00:00
phx
665d53b8f3 Include new IOBZCLOCK option to make amiga/dev/ioblix_zbus.c compile again. 2010-10-18 22:00:47 +00:00
plunky
b40385c1f1 move debug output before the loop, which possibly changes the value of fd 2010-10-18 20:43:23 +00:00
christos
710d230a43 simplify and modernize:
- make sysctl mibs static
- use warn/warnx for warnings
makes binary 4K smaller.
2010-10-18 19:39:32 +00:00