119602 Commits

Author SHA1 Message Date
simon
ba2fc924fa MFC 1.3:
The monetary decimal point (mon_decimal_point) for pt_PT.ISO8859-1
should be a comma (,) and not a dot (.).
2006-06-18 15:37:59 +00:00
marius
d359ffe76a MFC: 1.1.1.13
* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a
non-shared object, do not reserve space in .plt and .rela.plt
for regular symbols neither defined nor referenced in shared objects.
2006-06-18 14:48:36 +00:00
silby
7cf19da114 MFC if_bfe.c revs 1.37 through 1.40 and if_bfereg.h rev 1.10. This should
finally put the issues the bfe driver has with > 1G machines to rest.

Note that these changes are dependant on changes which have been made
to busdma, so merging just this patch to releng_6_1 or releng_5 will
be ineffective.
2006-06-18 06:23:14 +00:00
silby
92647f5175 MFC revs 1.74 through 1.77:
- Allow bus_dmamap_load to return ENOMEM
        - Do a better job with alignment, and warn if we fail to align
2006-06-18 06:16:16 +00:00
silby
4c9c3f1a8d MFC revs 1.77 through 1.80:
- Allow bus_dmamap_load to return ENOMEM
	- Do a better job with alignment, and warn if we fail to align
2006-06-18 06:14:27 +00:00
bmah
5243c5a33a New release note: Bugfix for IPv6 NDP point-to-point issue.
MFC:  ipmi(4), nve(4) ALTQ, sk(4) MPSAFE, Linux emulation uses FC4.
2006-06-18 04:56:03 +00:00
rodrigc
e122f21ee1 MFC: msdosfs_vfsops.c:1.150, ntfs_vfsops.c:1.83, udf_vfsops.c:1.41
ext2_vfsops.c:1.157, cd9660_vfsops.c:1.145, ffs_vfsops.c:1.314,
     reiserfs_vfsops.c:1.5

  Remove calls to vfs_export() for exporting a filesystem for NFS mounting
  from individual filesystems.  Call it instead in vfs_mount.c,
  after we call VFS_MOUNT() for a specific filesystem.
2006-06-17 20:02:28 +00:00
rodrigc
a5f9933adf MFC: 1.78, 1.79
Remove incorrect null_checkexp() routine.  This
will allow the NFS server to call vfs_stdcheckexp() on the exported nullfs
filesystem, not the underlying filesystem being nullfs mounted.
If the lower filesystem was not NFS exported, then the NFS exported
null filesystem would not work.
Modify MNT_UPDATE behavior for nullfs so that it does not
return EOPNOTSUPP if an "export" parameter was passed in.
This should allow nullfs mounts to be NFS exported.

PR:             kern/87906
2006-06-17 18:17:26 +00:00
gnn
2443e18541 MFC 1.61 in6.c
1.65 nd6.c

Fix spurious warnings from neighbor discovery when working with IPv6 over
point to point tunnels (gif).

PR:             93220
Submitted by:   Jinmei Tatuya
2006-06-17 17:58:33 +00:00
gnn
1b59068b4f MFC a forgotten fix
Make sure that there actually is a next packet before setting
nextrecord to that field.

PR: 83885
Submitted by: hirose@comm.yamaha.co.jp
2006-06-17 17:47:05 +00:00
mlaier
5086a51b85 MFC:
ALTQ-ify nve(4).

  Submitted by:   Chris Dionissopoulos
2006-06-17 16:46:04 +00:00
rodrigc
b1311a5d14 MFC 1.316 (substitute vfs_mount_error for printf):
Check the sectorsize of the underlying disk before trying to
bread() the UFS superblock.  Should eliminate crashes when trying
to do: mount -t ufs on an audio CD.

PR:             kern/85893
Reported by:    Russell Francis <rfrancis at ev dot net>
2006-06-17 14:58:59 +00:00
mjacob
5e5961f729 MFC 1.34: support for FC919X 2006-06-17 12:48:27 +00:00
maxim
88541f48e4 MFC rev. 1.52: vinum.8 -> gvinum.8 translation. 2006-06-17 12:38:43 +00:00
maxim
cca65d398e MFC rev. 1.8: add missed $start variable in the grep statement. 2006-06-17 12:36:12 +00:00
bmah
a1060e6806 New release notes (not merged from HEAD): UMA memory allocation stats
bug fix, quota/snapshot deadlock fix, NFS server Giant-leak fix,
rc.d/jail bugfixes.

MFC:  pc98 CDROM bootloader, linsysfs(5).

The "new" release notes all fix problems noted in the 6.1 errata, so
they probably should be mentioned.
2006-06-17 04:57:12 +00:00
bmah
88bbe01aa9 New errata: NFS server slowdown. 2006-06-17 04:31:40 +00:00
jhb
d426800e18 MFC: Change msleep() and tsleep() to not alter the calling thread's
priority if the specified priority is zero.
2006-06-16 22:11:55 +00:00
bmah
eb41d55d9b Note that we have a fix for the IPv6-on-point-to-point links issue
(committed to HEAD).  Fix an unrelated typo.
2006-06-16 21:30:41 +00:00
nyan
0fd290882b MFC: revision 1.10 and 1.11.
- Add Fn+F7 hotkey (suspend) support.
2006-06-16 14:05:13 +00:00
ambrisko
624da76ff4 Add in bus_if.h device_if.h to make pc98 build happy. 2006-06-16 13:53:39 +00:00
nyan
af0ed456ff Add the cdboot for pc98 to the right place, and remove wrong files.
Pointy hat to:	nyan
2006-06-16 13:40:50 +00:00
kib
5cd171117e MFC rev. 1.12 of setfacl.c, rev. 1.15,1.16 of setfacl.1.
Copy filename read from the stdin into the private buffer.
Document the way to get list of files to process from the stdin.

Approved by:	kan (mentor)
2006-06-16 13:33:02 +00:00
nyan
9bec627b8f MFC: Add a bootable CD support. 2006-06-16 13:14:15 +00:00
ambrisko
646980d768 Not my day, try to get this really checking into 6.X 2006-06-15 21:12:15 +00:00
ambrisko
a2a15d9794 Forgot to bring this fix into my commit tree to include opt_compat.h.
This should unbreak the amd64 build.
2006-06-15 19:08:03 +00:00
ambrisko
58d502c1bf MFC, let's hook up things to the build and see what I messed up!
- enable linsysfs
      - enable mfi_linux
      - enable ipmi
A new make universe will be fired off shortly once this makes it back
via cvsup.
2006-06-15 17:57:50 +00:00
ambrisko
0320e0687d MFC a bunch of fixes:
- Make amr_linux work as a module by avoiding calling amr_linux_ioctl_int
   from the amr_linux.  This simplifies the amr_linux shim and puts the
   smarts into amr.c.
 - 1.76 - 1.77 of amr.c (race conditions).
 - 1.34 of amr_pci.c (compiler warning).
2006-06-15 16:44:27 +00:00
gnn
d079e8a798 MFC: 1.10
Extend the notdef #ifdef to cover the packet copy as there is no
point in doing that if we're not doing the rest of the work.

Submitted by:	thompsa
2006-06-15 16:27:15 +00:00
ambrisko
e39bd2c948 MFC in all the changes to the mfi(4) driver. The high light is:
Add in a bunch of things to the mfi driver:
      - Linux ioctl support, with the other Linux changes MegaCli
	will run if you mount linprocfs & linsysfs then set
	sysctl compat.linux.osrelease=2.6.12 or similar.  This works
	on i386.  It should work on amd64 but not well tested yet.
	StoreLib may or may not work.  Remember to kldload mfi_linux.
      - Add in AEN (Async Event Notification) support so we can
	get messages from the firmware when something happens.
	Not all messages are in defined in event detail.  Use
	event_log to try to figure out what happened.
      - Try to implement something like SIGIO for StoreLib.  Since
	mrmonitor doesn't work right I can't fully test it.  StoreLib
	works best with the rh9 base.  In theory mrmonitor isn't
	needed due to native driver support of AEN :-)
  Now we can configure and monitor the RAID better.
2006-06-15 16:07:57 +00:00
ambrisko
fe150544d3 cvs update -r 1 is not the same as -j 1 ... so pull this file in correctly:
MFC the enhancements to the Linux emulation layer so the MegaRAID SAS
management tools can work.  This is not totally connected to the build
yet.  The mfi(4) change have not been MFC'ed yet.  This will be done
shortly.  I'm trying to do this in chunks so I don't totally break
the build on a missed commit.  This has passed make universe a while
ago:
  Enhance the Linux emulation layer to make MegaRAID SAS managements tool happy.
  Add back in a scheme to emulate old type major/minor numbers via hooks into
  stat, linprocfs to return major/minors that Linux app's expect.  Currently
  only /dev/null is always registered.  Drivers can register via the Linux
  type shim similar to the ioctl shim but by using
  linux_device_register_handler/linux_device_unregister_handler functions.
  The structure is:

    struct linux_device_handler {
        char    *bsd_driver_name;
        char    *linux_driver_name;
        char    *bsd_device_name;
        char    *linux_device_name;
        int     linux_major;
        int     linux_minor;
        int     linux_char_device;
    };

  Linprocfs uses this to display the major number of the driver.  The
  soon to be available linsysfs will use it to fill in the driver name.
  Linux_stat uses it to translate the major/minor into Linux type values.

  Note major numbers are dynamically assigned via passing in a -1 for
  the major number so we don't need to keep track of them.

  This is somewhat needed due to us switching to our devfs.
2006-06-15 15:54:59 +00:00
ambrisko
6ebd888016 MFC the enhancements to the Linux emulation layer so the MegaRAID SAS
management tools can work.  This is not totally connected to the build
yet.  The mfi(4) change have not been MFC'ed yet.  This will be done
shortly.  I'm trying to do this in chunks so I don't totally break
the build on a missed commit.  This has passed make universe a while
ago:
  Enhance the Linux emulation layer to make MegaRAID SAS managements tool happy.
  Add back in a scheme to emulate old type major/minor numbers via hooks into
  stat, linprocfs to return major/minors that Linux app's expect.  Currently
  only /dev/null is always registered.  Drivers can register via the Linux
  type shim similar to the ioctl shim but by using
  linux_device_register_handler/linux_device_unregister_handler functions.
  The structure is:

    struct linux_device_handler {
        char    *bsd_driver_name;
        char    *linux_driver_name;
        char    *bsd_device_name;
        char    *linux_device_name;
        int     linux_major;
        int     linux_minor;
        int     linux_char_device;
    };

  Linprocfs uses this to display the major number of the driver.  The
  soon to be available linsysfs will use it to fill in the driver name.
  Linux_stat uses it to translate the major/minor into Linux type values.

  Note major numbers are dynamically assigned via passing in a -1 for
  the major number so we don't need to keep track of them.

  This is somewhat needed due to us switching to our devfs.
2006-06-15 15:52:05 +00:00
ambrisko
2663a717b0 MFC ipmi(4) (OpenIPMI like driver). I'll hook it up to the build shortly. 2006-06-15 15:37:34 +00:00
ambrisko
4c9f7fb540 MFC enhancements and fix-up for ichwd:
Re-work the bus attachment somewhat.  Make the rids unique for
  the SMI/TCO address space.  Switch the bus space I/O to the
  one specific for either the SMI or TCO space.  Re-calibrate
  the tick.  Add some more device id's, 82801FBR submitted by des.
  This makes it work on the platforms I've tested with.
2006-06-15 15:15:07 +00:00
rodrigc
aee6f621ad MFC: 1.87
For network filesystems (NFS, samba, etc.), do not pass "export" nmount()
  parameter to try to delete an NFS export.  It won't work, and will log
  a spurious warning to syslog.

  Tested by:      Arno J. Klaassen <arno at heho dot snv dot jussieu dot fr>
2006-06-15 04:52:52 +00:00
grog
7da8116e4b MFC: Don't go past the end of the month with a repetitive entry of the
style "every Monday":

     mon *        Do Foo.

Previously, at the end of the month, this could cause a printout of
the following nature when invoked with -A 7:

     36 May* Do Foo

If the entry runs into the following month, adjust month and day,
wrapping round into next year where necessary.
2006-06-15 01:16:36 +00:00
ghelmer
7cdd81d530 MFC procfs.c revisions 1.13 and 1.14:
1.13: Revision 1.4 set access for all sensitive files in /proc/<PID> to mode 0
  if a process's uid or gid has changed, but the /proc/<PID> directory
  itself was also set to mode 0.  Assuming this doesn't open any
  security holes, open access to the /proc/<PID> directory for users
  other than root to read or search the directory.

  1.14: Upon further review, DES prefers this change over that in revision 1.13
  to resolve the directory access problem for processes with P_SUGID flag
  set.
2006-06-14 21:20:39 +00:00
hrs
6dc3ff21d9 Document FreeBSD-SA-06:17.sendmail. 2006-06-14 16:29:06 +00:00
cperciva
7200b72f21 Correct a bug in the handling of multipart messages by sendmail(8)
which can allow a malformed message to crash a sendmail queue
processing process.

Security:	FreeBSD-SA-06:17.sendmail
2006-06-14 16:01:06 +00:00
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