Commit Graph

121723 Commits

Author SHA1 Message Date
martin
eb3f00e1e9 When upgrading an old system, install new bootblocks too.
Fixes PR port-sparc64/17204.
2003-12-10 19:42:51 +00:00
drochner
bfae4c94ef if the code segment is not enlarged, return 0 in pmap_exec_fixup
so that the trap is not retried
(fixes cases where a program traps for good reasons)
2003-12-10 18:13:32 +00:00
tsutsui
556423a6ac Bump SYMTAB_SPACE to 204800. 2003-12-10 18:08:50 +00:00
tsutsui
2dc2c15166 - Turn off console login.
- Remove nonexistent tty00 and tty01.
- Add and enable ttyE0 and scif0.
2003-12-10 18:04:28 +00:00
jdolecek
662f5a1d48 John Brezak (now jbrezak at windows dot microsoft dot com) kindly
agreed to remove advertising clause from his code, so update
the licence accordingly.
2003-12-10 17:10:34 +00:00
jdolecek
7553d7d6f5 one less 2003-12-10 16:40:52 +00:00
jdolecek
d5bf86dcf4 Modify the licences of code written by Theo De Raadt from a 4-clause
to a 2-clause licence (retaining UCB clauses (1) and (2)), per PR
22409 from Joel Baker, approved by Theo de Raadt.
2003-12-10 16:35:20 +00:00
matt
cb9ecf8b7f Re-export HAVE_GCC3 2003-12-10 16:06:09 +00:00
drochner
a33b8b088c a little bit more namespace sanity 2003-12-10 14:19:02 +00:00
atatat
e3796202c5 Make kern.dump_on_panic writeable again, too 2003-12-10 14:16:12 +00:00
drochner
e74e4d19cb Just checking a global marker (pm_hiexec) for the highest executable
address currently in effect does not always work: There might be more
instances of the code segment selector in other threads, on other CPUs
and in *jmp_bufs.
So always check whether the CS needs updating, if it is not already
set to the "BIG" value.
This code needs more cleanup, this is considered a stopgap fix only.
2003-12-10 13:59:48 +00:00
drochner
7e4c34eca1 Add a check whether the stack is executable when needed, and one whether
the stack is non-executable if not explicitely enabled.
The latter one is not enabled in the Makefile yet because it cannot
succeed on platforms where the non-exec stack is not implemented.
Both checks rely on the fact that gcc puts trampoline onto the stack
for nested functions. On platforms where no such trampolines are used,
no meaningful results can be expected.
While not perfect, this is much easier than hand-coding trampolines for
each CPU type.
2003-12-10 13:24:59 +00:00
lukem
d11f9c3d61 Don't warn about "ignored setsockopt" failures unless debugging is
enabled.  Suggested by Todd Vierling.

Allow empty passwords in ftp://user:@host/file auto-fetch URLs,
per RFC 1738.  Requested by Simon Poole.

Update version.
2003-12-10 12:34:28 +00:00
agc
7db1d33cba Modify the licences of code written by Theo De Raadt from a 4-clause
to a 2-clause licence (retaining UCB clauses (1) and (2)), per PR
22409 from Joel Baker, approved by Theo de Raadt, and ratified by
myself - the only discrepancy being the handling of the original
clause 3 in src/usr.sbin/yppoll/yppoll.c.
2003-12-10 12:06:25 +00:00
itojun
aa8a6718f0 use if_indexlim (instead of if_index) and ifindex2ifnet[x] != NULL
to check if interface exists, as (1) if_index has different meaning
(2) ifindex2ifnet could become NULL when interface gets destroyed,
since when we have introduced dynamically-created interfaces.  from kame
2003-12-10 11:46:33 +00:00
hannken
fbae381aaa The file system snapshot pseudo driver.
Uses a hook in spec_strategy() to save data written from a mounted
file system to its block device and a hook in dounmount().

Not enabled by default in any kernel config.

Approved by: Frank van der Linden <fvdl@netbsd.org>
2003-12-10 11:40:11 +00:00
tsutsui
4949a9ae53 Add WSDISPLAYIO_VIDEO_{ON,OFF} support for WSDISPLAYIO_SVIDEO ioctl.
Patch from Yasushi Oshima.
2003-12-10 10:36:02 +00:00
tsutsui
4aa0d301de Invert Y-axis value for mms(4). From Yasushi Oshima on port-dreamcast. 2003-12-10 10:30:45 +00:00
itojun
561720b19b validate set/getsockopt arg more strictly. with previous code privileged
user can cause kernel crash.
2003-12-10 09:28:38 +00:00
lukem
8d18845ac2 add null & fdesc to the list of file system types to skip in check_disks 2003-12-10 09:25:36 +00:00
itojun
3d0f9fb216 cvs 2003-12-10 06:13:41 +00:00
itojun
a96b475fd1 upgrade to 1.11.10. includes security fix. 2003-12-10 06:09:52 +00:00
itojun
4f87169ef4 cvs 1.11.10, includes security fix 2003-12-10 05:58:05 +00:00
itojun
c81f32fe6c comment from niels provos;
- seed2 is necessary, but use it as "seed2 + x" not "seed2 ^ x".
- skipping number is not needed, so disable it for 16bit generator (makes
  the repetition period to 30000)
2003-12-10 05:22:18 +00:00
lukem
219ba062f8 Use (cd ${.CURDIR} && ${MAKE} cleandir) instead of ${MAKE} cleandir
Suggested by Ross Harvey.
2003-12-10 05:19:41 +00:00
simonb
fa8e22ca2d Make unimpl_emul.o depend on assym.h so that "make -j N" kernel builds
work.
2003-12-10 04:59:35 +00:00
itojun
0a43caec07 bind latest revisions 2003-12-10 04:52:57 +00:00
briggs
3c06a40b83 Power up the card without OE enabled to avoid letting SanDisks enter
True IDE mode.  Hinted at by Charles Hannum a while back.  This lets
my PCI-Cardbus adapter read SanDisk CF cards much more reliably.

Also bring in a few defines from FreeBSD for some more TI registers and such.
2003-12-10 02:55:48 +00:00
jmc
695a2a2f9f Change reference at bottom from sys/dev/majors to sys/conf/majors to match
reality
2003-12-10 02:04:00 +00:00
jmc
66a3e546ff Oops. _KERNEL, not KERNEL 2003-12-10 01:26:24 +00:00
lukem
afca253464 Use sysconf(_SC_LOGIN_NAME_MAX) to determine the length of login
names, rather than assuming LOGIN_NAME_MAX.
Based on patch from Garrett Wollman via David O'Brien (both at FreeBSD.org)
2003-12-10 01:18:56 +00:00
lonewolf
49e806d166 sgimips lives in the new-style wscons land. 2003-12-10 00:24:21 +00:00
lonewolf
b57c3a57f9 Make this compile and apparently work (it generates interrupts properly, at
least).
XXX The is_console test is horribly ugly but necessary for the pckbc_cnattach
XXX coming soon.
2003-12-10 00:22:29 +00:00
lonewolf
3fe422af98 Garbage collect unused file. 2003-12-10 00:18:07 +00:00
lonewolf
8d097bc535 Remove the extra call to consinit(). 2003-12-10 00:00:51 +00:00
manu
780bd92b51 Catch signals in clock_sleep, so that sleeping processes can be interupted. 2003-12-09 22:04:25 +00:00
grant
9510307938 simplify a sentence 2003-12-09 21:40:54 +00:00
ad
ae788c30d0 Mirror change made in FreeBSD, rev 1.39 of aac.c. May address PR 23574.
bzero out the sync command buffer when sending commands.  This was causing
problems when enumerating multiple arrays.
2003-12-09 20:12:14 +00:00
augustss
d45d00fdb9 Fix markup typo. 2003-12-09 19:52:21 +00:00
manu
d34fcf6a3b One more property needed by WindowServer 2003-12-09 19:51:51 +00:00
briggs
500fd35ba0 Use aprint_*() 2003-12-09 19:51:39 +00:00
ad
243b868f65 Grab the configuration lock when handling I2ORESCANCMD. 2003-12-09 19:51:23 +00:00
augustss
af68367011 Reference kfilter_register(9) rather than the non-existent kfilter_register(2). 2003-12-09 19:49:53 +00:00
ad
ee5a33f5aa Match Promise controllers. 2003-12-09 19:43:53 +00:00
augustss
e58307e458 Fix spelling mistake in a comment. 2003-12-09 19:33:22 +00:00
ad
e4cbd13089 Regen. 2003-12-09 18:58:49 +00:00
ad
237307078f Add second ID for Intel i960 RM. 2003-12-09 18:58:16 +00:00
he
9d5ca63b31 Bump SYMTAB_SPACE so that the symbol table fits again. 2003-12-09 18:00:22 +00:00
matt
ad4eec9581 Export use_tools_toolchain. Change last use of have_gcc3 to
use_tools_toolchain
2003-12-09 17:57:42 +00:00
manu
10f0bf745b Fix various broken sanity checks in iokit emulation.
Add some methods to IOFramebuffer (DARWIN_IOFBSETBOUNDS,
DARWIN_IOFBSETCURSORVISIBLE) and to IOHIDSystem (DARWIN_IOHIDPOSTEVENT),
all are unimplemented empty shells.
2003-12-09 17:13:18 +00:00