Commit Graph

59250 Commits

Author SHA1 Message Date
dfr
4671d09c83 When switching backing store during signal delivery, do the switch before
creating the register frame for calling the handler. Also discard that
frame before switching back to the old backing store after the handler
returns.
2001-04-24 15:57:16 +00:00
dfr
ff98f99d31 Align stack pointer and backing store pointer to 16 byte boundary when
delivering signals.
2001-04-24 15:55:47 +00:00
dfr
08ae27f316 Don't trash the user's pr on syscalls. 2001-04-24 15:54:23 +00:00
sheldonh
088368d68b Revert previous delta, which was completely bogus.
The perceived problem was the symptom of a local error.
2001-04-24 12:30:49 +00:00
kris
fb2fd90f05 Call usage() if given more than 1 argument.
Submitted by:	"Andrew R. Reiter" <arr@watson.org>
Obtained from:	OpenBSD
2001-04-24 10:39:17 +00:00
kris
e801e61e06 Replace a strcat() with a strlcat(). Partial sync with OpenBSD; more
work is needed.

Submitted by:	"Andrew R. Reiter" <arr@watson.org>
Obtained from:	OpenBSD
2001-04-24 10:33:46 +00:00
kris
3edf709f74 sprintf() -> snprintf()
Partially submitted by:	"Andrew R. Reiter" <arr@watson.org>
Obtained from:	OpenBSD
2001-04-24 10:26:00 +00:00
wes
d5df9464e2 Don't build pkg_sign tools if crypto is not installed, or is not
being built.

Reviewed by:	kkenn
2001-04-24 08:59:40 +00:00
sheldonh
4f896c335a Disconnect linux from the build. The buildkernel target has been
breaking on linux for more than two days because sys_exit_args
referenced in linux_sysent.c does not exist.
2001-04-24 08:56:42 +00:00
joe
810d87b74f MF4S: Syncronise with Luigi's work in -stable. 2001-04-24 07:46:35 +00:00
joe
03a1636848 MF4S: Syncronise with Luigi's work in -stable. 2001-04-24 07:12:34 +00:00
imp
c788a710a7 MFS: the MFS still applies to -current until such time as someone fixes
rc.diskless2 to use mdconfig rather than mount_mfs.  These changes are
still relevant to -current.
2001-04-24 07:02:01 +00:00
imp
bc04683ae3 Add warning, and resolution, of the fsck and kernel problem 2001-04-24 04:49:21 +00:00
gshapiro
f41656c49c ${MAKEOBJDIRPREFIX}/usr/src/i386/usr/include/isc was being created as a plain
file during the bootstrapping process of a buildworld and contained the
last isc include file to be installed.  It was meant to be a directory for
the isc include files.
2001-04-24 02:57:42 +00:00
brian
d487445d05 Handle IP over IP (IPPROTO_IPV4) properly.
We now unwrap IP/IP and apply filter rules to both the outer
  layer (with ``set filter blah x.x.x.x y.y.y.y ipip'') and to
  the payload (reinterpreted by the filter rules).

  ``set log tcp/ip'' will now show both the outer wrapper and
  the (reinterpreted) payload contents.
2001-04-24 02:13:34 +00:00
jhb
9c03a8ae91 Change the pfind() and zpfind() functions to lock the process that they
find before releasing the allproc lock and returning.

Reviewed by:	-smp, dfr, jake
2001-04-24 00:51:53 +00:00
iedowse
383dd0a265 Pre-dirpref versions of fsck may zero out the new superblock fields
fs_contigdirs, fs_avgfilesize and fs_avgfpdir. This could cause
panics if these fields were zeroed while a filesystem was mounted
read-only, and then remounted read-write.

Add code to ffs_reload() which copies the fs_contigdirs pointer
from the previous superblock, and reinitialises fs_avgf* if necessary.

Reviewed by:	mckusick
2001-04-24 00:37:16 +00:00
archie
21cf7b313e Apply 'const' liberally.
Fix some other minor glitches.
2001-04-24 00:06:21 +00:00
grog
6f92ffe2eb Back out previous commit.
Requested by:	bde
2001-04-23 23:51:17 +00:00
tmm
901e595f36 Fix a bug introduced in the last commit: vaccess_acl_posix1 only checked
the file gid gainst the egid of the accessing process for the
ACL_GROUP_OBJ case, and ignored supplementary groups.

Approved by:	rwatson
2001-04-23 22:52:26 +00:00
orion
152824577f Add als4000 subdir. 2001-04-23 21:58:23 +00:00
orion
9b6cff350c Initial version of Avance Logic ALS4000 pcm driver. 2001-04-23 21:53:12 +00:00
iedowse
f0878d962f In fsdb, call sblock_init() which is now necessary to initialise
the global variable dev_bsize. Add a prototype for sblock_init()
to fsck.h, and set the return type correctly.
2001-04-23 21:39:14 +00:00
joe
bcc74c4e75 MF4S: Syncronise with Luigi's work in -stable. 2001-04-23 20:25:40 +00:00
asmodai
816a59ecce Keep my dirty paws off of the $NetBSD$ id's. They're tabbed and should
remain so.

Submitted by:   bde/obrien
2001-04-23 20:07:21 +00:00
joe
6a06ad11d4 MF4S: Sync with the developments that Luigi's been doing in -stable. 2001-04-23 19:55:03 +00:00
joe
a02bf6d92b MF4S: Remove some unused error messages. (revision 1.1.2.5) 2001-04-23 19:52:13 +00:00
joe
d8bc9129a9 Apply style guidelines (using gident to help). 2001-04-23 19:38:41 +00:00
mjacob
e13477a78e fix it so it compiles again 2001-04-23 18:51:54 +00:00
joe
5a5c4156f3 Fix a syntax error. 2001-04-23 18:41:48 +00:00
mjacob
28d910ceaa fix it so it compiles again after twerpage elsewhere 2001-04-23 18:38:01 +00:00
mjacob
053acf45ec add this ridiculous include foo so it will compile again 2001-04-23 18:14:41 +00:00
mjacob
4222e09635 Fix includes so it compiles again. 2001-04-23 18:08:54 +00:00
phk
b1fdc60dc8 Update this to reflect changes in config(8) usage.
It finds 639 hits on kernel source from before the <sys/mount.h>
change earlier today.
2001-04-23 17:31:16 +00:00
ru
358c78ac21 mdoc(7) police: update HISTORY section.
This interface is not available in 4.3-RELEASE.
2001-04-23 15:22:50 +00:00
ru
f09768cd33 The semantics of the .Os call has been changed. For CURRENT,
this currently implies the default argument of "FreeBSD 5.0".
2001-04-23 15:15:49 +00:00
ru
2816709a18 Fix the fix in rev.1.34.
Makes `cleandir' DTRT if MAKEOBJDIRPREFIX set and not empty,
like in `buildworld' case.
2001-04-23 14:47:40 +00:00
ru
b6dd98ae89 If the world was built using either -DNOCLEAN or -DNOCLEANDIR, it was
possible to use old generated doc-* files as the source for new ones.
Wrong -mdoc files would then be installed, and man(1) failed with the
following diagnostics:

mdoc error: end-macro (.em) respecification is not allowed. (#41)
            Should this have been `.Em ...'?

Put helper stuff into `beforedepend' to cleanup old files.

Makefile first infected in rev 1.15.

Reported via:	-current
2001-04-23 13:27:35 +00:00
ache
43a5f99125 Add sranddev.3 to MLINKS 2001-04-23 11:11:00 +00:00
ache
873e76a169 Add #include "un-namespace.h" 2001-04-23 10:38:26 +00:00
ache
18527260ea srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allow
change of high word part too to produce more interesting seed distribution.
2001-04-23 10:14:28 +00:00
iedowse
ba96b53461 Reinstate one more old bugfix that got lost in the tirpc commit:
always look up -network and -mask addresses numerically before
trying getnetbyname(). Without this, we may end up attempting DNS
queries on silly names such as "127.0.0.0.my-domain.com". See the
commit log from revisions 1.21 and 1.20 for further details.
2001-04-23 10:12:31 +00:00
joerg
c22f3155bd Fix directory reads of MNT_UNION mounts, where entries present in both
layers would be displayed twice.

PR:		bin/26498
Submitted by:	Olliver Fromme <olli@secnetix.de>
2001-04-23 10:01:38 +00:00
ache
02fc5bae58 Move sranddev() to !ANSI_SOURCE !POSIX_SOURCE section
Pointed out by: bde
2001-04-23 09:32:06 +00:00
grog
1f5de30718 Correct #includes to work with fixed sys/mount.h. 2001-04-23 09:05:15 +00:00
ru
cdfbb3de26 This is not a problem but a feature of PMake.
Pointed out by:	bde
2001-04-23 08:48:42 +00:00
grog
a943ac2de3 Correct #includes to work with fixed sys/mount.h. 2001-04-23 08:28:44 +00:00
grog
e845d5c03f Remove bogus #include and duplicate definition of AF_MAX. These were
made necessary by breakage in usr.sbin/pstat and usr.bin/fstat, since
fixed.

Suggested by:	phk
Unearthed by:	John Hood <jhood@sitaranetworks.com>
2001-04-23 08:17:18 +00:00
grog
05ea68dcf4 Include necessary header files, in preparation for fixing breakage in
sys/mount.h.

Suggested by: phk
2001-04-23 08:13:18 +00:00
grog
119c82ccab Include correct header files, in preparation for fixing sys/mount.h.
Suggested-by:	phk
2001-04-23 08:11:54 +00:00