Commit graph

74450 commits

Author SHA1 Message Date
Joerg Wunsch ca06fe5647 Fix a misplaced break statement within a switch that accidentally made
it into an "#ifdef INET6" block.  This caused a (harmless but annoying)
EINVAL return value to be sent even though the operation completed
successfully.

PR:		kern/37786
Submitted by:	Ari Suutari <ari.suutari@syncrontech.com>,David Malone <dwmalone@maths.tcd.ie>
MFC after:	1 day
2002-05-10 12:48:09 +00:00
Gary Jennejohn c0a06166a0 Fix a problem which could cause some machines to hang after a warm boot.
This should be in 4.6.

Submitted by:	Ari Suutari <ari.suutari@syncrontech.com>
2002-05-10 12:04:04 +00:00
Thomas Gellekum 486730f7fd Cast the uc_mcontext member to regcontext *, not the whole ucontext_t.
PR:		35449
Submitted by:	Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
2002-05-10 10:40:46 +00:00
Thomas Gellekum ca25eaf630 Fix wrong bitmask. 2002-05-10 10:37:57 +00:00
David E. O'Brien 415f2bb46f Gather up the stragglers that depends on genrtl.h. This is -j10 safe now. 2002-05-10 10:21:19 +00:00
David E. O'Brien 01c50f1782 This was *very* -j unsafe. Add a dependency on the common generated
headers to mostly make it -j1 safe.
2002-05-10 10:14:53 +00:00
David E. O'Brien e20b0b7333 [Ab]use LDFLAGS rather than CFLAGS.
BDE tells me POSIX pretends `ld' as a directly callable entity does not exist.
2002-05-10 09:32:39 +00:00
David E. O'Brien d1bdfb40fd -ffreestanding is the word.
(also resort some CFLAGS such that the more "important" value are first so
they are easier to see)
2002-05-10 09:26:35 +00:00
David E. O'Brien 3b2b7c3e7a Change symbol values to match freebsd.h to avoid warnings. 2002-05-10 09:02:14 +00:00
David E. O'Brien 3cdd876f04 Bmake bits for Gcc 3.1.
Partially made possible by:	Wilko.Bulte@compaq.com
2002-05-10 08:54:50 +00:00
David E. O'Brien 94083430d8 Need to build libgcc.so with -nostdlib -- otherwise we try linking with
ourself.
2002-05-10 08:52:41 +00:00
David E. O'Brien 7b4716843d Use MD_EXEC_PREFIX now to get us thru `buildworld'.
The problem is the GCC driver now turns STANDARD_EXEC_PREFIX into a relative
path -- "<basename argv[0]>/../../libexec" for our normal install location.
However, in the middle of `buildworld' we need
"<basename argv[0]>/../../../../libexec" due to the prefix we tell the GCC
driver.  But either the GCC driver is buggy, or we are confusing it, as it
tries to exec "<basename argv[0]>/../../libexec/cpp0" as if it were installed
in the normal place (but isn't).
MD_EXEC_PREFIX is still absolute, so I'll use that for now.  I would like to
later make it so MD_EXEC_PREFIX is set only for `buildworld', as
MD_EXEC_PREFIX is also in the search path for libraries. Don't ask me why!
Another way is to add ${OBJFORMAT_PATH} (as set in CROSSENV) to the PATH
in src/Makefile.inc's WMAKEENV.
2002-05-10 08:41:46 +00:00
Marcel Moolenaar 1f0a8ac904 [forced commit] Previous change got piggybacked. Initial definition
of ptrace registers.

Pointy hat with donkey sounds to: marcel :-(
2002-05-10 07:45:26 +00:00
Marcel Moolenaar 3ce344cfd3 Add missing #endif 2002-05-10 07:33:11 +00:00
Tim J. Robbins c17fd4b5cf According to POSIX, exit status must be 127 if the requested utility was not
found, 126 if the execvp() failed for any other reason.

Similar to rev. 1.6 to src/usr.bin/env/env.c

Reviewed by:	mike
2002-05-10 06:39:16 +00:00
Benno Rice fafc736254 Improve our detection of an attempted duplicate entry. We may be trying to
change the page protection bits.
2002-05-10 06:27:08 +00:00
Benno Rice f2b85e7c82 Remove a debugging printf that escaped. 2002-05-10 06:26:19 +00:00
Peter Wemm ec5b87c786 Add a couple of entries. My MAINTAINER= lines are not locks. 2002-05-10 05:44:09 +00:00
David E. O'Brien f35f6d5d45 Remove files not part of GCC 3.1. 2002-05-10 05:26:57 +00:00
David E. O'Brien c16b9cb4c2 Import data for 3.0.2. 2002-05-10 05:21:15 +00:00
Benno Rice a51eb7c321 Increase the size of the kstack. 2002-05-10 05:16:40 +00:00
John Baldwin 88f0d73da4 - Axe -mpreferred-stack-boundary=2 as -Os turns this on by default.
- Axe -fdata-sections as turning it on or off makes no difference.  If
  it did make a difference it would serve to bloat boot2 even further with
  extra padding.
- Axe -fforce-addr.  This gets us 32 bytes so we are down to only being
  64-bytes over.

We still can't compile this with gcc 3.1.  The problem seems to be that
the -fno-align-foo options don't actually work.  Comparing the new and
old output it turns out that gcc is 4-byte padding all the functions and
labels and what not despite the passed in arguments thus adding the
unfortunate bloat to boot2.
2002-05-10 04:05:42 +00:00
Masafumi Max NAKANE 0434bdb78c Typo. 2002-05-10 03:53:00 +00:00
David E. O'Brien 10cd195e63 I reorganized a little bit too much in the backwards case. 2002-05-10 03:24:06 +00:00
Brian Somers ff8e577bc6 Add support for MS-CHAP authentication via a RADIUS server.
Add support for Reply-Message and MS-CHAP-Error.

Sponsored by:	Monzoon
2002-05-10 03:11:35 +00:00
David E. O'Brien 066003a540 Gcc 3.1 now offers both a C99 and a K&R traditional C preprocessor.
This is the ISO C99 one.
2002-05-10 02:46:01 +00:00
Brian Somers fc3f62faaa Add rad_get_vendor_attr() for deciphering vendor attributes received
from the RADIUS server.
2002-05-10 02:40:23 +00:00
David E. O'Brien dd7731cf37 Bmake bits for GCC 3.1. 2002-05-10 02:36:12 +00:00
David E. O'Brien 4c04f5d447 Opps, remove added bogon. 2002-05-10 02:21:05 +00:00
David E. O'Brien 8fea834105 Sync with the other platforms. 2002-05-10 02:20:33 +00:00
David E. O'Brien c7e401fbc3 Gcc 3.1 varargs support. 2002-05-10 02:12:04 +00:00
David E. O'Brien fc336fdfbb Gcc 3.1 varargs support. 2002-05-10 02:02:54 +00:00
David E. O'Brien b0b7c2164c Gcc 3.1 has different -Wx flags. 2002-05-10 01:58:16 +00:00
David E. O'Brien 39bd77be52 Use only bits w/in /sys if at all possible. 2002-05-10 01:53:16 +00:00
David E. O'Brien 189d266f08 Remove gCC'isms. 2002-05-10 01:48:15 +00:00
David E. O'Brien 471b107936 Use the compiler's crt{begin,end}. 2002-05-10 01:36:29 +00:00
David E. O'Brien a25fa515ee Add the beginnings of Sparc64 support. 2002-05-10 01:31:40 +00:00
David E. O'Brien bea805383e Pass CFLAGS to {CC} when using it as an `ld' replacement. 2002-05-10 01:30:34 +00:00
David E. O'Brien 54fd053e6c We don't need bootinfo any more, and sparc64 doesn't have it anyways. 2002-05-10 01:20:37 +00:00
David E. O'Brien 07776d8fb2 Don't be redundant. 2002-05-10 01:06:52 +00:00
Bruce A. Mah 49f523a581 New release notes: pam_ftpusers(8), sed(1) -i.
Record the arrival (and departure) of pkg_update(1).  It lived in the
tree for so long (over a year) that even though it won't show up in
the release, -CURRENT users might have gotten used to seeing it
around and might wonder where it went.
2002-05-10 01:02:13 +00:00
David E. O'Brien 63279f12c9 mklocale has bad juju for Sparc64. 2002-05-10 00:57:14 +00:00
David E. O'Brien 7571ef5ae3 -ffreestanding is the word for /sys. 2002-05-10 00:53:45 +00:00
David E. O'Brien 708a23c342 Turn off boot2 -- it gained over 96 bytes dieting on the in-tree Gcc 3.1. 2002-05-10 00:52:00 +00:00
David E. O'Brien bd7ce31c9a Turn off groff and gperf -- they will not compile with the in-tree Gcc 3.1. 2002-05-10 00:50:43 +00:00
David E. O'Brien 2fe1eb28ab All platforms should be on equal footing now -- no special handling for
Sparc64 and IA-64.
2002-05-10 00:49:55 +00:00
David E. O'Brien 67b831cca6 Turn off pppctl -- it won't like with an in-tree Gcc 3.1 built libc_r. 2002-05-10 00:48:33 +00:00
Greg Lehey 639a7d1cfa Add entry for Vinum. 2002-05-10 00:31:33 +00:00
Maxim Sobolev 8ae0995264 When packing installed package into a file (pkg_create -b) make sure to
include all package files into resulting tarball.

PR:		34007
Submitted by:	olgeni

While I here:

- Remove bogus comment;
- ensure that we return the proper exit code in the case of -b failure.

MFC after:	5 days
2002-05-10 00:03:14 +00:00
Tim J. Robbins 38a9994201 Reimplement the who(1) utility to add some features required by SUSv3:
-H option (show column headings),
-T (show mesg(1) state),
-m (same as "am I"),
-u (show idle time),
-q (quick mode; list names in columns).

PR:		36128
Reviewed by:	mike
2002-05-09 23:04:40 +00:00