Commit Graph

31440 Commits

Author SHA1 Message Date
dt
a65e8bc6eb Some fixes for swap space accounting.
Obtained from:  pstat.c
1998-09-11 14:38:12 +00:00
abial
a432c03873 Fix to properly newfs the MFS in case of custom setup. Mention this in docs.
Submitted by:	Richard Wackerbarth <rkw@Dataplex.NET>
1998-09-11 13:14:33 +00:00
dfr
093fbcb8b5 Machine dependant relocations for KLD. 1998-09-11 08:47:02 +00:00
dfr
9e8f7908e2 Implement dynamic loading for ELF. 1998-09-11 08:46:15 +00:00
dfr
ff650a6c15 Avoid a possible memory leak. 1998-09-11 08:45:32 +00:00
jkh
9835bde2b9 correct usage of cleanup() everywhere - this became bogus when the warnx/errx
stuff was added and nobody seems to have noticed. :)
Noticed by:	Josh MacDonald <jmacd@paris.CS.Berkeley.EDU>
1998-09-11 07:26:58 +00:00
grog
5d25b48408 Reviewed by: bde (again)
Correct terminology (partitions are in slices, not the other way around)
1998-09-11 07:08:49 +00:00
grog
07a7d86090 Reviewed by: bde,jkh
Add -v flag to newfs:

     -v      Specify that the partition does not contain any slices, and that
             newfs should treat the whole partition as the file system.  This
             option is useful for synthetic disks such as ccd and vinum.
1998-09-11 06:26:08 +00:00
imp
1b26fba303 Silence -Wall -W -Wkitchen-sink. Use ssize_t in preference to int,
make a char * const that should have been.  Use new style function
declaration for main.  Mostly a Bruce Filter[tm] test commit.
1998-09-11 05:48:06 +00:00
imp
56836338fd Define PBUFSIZ in terms of MAXPATHLEN rather than hard coding it to
512.

Obtained, I think, from: OpenBSD
1998-09-11 05:44:41 +00:00
imp
e1bf841f1a $@ -> ${.TARGET} 1998-09-11 05:42:37 +00:00
imp
ee80db2e1b $* -> ${.PREFIX} 1998-09-11 05:40:12 +00:00
imp
d52562f4cc Remove definition of malloc and realloc. Instead include stdlib.h. 1998-09-11 05:39:08 +00:00
imp
21ee5114c4 $@ -> ${.TARGET} 1998-09-11 05:34:37 +00:00
imp
36ee499bf2 Change obsolete $@ to ${.TARGET}. 1998-09-11 05:31:45 +00:00
imp
fe5c3beb20 Don't trust TMPDIR if we're setuid root. This is used only for the
backing file for an anonymous (memory based) btree, and I don't think
that any setuid programs actually use it, but it is better to be safe
than sorry.  This has been in my tree for a long time, maybe a year or
more...

Inspired by: Similar changes in OpenBSD, if memory serves (like nearly
a year ago)
1998-09-11 05:29:47 +00:00
cracauer
0a716cdf2c Narrow down conditions to break wait() to process traps.
Improve comments.
1998-09-10 22:09:11 +00:00
ache
954474eb23 Revive hierarchy again.
Please commit only patches, not whole files!
1998-09-10 20:44:56 +00:00
phk
65bf45b9a2 make the fla stuff actually work. 1998-09-10 18:47:20 +00:00
bde
4d0d1bdf0d Fixed breakage of %CPU and %MEM in the previous commit. sysctlbyname()
was called with wrong args so it always failed.

PR:		7881
1998-09-10 18:06:28 +00:00
imp
3ed93d1d07 Fix bogus length restriction on readlink. Use sizeof(buf) - 1 rather
than the size of the directory name.  Fix style bug which increased
the number of lines > 80 characters by one.

Pointed out by: bde
1998-09-10 16:14:29 +00:00
bde
2422a1e448 Fixed ownership of share/man/man1aout.
Didn't fix misformatting of all the perl entries.
1998-09-10 15:46:41 +00:00
cracauer
6e683a82b2 Fix an inefficiency I introduced in my last commit.
Include "expand.h" vom memalloc.c to pull function declartion into scope
1998-09-10 14:51:06 +00:00
yokota
9c234f3ca0 The fix in the previous commit was not sufficient; the upper 24 bits
of an int argument still contained garbage.
Pointed out by: bde
PR: bin/7799
1998-09-10 12:20:09 +00:00
yokota
baa9a99ed4 Pass the correct argument to npxsave(), otherwise vm86pcb will be
overwritten.
1998-09-10 12:16:06 +00:00
sos
b3b5c8400d Oops missed a line in the previous commit 1998-09-10 11:23:08 +00:00
markm
c0b860dd59 Dorkus sum. I managed to commit an earlier version of this. This fixes the
broken perl build.

* NOTE * * NOTE * * NOTE *

PERL5 RELIES IN A MAKE WORLD FOR THE BOOTSTRAP!!

* NOTE * * NOTE * * NOTE *
1998-09-10 10:51:11 +00:00
dfr
7b12f74368 Ensure that m_nextpkt is set to NULL after reassembling fragments. 1998-09-10 08:56:40 +00:00
sos
b49afcbd38 Update info on the bt848 driver.
Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
1998-09-10 08:20:46 +00:00
sos
61ad890b2d Changed METEORSINPUT for Hauppauge cards with bt878.
Also fixed video_open defines and 878 support.

Submitted by: Fred Templin <templin@erg.sri.com>
1998-09-10 08:01:10 +00:00
sos
4cd4d0eb22 Correct SECAM B-Delay and add XUSSR channel set.
Submitted by: Vsevolod Lobko <seva@alex-ua.com>
1998-09-10 07:52:30 +00:00
jkh
4931dd8c5c Note ELF, Perl5 and Atapi tape support. 1998-09-10 07:03:16 +00:00
asami
f78202515f (1) Add MLINKS support.
Submitted by:	hoek

(2) ELF support.
 2a. Variable PORTOBJFORMAT specifies the object format of the system.
     It is passed down to configure/make via CONFIGURE_ENV/MAKE_ENV,
     and is given to generate-plist via PLIST_SUB.
 2b. In PLIST, substitute lines that end with "/libFOO.so.X" with
     "/libFOO.so.X.0".  (This means PLISTs should only list ELF
     libraries.)
Reviewed by:	jb, jdp, hoek, jseger, steve

(3) Perl5-in-system support.  Basically turns USE_PERL5 into a no-op
    if there exists a "/usr/bin/perl5".  Also fix prior breakage by
    dima (${PREFIX} => ${LOCALBASE} in perl5 path).
Reviewed by:	markm (sort of)

(4) Install requirement file as "+REQUIRE" so it will be executed
    correctly by pkg_delete.
Reported by:	Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>

(5) Do not disable checksum and makesum when NO_EXTRACT is set.
Pointed out by:	hoek and kiri, among other people
1998-09-10 06:38:02 +00:00
tegge
3aeb208b05 Don't keep the underlying directory locked while performing the file
system specific VFS_MOUNT operation.
PR:		1067
1998-09-10 02:27:52 +00:00
tegge
fdd7af2b36 Don't allow longjmp into a no longer valid stack frame. 1998-09-10 02:01:06 +00:00
obrien
df6ef05ae8 I don't want to be the only one to use `cut''. Use `sed'' instead. 1998-09-10 00:27:57 +00:00
obrien
f582b34ef7 Add ``usr/bin/cut'' to "build-tools" target.
Used in usr.sbin/amd/include/newvers.sh.
1998-09-10 00:13:48 +00:00
brian
14dc5fa9b9 Reflect reality 1998-09-09 22:51:49 +00:00
brian
ad1335c9eb Mention some of the major changes to ppp for 3.0
Fix a typo.
1998-09-09 22:50:28 +00:00
jraynard
ee7d6940c7 Disable kernel_secure_level unless explicitly set in rc.conf. Previously,
it was enabled unless explicitly unset, creating a pitfall for people
like me who upgraded /etc/rc without upgrading /etc/rc.conf.
1998-09-09 22:27:21 +00:00
brian
5c94e0eb98 Mention which system interface functions are signal-safe.
Suggested on -current by: Terry Lambert <tlambert@primenet.com>
1998-09-09 20:44:51 +00:00
bde
acd4292d2a Fixed the usual missing permissions checks in mount(). As for cd9660,
the damage was limited by the default of 0 for vfs.usermount.

Obtained from:	Lite2 via the -current ffs_vfsops.c
1998-09-09 20:21:18 +00:00
markm
158a2e0d02 Remove the NOPERL block to building Perl5.
Perl 5 will rebuild/bootstrap itself next time a make world is done
with this in effect.
1998-09-09 19:30:45 +00:00
sos
b401033797 Add the wst device (ATAPI tape)
Allow 8 wcd devices instead of 4.
1998-09-09 18:59:46 +00:00
nsouch
b0747d1bc6 Major numbers allocated for generic SMB/I2C i/o 1998-09-09 18:57:59 +00:00
nsouch
5a19e63f8b Major number allocated for generic SMB i/o -> 106 1998-09-09 18:57:38 +00:00
nsouch
835f255ae9 Major number allocated for generic I2C i/o -> 105 1998-09-09 18:57:24 +00:00
ghelmer
f56f3a763e Document a number of VM sysctl variables with help from old emails
written by John Dyson.
1998-09-09 18:36:14 +00:00
markm
4bb842de8e Add the dirs for Perl5. 1998-09-09 17:54:47 +00:00
markm
529f5ed703 Add libperl for Perl5. 1998-09-09 17:51:15 +00:00