Commit Graph

86405 Commits

Author SHA1 Message Date
tegge
f360480a68 Avoid file lock leakage when linuxthreads port or rfork is used:
- Mark the process leader as having an advisory lock
  - Check if process leader is marked as having advisory lock when
    closing file
  - Check that file is still open after lock has been obtained
  - Don't allow file descriptor table sharing between processes
    with different leaders

PR:		10265
Reviewed by:	alfred
2003-02-15 22:43:05 +00:00
trhodes
6db4854a46 Link several of the if_* modules to their respected manual pages. 2003-02-15 22:28:33 +00:00
ru
5425aa75fa Added dependency on the apm(4) module. 2003-02-15 21:22:19 +00:00
marcel
1141b745fe Fix misuse of Maxmem in the calculation of the VHPT size. Maxmem
is already in pages, so we should not convert from bytes to pages.
The result of this bug was bad scaling of the VHPT relative to the
available memory.

Submitted by: Arun Sharma <arun@sharma-home.net>
2003-02-15 20:58:32 +00:00
alc
193a881675 Remove the acquisition and release of Giant around pmap_growkernel().
It's unnecessary for two reasons: (1) Giant is at present already held in
such cases and (2) our various implementations of pmap_growkernel() look to
be MP safe.  (For example, for sparc64 the proof of (2) is trivial.)
2003-02-15 20:01:09 +00:00
alc
11334c6aeb Move kernel_vm_end's declaration to pmap.h; add a comment regarding the
synchronization of access to kernel_vm_end.
2003-02-15 19:38:23 +00:00
des
91e02c6515 Log to stdout if no file was specified. 2003-02-15 19:32:52 +00:00
alc
4045291582 Assert that the kernel map's system mutex is held in pmap_growkernel(). 2003-02-15 19:23:37 +00:00
trhodes
f86d730016 Update xrefs to point at other usb pages. 2003-02-15 19:17:30 +00:00
obrien
f078dbeb01 Update for version 3.40.
* We have inttypes.h (yes, even in RELENG_4).
* We now have GNU getopt, so lets be the first thing in the tree to
  acutally use it...
2003-02-15 19:05:10 +00:00
arr
e1e48e3d34 - Remove old comment for PURGE() as it no longer exists and implied it
was a comment to cache_zap().
- Add a comment to quickly state what cache_zap() does.

Reviewed by:	phk, mux
2003-02-15 18:58:06 +00:00
obrien
1b4249c6eb This commit was generated by cvs2svn to compensate for changes in r110949,
which included commits to RCS files with non-trunk default branches.
2003-02-15 18:53:17 +00:00
obrien
822cce384d Virgin import of Christos Zoulas's FILE 3.40. 2003-02-15 18:53:17 +00:00
trhodes
0478745d0f 1: wi(4) does not need miibus(4).
2: Add arp(4) and netintro(4) to Xrefs.

1: Discussed with: imp
2003-02-15 17:16:44 +00:00
trhodes
28fe8617c7 Xref miibus(4). 2003-02-15 17:12:53 +00:00
jhay
0333c90edc kenv moved from /usr/bin/ to /bin/. 2003-02-15 16:34:14 +00:00
jhay
b671096f55 Add another backslash ('\'). 2003-02-15 16:29:20 +00:00
nectar
31407d6289 Add libcrypto.so.2/libssl.so.2 from 4.7-RELEASE CDs. 2003-02-15 16:26:10 +00:00
trhodes
c4c6285284 Add a manual page for miibus(4) and attach it to the build.
Reviewed by:	peter, rwatson (older version)
2003-02-15 16:01:36 +00:00
des
8765c964a5 Avoid an undef warning. 2003-02-15 14:30:51 +00:00
shiba
058ff5e0df Add YIS YWL-11B. 2003-02-15 14:04:05 +00:00
shiba
a0396eb1b5 Add YIS YWL-11B. This card has same vendor id and product id
as XI300 Wireless LAN. So use PCMCIA_CARD2().
2003-02-15 13:59:54 +00:00
shiba
1d81fcf618 Regen. 2003-02-15 13:58:28 +00:00
shiba
afe7a9b3a4 Add YIS YWL-11B. This card has same vendor id and product id
as XI300 Wireless LAN.
2003-02-15 13:57:52 +00:00
seanc
ab4fbcec73 Add the Space Shuttle Columbia incident to calendar.history. While here
move LOTR "history" events into their own calendar file.  Link
calendar.lotr into calendar.world to preserve visibility of this pre-trendy
gem in BSD.
2003-02-15 10:57:20 +00:00
phantom
ec5df0f204 Add dlinfo(3) manual page to the rank of base system manpages 2003-02-15 10:52:46 +00:00
phantom
861ecc30a5 Add examples of dlinfo() usage to manual page. 2003-02-15 10:51:05 +00:00
seanc
cb6083f980 flexlint rears its head as well as some style(9) fixes[1]. Fixed a
few bugs for a few corner cases and correctly handle the case where
read(2) is read()'ing from a non-file descriptor and could get fewer
bytes back than the buffer, but it isn't EOF[2].  random(6) extensively
tested and believed to be bug free (save performance for large files).

Submitted by:	mkm [1], tjr[2]
2003-02-15 10:26:10 +00:00
tjr
c831929bbb Acquire Giant around calls to kern_sigaction() in sigaction(),
freebsd4_sigaction() and osigaction() instead of around the whole
body of those functions. They now no longer hold Giant around calls
to copyin() and copyout(), and it is slightly more obvious what
Giant is protecting.
2003-02-15 09:56:09 +00:00
tjr
a000ef163a osigpending() no longer needs Giant, for the same reason sigpending()
does not.
2003-02-15 09:15:30 +00:00
robert
cf513b76e7 Remove the suggestion to try `hangman', because it does not exist
in the base system anymore.
2003-02-15 09:11:25 +00:00
tjr
f12b647e3e All uses of p_siglist are protected by the proc lock now, so there's
no need to acquire Giant in sigpending() anymore.
2003-02-15 08:42:02 +00:00
tjr
a7cd813d68 Lock proc while accessing p_siglist, p_sigmask and p_sigignore
in nfs_sigintr().
2003-02-15 08:25:57 +00:00
darrenr
7a61ebe608 fix bug in updating of interface pointers when resyncing state 2003-02-15 06:47:27 +00:00
darrenr
e818bd682c bring changes in IPFilter to 3.4.31 on to the head 2003-02-15 06:32:48 +00:00
darrenr
cd8fb83e1f This commit was generated by cvs2svn to compensate for changes in r110917,
which included commits to RCS files with non-trunk default branches.
2003-02-15 06:27:40 +00:00
darrenr
bb1b56a0d0 Import userland tools for IPFilter 3.4.31 into -current 2003-02-15 06:27:40 +00:00
darrenr
6925466b63 Commit import changed from vendor branch of ipfilter to -current head 2003-02-15 06:25:25 +00:00
darrenr
609b8035e8 Commit import changed from vendor branch of ipfilter to -current head 2003-02-15 06:23:45 +00:00
darrenr
b9193cd07b sometimes i hate it when you leave temp files in a directory you import from 2003-02-15 06:21:14 +00:00
darrenr
78d190f556 This commit was generated by cvs2svn to compensate for changes in r110911,
which included commits to RCS files with non-trunk default branches.
2003-02-15 06:18:25 +00:00
darrenr
6c914c7379 Import IPFilter 3.4.31 into -current 2003-02-15 06:18:25 +00:00
hrs
e9d552bfc5 Merge the following from the English version:
1.495 -> 1.496	relnotes/common/new.sgml
2003-02-15 06:10:34 +00:00
alfred
29fb7c2bce Do not allow kqueues to be passed via unix domain sockets. 2003-02-15 06:04:55 +00:00
mtm
4d9a4192f7 When cleaning /var/run make sure the control files are not removed
unconditionally when the script is being rerun (when it is called
with the reload argument).

PR:		conf/47517
Approved by:	markm (mentor)
2003-02-15 06:00:11 +00:00
alfred
d9a7e5d627 Fix LOR with PROC/filedesc. Introduce fdesc_mtx that will be used as a
barrier between free'ing filedesc structures.  Basically if you want to
access another process's filedesc, you want to hold this mutex over the
entire operation.
2003-02-15 05:52:56 +00:00
hrs
40ff51b25d Improve the wording.
Reviewed by:	ru
2003-02-15 04:03:25 +00:00
ru
146e03f2e3 Implemented a simple "nodevice" config(8) command that cancels
the effect of the "device" command, and use it to generate the
OLDCARD from GENERIC.

Suggested by:	bde
2003-02-15 02:39:13 +00:00
hsu
b9cd8d8951 Take advantage of pre-existing lock-free synchronization and type stable memory
to avoid acquiring SMP locks during expensive copyout process.
2003-02-15 02:37:57 +00:00
ru
61e9b13e6a Convert to using <sys/queue.h> macros. 2003-02-15 02:26:13 +00:00