119563 Commits

Author SHA1 Message Date
maxim
5914e1e362 MFC revs. 1.276 and 1.277 ufs_vnops.c and rev. 1.18 truncate.2:
silently ignore truncate requests for all but VREG, VLNK and VDIR.
2006-06-14 08:41:15 +00:00
yar
226fdc6533 MFC: Make it actually possible to disable INET6 support in ftpd(8). 2006-06-14 07:42:45 +00:00
bmah
8f49e73531 MFC: FreeBSD/sparc64 supports the Ultra 1, so move to the "supported"
list.
2006-06-13 17:54:33 +00:00
mjacob
626bd4ab19 MFC 1.24- add ability to reset individual targets and negotiate specific rates. 2006-06-13 15:25:32 +00:00
brueffer
261860efa2 MFC: rev. 1.27
Be explicit about which chips support jumbo frames.
2006-06-13 14:09:48 +00:00
kib
acfba19bd2 MFC of the temporary fix for nfsd leaking GIANT.
src/sys/nfsserver/nfs_serv.c rev. 1.165
src/sys/nfsserver/nfs_srvsubs.c rev. 1.141

Approved by:	pjd (mentor)
2006-06-13 10:50:29 +00:00
yongari
8ab6604a26 MFC 1.108 to RELENG_6
Uncomment sk(4) as it's now working.
2006-06-13 02:36:07 +00:00
yongari
a68f12980c Sync with HEAD.
- bus_dma(9), MPSAFE conversion
 - rework PHY setup
 - fix false watchdog timeout
2006-06-13 02:11:52 +00:00
yongari
3a3faaad1a Moved sk(4) to /sys/dev/sk to sync with HEAD. 2006-06-13 01:39:48 +00:00
cvs2svn
d0023ab87e This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-06-12 22:58:51 +00:00
maxim
7e277c8e1f MFC rev. 1.213: fix a comment. 2006-06-12 15:06:22 +00:00
bmah
9db1d45a4d MFC: GNOME 2.14.2, KDE 3.5.3. 2006-06-12 01:47:29 +00:00
njl
8c405a707a MFC: reduce diffs to current and include changes to allow the
eventual acpi_dock MFC and enabling reset register support.
2006-06-11 20:50:08 +00:00
marcel
40a2f9e3ed MFC rev 1.38:
Fix unaligned memory accesses on Alpha and possible other platforms.

Tested by: wilko@
2006-06-11 20:02:58 +00:00
rwatson
efb6a9acb5 Merge COPYRIGHT:1.3 from HEAD to RELENG_6:
Update global copyright statement for netatalk, as I claim copyright
  on changes in a number of files in netatalk.
2006-06-11 17:02:10 +00:00
rwatson
74338f3eaf Merge protosw.h:1.53 from HEAD to RELENG_6:
Update comments in struct protosw to reflect changing times:

  - Between 1996 and 1997, wollman eliminated pr_usrreq() and replaced it
    with direct function pointers.  Update comment to reflect these changes.

  - In 2003, I added pru_sosetlabel().  Update comment to reflect this
    change.
2006-06-11 17:01:36 +00:00
rwatson
f0d5053aa6 Merge if_arc.h:1.9, if_arcsubr.c:1.30 from HEAD to RELENG_6:
Use ANSI C function protypes and declarations for if_arcsubr.
2006-06-11 16:31:19 +00:00
rwatson
d695f65f2a Merge uipc_socket2.c:1.153 from HEAD to RELENG_6:
Add a sysctl, regression.sonewconn_earlytest, which when options
  REGRESSION is enabled, allows user space to dictate that sonewconn()
  should skip it's "skip the hard work" check to see if the listen
  queue is full, and instead proceed with allocation of a socket and
  trimming of the overflowed queue.  This makes it easier to test the
  queue overflow logic.
2006-06-11 16:23:44 +00:00
rwatson
3df139658a Merge sysctl.h:1.140 from HEAD to RELENG_6:
Declare regression subtree in sysctl.h so that components outside of
  kern_mib.c can easily add regression sysctls.
2006-06-11 16:22:49 +00:00
rwatson
072b8792e4 Merge in_pcb.h:1.84 from HEAD to RELENG_6:
Minor style tweak: tab after #define, not space.
2006-06-11 16:20:55 +00:00
rwatson
15c2f2840f Merge tcp_input.c:1.292, tcp_timer.c:1.77 from HEAD to RELENG_6:
Explicitly assert socket pointer is non-NULL in tcp_input() so as to
  provide better debugging information.

  Prefer explicit comparison to NULL for tcpcb pointers rather than
  treating them as booleans.
2006-06-11 16:18:50 +00:00
rwatson
4a589eb384 Merge ddp_usrreq.c:1.47 from HEAD to RELENG_6:
In at_setsockaddr(), assert that ddp != NULL, rather than returning an
  error if it's NULL, as so_pcb != NULL is now an invariant.
2006-06-11 16:17:22 +00:00
philip
79f0ee4a0b MFC acpi_asus(4) documentation.
Forgotten by:	philip
Reminded by:	brueffer
2006-06-11 12:02:34 +00:00
philip
298c4bc121 Long-overdue MFC:
r1.28: Add support for Asus W5A laptops
  r1.27: Add support for Asus A4D laptops
  r1.26: Add support for Asus A6VM laptops
2006-06-11 11:43:40 +00:00
philip
07eb6a40c3 Long-overdue MFC:
Allow non-P laptops to make use of this module.

	Other major changes (from the author):

	 o Individual method probing
	 o Finally figured out what the RBLL, RVOL, GHKS, GSIF are:
	   - RBLL - lcd_brightness radix
	   - RVOL - volume radix
	   - GHKS - Currently activated hotkey (internal)
	   - GSIF - Hotkey mask (internal)

Submitted by:	Anish Mistry <mistry.7 -at- osu.edu>
2006-06-11 11:34:09 +00:00
stefanf
110e8ea45a MFC id.c rev 1.27: Print the euid after the gid. 2006-06-11 08:49:29 +00:00
gordon
9ba2791c5e MFC auto updating of files not modified by the user. 2006-06-10 21:42:49 +00:00
simon
27f2c8cdfe MFC:
- Add support for filtering the the list of providers by a regular
    expression, which makes it possible to only see interesting
    providers.  "f" is used inside gstat to set a filter, "F" is used to
    remove current filter.
  - Do not print some uninteresting values in the gstat title line.
  - Do not print past the end of the screen.
  - Read multiple keystrokes per "wait" when gstat is running.
  - Remove a redundant != check, right after check of NULL against the
    same variable ("gid").
  - Use sysexits.h.
  - Do not link against libkvm and libsbuf, they are not actually used.
  - Fix a few style(9) issues where I had to touch nearby code anyway.

      src/usr.sbin/gstat/Makefile: rev 1.6 -> 1.7
      src/usr.sbin/gstat/gstat.8: rev 1.7 -> 1.8
      src/usr.sbin/gstat/gstat.c: rev 1.12 -> 1.13
2006-06-10 15:40:10 +00:00
bmah
9c6114354f MFC: du(1) -n, getent(1). 2006-06-10 14:57:22 +00:00
pav
055f89d66e MFC:
- Add decoding of kse_release, ...
- Fix crash when hitting unknown syscall
2006-06-09 21:08:51 +00:00
emax
a459bffc46 MFC:
Fix an unwanted gcc4 warning.

Submitted by:	delphij
2006-06-09 21:00:10 +00:00
hsu
85416acdd7 Merge rev 1.41 from current: correct test for fragmented packet. 2006-06-09 18:19:16 +00:00
flz
28e479d336 Backout this commit since new bug reports have raised after the MFC:
- Set a two read-only variables (${prefix} and ${etcdir}). This is
    especially useful when using /etc/rc.d scripts with third-party
    software installed from ports.
    - Fix rc.d/sshd to work with openssh from ports using ${etcdir}
    instead of hardcoded /etc.
    - Reflect prefix/etcdir changes in rc.subr.8.
2006-06-09 10:14:39 +00:00
rwatson
fa95682921 Merge ipx_usrreq.c:1.56 from HEAD to RELENG_6:
Make this compile without INVARIANTS.
2006-06-08 23:36:39 +00:00
rwatson
de2494a01d Merge README:1.8 from HEAD to RELENG_6:
Add a simple netipx TODO list to the end of README, since there are a
  number of problems with netipx that I have not yet resolved, and I
  don't want them lost track of.
2006-06-08 23:36:03 +00:00
rwatson
42b5ee0134 Merge ipx_input.c:1.55 from HEAD to RELENG_6:
Canonicalize copyright order in one more file that contains my
  copyright.
2006-06-08 23:35:42 +00:00
rwatson
c17170d981 Merge spx_usrreq.c:1.82 from HEAD to RELENG_6:
In spx_output(), use M_DONTWAIT instead of M_TRYWAIT, as we hold the
  ipxpcb mutex.  Contrary to the comment, even in 4.x this was unsafe,
  as parallel use of the socket by another process would result in pcb
  corruption if the mbuf allocation slept.
2006-06-08 23:35:16 +00:00
rwatson
f853872905 Merge spx_usrreq.c:1.81 from HEAD to RELENG_6:
In spx_input(), change a '&&' to a '||', as the spx trace code is able
  to handle a NULL 'cb' here.
2006-06-08 23:34:43 +00:00
rwatson
10b7eb98dd Merge spx_usrreq.c:1.80 from HEAD to RELENG_6:
In spx_accept, assert ipxp != NULL, not == NULL.
2006-06-08 23:33:58 +00:00
rwatson
d17fc2ac36 Merge spx_usrreq.c:1.79 from HEAD to RELENG_6:
In various SPX protocol entry points from the socket layer, check
  IPXP_DROPPED before continuing, and return EINVAL or ECONNRESET if
  it is flagged.  It's unclear why each situation should be one or
  the other, but it is copied from netinet which has the same bugs.
2006-06-08 23:33:24 +00:00
rwatson
2df45add94 Merge ipx_pcb.h:1.26, spx_usrreq.c:1.78 from HEAD to RELENG_6:
Add a new ipxpcb flag, IPXP_SPX, which is set on ipxpcb's to mark them
  as belonging to SPX.  This replaces the implicit assumption that the cb
  pointer for non-SPX pcb's will be NULL.  This isn't required in TCP/IP
  as different pcb lists are maintained for different IP protocols; IPX
  stores all pcbs on the same global ipxpcb_list.

  Foot provided by:       gnn
2006-06-08 23:32:42 +00:00
rwatson
0c607a85c6 Merge spx_usrreq.c:1.77 from HEAD to RELENG_6:
Restore original formulation of SPX segment queue draining during SPX
  PCB detach.
2006-06-08 23:31:47 +00:00
rwatson
0fb4154318 Merge ipx_pcb.c:1.45, ipx_pcb.h:1.25, ipx_usrreq.c:1.53, spx_usrreq.c:1.76
from HEAD to RELENG_6:

  Rework IPX/SPX socket and pcb reference model:

  - Introduce invariant that all IPX/SPX sockets will have valid so_pcb
    pointers to ipxpcb structures, and that for SPX, the control block
    pointer will always be valid.  Don't attempt to free the socket or
    pcb at various odd points, such as disconnect.

  - Add a new ipxpcb flag, IPXP_DROPPED, which will be set in place of
    freeing PCB's so that this invariant can be maintained.  This flag
    is now checked instead of a NULL check in various socket protocol
    calls.

  - Introduce many assertions that this invariant holds.

  - Various pieces of code, such as the SPX timer code, no longer needs
    to jump through hoops in case it frees a PCB while running.

  - Break out ipx_pcbfree() from ipx_pcbdetach().  Likewise
    spx_pcbdetach().

  - Comment on some SMP-related limitations to the SPX code.

  - Update copyrights.
2006-06-08 23:31:16 +00:00
rwatson
97f7b74500 Merge spx_usrreq.c:1.75 from HEAD to RELENG_6:
Restructure spx_attach() to properly free memory in the event that one
  of its allocations fails.  Allocate the ipxp last so as to avoid having
  to free it if another allocation goes wrong.

  Normalize retrieval of ipxp and cb from socket in spx_sp_attach(), and
  add assertions.
2006-06-08 23:28:55 +00:00
rwatson
1f464a1347 Merge spx_usrreq.c:1.74 from HEAD to RELENG_6:
Don't bother restoring host byte order of mbuf fields when we're just
  about to free the mbuf in the spx_input() error path.
2006-06-08 23:22:47 +00:00
rwatson
d5fff948ad Merge spx_usrreq.c:1.73 from HEAD to RELENG_6:
In spx_ctloutput(), acquire the ipxp lock around read operations,
  especially reads of spx header structures, which will now be cached
  in the stack until they can be copied out after releasing the lock.
  Panic if a bad socket option direction is passed in by the caller.
2006-06-08 23:22:02 +00:00
rwatson
b60fd3c465 Merge spx_usrreq.c:1.72 from HEAD to RELENG_6:
Slight style reformatting of spx_timers() comments; panic if an
  unrecognized timer is passed into the function.
2006-06-08 23:21:25 +00:00
rwatson
12b89b7e1c Merge ipx_pcb.c:1.44, spx_usrreq.c:1.71 from HEAD to RELENG_6:
Clean up and style(9) SPX code prior to significant functional changes
  being committed:

  - Wrap comments more evenly on right border.
  - Clean up braces.

  Also, along similar lines:

  - Assert some pointers are non-NULL before dereferencing them.
  - Remove one assertion that looks, on face value, poor.
2006-06-08 23:20:37 +00:00
rwatson
42cd5f7b8b Merge spx_usrreq.c:1.70 from HEAD to RELENG_6:
Protect spx_iss using its own mutex, spx_mtx, rather than piggy-backing
  on the global IPX mutex, which is not held at all necessary strategic
  points.
2006-06-08 23:18:40 +00:00
rwatson
1cf5c31809 Merge spx_usrreq.c:1.69 from HEAD to RELENG_6:
Move definition of spxrexmtthresh to top of file with other global
  variables.
2006-06-08 23:18:01 +00:00