Commit Graph

121742 Commits

Author SHA1 Message Date
matt d672abfa9e Fix typo. 2003-12-11 14:52:46 +00:00
drochner 7dcd19bbce If a disktype was specified, use the disktab information
and don't try the disklabel.
Allows to create a filesystem on a floppy again.
(It is arguably another bug that DIOCGDINFO returns nonsense
for floppies.)
2003-12-11 12:11:27 +00:00
hannken 774cb2d93e fss(4). 2003-12-11 11:29:17 +00:00
uch f948356718 Update for new world of indirect wdc registers. 2003-12-11 09:53:15 +00:00
dyoung 4758291178 Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no)
and without Kerberos 4 & 5 (MKKERBEROS=no). Previously checkflist
complained of missing files.

* move kerberos- and kerberos 4-only files into new flists,
  distrib/sets/lists/*/krb.*

* make the flist generators grok MKKERBEROS{,4} variables

* fix Makefiles which treat MKKERBEROS=no as MKKERBEROS5=no.
  9 out of 10 experts agree that it is ludicrous to build w/
  KERBEROS4 and w/o KERBEROS5.

* fix header files, also, which treat MKKERBEROS=no as MKKERBEROS5=no.

* omit some Kerberos-only subdirectories from the build as
  MKKERBEROS{,4} indicate

(I acknowledge the sentiment that flists are the wrong way to go,
and that the makefiles should produce the metalog directly.  That
sounds to me like the right way to go, but I am not prepared to do
revamp all the makefiles.  While my approach is expedient, it fits
painlessly within the current build architecture until we are
delivered from flist purgatory, and it does not postpone our
delivery. Fair enough?)
2003-12-11 09:46:26 +00:00
martin 8198b105e1 Bump SYMTAB_SPACE, we need more nowadays. 2003-12-11 08:42:20 +00:00
dyoung f28870d8ac fix spelling, s/extented/extended/ 2003-12-11 05:11:50 +00:00
matt ca1e0d5980 Add macppc-fixcoff tool. 2003-12-11 00:29:33 +00:00
matt abd06d37ef Add TOOL_MACPPCFIXCOFF 2003-12-11 00:28:08 +00:00
matt 98c902b471 Convert fixcoff into a true host tool by making it under tools. 2003-12-11 00:27:42 +00:00
itojun 235e090dea gi_len is ip_len, so it has to be network byteorder. markus friedl 2003-12-11 00:22:29 +00:00
itojun b37e7ce6ef do not touch sav->xx after key_freesav(). from hajimu umemoto 2003-12-10 23:46:42 +00:00
matt cd3cb31917 Make sure to pick up nbcompat definitions 2003-12-10 23:45:25 +00:00
matt b1865b274e Use be16toh/htobe16 instead of ntohs/htons. 2003-12-10 23:36:07 +00:00
itojun 8ff0ee9024 bsd-family-tree is now in 1.75 2003-12-10 23:21:14 +00:00
matt 104c58abbf s/u_int16_t/uint16_t/ for more portability 2003-12-10 23:08:14 +00:00
itojun 0bb1bb3b71 bind 8.4.3 is pulled out from isc due to serious bug. 2003-12-10 22:48:20 +00:00
itojun d8ac1c6007 fix cases where pktinfo specifies outgoing interface of "0". 2003-12-10 22:35:35 +00:00
petrov 90efe83bb9 Fix strict-aliasing compiler warning. 2003-12-10 20:09:05 +00:00
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