Commit Graph

82297 Commits

Author SHA1 Message Date
Robert Watson
03ce2c0c9b 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
Warner Losh
d21258022e MACHINE_ARCH is wrong here. It should be MACHINE
Submitted by: nyan@ (Yoshihiro-san)
2002-10-27 06:31:37 +00:00
Warner Losh
c74fe6af7f Mention the need to have COMPAT_FREEBSD4 in the kernel you use for the
upgrade.
2002-10-27 04:48:31 +00:00
Garrett Wollman
8dcb75fc8d Remove unnecessary compatibility macro. (We were only printing, not parsing,
intmax_t.)
2002-10-27 04:14:08 +00:00
Garrett Wollman
11e3dcb669 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 Wemm
e0208e5320 Add NO_COMPAT_FREEBSD4.
Submitted by:	Sergey Mokryshev <mokr@mokr.net>
2002-10-27 03:41:35 +00:00
Peter Wemm
6ef0c7707d 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 Moolenaar
5d5e1c2b12 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 Kennaway
eb0f0a174a 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
Bruce A. Mah
2466516a6c Allow users to read the Early Adopter's Guide in sysinstall. 2002-10-27 01:49:45 +00:00
Warner Losh
b705ae1084 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 Wemm
52fe5948a0 Un-remove sysinstall for ia64. 2002-10-27 00:22:05 +00:00
Peter Wemm
7e50af21ba 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
Nate Lawson
dfb87d2239 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
Warner Losh
f643de42bb 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
Warner Losh
5c195f592b 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
Poul-Henning Kamp
077f9aa12e 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
Hajimu UMEMOTO
ddb2984b5d query ip6.arpa then ip6.int for IPv6 reverse lookup. follows RFC3152.
MFC after:	5 days
2002-10-26 19:00:14 +00:00
Maxime Henrion
5b8ee62bc2 Fix a style nit. 2002-10-26 18:19:46 +00:00
Maxime Henrion
6d2eae5731 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
Maxime Henrion
a8cdde69c2 Add a missing destroy_dev(). 2002-10-26 18:09:30 +00:00
Jake Burkholder
8d9faed03e 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 Burkholder
5b412c08c2 Remove an unused macro. 2002-10-26 17:36:37 +00:00
Bruce A. Mah
440ec8d216 Modified release notes: Add a note to geom(4) entry about the demise
of compatability slices.
2002-10-26 17:27:35 +00:00
Bruce A. Mah
166c6170eb 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
Bruce A. Mah
f2ed9a472e Point to the Early Adopter's Guide from the README. 2002-10-26 17:00:39 +00:00
Yoshihiro Takahashi
4b8d81b418 MFi386: revisions 1.544 and 1.545. 2002-10-26 15:44:06 +00:00
Alexey Zelkin
1f1e884a91 Add & hookup manpage for pthread_attr_get_np(3).
MFC after:	3 days
2002-10-26 15:04:29 +00:00
Robert Watson
763bbd2f4f 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
Alexey Zelkin
49d7a091ac Prototype for pthread_attr_get_np(). 2002-10-26 13:58:12 +00:00
Alexey Zelkin
cab33357a5 Hook uthread_attr_get_np.c to build 2002-10-26 13:55:35 +00:00
Alexey Zelkin
6dc0be5f9f 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
Alexey Zelkin
64536616e6 Be more agresive on arguments' checking.
OK'ed by:	deischen
MFC after:	3 days
2002-10-26 13:47:06 +00:00
Sebastien Gioria
0607fb02d9 MFen 1.111 2002-10-26 12:36:38 +00:00
Thomas Moestl
08e0fdeb39 Call bpf_mtap() on outgoing packets. 2002-10-26 12:32:07 +00:00
Tim J. Robbins
ec6b67d043 Add tests for btowc(), mbrlen(), mbsrtowcs() and wcsrtombs(). 2002-10-26 07:56:47 +00:00
Warner Losh
63cb445e51 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
Warner Losh
fc8c157fad 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 Wemm
3556388d17 Add COMPAT_FREEBSD4 here too. It has COMPAT_43 as well. 2002-10-26 04:58:36 +00:00
Peter Wemm
c69d7e2f4f Add COMPAT_FREEBSD4 for the transition. COMPAT_43 was already present. 2002-10-26 04:57:19 +00:00
Bruce A. Mah
ce2943501f 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
Julian Elischer
053effc60e iBack out david's last commit. the suspension code needs to be called
for non KSE processes too.
2002-10-26 04:44:17 +00:00
Tim J. Robbins
1ba72e3513 Add regression tests for mbrtowc(3) and wcrtomb(3). 2002-10-26 04:40:16 +00:00
David Xu
3139ada54c Move suspension checking code from userret() into thread_userret(). 2002-10-26 02:56:51 +00:00
Bruce A. Mah
8dbf84eec4 Sigh. Fix past-o in install directory. 2002-10-26 01:37:09 +00:00
David Xu
56a6a23ea6 Backout revision 1.48. 2002-10-26 01:26:36 +00:00
Bill Fenner
be9faa3290 Fix "err" usage.
PR:		44284
Submitted by:	Sergey Mokryshev <mokr@mokr.net>
2002-10-26 00:18:06 +00:00
Bill Fenner
dab1b45261 Fix two typos. Using "-eq" instead of "=" in a [ caused an error when
an entry in /etc/sysctl.conf didn't exist.  Fixing this exposed a minor
typo "exits" vs. "exist".

However, there doesn't appear to be any provision to run this with
the "lastload" argument, meaning that the error will never appear.
2002-10-25 23:02:54 +00:00
Chris Costello
76b4b15fcf Document the `maclabel' command.
Obtained from:	TrustedBSD Project
Sponsored by:	Network Associates Laboratories
2002-10-25 22:40:37 +00:00
Sam Leffler
57b6353534 o m_adj rx buffer so IP header is 32-bit aligned
o replace EPIC_MGETCLUSER with m_getcl

MFC after:	1 week
2002-10-25 22:06:03 +00:00