Commit Graph

149973 Commits

Author SHA1 Message Date
skrll 44521a9e2e Implement MD_DO_NOT_NEED_FALLTHRU for i386.
Reviewed by christos.
2006-08-25 12:44:19 +00:00
hubertf a357c40934 In two TCP error cases, say that it's TCP, not UDP.
Pointed out by pee- on IRCnet #NetBSD.
2006-08-25 11:59:30 +00:00
liamjfoy 0590732532 Document new -P behaviour 2006-08-25 11:08:50 +00:00
liamjfoy c9432db8c8 Only remove the file if the file can be successfully
overwritten. Old code would remove the file regardless of
whether the overwrite was successful or not.

New behaviour:

carpy: {12} touch moo ; chmod 444 moo
carpy: {13} ls
moo
carpy: {14} rm -P moo
rm: moo: -P was specified but file could not be overwritten
carpy: {15} ls
moo
carpy: {16}

ok: christos@, joerg@ & tech-userlevel@
2006-08-25 11:00:40 +00:00
elad 0b20a6d87c mention we support sha2, pointed out by dieter roelants
okay hubertf
2006-08-25 10:40:25 +00:00
manu 01f2e16aa8 Add support for socket ioctl. 2006-08-25 08:25:03 +00:00
skrll 4f9577ff1d Fix a spello in a debug message. 2006-08-25 07:21:07 +00:00
skrll 544f900acb Fix PR 33702.
Modernise the linker script and make sure we have a symbol after the
link_sets.

Make sure that pmap_bootstrap doesn't tell uvm that some of the kernel
phys pages are free. Previously uvm would very likely allocate the phys
pages used for the link_sets to a MALLOC and they'd get overwritten.

Thanks to David H. Gutteridge for testing various things.
2006-08-25 06:49:15 +00:00
skrll f2ed48bd00 KNF a comment 2006-08-25 06:23:54 +00:00
riz 62cb42312d Cleanup, with no functional changes:
- remove unused code
	- KNF
	- ANSI function declarations
	- replace printf() with aprint_error() except in debug functions
	- a few minor indentation/whitespace changes
2006-08-25 02:34:30 +00:00
riz 0284fe298f Regen (Marvell product IDs) 2006-08-24 22:40:59 +00:00
riz 4a163d3c68 Add a bunch of Marvell product IDs, from OpenBSD. 2006-08-24 22:40:20 +00:00
dbj f7434c5451 avoid diagnostic panic if both blk and chr wedge are open at the same time 2006-08-24 21:57:11 +00:00
dsl 5464d4dc61 Create a linker map file.
Very useful when trying to find out where recent 'bloat' has come from,
as well as giving exact details of what is actually in the kernel.
2006-08-24 21:23:40 +00:00
riz 6a3b33002c First crack at configs for 4.0 .iso images. 2006-08-24 18:15:08 +00:00
manu 432f035fa6 The return value for Linux shmat on amd64 does not suffer the same horrible
hack as on i386.
2006-08-24 16:36:59 +00:00
xtraeme a4f2ed9867 Remove k7_powernow_destroy() prototype... it's now defined in
x86/include/powernow.h.
2006-08-24 16:28:22 +00:00
christos 1463de6acb use the re-entrant version of getservbyport. 2006-08-24 15:39:11 +00:00
manu db139eef22 Tweak i386 version of procfs_machdep to get Linux's /proc/cpuinfo working 2006-08-24 15:17:02 +00:00
cube d4c4e962c9 Display XD for Intel processors (Execution Disable bit support). 2006-08-24 12:55:46 +00:00
christos da9052a357 Don't free what we did not allocate. 2006-08-24 12:40:39 +00:00
mrg 063c6908bc regenerate with many fixes in libstdc++-v3 configury. 2006-08-24 10:28:07 +00:00
kardel bc2a798aea Pass the correct (timer instead of stat counter) timer registers to timerattach().
History: This cleans up another long standing inconsistency where timerblurb for delay() was
calibrated against the stat timer instead the clock timer. Before timecounters
this didn't matter at al as both timer run with the same frequency and the
calibration was a frequency based calibration.

Misbehaving clock found by Fanch (at) kekpar dot net on current-users@ - Thanks.
Fix verified to work by Fanch.
2006-08-24 09:52:46 +00:00
bsh 2abd1dd123 avoid very long loop when you run pcictl on a PCI bus which has no devices on it. 2006-08-24 07:30:16 +00:00
skrll 9f892c7bca Use PMAP_PRINTF(PDB_INIT, ...) instead of various #ifdefs and add some
more debug code.
2006-08-24 07:00:46 +00:00
mrg 13cc47f2ec remove duplicates added in previous commit. 2006-08-24 06:56:39 +00:00
skrll afd79cc70e KNF a comment. 2006-08-24 06:54:11 +00:00
skrll cd2d8ca31f Fix PMAPDEBUG compile by sorting the printf format problems. 2006-08-24 06:50:48 +00:00
jld e782915872 Add %'s to go with PRI format constants. 2006-08-24 01:08:00 +00:00
xtraeme 9af57310fe - Move k7_powernow_* prototypes from i386/include/cpu.h to
x86/include/powernow.h
- Protect k[78]_powernow_init() functions with #ifdef POWERNOW_K[78] to
  make it build without these options.

This fixes the problem reported by hubertf.
2006-08-23 22:59:45 +00:00
bjh21 b223d41e99 gettime and settime functions are meant to return errno values. Make
the pcf8583 ones do so.
2006-08-23 21:21:34 +00:00
dogcow 51faed03f9 move #ifdef up a few lines to prevent unused variable warning/error 2006-08-23 21:17:48 +00:00
bjh21 a707189c87 Use VALID_R15_PSR() to check the context we're restoring in
linux_sys_sigreturn().  Somehow this got missed when I introduced that macro.
2006-08-23 21:16:58 +00:00
wiz 3c488ef896 It is sendmail(1), not sendmail(8). Prepare for HTML output.
Remove trailing space.
2006-08-23 21:02:29 +00:00
wiz d728febe7a Sort options. Sync usage with man page. 2006-08-23 20:59:09 +00:00
wiz 2161b003f1 Sort sections. Fix typos. 2006-08-23 20:53:53 +00:00
mrg 8274a24af8 point out the GCC4 dirs not the GCC3 dirs. 2006-08-23 20:52:15 +00:00
wiz f46bc596c0 Remove duplicate word. Markup fixes. 2006-08-23 20:50:37 +00:00
mrg 4f8b9b11de regenerate with recent wchar/iconv fixes. 2006-08-23 20:47:02 +00:00
wiz 18a66ca024 Bump date for previous. 2006-08-23 20:46:22 +00:00
mrg 467d749333 pass RAW_GCC_FOR_TARGET when running configure-target-libstdc++-v3.
now iconv and wchar_t things are properly set.  still missing
_GLIBCXX_HAVE_S_IFREG and _GLIBCXX_USE_NLS.
2006-08-23 20:45:24 +00:00
wiz b15d7e5bff Add section number to Xr. 2006-08-23 20:41:44 +00:00
wiz e4113c2f20 Bump date for previous. 2006-08-23 20:39:01 +00:00
wiz 3782003a6e Bump date for previous. Use Dv for defined values. 2006-08-23 20:38:25 +00:00
wiz b434ed6c96 Mark up WSDISPLAYIO_*. 2006-08-23 20:36:36 +00:00
adrianp 3d8cbc06ba A problem has been identified in the in-kernel PPP code shared by ISDN PPP
interfaces ippp(4) and pppoe(4). Insufficient checking of options presented
by the peer may cause writing of copies of the malicious input beyond the
end of a buffer allocated for that purpose.

Issue found by pavel@
Fix from martin@

This is SA2006-019 (CVE-2006-4304)
2006-08-23 20:02:23 +00:00
manu 81c909dd45 1) Complete Linux exit_group() emulation
Members of the thread group must die without reporting to the parent and
without going to zombie stage. We do that by reparenting to init before
catching a SIGKILL. The parent will not see the child death.

The thread group leader must report the exit status, even if it exits
because of another thread calling exit_group(). We do that by storing the
exit status in struct linux_emuldata_shared, and the exit hook has the
duty of setting struct proc's p_xstat for the thread group leader.

2) For exit/fork/exec hooks, move the NPTL specific code to separate functions
that are shared between COMPAT_LINUX and COMPAT_LINUX32

3) Fix LINUX_CLONE_PARENT_SETTID semantics
2006-08-23 19:49:09 +00:00
jdc 52ef6583f9 Add some more debugging information. 2006-08-23 19:23:55 +00:00
jdc ed312f0773 When deleting windows and screens, also set to NULL the standard names
that refer to the window or screen just deleted.
Add some more debugging information.
2006-08-23 19:23:14 +00:00
jdc c4b88fb280 Make sure we update the correct window when changing colour pairs. 2006-08-23 19:20:37 +00:00