Commit Graph

74597 Commits

Author SHA1 Message Date
mux
5bb8b3f421 Fix several bugs in devfs_lookupx(). When we check the nameiop to
make sure it's a correct operation for devfs, do it only in the
ISLASTCN case.  If we don't, we are assuming that the final file will
be in devfs, which is not true if another partition is mounted on top
of devfs or with special filenames (like /dev/net/../../foo).

Reviewed by:	phk
2002-05-10 15:41:14 +00:00
jhb
4a83d37d75 p_leader is only set at fork1() time, so update its locking note
appropriately.
2002-05-10 14:28:05 +00:00
benno
1e4d740de8 Implement the following functions:
- pmap_addr_hint
- pmap_change_wiring
- pmap_extract
- pmap_is_modified
2002-05-10 14:21:48 +00:00
benno
6950bc7f5b Install the system call trap handler. 2002-05-10 14:19:44 +00:00
ru
75c39d9e5c xargs.c,v 1.33 broke the upgrade path from old versions of 4.x and 5.0. 2002-05-10 13:06:34 +00:00
peter
63e16b5a37 Avoid casting a different sized integer to a pointer on LP64 systems. 2002-05-10 12:50:59 +00:00
joerg
8dc69a6709 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
gj
ae16f85e56 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
tg
762262ae8b 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
tg
bfd97fab25 Fix wrong bitmask. 2002-05-10 10:37:57 +00:00
obrien
2991bb5869 Gather up the stragglers that depends on genrtl.h. This is -j10 safe now. 2002-05-10 10:21:19 +00:00
obrien
07f909dd68 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
obrien
bdc472c233 [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
obrien
ce04447cdf -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
obrien
5eb5239e7b Change symbol values to match freebsd.h to avoid warnings. 2002-05-10 09:02:14 +00:00
obrien
dfe16a29fa Bmake bits for Gcc 3.1.
Partially made possible by:	Wilko.Bulte@compaq.com
2002-05-10 08:54:50 +00:00
marcel
92c7caae40 [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
58b132b00f Add missing #endif 2002-05-10 07:33:11 +00:00
tjr
d18fa85a67 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
bd96241d2b 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
dbd3c3b30b Remove a debugging printf that escaped. 2002-05-10 06:26:19 +00:00
peter
ae116e293e Add a couple of entries. My MAINTAINER= lines are not locks. 2002-05-10 05:44:09 +00:00
obrien
4af4f4a28b Remove files not part of GCC 3.1. 2002-05-10 05:26:57 +00:00
obrien
9465775461 Import data for 3.0.2. 2002-05-10 05:21:15 +00:00
benno
ffded50e96 Increase the size of the kstack. 2002-05-10 05:16:40 +00:00
jhb
446a06fc8c - 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
max
ab8b1fb87e Typo. 2002-05-10 03:53:00 +00:00
obrien
c9b119433a I reorganized a little bit too much in the backwards case. 2002-05-10 03:24:06 +00:00
brian
1947582c12 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
obrien
a361afdafe 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
4d8198d74c Add rad_get_vendor_attr() for deciphering vendor attributes received
from the RADIUS server.
2002-05-10 02:40:23 +00:00
obrien
ddf552e1ed Opps, remove added bogon. 2002-05-10 02:21:05 +00:00
obrien
fce842f054 Sync with the other platforms. 2002-05-10 02:20:33 +00:00
obrien
d9b66c2f2f Gcc 3.1 varargs support. 2002-05-10 02:12:04 +00:00
obrien
707b0b13a6 Gcc 3.1 varargs support. 2002-05-10 02:02:54 +00:00
obrien
4267f26cd1 Gcc 3.1 has different -Wx flags. 2002-05-10 01:58:16 +00:00
obrien
5771592346 Use only bits w/in /sys if at all possible. 2002-05-10 01:53:16 +00:00
obrien
88b6275cf8 Remove gCC'isms. 2002-05-10 01:48:15 +00:00
obrien
a90cd41ca2 Use the compiler's crt{begin,end}. 2002-05-10 01:36:29 +00:00
obrien
176a306854 Add the beginnings of Sparc64 support. 2002-05-10 01:31:40 +00:00
obrien
e0aeecf683 Pass CFLAGS to {CC} when using it as an `ld' replacement. 2002-05-10 01:30:34 +00:00
obrien
eb01ba72c4 We don't need bootinfo any more, and sparc64 doesn't have it anyways. 2002-05-10 01:20:37 +00:00
obrien
ded6baca77 Don't be redundant. 2002-05-10 01:06:52 +00:00
bmah
0fe31a476f 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
obrien
a4af499e53 mklocale has bad juju for Sparc64. 2002-05-10 00:57:14 +00:00
obrien
b12dc54a67 -ffreestanding is the word for /sys. 2002-05-10 00:53:45 +00:00
obrien
09f3564bdf Turn off boot2 -- it gained over 96 bytes dieting on the in-tree Gcc 3.1. 2002-05-10 00:52:00 +00:00
obrien
53be32ddbc Turn off groff and gperf -- they will not compile with the in-tree Gcc 3.1. 2002-05-10 00:50:43 +00:00
obrien
77caa62973 All platforms should be on equal footing now -- no special handling for
Sparc64 and IA-64.
2002-05-10 00:49:55 +00:00
obrien
5ff5d4c519 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