mckusick
040e64cd97
Move the truncation code out of vn_open and into the open system call
...
after the acquisition of any advisory locks. This fix corrects a case
in which a process tries to open a file with a non-blocking exclusive
lock. Even if it fails to get the lock it would still truncate the
file even though its open failed. With this change, the truncation
is done only after the lock is successfully acquired.
Obtained from: BSD/OS
2000-07-04 03:34:11 +00:00
mckusick
806786489f
If a buffer flush fails when trying to reclaim a vnode, it is too
...
late to save the vnode, so just toss any remaining unwritten buffers
rather than leaving them lying around to make trouble in the future.
2000-07-04 03:23:29 +00:00
billf
7d89e45539
${BDEFLAGS}
2000-07-04 02:27:49 +00:00
mjacob
582429cf3f
A side effect of new 12160 f/w- there is only one set whether target
...
mode enabled or not now (like the FC cards).
2000-07-04 02:06:00 +00:00
mjacob
941c0801dd
roll new Qlogic 2200 firmware in place
2000-07-04 02:05:13 +00:00
mjacob
1924cc8340
roll new Qlogic 2100 firmware in place
2000-07-04 02:04:48 +00:00
mjacob
a23f979a1f
roll new 12160.h firmware in place
2000-07-04 02:04:24 +00:00
mjacob
fb6b05afaa
Remove obsolete isp_dogactive tag.
2000-07-04 01:06:42 +00:00
mjacob
8df34aede7
Fix completely stupid and idiotiuc sprintfs in isp_inline.h with
...
with the STRNCAT function.
2000-07-04 01:06:23 +00:00
mjacob
e0a8dae616
Add in config_hook for catching when interrupts are safe- this allows
...
us to not the ints are ok and also to (re)ENABLE isp interrupts. Remove
all splcam()/splx() invocates and replace them with ISP_LOCK/ISP_UNLOCK
macros.
2000-07-04 01:05:43 +00:00
mjacob
22ee60424c
Add in isp_lock/isp_unlock inlines. Add in an islocked/intsok flag
...
to isp_osinfo substructure (all in prep for SMP). Define MBOX_WAIT_COMPLETE
and MBOX_NOTIFY_COMPLETE macros so that we can now (temp) use tsleep
to wait for mailbox completion. Requires us to guess whether we're
servicing an interrupt or not- will use intr_nesting_level.
Add local strncat function.
2000-07-04 01:04:35 +00:00
mjacob
6d0b729414
Change delay loop in new isp_mboxcmd to the use of the new MBOX_WAIT_COMPLETE
...
macro. Change notification of completion of a mailbox command in isp_intr
to MBOX_NOTIFY_COMPLETE macro.
2000-07-04 01:02:38 +00:00
mjacob
9d667c3b82
Change startup locking. Use new isp_handle_index function
...
for indexing off of handles to get dma maps.
2000-07-04 01:01:15 +00:00
mckusick
c3aca60a5b
Update tags directive to reflect the new location of soft updates
...
and the reorganization of the eisa directory.
2000-07-04 00:18:43 +00:00
billf
fb6a5b5ebd
"Fix" warnings.
2000-07-03 22:38:19 +00:00
roger
b76d84240a
remove rc and login.conf files prior to extraction of the new
...
rc and login.conf files from the /etc directory on the floppy.
This prevents the overwrite yes/no prompt from occuring in gzip.
(some PicoBSD disks use gzip and some use minigzip, so the gzip -f flag (force)
is not an option. minigzip has a different meaning for the -f flag.}
2000-07-03 22:31:08 +00:00
wilko
d3f3e6e294
- remove <please comment> lines
...
- add note on single CPU use on SMP boxes
- add note on kld for isp f/w
- corrected some typos
2000-07-03 21:14:00 +00:00
cg
679ed1b54d
do-nothing module that depends on all sound drivers
2000-07-03 21:00:44 +00:00
cg
809e9b3b6c
add module metadata. this is a hack, sound drivers will eventually present a
...
bus to which pcm, mixer, etc will attach.
2000-07-03 20:52:27 +00:00
peter
4f5fa991c0
Delete the RSAREF=YES example from make.conf - it is not used at all.
...
Add knobs for the optional crypto parts with some notes.
2000-07-03 20:52:01 +00:00
obrien
ba70f3eb4e
This commit was generated by cvs2svn to compensate for changes in r62475,
...
which included commits to RCS files with non-trunk default branches.
2000-07-03 18:44:09 +00:00
obrien
5d4d7eb572
Import Patchlevel 2 of the ISC 2.0 dhcp client.
2000-07-03 18:44:09 +00:00
phk
0cb13df515
Yellow hat this way: forgot cvs add.
2000-07-03 17:39:24 +00:00
phk
f101401a90
Pull the rug under block mode devices. they return ENXIO on open(2) now.
2000-07-03 13:48:37 +00:00
phk
aec15566c7
Experiemntal ascii based device configuration mechanism.
...
This may or may not survive, decision will be made well before 5.0-R
2000-07-03 13:34:18 +00:00
sheldonh
e7f486457a
Remove the use of a dash in the usage, since this isn't in keeping
...
with other utilities which offer similar functionality.
This change was discussed with ache, who brought in the ability to
use a dash to represent stdin in comcontrol.
2000-07-03 13:29:04 +00:00
phk
2a91a9dd04
Make the two calls from kern/* into softupdates #ifdef SOFTUPDATES,
...
that is way cleaner than using the softupdates_stub stunt, which
should be killed when convenient.
Discussed with: mckusick
2000-07-03 13:26:54 +00:00
phk
a02f6b8e45
Include SOFTUPDATES in NOTES/LINT by default.
2000-07-03 13:24:25 +00:00
phk
04f50515a9
Account for packets we clean out when we disconnect.
2000-07-03 13:08:56 +00:00
phk
32127fca4e
Add device_set_softc() which does the obvious.
...
Not objected to by: dfr
2000-07-03 13:06:29 +00:00
ache
4d4c1623e8
Describe agrument range correctly, according to multibyte(3)
...
Remove unneded comment
2000-07-03 13:03:15 +00:00
sheldonh
003a1ce32a
Clear the obsolete argument to the Os macro.
...
Clear extraneous arguments to Nm.
Use Pa to mark up paths.
Use a single tagged list in the FILES section.
2000-07-03 12:56:00 +00:00
asmodai
0f33a49366
Fix up typo.
...
Add description of sshd_program variable.
Submitted by: Ashley Penney <ashp@unloved.org>,
Adrian Chadd <adrian@freebsd.org>
2000-07-03 12:34:27 +00:00
davidn
93ab0f9072
Fix breakage introduced by bypassing update for additional 'mod'
...
functionality when nothing had actually changed; -d changes would
not set the 'something had changed flag'. Actually test for a
change in homedir.
PR: bin/19649
2000-07-03 12:13:10 +00:00
sheldonh
d442d3e2a6
What the commit log for rev 1.16 neglected to mention was that the
...
delta touched the Name Description (Nd). It introduced a grammar
error and did not fix the extraneous punctuation (Nd lines are not
terminated with a period).
2000-07-03 12:01:06 +00:00
sheldonh
9d7c25c179
Explicitly state that mountd can be made to re-read the exports file,
...
even though this may seem obvious to some folks.
Requested by: obrien
2000-07-03 11:43:48 +00:00
peter
3ce4d088b3
Add new man pages
2000-07-03 09:47:47 +00:00
peter
826c175570
Get this to compile in the 5.1-20000701-prerelease environment.
2000-07-03 09:40:52 +00:00
peter
617b29a94a
Fix a merge glitch - put our FREEBSD_NATIVE hack back in the original
...
place. The author saw fit to reindent the code which messed this up.
2000-07-03 09:38:46 +00:00
phk
61ff05be25
Style police catches up with rev 1.26 of src/sys/sys/sysctl.h:
...
Sanitize SYSCTL_HANDLER_ARGS so that simplistic tools can grog our
sources:
-sysctl_vm_zone SYSCTL_HANDLER_ARGS
+sysctl_vm_zone (SYSCTL_HANDLER_ARGS)
2000-07-03 09:35:31 +00:00
peter
1212bcc09f
Merge vendor changes onto mainline
2000-07-03 09:35:22 +00:00
peter
39a6db26dd
Merge conflicting vendor changes onto mainline. This essentially reverts
...
this file to the vendor version except for the added $FreeBSD$.
(The rev 1.2 IEXTEN change has been implemented more cleanly)
2000-07-03 09:30:28 +00:00
peter
09aa6a7a16
This commit was generated by cvs2svn to compensate for changes in r62449,
...
which included commits to RCS files with non-trunk default branches.
2000-07-03 09:24:12 +00:00
peter
cc6a5cc05f
Import the most recent ncurses 5.1 prerelease (20000701).
...
Mostly this is intended to resolve the trace() badness once and for all.
Obtained from: ftp://dickey.his.com/ncurses/
2000-07-03 09:24:12 +00:00
sheldonh
de3d6e2b9e
Remove trailing whitespace only.
2000-07-03 08:31:02 +00:00
sheldonh
63172fd7cd
Fix overlong line and trailing whitespace introduced in rev 1.8.
2000-07-03 08:28:30 +00:00
sheldonh
24537f6134
Add to the SEE ALSO section, a reference to the RFC mentioned in
...
text introduced in the previous commit.
2000-07-03 08:26:50 +00:00
roberto
17bfd1bd68
-lcompat doesn't seem to be needed anymore.
...
MFC candidate (compile fine on 5.0 and 4.0-STABLE).
2000-07-03 07:49:32 +00:00
peter
07b679d7be
Argh. Cut/paste transcription error. Fix syntax of previous commit.
2000-07-03 06:26:30 +00:00
peter
5e51a5bb2d
USA_RESIDENT is forced to YES or NO at the start of Makefile.inc1
...
Use that to be the final arbiter of whether or not to build the
librsaintl.so plugin for openssl/openssh. Add a magic WANT_RSAINTL flag
to force building even if USA_RESIDENT=YES.
2000-07-03 06:24:23 +00:00