Commit graph

115100 commits

Author SHA1 Message Date
Ian Dowse 2c443c417c Don't copy the NFSMNT_* flags into struct statfs's f_flags field,
as they have no connection with the expected MNT_* flags. This bug
was exposed 18 months ago when the assignments to f_flags in
vfs_syscalls.c were moved to before the VFS_STATFS() call. It was
fixed in the CSRG source 10 years ago, but we never picked up that
change.

PR:		kern/80390
MFC after:	1 week
2005-05-02 15:57:10 +00:00
Xin LI c46578bd27 Use static for static variables. This fixes gcc4 build. 2005-05-02 14:18:08 +00:00
Xin LI 8516925d8a Use socklen_t in place of socket operations, instead of int 2005-05-02 14:02:43 +00:00
Christian Brueffer 756d2046fb Document the device burncd uses by default.
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>
MFC after:	3 days
2005-05-02 11:59:21 +00:00
Hajimu UMEMOTO a89e588c90 add targets for ipnodes.byname and ipnodes.byaddr which carries
IPv6 addresses.  these targets are off by default, and these
are built when there is /var/yp/ipnodes.
2005-05-02 11:19:52 +00:00
Xin LI add62273c9 Include systat.h for cmdtab, to make gcc4 happy. 2005-05-02 10:50:10 +00:00
Xin LI d2b67fd0e8 Cleanups for gcc4:
- Use socklen_t for socket functions
 - Remove an unnecessary extern
 - Signed/unsigned cleanups

Reviewed by:	harti
2005-05-02 10:31:27 +00:00
Xin LI 05195f8d61 Consistently use signed char so gcc4 won't complain 2005-05-02 10:23:03 +00:00
Xin LI 48ce8ca1aa WARNS=6 and gcc4 cleanup:
- Use const where necessary
	- Use __unused where applicable
	- Rename variables that is conflicit with global definations
2005-05-02 10:13:38 +00:00
Joseph Koshy 39f4e0fcd2 Neaten usage message. 2005-05-02 10:07:11 +00:00
Xin LI 263d6a7ece include stdarg.h for va_list 2005-05-02 10:04:16 +00:00
Xin LI 0c40596cc0 Make gcc4 happy by making consistent signedness. 2005-05-02 10:00:39 +00:00
Hajimu UMEMOTO 322b21739f fix typo in previos commit. 2005-05-02 09:42:59 +00:00
Hajimu UMEMOTO 4e5a7758f6 teach IPv6 to async DNS resolver in ypserv:
- query AAAA RR on ipnodes.byname query.
- query .ip6.arpa. on ipnodes.byaddr query.
2005-05-02 09:34:07 +00:00
SUZUKI Shinsuke 7c6523affc fixed a possible reference to a broken memory
MFC after: 1 day
2005-05-02 07:44:24 +00:00
Søren Schmidt 4156b20c71 Always attach a subdisk even if no valid metadata found.
This allows the disks to be used later in a raid create.
2005-05-02 07:06:50 +00:00
Alan Cox b7903e65fb Remove GIANT_REQUIRED from vmspace_exec().
Prodded by: jeff
2005-05-02 07:05:20 +00:00
Bruce A. Mah 6a5f213745 New release notes: musycc gone, new ndis(4) driver generation/load
mechanism, bsnmp 1.9, libz 1.2.2.
2005-05-02 05:56:30 +00:00
Hajimu UMEMOTO 943db5a2ab the 3rd argument of getsockname() should be socklen_t*.
Submitted by:	stefanf
2005-05-02 04:43:32 +00:00
Christian S.J. Peron 02fe1744f1 Since it is not possible for curthread to be NULL in this context,
drop the check+initialization for a straight initialization. Also
assert that curthread will never be NULL just to be sure.

Discussed with:	rwatson, peter
MFC after:	1 week
2005-05-02 02:07:55 +00:00
Bruce A. Mah 5e4056ab78 New release notes: IPFilter 4.1.8, tcsh 6.14.00. 2005-05-02 01:14:36 +00:00
Bruce A. Mah 45d1812df3 Fix a few grammos and style nits here and there. 2005-05-02 01:09:32 +00:00
Stefan Farfeleder b484917d53 Make caesar and pom WARNS 6 clean. While there, use prototypes everywhere.
PR:	62456
2005-05-01 19:34:22 +00:00
Warner Losh 7d23fba22f Remove lame and ineffectual attempt to fix ipf breakage of tenderbox. 2005-05-01 17:36:09 +00:00
Xin LI 5cb3f9e280 MFen 1.845-1.849
Obtained from:	The FreeBSD Simplified Chinese Project CVS
2005-05-01 15:07:58 +00:00
Joseph Koshy c5153e190b Add convenience APIs pmc_width() and pmc_capabilities() to -lpmc.
Have pmcstat(8) and pmccontrol(8) use these APIs.

Return PMC class-related constants (PMC widths and capabilities)
with the OP GETCPUINFO call leaving OP PMCINFO to return only the
dynamic information associated with a PMC (i.e., whether enabled,
owner pid, reload count etc.).

Allow pmc_read() (i.e., OPS PMCRW) on active self-attached PMCs to
get upto-date values from hardware since we can guarantee that the
hardware is running the correct PMC at the time of the call.

Bug fixes:
 - (x86 class processors) Fix a bug that prevented an RDPMC
   instruction from being recognized as permitted till after the
   attached process had context switched out and back in again after
   a pmc_start() call.

   Tighten the rules for using RDPMC class instructions: a GETMSR
   OP is now allowed only after an OP ATTACH has been done by the
   PMC's owner to itself.  OP GETMSR is not allowed for PMCs that
   track descendants, for PMCs attached to processes other than
   their owner processes.

 - (P4/HTT processors only) Fix a bug that caused the MI and MD
   layers to get out of sync.  Add a new MD operation 'get_config()'
   as part of this fix.

 - Allow multiple system-mode PMCs at the same row-index but on
   different CPUs to be allocated.

 - Reject allocation of an administratively disabled PMC.

Misc. code cleanups and refactoring.  Improve a few comments.
2005-05-01 14:11:49 +00:00
Robert Watson b60d26c9b9 Remove now unused inirw variable from previous use of COMMON_END().
Reported by:	csjp
2005-05-01 14:01:38 +00:00
Peter Grehan 6ac8f17ee4 Catch up with latest ATA newbus commits. 2005-05-01 13:11:29 +00:00
Peter Grehan 73fddedac8 Fix typo in last commit.
Approved by:	rwatson
2005-05-01 13:06:05 +00:00
Hajimu UMEMOTO f468e837a1 oops, we don't need previous change. 2005-05-01 12:37:12 +00:00
Søren Schmidt 9ec5e87f63 Update on the last commit, the dma* funciton needs to be called with
a channel device, not an ata device, or we'll be out of luck in
reset/timeout where we dont have a device.
2005-05-01 12:24:45 +00:00
Hajimu UMEMOTO 6bd1d1a192 make it compilable without YP definition. 2005-05-01 12:08:57 +00:00
Jeff Roberson b2e2166483 - All buffers should either be clean or dirty. If neither of these flags
are set when we attempt to remove a buffer from a queue we should panic.
   Hopefully this will catch the source of the wrong bufobj panics.

Sponsored by:	Isilon Systems, Inc.
2005-05-01 12:00:36 +00:00
Robert Watson d1401c9000 Slide unlocking of the tcbinfo lock earlier in tcp_usr_send(), as it's
needed only for implicit connect cases.  Under load, especially on SMP,
this can greatly reduce contention on the tcbinfo lock.

NB: Ambiguities about the state of so_pcb need to be resolved so that
all use of the tcbinfo lock in non-implicit connection cases can be
eliminated.

Submited by:	Kazuaki Oda <kaakun at highway dot ne dot jp>
2005-05-01 11:11:38 +00:00
Yoshihiro Takahashi cdb5312231 - Merged some missing changes from fdisk/fdisk.c.
- Remove ifdef PC98.
- Make WARN=4 clean.
2005-05-01 10:08:35 +00:00
Yoshihiro Takahashi 7fa181d423 cosmetic changes. 2005-05-01 09:50:02 +00:00
Yoshihiro Takahashi 9b073f6668 Add some convenience defines. 2005-05-01 09:48:24 +00:00
Yoshihiro Takahashi 16da54931e Fix signed vs unsigned warning. 2005-05-01 09:44:50 +00:00
Søren Schmidt 1191f58127 Go back to the old way of finding the Promise metadata, the new way was
too simple causing older controllers metadata to get lost.
2005-05-01 08:45:12 +00:00
Alexander Leidinger 540fac8974 - document powerd_flags too
- add a reference to powerd(8)

Approved by:	mentor (joerg)
2005-05-01 08:34:01 +00:00
Makoto Matsushita efd61bb045 Add ntp.jst.mfeed.ad.jp and ntp1.v6.mfeed.ad.jp (IPv6 only) to
the NTP server list.

The servers are by Internet Multifeed Co., and connected to their
IX service JPNAP.  It would be a good NTP server for machines in Japan.

See also http://www.jst.mfeed.ad.jp/ for more details (Japanese only).

Reviewed by:	nork
2005-05-01 08:19:54 +00:00
Hajimu UMEMOTO 8592d23a9f don't see RES_USE_INET6 when called from getipnodeby*(). 2005-05-01 07:39:45 +00:00
Yoshihiro Takahashi 7422f40538 Merged more changes from fdisk/fdisk.c. 2005-05-01 05:04:05 +00:00
Yoshihiro Takahashi 61456bbd76 Use NDOSPART macro instead of a magic number. 2005-05-01 05:01:55 +00:00
Yoshihiro Takahashi cbf1a58f6c Merged from src/sbin/fdisk/fdisk.c revision 1.77. 2005-05-01 04:14:01 +00:00
Yoshihiro Takahashi fb4c2dbf41 MFi386: revision 1.1198 (add KDB_STOP_NMI option). 2005-05-01 04:00:12 +00:00
Yoshihiro Takahashi 3e2900d7e5 MFi386: revision 1.220 (add KDB_STOP_NMI option). 2005-05-01 03:59:25 +00:00
Sam Leffler cf82599dcc update for recent api changes 2005-05-01 02:12:44 +00:00
Peter Wemm d18dd30b93 Turn on libobjc.so for all platforms on -current. It didn't work back
in 1996.
2005-05-01 01:59:48 +00:00
Jeff Roberson 8d46d9c46f - Remove spls and comments relating to them. 2005-05-01 01:01:17 +00:00