Tim J. Robbins
d97ccc7e54
Mark linux_sigpending() as MPSAFE.
2003-02-16 02:31:05 +00:00
Tim J. Robbins
a5ea48d458
Regen from syscalls.master 1.49.
2003-02-16 02:28:35 +00:00
Jeffrey Hsu
a44009e07d
Remove extraneous FILEDESC_LOCK around atomic read.
2003-02-16 02:15:15 +00:00
Warner Losh
387ca2cc8a
Checkpoint a work in progress:
...
o Use the common pci_* routines in preference to the copied and hacked
routines from an ancient pci.c.
This saves 509 lines in cardbus.c. More savings to follow when I
convert the resource code over. In the past when I've done this the
resource code conversion breaks cardbus in subtle ways so I'm doing a
1/2 way checkpoint this time. cardbus still works for me the same as
it did before.
It also looks like cardbus devices now show up as pci bus devices to
pciconf -l, but maybe that was happening before.
Inspired by a patch from Justin Gibbs many moons ago. When he
finishes his kobj multiple inheritance work, we can transition the
finished version of this work to that fairly easily.
2003-02-16 02:06:50 +00:00
Warner Losh
594b5aeb67
Use rman_get_device rather than rle->resl->r_dev.
...
make pci_hdrtypedata and pci_read_extcap accessible (but maybe in the end
we'll make them private again).
2003-02-16 02:02:44 +00:00
Matt Jacob
03cf2fba38
Make sure we propagate rxid && iid in isp_target_put_atio
2003-02-16 01:37:51 +00:00
Matt Jacob
7369ae168f
Pick up some compilation warning fixes from NetBSD.
...
If we don't have ISP_FW_CRASH_DUMP defined, we have to do
a isp_reinit in the core code- not the platform code- so
fix the ISP_CONN_FATAL case.
2003-02-16 01:32:52 +00:00
Matt Jacob
a5cf62c2b3
Roll to latest level.
2003-02-16 01:30:31 +00:00
Chris Costello
d29d42d83d
Include a section about enabling MAC on UFS2 file systems. UFS1 is
...
a bit more challenging and will be added later.
Sponsored by: DARPA, Network Associates Laboratories
2003-02-16 00:57:48 +00:00
Scott Long
1e962d0012
Clean up the CIS BAR parsing code by removing several pointless checks.
...
Don't complain about the Option ROM BAR type since it's perfectly valid.
2003-02-16 00:20:24 +00:00
Dag-Erling Smørgrav
b645332a81
Assume "localhost" if no remote host was specified. This is safe from a
...
POLA point of view since the stock /etc/opieaccess now allows localhost.
2003-02-15 23:26:49 +00:00
Andrew R. Reiter
1f5a94d5f6
- Update a couple of comments to make sense with what today's code is
...
doing (stale comments make arr something something ;)).
2003-02-15 23:25:12 +00:00
Dag-Erling Smørgrav
d477c0ca56
Back out previous commit, I wasn't thinking clearly.
2003-02-15 23:20:04 +00:00
Dag-Erling Smørgrav
93174d0222
Allow password logins from localhost (including the console).
2003-02-15 23:17:40 +00:00
Dag-Erling Smørgrav
b9c5354345
Set PAM_RHOST to "localhost" if no remote host was specified. This allows
...
pam_opieaccess() to work as expected for local logins.
2003-02-15 23:16:41 +00:00
Giorgos Keramidas
4f110f6898
Remove {man,cat}n from /usr/share/man. They had been added for TCL,
...
but it's no longer a part of the base-system and buildworld works fine
here after deleting them both on disk and from the mtree spec files.
Not objected to by: kris, silence on -audit
2003-02-15 23:05:48 +00:00
Tor Egge
218a01e062
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
Tom Rhodes
6f8ebcc232
Link several of the if_* modules to their respected manual pages.
2003-02-15 22:28:33 +00:00
Ruslan Ermilov
4ce9429c20
Added dependency on the apm(4) module.
2003-02-15 21:22:19 +00:00
Marcel Moolenaar
89c1ecfade
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
Alan Cox
814f5c92d7
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
Alan Cox
53b1963649
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
Dag-Erling Smørgrav
e52af12a16
Log to stdout if no file was specified.
2003-02-15 19:32:52 +00:00
Alan Cox
8e42580deb
Assert that the kernel map's system mutex is held in pmap_growkernel().
2003-02-15 19:23:37 +00:00
Tom Rhodes
8140bbca57
Update xrefs to point at other usb pages.
2003-02-15 19:17:30 +00:00
David E. O'Brien
85d365a514
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
Andrew R. Reiter
da8f0c8429
- 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
David E. O'Brien
cb88de0913
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
David E. O'Brien
3459dd3784
Virgin import of Christos Zoulas's FILE 3.40.
2003-02-15 18:53:17 +00:00
Tom Rhodes
5fb7742c6f
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
Tom Rhodes
071d726d01
Xref miibus(4).
2003-02-15 17:12:53 +00:00
John Hay
8a3a674f02
kenv moved from /usr/bin/ to /bin/.
2003-02-15 16:34:14 +00:00
John Hay
160b4bbe6a
Add another backslash ('\').
2003-02-15 16:29:20 +00:00
Jacques Vidrine
dcd04f0d83
Add libcrypto.so.2/libssl.so.2 from 4.7-RELEASE CDs.
2003-02-15 16:26:10 +00:00
Tom Rhodes
8950078a6d
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
Dag-Erling Smørgrav
374053b528
Avoid an undef warning.
2003-02-15 14:30:51 +00:00
Takeshi Shibagaki
327c1562c5
Add YIS YWL-11B.
2003-02-15 14:04:05 +00:00
Takeshi Shibagaki
a544e1117c
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
Takeshi Shibagaki
617d6dd179
Regen.
2003-02-15 13:58:28 +00:00
Takeshi Shibagaki
a51440388a
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
Sean Chittenden
5a2d4ae2b9
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
Alexey Zelkin
02e6893b9c
Add dlinfo(3) manual page to the rank of base system manpages
2003-02-15 10:52:46 +00:00
Alexey Zelkin
f734492604
Add examples of dlinfo() usage to manual page.
2003-02-15 10:51:05 +00:00
Sean Chittenden
3f4b504568
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
Tim J. Robbins
4444375710
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
Tim J. Robbins
c41c566c4a
osigpending() no longer needs Giant, for the same reason sigpending()
...
does not.
2003-02-15 09:15:30 +00:00
Robert Drehmel
571c3db70d
Remove the suggestion to try `hangman', because it does not exist
...
in the base system anymore.
2003-02-15 09:11:25 +00:00
Tim J. Robbins
48e8f774cb
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
Tim J. Robbins
1bdd8ae409
Lock proc while accessing p_siglist, p_sigmask and p_sigignore
...
in nfs_sigintr().
2003-02-15 08:25:57 +00:00
Darren Reed
7ae7a6c4f7
fix bug in updating of interface pointers when resyncing state
2003-02-15 06:47:27 +00:00