119583 Commits

Author SHA1 Message Date
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
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