Commit Graph

68031 Commits

Author SHA1 Message Date
ru
e685226302 mdoc(7) police: remove the debugging stuff I use to prevent
hyphenation (so that the output could be spell-checked).
2001-12-12 15:15:46 +00:00
ru
1af36d2081 mdoc(7) police: minor markup nits. 2001-12-12 15:02:32 +00:00
ru
84f883bb74 mdoc(7) police: fix markup, bump document date. 2001-12-12 14:53:51 +00:00
ru
3d0ef85101 mdoc(7) police: kill HSBs, add missing comma. 2001-12-12 14:41:53 +00:00
ru
78899bd0ef mdoc(7) police: fix markup. 2001-12-12 14:40:09 +00:00
ru
ed368a1045 mdoc(7) police: Minor formatting nits and optimizations to rev. 1.34. 2001-12-12 14:36:28 +00:00
nyan
a59db7704d MFi386: revision 1.35 (Add support for writing to BIOS disks) 2001-12-12 13:47:04 +00:00
ru
d0c606c1bd mdoc(7) police: use no-break space. 2001-12-12 13:46:15 +00:00
ru
a939f4a6f1 mdoc(7) police: use no-break space, fix markup. 2001-12-12 13:45:35 +00:00
ru
d03afe2342 mdoc(7) police: use non-break space, remove whitespace at EOL, fix markup. 2001-12-12 13:42:25 +00:00
nyan
be7a644187 MFi386: revision 1.485 (the previous commit is not completely) 2001-12-12 12:27:59 +00:00
roam
0043240295 Set the script_name_sep variable to a safe value if it is not
already set (e.g. a failed/skipped mergemaster run during an upgrade).
Without this, if script_name_sep was not set in the rc.conf files,
local scripts will not be executed on startup or shutdown.

PR:		misc/32687
Submitted by:	Nicholas Paufler <echofox@discordia.ca> (the problem)
		Sheldon Hearn (the idea behind the fix)
Reviewed by:	sheldonh
MFC after:	1 week
2001-12-12 10:12:20 +00:00
sheldonh
e351feb646 Connect libiconv to the build.
Recent work by fjoe and bp has fixed smbfs.  The smbfs module
can now be loaded once libiconv and libmchain have been loaded,
and works!
2001-12-12 10:11:16 +00:00
wilko
9595eb4702 Unix: Just Say No..
Obtained from:	Jan.Hendriks@Compaq.com
MFC after:	3 days
2001-12-12 09:49:02 +00:00
alfred
7ae2ddd405 Fix select on named pipes without a reader.
PR: kern/19871
MFC after: 1 month
2001-12-12 09:35:33 +00:00
ru
d27bd7160f More "const" poisoning, and only use NO_WERROR if we're bootstrapping. 2001-12-12 08:49:51 +00:00
jhb
6394a9f716 Axe an unneeded PCPU_SET(spinlocks, NULL) that I missed earlier. 2001-12-12 08:07:41 +00:00
alfred
13d622545c Fix a number of subtle and evil bugs in the libc_r wrapping of sendfile(2).
o) Since we unwrap the sendfile syscall, check the return value of
   writev(2) to see if it didn't complete all the data.
   Previously if only a partial writev() succeeded, it would proceed
   to sendfile(2) even though the headers weren't completely sent.

o) Properly adjust the "bytes to send" to take into account sendfile(2)'s
   behaviour of counting the headers against the bytes to be transfered
   from the file.

o) Correct the problem where EAGAIN was being returned from _sys_sendfile(2)
   however the wrapper didn't update the 'sent bytes' parameter to take into
   account for it.  This is because sendfile can return EAGAIN even though
   it has actually transfered data.

Special thanks to Justin Erenkrantz <jerenkrantz@apache.org> for bringing
this to my attention and giving an excellent way to reproduce the problem.

PR: kern/32684
MFC After: 1 week
2001-12-12 08:02:24 +00:00
arr
84bcda9834 - Fix sysctl mib examples in order to reflect the recent changes in
kern_jail.c

Approved by: 	rwatson
Reviewed by:	rwatson
2001-12-12 05:28:42 +00:00
arr
a83ce1350e - Update the sysctl mibs in order to reflect the recent kern_jail.c
changes.

Approved by:	rwatson
Reviewed by:	rwatson
2001-12-12 05:24:50 +00:00
arr
e55fee2143 - Move _jail sysctl node underneath _kern_security in order to standardize
where our security related sysctl tuneables are located.  Also, this
  will help if/when we move _security node out from under _kern as to help
  make _kern less cluttered.

Approved by:	rwatson
Review by:	rwatson
2001-12-12 05:23:20 +00:00
markm
fa1f2b9280 WARNS=2 fixes with NO_WERROR set, as there are some header issues
with namelists. use __FBSDID().
2001-12-12 00:13:37 +00:00
markm
a5ca913bde Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
markm
a1e7edd73c Protect this against the coming WARNS=2 default. 2001-12-12 00:05:16 +00:00
markm
d7e4e2a006 WARNS=2 fixes, use __FBSDID(). 2001-12-12 00:01:16 +00:00
bmah
52b8de5a2e Make manpage links for 5.0-CURRENT release documents explicitly access the
FreeBSD 5.0-CURRENT manpages on the Web site, instead of pointing at
the (possibly wrong) default manpages.

MFC after:	3 days
2001-12-11 23:55:41 +00:00
markm
a82545dcd4 WARNS=2 fixes with NO_WERROR set because of system-header originating
warnings. Use __FBSDID().
2001-12-11 23:51:14 +00:00
markm
7f940dc06c WARNS=2 fixes. use __FBSDID(). 2001-12-11 23:44:53 +00:00
markm
1aabf9d8de WARNS=2 fixes. NO_WERROR set as there are some hard-to-fix
signed/unsigned comparisons. Use __FBSDID().
2001-12-11 23:43:15 +00:00
markm
d392ea4ac5 WARNS=2 fixes, use __FBSDID(). 2001-12-11 23:39:38 +00:00
markm
832832ca4c WARNS=2 is going to be the default, so don't specify it. Use __FBSDID(). 2001-12-11 23:38:24 +00:00
markm
eddee66a58 WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 23:36:25 +00:00
markm
87c4eaeeed Partial WARNS=1 fizes with NO_WERROR set to prevent world breakage.
Use __FBSDID().
2001-12-11 23:34:02 +00:00
jhb
21b6b26912 Overhaul the per-CPU support a bit:
- The MI portions of struct globaldata have been consolidated into a MI
  struct pcpu.  The MD per-CPU data are specified via a macro defined in
  machine/pcpu.h.  A macro was chosen over a struct mdpcpu so that the
  interface would be cleaner (PCPU_GET(my_md_field) vs.
  PCPU_GET(md.md_my_md_field)).
- All references to globaldata are changed to pcpu instead.  In a UP kernel,
  this data was stored as global variables which is where the original name
  came from.  In an SMP world this data is per-CPU and ideally private to each
  CPU outside of the context of debuggers.  This also included combining
  machine/globaldata.h and machine/globals.h into machine/pcpu.h.
- The pointer to the thread using the FPU on i386 was renamed from
  npxthread to fpcurthread to be identical with other architectures.
- Make the show pcpu ddb command MI with a MD callout to display MD
  fields.
- The globaldata_register() function was renamed to pcpu_init() and now
  init's MI fields of a struct pcpu in addition to registering it with
  the internal array and list.
- A pcpu_destroy() function was added to remove a struct pcpu from the
  internal array and list.

Tested on:	alpha, i386
Reviewed by:	peter, jake
2001-12-11 23:33:44 +00:00
markm
279222ba62 WARNS=2 fixes, use __FBSDID(). 2001-12-11 23:29:45 +00:00
markm
a71a530c96 WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
markm
b986f33d02 WARNS=2 fixes. 2001-12-11 23:25:13 +00:00
markm
66061c79bd WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 23:20:23 +00:00
markm
ce71668417 WARNS=2 is to become the default, so remove. Use __FBSDID(). 2001-12-11 23:18:25 +00:00
markm
7344bc0c0c WARNS=2 fixes, use __FBSDID(). 2001-12-11 23:16:25 +00:00
markm
59796f812d WARNS=2 is to become the default, so remove it from here. 2001-12-11 23:14:43 +00:00
markm
2b9e49a79f Protect this from the coming WARNS=2 default. 2001-12-11 23:12:44 +00:00
markm
c5cd5cd156 WARNS=2 fix, kill register keyword, use __FBSDID().
NO_WERROR set because of hard-to-fix warnings originating in
system headers.
2001-12-11 23:10:26 +00:00
markm
7df3906a00 Protect this against the to-come WARNS=2 default. 2001-12-11 23:05:06 +00:00
markm
b4090206eb WARNS=2 fix, add externs.h to centralise external prototypes,
use __FBSDID(), kill register keyword.
2001-12-11 23:02:44 +00:00
markm
7320009338 WARNS=2 fixes, but set NO_WERROR, as there are some HardToFix(tm)
warnings originating in system headers.
2001-12-11 22:59:36 +00:00
markm
ad3748f9ba Remove WARNS=2 as this is to become default. 2001-12-11 22:56:05 +00:00
markm
97dc1962a9 WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 22:54:36 +00:00
markm
4a776e8d0d WARNS=2 fixes. 2001-12-11 22:52:36 +00:00
markm
50e4bbdea1 WARNS=2, use __FBSDID(), set NO_WERROR, as there are "dirty" files used
during the bootstrap phase.
2001-12-11 22:46:42 +00:00