Commit Graph

82457 Commits

Author SHA1 Message Date
phk
4a5e62a6e7 Fix the regexp evilness so that fdisk can (again?) find the device
root is on from the root mount path.

Spotted by:	imp
2002-10-27 10:52:54 +00:00
tjr
dd9e331ae2 Style sweep. 2002-10-27 10:41:21 +00:00
phk
c9805dcdfb Don't attempt to find the geometry with disklabel based ioctl, it just
issues a useless warning now.
2002-10-27 10:33:38 +00:00
phk
4772146a86 Don't truncate on large disks. 2002-10-27 10:17:38 +00:00
gioria
c3c370c16a Translation of DOS and QIC/SCSI tape section 2002-10-27 10:11:27 +00:00
ue
5a7d726e13 MFbed:
hardware/alpha/proc-alpha.sgml: 1.44  -> 1.45
hardware/common/dev.sgml:	1.110 -> 1.111
relnotes/common/new.sgml:	1.437 -> 1.439
2002-10-27 09:58:43 +00:00
gioria
70ac846241 MFen 1.5 2002-10-27 08:47:38 +00:00
rwatson
653f637c44 Implement mac_check_system_sysctl(), a MAC Framework entry point to
permit MAC policies to augment the security protections on sysctl()
operations.  This is not really a wonderful entry point, as we
only have access to the MIB of the target sysctl entry, rather than
the more useful entry name, but this is sufficient for policies
like Biba that wish to use their notions of privilege or integrity
to prevent inappropriate sysctl modification.  Affects MAC kernels
only.  Since SYSCTL_LOCK isn't in sysctl.h, just kern_sysctl.c,
we can't assert the SYSCTL subsystem lockin the MAC Framework.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-27 07:12:34 +00:00
rwatson
be98961ae9 Hook up mac_check_system_reboot(), a MAC Framework entry point that
permits MAC modules to augment system security decisions regarding
the reboot() system call, if MAC is compiled into the kernel.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-27 07:03:29 +00:00
rwatson
8cd9e63819 Merge from MAC tree: rename mac_check_vnode_swapon() to
mac_check_system_swapon(), to reflect the fact that the primary
object of this change is the running kernel as a whole, rather
than just the vnode.  We'll drop additional checks of this
class into the same check namespace, including reboot(),
sysctl(), et al.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-27 06:54:06 +00:00
imp
09dbfe82dc MACHINE_ARCH is wrong here. It should be MACHINE
Submitted by: nyan@ (Yoshihiro-san)
2002-10-27 06:31:37 +00:00
imp
6cdbffc797 Mention the need to have COMPAT_FREEBSD4 in the kernel you use for the
upgrade.
2002-10-27 04:48:31 +00:00
wollman
0877034abe Remove unnecessary compatibility macro. (We were only printing, not parsing,
intmax_t.)
2002-10-27 04:14:08 +00:00
wollman
42aee7688f Add new 1003.1-2001/TC1/D6 parameters. (On final recirculation ballot now,
so this should be officially TC1 before the New Year.)

Add TrustedBSD pathconf parameters.

Add compilation support for -stable (to be merged momentarily).
2002-10-27 04:10:34 +00:00
peter
1a051dea64 Add NO_COMPAT_FREEBSD4.
Submitted by:	Sergey Mokryshev <mokr@mokr.net>
2002-10-27 03:41:35 +00:00
peter
921fb01865 DISTDIR is used by 'make release', lets see if this is enough to turn
off the execution test.
2002-10-27 03:38:57 +00:00
marcel
533c9e0971 o Add functionality to add a GPT partition,
o  Use DCE compliant UUID functions and provide local
   implementations if they don't exist,
o  Move dumping of the map to show.c and print the
   partition type,
o  Some cleanups and rearrangements.

The default GPT partition type is UFS. When no starting block
or size are specified, the tool will create a partition in the
first free space it find (or that fits, depending on the size).
2002-10-27 03:23:05 +00:00
kris
9316f3838a Don't dump core if none of the directories in /etc/manpath.config exist.
Submitted by:	terry
2002-10-27 02:12:52 +00:00
bmah
ac78845d15 Allow users to read the Early Adopter's Guide in sysinstall. 2002-10-27 01:49:45 +00:00
imp
583aa98e88 Note the scary messages that you see when mounting / and other things
are expected and normal when you've booted a 5.0 kernel with a 4.x
userland.
2002-10-27 01:35:36 +00:00
peter
aca99d41be Un-remove sysinstall for ia64. 2002-10-27 00:22:05 +00:00
peter
29db798cec Add back ia64 support that was removed in the last few revisions.
I've cloned write_ia64_disk.c from write_i386_disk.c.
2002-10-27 00:21:02 +00:00
njl
588d4313cd Convert speed into KB/s. This was missed by the previous commit to this file.
MFC after:	3 weeks
2002-10-26 23:32:35 +00:00
imp
3eea619b0f State the stupidly obvious:
If /tmp is on /, then blowing away its contents, as appropriate,
	may get you enough space to do the installworld.
2002-10-26 22:55:43 +00:00
imp
ed7e384ac9 Note: 5.0 requires more space. If you don't have 30MB free on /, then
you are going to get hurt badly if you try to do an update from
sources.  Make a note of this.  While 'experts' could install it in
less space, I think 30MB is a good number.
2002-10-26 22:50:31 +00:00
phk
fe41e143c1 Make geom_mbr.c optional on PC98, use GEOM_MBR option to include it.
Disable check for supposedly magic "IPL1" string for PC98 labels, its
thaumaturgical power is in doubt.
2002-10-26 20:17:59 +00:00
ume
46eab90645 query ip6.arpa then ip6.int for IPv6 reverse lookup. follows RFC3152.
MFC after:	5 days
2002-10-26 19:00:14 +00:00
mux
65fb9af8bb Fix a style nit. 2002-10-26 18:19:46 +00:00
mux
81cc70c469 In VOP_LOOKUP, don't deny DELETE and RENAME operations
when ISLASTCN is not set.  The actual file which is being
looked up may live in a different filesystem.
2002-10-26 18:16:19 +00:00
mux
d2ac0d86f6 Add a missing destroy_dev(). 2002-10-26 18:09:30 +00:00
jake
ce564f5edf Allow deprecated or unimplemented system call vectors to deliver SIGSYS,
as suggested by the sparc v9 ABI.
2002-10-26 17:38:20 +00:00
jake
83d0eead07 Remove an unused macro. 2002-10-26 17:36:37 +00:00
bmah
0da8e2ee6e Modified release notes: Add a note to geom(4) entry about the demise
of compatability slices.
2002-10-26 17:27:35 +00:00
bmah
771abe87e2 Get rid of the boilerplate upgrading information in the release notes,
and point to the Early Adopter's Guide instead, at least for the next
release or two.
2002-10-26 17:13:01 +00:00
bmah
e5d68aabba Point to the Early Adopter's Guide from the README. 2002-10-26 17:00:39 +00:00
nyan
ed37829166 MFi386: revisions 1.544 and 1.545. 2002-10-26 15:44:06 +00:00
phantom
0fc7234ce3 Add & hookup manpage for pthread_attr_get_np(3).
MFC after:	3 days
2002-10-26 15:04:29 +00:00
rwatson
312cab0dee Slightly change the semantics of vnode labels for MAC: rather than
"refreshing" the label on the vnode before use, just get the label
right from inception.  For single-label file systems, set the label
in the generic VFS getnewvnode() code; for multi-label file systems,
leave the labeling up to the file system.  With UFS1/2, this means
reading the extended attribute during vfs_vget() as the inode is
pulled off disk, rather than hitting the extended attributes
frequently during operations later, improving performance.  This
also corrects sematics for shared vnode locks, which were not
previously present in the system.  This chances the cache
coherrency properties WRT out-of-band access to label data, but in
an acceptable form.  With UFS1, there is a small race condition
during automatic extended attribute start -- this is not present
with UFS2, and occurs because EAs aren't available at vnode
inception.  We'll introduce a work around for this shortly.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-26 14:38:24 +00:00
phantom
5de667a68d Prototype for pthread_attr_get_np(). 2002-10-26 13:58:12 +00:00
phantom
3631551555 Hook uthread_attr_get_np.c to build 2002-10-26 13:55:35 +00:00
phantom
8f5987caa9 Add pthread_attr_get_np() function. This is FreeBSD non-portable POSIX threads
extenston function. It supposed to provide facility to get already created
thread's attributes. Looks like it's last thing we need to make JDK's Hotspot
building without requirement to have source tree.

Reviewed by:	deischen
MFC after:	3 days
2002-10-26 13:53:22 +00:00
phantom
aa436ba4b0 Be more agresive on arguments' checking.
OK'ed by:	deischen
MFC after:	3 days
2002-10-26 13:47:06 +00:00
gioria
f1a2b7fcfe MFen 1.111 2002-10-26 12:36:38 +00:00
tmm
d0b6b7a6ad Call bpf_mtap() on outgoing packets. 2002-10-26 12:32:07 +00:00
tjr
9cf397c653 Add tests for btowc(), mbrlen(), mbsrtowcs() and wcsrtombs(). 2002-10-26 07:56:47 +00:00
imp
efbb8c34b9 A simple make world is too dangerous for most upgrades. Instead, copy
the updating from stable section, and remove the kludge-o-rounds that
are in there.

Sometimes make world is safe, sometimes not.  Let's document the safe
way to deal.
2002-10-26 06:25:11 +00:00
imp
1e997a7069 Note GEOM removal of the compatibility slice, and what you, the
upgrader needs to do about it.

Also, greatly expand the the upgrading from -stable part of this file.
It appears that you need new boot blocks to ensure that the right
kernel is booted single user.
2002-10-26 06:21:00 +00:00
peter
b597459f26 Add COMPAT_FREEBSD4 here too. It has COMPAT_43 as well. 2002-10-26 04:58:36 +00:00
peter
bbcb1cd71b Add COMPAT_FREEBSD4 for the transition. COMPAT_43 was already present. 2002-10-26 04:57:19 +00:00
bmah
2881d3ce89 Hook the early adopter's guide into the release build. Its basename
is "EARLY", which is kind of an odd name, but I couldn't think of
anything better that fit the traditional 8.3 naming convention for
release documentation files.
2002-10-26 04:48:55 +00:00