Commit Graph

106014 Commits

Author SHA1 Message Date
jdolecek
5fd22809a5 Add kern.forkfsleep sysctl - set/get time (in miliseconds) for which
process would be forced to sleep in fork() if it hits either global
or user maxproc limit. Default is zero (no forced sleep).
Maximum is 20 seconds.
2002-12-11 19:14:34 +00:00
christos
aa0e549885 PR/19453: Christopher Richards: Call setlocale() in /bin/sh 2002-12-11 19:12:18 +00:00
atatat
7ede0eeb03 Provide a ioctl called FIOGETBMAP (there are some who call
it...FIBMAP) that translates a logical block number to a physical
block number from the underlying device.  Via VOP_BMAP().
2002-12-11 18:25:03 +00:00
jdolecek
f13ab92159 put back portion of fork-bomb protection removed in last commit,
and make the sleep length depend on value of variable forkfsleep;
it's set to zero by default (no sleep)
this is a preparation for making the sleep length settable via sysctl
2002-12-11 18:09:07 +00:00
jdolecek
5ea539a0c5 reserve sysctl number for kern.lwp, which is used on nathanw_sa branch 2002-12-11 17:32:53 +00:00
atatat
89b889a8a7 Always recompute the IP checksum, otherwise fast-routed packets that
also get natted leave with an invalid checksum which can prevent
things from working properly.
2002-12-11 16:33:11 +00:00
atatat
944cb6f8ff Add /* MEMORY_DISK_SERVER */ comments to the #endifs to match the #ifdefs. 2002-12-11 16:24:38 +00:00
lukem
cf4eb31ab4 Disable IMAGEPOSTBUILD=${DESTDIR}/usr/mdec/installboot
since it's not cross friendly.
The release should now cross-build again...
2002-12-11 15:52:47 +00:00
lukem
699da88ad2 db(1) added 2002-12-11 15:46:52 +00:00
lukem
5b7400f6ea some todo items 2002-12-11 14:33:15 +00:00
lukem
a3d56580b8 - set cachesize to 1MB (instead of default 2.5KB); greatly improves
performance on large imports
- remove unnecessary asserts
2002-12-11 14:30:53 +00:00
fvdl
53d30b7a60 Handle MBRs for x86_64. 2002-12-11 14:28:46 +00:00
lukem
d182cf2f90 add db(1) 2002-12-11 13:52:41 +00:00
joda
86b7f22e4f cpuid feature bit 30 is set on IA-64 (in x86 mode) 2002-12-11 13:50:14 +00:00
lukem
a8f67a8b25 db(1) - manipulate db(3)'s btree(3) and hash(3) databases 2002-12-11 13:40:42 +00:00
yamt
9097ffce96 take care of B_CLRBUF in lfs_balloc.
otherwise you'll see uninitialized blocks.
2002-12-11 13:34:14 +00:00
pk
047870f66e softintr_establish(): append handler to the list for the actually choosen
processor interrupt level.
2002-12-11 13:21:19 +00:00
ad
8d65361e31 raidutil -> dptutil 2002-12-11 13:20:47 +00:00
scw
5238505cfe KERN_MAXID needs to be one more than the last sysctl. Spotted by simonb. 2002-12-11 13:12:48 +00:00
ad
42c8a17c80 Fix typo. 2002-12-11 13:02:31 +00:00
scw
39a5a9dc76 Add two sysctls: kern.labelsector and kern.labeloffset.
These are of use to userland code which previously depended on the
hard-coded values of LABELSECTOR and LABELOFFSET to figure out the
location of the disklabel for a particular platform.

With the introduction of umbrella ports such as evbarm, evbmips, etc,
the location of the disklabel may vary between kernels for the same
MACHINE. This sysctl will allow userland programs to remain independent
of the particular flavour of MACHINE in such cases.
2002-12-11 12:59:29 +00:00
scw
36109bbc9c Avoid strict-alias warnings. 2002-12-11 12:13:11 +00:00
fvdl
a167f47c0c Since a CPU may spin waiting for another CPU to handle an IPI, an
IPI must be the very first thing to be handled in splx(), if it
had been blocked before. Change things around a bit to guarantee
this.
2002-12-11 12:02:07 +00:00
pk
e675712f0d * loadfile() return a file descriptor that must be closed.
* check the kernel size before loading
2002-12-11 10:35:06 +00:00
pk
bd20047a69 Only display the final progress counter if any of the LOAD_ flags was given.
Fix comment describing the return value.
2002-12-11 09:55:20 +00:00
thorpej
130e5c278b UVM_KMF_NOWAIT -> UVM_FLAG_NOWAIT 2002-12-11 07:14:28 +00:00
thorpej
8ae922d8a7 Define a UVM_FLAG_NOWAIT, which indicates that we're not allowed
to sleep.  Define UVM_KMF_NOWAIT in terms of UVM_FLAG_NOWAIT.

From Manuel Bouyer.  Fixes a problem where any mapping with
read protection was created in a "nowait" context, causing
spurious failures.
2002-12-11 07:10:20 +00:00
junyoung
65ce86ee32 '.' was missing in license notice. 2002-12-11 05:49:34 +00:00
groo
b9df764f32 Remove portion of fork-bomb protection that has unfortunate side effects. 2002-12-11 05:01:22 +00:00
taca
4375714d16 IP Filter 3.4.31 is released. 2002-12-11 03:09:00 +00:00
perry
c2afe21c94 Change from a hardcoded sanity check date that has to be updated by
hand every few years to code that uses the automatically generated
time value from config_time.h
Fixes an ancient XXX in the code.
2002-12-10 23:24:33 +00:00
bouyer
c841e4e679 Add SIGINFO support. 2002-12-10 22:42:00 +00:00
fvdl
ec2d95a2ad Remove conditional for x86_64 to not include lintlibs, they're ok now. 2002-12-10 22:00:56 +00:00
bouyer
e69ba7cb79 Commit patch I sent to tech-net on 29/09/2002:
The driver puts the adapter in promisc mode to receive multicast addresses.
At last set the IFF_PROMISC flag so that the upper layer filters frames
that are not for us.
Sure, the real fix would be to get multicast filters working ...
2002-12-10 21:50:32 +00:00
manu
8d921b897b Added a few traps: port_type, port_set_attributes, port_insert_member,
and vm_protect.

This makes Darwin's /usr/bin/telnet working
2002-12-10 21:36:45 +00:00
fvdl
e718b57a20 Silence strict-alias warning. 2002-12-10 20:56:30 +00:00
fvdl
c4045d2838 Avoid strict-alias warning. 2002-12-10 20:45:31 +00:00
fvdl
1922972e59 if 0 out the X sets for the time being. 2002-12-10 20:08:46 +00:00
fvdl
c21b595185 Use 0xff as the 'unknown processor type' (which is what Linux does). 2002-12-10 20:06:43 +00:00
fvdl
56b55c3081 Nearly-empty disktab file (only floppy types). 2002-12-10 19:50:28 +00:00
atatat
7fead95d43 Remove an antiquated comment and make .depend depend on config_time.h
so that the depend target can properly complete now that perry has the
time to use the time.
2002-12-10 19:33:11 +00:00
christos
8461b5b85f PR/19339: Martin Weber: Tar fails to append on empty files and exits with
0. Revert previous change for PR/18689. We always want to exit with
an error if we could not determine the archive format. Instead,
treat empty files specially. On list/extract we turn into no/op.
On append, we turn into archive.
2002-12-10 18:33:26 +00:00
fvdl
174b474772 Include -DNLIST_ELF64 for x86_64. 2002-12-10 17:59:41 +00:00
fvdl
ddb412e581 Define NFS_WSIZE and NFS_RSIZE as on i386. 2002-12-10 17:57:19 +00:00
imp
d1f4286bb5 FreeBSD needs the same special hacks for sys_errlist and sys_siglist during
cross building.
2002-12-10 17:39:52 +00:00
thorpej
e8cc3884de Rename __LDPGSZ to AOUT_LDPGSZ, to accurately reflect what it is. 2002-12-10 17:14:02 +00:00
fvdl
d8ae1c92f7 Build this on x86_64. 2002-12-10 16:07:28 +00:00
toshii
cf41cc5294 Add a couple of le32toh which were missing in the previous.
Pointed out by SOMEYA Yoshihiko.
2002-12-10 14:07:37 +00:00
drochner
cc12f9fb4e remove ttydefchars declaration which was wrong anyway,
a correct one is now pulled in from <sys/ttydefaults.h>
2002-12-10 13:50:10 +00:00
pk
725a6aebf7 Remove the `flags' argument from bus_intr_establish(). 2002-12-10 13:44:47 +00:00