Commit Graph

83880 Commits

Author SHA1 Message Date
ru
4084a2d94b mdoc(7) police: fixed the document date (the current date was used, as
documented in mdoc(7)).

Approved by:	re
2002-12-11 15:37:55 +00:00
ru
40d653afff Fixed the parameter's name.
PR:		docs/46183
Submitted by:	Dirk Gouders <gouders@et.bocholt.fh-ge.de>
Approved by:	re
2002-12-11 14:04:37 +00:00
chris
f55ab56cd6 Un-break world.
Reported by:	Ray Kohler <ataraxia@cox.net>
Approved by:	re (blanket)
2002-12-11 03:25:35 +00:00
sobomax
1b20360e4f Backout unapproved WARNS level change occasionally slipped into previous
commit.

Big pointy hat to:	sobomax
2002-12-11 01:21:57 +00:00
sobomax
aaf3d7c459 - Allow comments to be placed at the end of configuration line.
Sponsored by:   Porta Software Ltd
Approved by:    re
MFC after:      2 weeks
2002-12-11 01:19:56 +00:00
chris
ec4660a067 Fix an mdoc error (call .Bd with -literal)
Sponsored by:	DARPA, Network Associates Labs
Approved by:	re (blanket)
2002-12-11 01:10:20 +00:00
chris
e02dd1a368 Document the following MAC policies:
o ifoff: Interface silencing policy
o partition: Process partitioning policy

Add associated Makefile entries and man page cross-references.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Labs
Approved by:	re (blanket)
2002-12-11 01:02:26 +00:00
marcel
9050c80f1d Pass the HCDP table address to the kernel. If no such table exists,
NULL is passed. The address of the HCDP table can be found by
iterating over the configuration tables in the EFI system table.
To avoid more duplication, a function can be called with the GUID
of interest. The function will do the scanning. Use the function
in all places where we iterate over the configuration tables in
an attempt to find a specific one.

Bump the loader version number as the result of this.

Approved by: re (blanket)
2002-12-10 20:11:20 +00:00
bmah
2efe31ec15 Add ${BUILDNAME} and ${TARGET} to the filenames of ISO images
generated during release builds.

For the most part, re@ was doing this manually before putting ISO images
on ftp-master, but not always.  This should make naming more consistent
and descriptive.

Requested by:	jason andrade <jason@dstc.edu.au>, hubs@
Approved by:	re (rwatson)
MFC after:	1 month
2002-12-10 16:35:44 +00:00
rwatson
f38706bfe3 Default policies to on: if you load them or compile them into your
kernel, you should expect them to do something, so now they do.  This
doesn't affect users who don't load or explicitly compile in the
policies.

Approved by:	re (jhb)
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-12-10 16:20:34 +00:00
scottl
25d9b23924 Play nice with GEOM and use the appropriate ioctls for getting the
partition size and sector size.  The old way of groveling through the
disklabel doesn't work anymore.

Noticed by:	anholt
Approved by:	re
2002-12-10 15:52:56 +00:00
ru
90d96c8e32 mdoc(7) police: overhaul.
Approved by:	re
2002-12-10 14:21:55 +00:00
ru
82284b8381 mdoc(7) police: nit.
Approved by:	re
2002-12-10 14:20:38 +00:00
ru
e2a27910c5 mdoc(7) police: overhaul (including adoptation to FreeBSD).
Approved by:	re
2002-12-10 14:20:02 +00:00
mbr
7a78c7de76 Check if rpcbind is already running and print a warning.
Fixes segfault if rpcbind is started up a second time.

Solution has been taken from mountd(8).

Reviewed by:	phk
Approved by:	re (rwatson)
2002-12-10 08:47:18 +00:00
marcel
9ca0668125 The exit() function has been moved to libefi.c to better deal with
cleaning up after ourselves.

Approved by: re (blankoscheck)
German corrections: Alexander (both :-)
2002-12-10 06:27:32 +00:00
marcel
2b58aefd52 Change the startup code to fix a memory leak and to allow us to
accept load options (=command line options).

The call graph changes from *entry*->efi_main->efi_init, where
efi_main is the EFI equivalent of main to *entry*->efi_main->main,
where main is what you'd expect. efi_main now is what efi_init was.
The prototype of main follows that of C. The first argument is argc
and the second is argv. There is no third argument.
Allocation of heap pages is now handled by the EFI library and it
now deallocates the pages when main() returns or when exit() is
called. This allows us to safely return to the boot manager (or
EFI shell) without leaks. EFI applications are responsible to free
all memory themselves.

Handling of the load options is a bit tricky. There are either no
load options, load options in ASCII or load options in Unicode.
The EFI library will translate the ASCII options to Unicode options
as to simplify user code. Since the load options are passed as a
single string (if present) and main() accepts argc and argv, the
startup code also has to split the string into words and build the
argv vector. Here the trickiness starts. When the loader is started
from the EFI shell, argv[0] will automaticly load the program name.
In all other cases (ie through the boot manager), this is not the
case. Unfortunately, there's no trivial way to check. Hence, a
set of conditions is checked to determine if we need to fill in
argv[0] ourselves or not. This checking is not perfect. There are
known cases where it fails to do the right thing. The logic works
for most expected cases, though. This includes the case where no
options are given.

Approved by: re (blanket)
2002-12-10 06:22:25 +00:00
marcel
f4623ed867 o Make all GUID variables global to maximize reuse.
o  Recognize the HCDP configuration table.
o  Dump the GUID of tables we don't recognize.

Approved by: re (carte blanche)
2002-12-10 04:55:25 +00:00
marcel
2d2da6e200 Build EFI with -fshort-wchar so that L"some string" works with the
EFI has defined CHAR16.
2002-12-10 04:20:15 +00:00
marcel
68a001789e Remove _putchar, _puts and _puthex. These functions are unused.
Approved by: re (blanket)
2002-12-10 04:14:01 +00:00
julian
9868d96f1f Unbreak the KSE code. Keep track of zobie threads using the Per-CPU storage
during the context switch. Rearrange thread cleanups
to avoid problems with Giant. Clean threads when freed or
when recycled.

Approved by:	re (jhb)
2002-12-10 02:33:45 +00:00
grehan
9349f70114 Add powerpc.h. Still missing powerpc.[ch] in gprof, but this gets
the MI stuff out of the way.

Approved: re (rwatson)
2002-12-10 02:22:01 +00:00
chris
6b856f7a96 Document the following MAC policies:
o None: Stub policy
o Seeotheruids: The "see processes and sockets owned by other users" policy
o Test: Debugging policy

Standardize the SYNOPSIS and HISTORY sections.

Update SEE ALSO sections.
2002-12-10 00:39:17 +00:00
benno
7be4041b22 Teach lint about powerpc.
Approved by:	re (rwatson)
2002-12-09 23:27:47 +00:00
rwatson
8a993d48c8 Unhook LOMAC sysinstall twiddle for the time being: mac_lomac requires
the MAC Framework to be compiled into the kernel, and that's not
well-expressed in sysinstall.

Approved by:	re (bmah)
2002-12-09 19:06:43 +00:00
bmah
c2273f468f Move lang/perl5 from the "want to have on disc1" to the "sysinstall
requires on disc1" part of the package split list, to track the
Perl support in sysinstall.  Essentially a cosmetic change.

Approved by:	re
2002-12-09 16:55:25 +00:00
murray
1bc2e29c9e Only create the DRIVERS.TXT file on i386 for now.
Approved by:	re
2002-12-09 16:42:23 +00:00
murray
daebc41b6b Create DRIVERS.TXT file to describe the contents of drivers.flp.
Approved by:	re
2002-12-09 16:14:46 +00:00
murray
7a64c79018 Add a script to create a manifest of the drivers.flp disk. This
generates a file which will be installed as DRIVERS.TXT in the
floppies directory so that users know which device drivers are
included on drivers.flp, and whether or not they need to worry about
it.

Reviewed by:	ru
Approved by:	re
2002-12-09 16:13:37 +00:00
murray
f0b3c3e57d Note that users may need the third drivers.flp image to complete an
installation.

Approved by:	re (bmah)
2002-12-09 16:11:56 +00:00
ru
d1a4fc87b6 mdoc(7) police: overhaul.
Reviewed by:	re
2002-12-09 14:29:34 +00:00
ru
c3c9add94c mdoc(7) police: tiny nits.
Approved by:	re
2002-12-09 14:11:37 +00:00
ru
3ae151638f mdoc(7) police: tiny nits.
Approved by:	re
2002-12-09 14:04:05 +00:00
ru
bd8413493a mdoc(7) police: overhaul.
Approved by:	re
2002-12-09 13:54:29 +00:00
ru
6ab573ad83 mdoc(7) police: nits.
Approved by:	re
2002-12-09 13:14:15 +00:00
ru
d1850b7d0a mdoc(7) police: markup nits.
Approved by:	re
2002-12-09 13:06:34 +00:00
ru
fe879635b2 mdoc(7) police: nits.
Approved by:	re
2002-12-09 12:47:18 +00:00
ru
f9f2ca15a5 mdoc(7) police: overhaul. 2002-12-09 12:41:29 +00:00
ru
f1592500a6 mdoc(7) police: markup nits.
Approved by:	re (blanket)
2002-12-09 12:28:33 +00:00
roger
27d50786e2 Fix a panic unloading the bktr driver when devfs is in use.
PR:	kern/36413
2002-12-09 09:04:09 +00:00
rwatson
c5caffe9c4 Remove dm_root entry from struct devfs_mount. It's never set, and is
unused.  Replace it with a dm_mount back-pointer to the struct mount
that the devfs_mount is associated with.  Export that pointer to MAC
Framework entry points, where all current policies don't use the
pointer.  This permits the SEBSD port of SELinux's FLASK/TE to compile
out-of-the-box on 5.0-CURRENT with full file system labeling support.

Approved by:	re (murray)
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-12-09 03:44:28 +00:00
rwatson
5fcceddc07 Remove documentation of ENABLE_VFS_IOOPT: we don't want people to use
it, so don't suggest it.  It's likely going away soon also, so avoid
believing it's supported.

Suggested by:	Sean Kelly <smkelly@zombie.org>
Approved by:	re
2002-12-09 03:41:37 +00:00
rwatson
e9ffc01000 Document that ENABLE_VFS_IOOPT is dangerous. Please don't use it.
Suggested by:	alc
Approved by:	re (murray)
2002-12-09 03:38:03 +00:00
tjr
c8d9479442 Correctly handle files with IFS characters (spaces) in their names when
cleaning up temporary files.

Submitted by:	Mike Makonnen <mtm@identd.net>
Approved by:	re
2002-12-09 02:22:50 +00:00
joe
4e69cf34a4 MFNetBSD: (partial 1.133)
- In ohci_close_pipe, wait 1ms after removing an ED to avoid possible race
  condition.

Approved by:	re (rwatson)
2002-12-09 01:41:24 +00:00
joe
0732397245 MFNetBSD:
date: 2002/09/29 20:59:30;  author: augustss;  state: Exp;  lines: +2 -7
    Remove extra call to ohci_rem_ed().  From kern/18448, Takeshi Nakayama.

Approved by:	re (rwatson)
2002-12-09 01:39:32 +00:00
lioux
1419aefa43 Add finance, hungarian, multimedia [1] and portuguese collections
PR:		45835 [1]
Submitted by:	Morten Rodal <morten@rodal.no> [1]
Approved by:	re (murray)
MFC after:	1 week
2002-12-09 01:02:42 +00:00
joe
be86fd2558 Don't corrupt the ED list whilst removing an entry.
Submitted by:	Bernd Walter <ticso@cicely8.cicely.de>
Approved by:	re (rwatson)
2002-12-09 00:55:50 +00:00
joe
8794d1e19d Add ucom.4 to the list of related man pages.
Submitted by:	keramida
Approved by:	re (murray)
2002-12-09 00:22:14 +00:00
deischen
c27018b9df For now, build and install this as libkse instead of libpthread.
This will avoid any accidental use of an experimental library.

Suggested by:	rwatson
Approved by:	re (jhb)
2002-12-08 22:43:31 +00:00