Commit Graph

121710 Commits

Author SHA1 Message Date
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
manu
98c34875d4 In mach_msg_error, don't display error message when the error
is 0 (no error). This function is often used as a shortcut to
return a short message with retval = 0.

Add error codes to the debug display
2003-12-09 17:10:02 +00:00
wiz
02f06f3790 Bump date for previous (hi andrew!). 2003-12-09 16:00:40 +00:00
jmc
2608098ab2 Wrap sys root'd includes with #ifdef KERNEL so this will compile for things
including machine/cpu.h (which includes this)
2003-12-09 15:47:17 +00:00
jmc
9a398a5661 Make libsa build first as other items depend on it (for -j builds) 2003-12-09 15:46:01 +00:00
tsutsui
fddb523c90 Use $have_gcc3 rather than $use_tools_toolchain,
which isn't set by sets.defaults.
2003-12-09 15:42:31 +00:00
pooka
34f5b5e378 The highest 16 bits of chipid identify the ASIC, so print only them. 2003-12-09 15:19:33 +00:00
ad
e296f9bf6e Catch break for cn_check_magic() and remove the pmax-specific hack. 2003-12-09 14:30:55 +00:00
manu
b50934fc19 Move exception related code to a dedicated file 2003-12-09 12:13:44 +00:00
manu
99ee466dbb Move most of the code involved into message header, trailer, and descriptor
construction to inline functions. This removes a lot of redundent code
from Mach services
2003-12-09 11:29:01 +00:00
tacha
7b0cb03434 remove target before executing mknod (in std_sparc). 2003-12-09 11:25:04 +00:00
drochner
af7cac9798 "msntp"->"sntp, and adjust location of runtime data files 2003-12-09 11:15:18 +00:00
simonb
8b18b565b8 Make some comments line up. 2003-12-09 09:49:01 +00:00
matt
031990a547 Make sure to include <bsd.own.mk> to pick up the definition of HAVE_GCC3 2003-12-09 04:54:54 +00:00