Commit Graph

119331 Commits

Author SHA1 Message Date
krion
c2aa29b013 MFC: lib.h: 1.58
date: 2006/04/17 11:15:29;  author: krion;  state: Exp;  lines: +5 -3
  Add INDEX-7 and remove trailing spaces.
2006-05-14 07:06:37 +00:00
krion
82bf3bef5d MFC: main.c: 1.38
date: 2006/04/17 10:58:45;  author: krion;  state: Exp;  lines: +6 -1
  Use bzip2(1) by default to compress package tarball on
  __FreeBSD_version >= 500039.

  Submitted by:   Alex Lyashkov <umka@sevcity.net>
2006-05-14 07:01:47 +00:00
krion
feaf609fc2 MFC: sign.c: 1.5, x509.c: 1.5
date: 2006/03/15 01:19:23;  author: krion;  state: Exp;  lines: +13 -10
  Close descriptor in retrieve_x509_marker function.

  PR:             bin/71594
  Submitted by:   Dan Lukes <dan@obluda.cz>
2006-05-14 06:57:58 +00:00
krion
d433ebce18 MFC: add.h: 1.14, main.c: 1.67, perform.c: 1.80, pkg_add.1: 1.71
date: 2006/03/09 14:49:19;  author: phk;  state: Exp;  lines: +6 -1
  Add -F option to not fail on already installed packages.

  Submitted by:   Eugene Grosbein <eugen@grosbein.pp.ru>
2006-05-14 06:52:24 +00:00
tegge
c0ef94ef0b MFC: Bring the call to softdep_releasefile() within the region protected by
vn_start_secondary_write() since it might cause file system write
     activity (e.g. ffs_snapremove()).
2006-05-14 01:12:56 +00:00
tegge
09952cce7b MFC: Call vn_finished_write() before calling the coredump handler which will
indirectly call vn_start_write() as necessary for each write.
2006-05-14 01:07:48 +00:00
tegge
f34cbfff5a MFC: Try harder to flush first block of new subdirectory to get rid of
MKDIR_BODY dependency.
2006-05-14 00:55:20 +00:00
tegge
cba13d563e MFC: Return error if vnode was reclaimed while it was temporarily unlocked.
Add missing calls to vn_finished_write() in error handling.
2006-05-14 00:49:35 +00:00
tegge
d09d10cb05 MFC: Temporarily unlock vnode for new image being executed to avoid lock
order reversals that can lead to deadlocks.  Normally vn_close(),
     namei() or vrele() should not be called while holding vnode locks.
2006-05-14 00:46:13 +00:00
tegge
1d2af31a6f MFC: Turn off disk quotas for snapshot files. 2006-05-14 00:23:27 +00:00
tegge
17ce8da135 MFC: Avoid locking overhead when snapshots are disabled. 2006-05-14 00:18:18 +00:00
tegge
4081ad0c73 MFC: Avoid dereferencing NULL pointer. 2006-05-14 00:10:49 +00:00
tegge
c83e05380e MFC: Detect the snapshot file being prematurely unlinked. 2006-05-14 00:02:48 +00:00
tegge
24528b3490 MFC: Temporarily undo clusters contribution to global runningbufspace
while handling copy on write for the buffers taking part in the
     cluster.
2006-05-13 23:58:41 +00:00
tegge
0fc16cb7fa MFC: A side effect of calling runningbufwakeup() is that
bp->b_runningbufspace is cleared.  Save old value and restore
     bp->b_runningbufspace before returning from ffs_copyonwrite().
2006-05-13 23:52:59 +00:00
tegge
dea3927dd2 MFC: Close a race when VOP_LOCK() on a snapshot file is attempted at the
same time as it is changed back into a normal file.  The locker would
     get the shared "snaplk" lock which would no longer be the correct lock
     for the vnode.
2006-05-13 23:49:45 +00:00
tegge
2b650394a3 MFC: Add NO_FFS_SNAPSHOT kernel option. 2006-05-13 23:40:44 +00:00
bmah
b536883ca3 Add an errata note about IOCATAREQUEST API/ABI incompatability.
Reviewed and edited by:	scottl, maxim
2006-05-13 21:20:52 +00:00
pjd
0b852a3c37 MFC: sys/kern/vfs_subr.c 1.671
vn_start_write()/vn_finished_write() is not needed here, because
vn_start_write() is always called earlier in the code path and calling
the function recursively may lead to a deadlock.

Confirmed by:	tegge
2006-05-13 14:01:35 +00:00
brooks
0f6e8e11cd MFC rev 1.14:
Be more like Windows and Linux and send our hostname in the host-name
option if none is given in the config file.  Also add #ifdefd out
support for sending a client ID based on our MAC address.

PR:		bin/94743, bin/76401
Submitted by:	Frank Behrens <frank at pinky dot sax dot de>
2006-05-13 03:42:01 +00:00
brooks
88670e3978 MFC revs 1.12-14:
1.12,14 - Use /var/run instead of /etc for temporary files
 1.13 - Fix the TIMEOUT case

PR:		bin/90518, bin/92187
2006-05-13 03:24:00 +00:00
cel
1ea7ae8052 MFC revision 1.34
add nfsclient/, nfs4client/, and rpc/ directories to the
top Makefile's rule to build a cscope database.
2006-05-13 00:29:46 +00:00
bmah
79872429a9 MFC: tzdata2006g. 2006-05-12 17:08:31 +00:00
delphij
ff89495d57 MFC Makefile,v 1.12 and btxld.c,v 1.10:
+ Include netinet/in.h for ntohl()
 * Since the return value was tested separately, cast the values to
   size_t in order to shut up compiler warnings.
 + Raise WARNS= level to 6

PR:		bin/71666
Submitted by:	Dan Lukes <dan at obluda.cz>
2006-05-12 02:28:20 +00:00
njl
3735a61184 MFC: Include defs for ACPI KTR support 2006-05-11 18:01:07 +00:00
njl
e33185d552 MFC: sync up various changes from HEAD
* Improve sysresource probing
* Use CTR for the EC logging
* Remove unused variables
* Add an AML IO port blacklist, prints warning only for now
* Fallback to the RSDT if the XSDT is invalid in APIC probe
2006-05-11 17:41:00 +00:00
ume
18c9149607 MFC 1.79: fix indent. 2006-05-11 16:32:18 +00:00
ume
e6b4fcf251 MFC 1.3: Remove the nls/*/charset files from the exclude list.
These files are required for NLS catalog support.
2006-05-11 16:20:48 +00:00
bmah
88c33ba365 MFC: Bump copyright year on the hardware notes and installation guide.
hardware/common/artheader.sgml	1.7 -> 1.8
	installation/common/artheader.sgml	1.7 -> 1.8

PR:		97134
2006-05-11 16:10:06 +00:00
ru
289808c039 MFC: 1.353: Fix "make distribution" when just NO_CRYPT is defined. 2006-05-11 15:56:47 +00:00
jmg
e9265d9ae0 MFC: v1.18 and v.120
Sprinkle a few stars where they belong.
2006-05-11 13:43:17 +00:00
wollman
b7536e5b49 Recognize the backwardness of "systemv" in 6.x as well. 2006-05-11 04:57:28 +00:00
wollman
65693ee43e Merge tzdata2006g from vendor. See HEAD for full details. 2006-05-11 04:55:10 +00:00
keramida
1f06a478ec MFC 1.28:
# Note that when -d flag is used, mountd(8) will not detach from the
# controlling terminal.
#
# PR:             docs/96660
# Submitted by:   Jeff Ito <ijk@speakeasy.net>
# MFC after:      1 week
2006-05-10 19:45:56 +00:00
wilko
c56d3a0c6a MFC: now what is the error exactly?? 2006-05-10 19:22:17 +00:00
ps
8f15f2260c MFC:
rev 1.69, 1.68
Free some memory leaks

rev 1.66
Update PCI ids to add the E200, E200i, P400, and P400i storage
controllers.  Remove the E400 since it is not a real product.
2006-05-10 19:06:35 +00:00
bmah
2fa22a5f65 Trim release notes for a post-6.1 RELENG_6. 2006-05-10 16:53:04 +00:00
bmah
40abdb9d39 Bump &release.* version number entities for a post-6.1 world. 2006-05-10 16:39:28 +00:00
bmah
361919a043 New errata notes: 6.0-RELEASE content in errata file, www/kde3
pathname typo in relnotes, dual-core CPU note.
2006-05-10 16:22:32 +00:00
maxim
894687d6cb MFC rev. 1.127: add IDs for Plan9, QNX4.X, Mac OS-X,
Linux extended partitions.
2006-05-10 15:26:46 +00:00
maxim
064c5dc39c MFC revs. 1.100 - 1.103: DragonFly 1.4.0, OpenBSD 3.9, FreeBSD 6.1 added.
Fix an URL to the "The BSD Family Tree" article.
2006-05-10 14:31:58 +00:00
maxim
dcadc82866 MFC rev. 1.1223: add acpi_ibm to the build. 2006-05-10 14:26:03 +00:00
flz
aa5f82c89d MFC: Fix quoting.
src/etc/rc.d/jail: rev 1.28 -> 1.29

Reported by:	Dirk Engling <erdgeist at erdgeist.org>
Approved by:	pjd
2006-05-10 13:05:52 +00:00
wilko
4c2e636ffc MFC: her name was Anne Frank, not Ann Frank 2006-05-10 11:43:22 +00:00
pjd
3f7387b93e MFC: sys/dev/bge/if_bgereg.h 1.47
Correct an obvious typo.
2006-05-10 07:27:42 +00:00
pjd
0303ba3815 MFC: sys/geom/eli/g_eli.c 1.22,1.23,1.24
sys/geom/eli/g_eli_crypto.c	1.3

Sync geli with HEAD.

- geli(8) provides keys on newsession time, so remove CRD_F_KEY_EXPLICIT flag
  as HW crypto drivers don't support it.

- Correct debug: we are sending child bio here, not parent bio.

- Pass BIO_GETATTR requests down.
2006-05-10 07:22:36 +00:00
pjd
5ed608104d MFC: sbin/geom/class/eli/geom_eli.c 1.10
Correct error messages.
2006-05-10 07:17:45 +00:00
pjd
94bc1342b1 MFC: sys/geom/raid3/g_raid3.c 1.60,1.62,1.63,1.66
sys/geom/raid3/g_raid3.h	1.18
	sys/geom/raid3/g_raid3_ctl.c	1.16

Sync graid3 with HEAD.

- Introduce and use delayed-destruction functionality from a pre-sync hook,
  which means that devices will be destroyed on last close.
  This fixes destruction order problems when, eg. RAID3 array is build on
  top of RAID1 arrays.

  Requested, reviewed and tested by:	ru

- Be sure to not destroy device twice. This is only possible in theory, but
  with this change there is even no theoretical race.

- Remove dead code.
- Comment possible event miss, which isn't critical, but probably can be
  fixed by replacing the event lock usage with the queue lock.

- Use G_RAID3_FOREACH_SAFE_BIO() macro instead of G_RAID3_FOREACH_BIO() in
  two places where g_io_request() is called. g_io_request() can free bio
  structure so we can't reference it after and G_RAID3_FOREACH_BIO() macro
  was doing this.

  Found by:	Coverity Prevent analysis tool (with my new models)
2006-05-10 07:15:37 +00:00
pjd
54f2c508d7 MFC: sys/geom/mirror/g_mirror.c 1.81,1.82,1.83
sys/geom/mirror/g_mirror.h	1.23
	sys/geom/mirror/g_mirror_ctl.c	1.16

Sync gmirror with HEAD:

- Introduce and use delayed-destruction functionality from a pre-sync hook,
  which means that devices will be destroyed on last close.
  This fixes destruction order problems when, eg. RAID3 array is build on
  top of RAID1 arrays.

  Requested, reviewed and tested by:	ru

- Be sure to not destroy device twice. This is only possible in theory, but
  with this change there is even no theoretical race.

- Remove dead code.
- Comment possible event miss, which isn't critical, but probably can be
  fixed by replacing the event lock usage with the queue lock.
2006-05-10 07:10:03 +00:00
pjd
c21f8ac91a MFC: sys/kern/kern_shutdown.c 1.178
sys/vm/swap_pager.h		1.51
	sys/vm/swap_pager.c		1.278,1.279

On shutdown try to turn off all swap devices. This way GEOM providers are
properly closed on shutdown.

Requested by:	ru
Reviewed by:	alc
2006-05-10 07:00:09 +00:00