Commit Graph

150516 Commits

Author SHA1 Message Date
Gavin Atkinson
86aedb0946 Merge r201401 from head:
Remove dead code.  This section of code is only run in the
  (sblock.fs_magic == FS_UFS1_MAGIC) case, so the check within the
  loop is redundant.

PR:		bin/115174 (partly)
Submitted by:	Nate Eldredge  nge cs.hmc.edu
Reviewed by:	mjacob
Approved by:	ed (mentor, implicit)
2010-02-02 19:51:30 +00:00
Gavin Atkinson
c11be0301d Merge r203027 from head:
Correct the HISTORY section of these man pages to show when the function,
  not the "manual page example" was introduced.

Approved by:	ed (mentor, implicit)
2010-02-02 19:44:52 +00:00
Gavin Atkinson
335287096d Merge r203025,r203026 from head:
Correct the HISTORY section of these man pages to show when the function,
  not the "manual page example" was introduced.

Approved by:	ed (mentor, implicit)
2010-02-02 19:37:26 +00:00
John Baldwin
ca999e2992 MFC 203032:
Don't pop up the menu to select a documentation language for non-interactive
installs.  Default to not installing any documentation in that case.
2010-02-02 18:50:02 +00:00
John Baldwin
1d784069d7 MFC 203031:
Remove slattach from the install mfsroot since it doesn't exist anymore
to quiet a warning from crunchgen.
2010-02-02 18:43:08 +00:00
Xin LI
281e5d86db MFC r202640:
Update to 4.6.

Note: the -V option from OpenBSD is implemented using setfib(2) on FreeBSD.
2010-02-02 00:32:15 +00:00
Pyun YongHyeon
0fb14c6f0d MFC r203082:
Add initial support for RTL8103E PCIe fastethernet.

  PR:	kern/142974
2010-02-01 23:57:42 +00:00
John Baldwin
d362c2a208 MFC 203070:
Initialize the ifnet before calling mii_phy_probe() as some phy drivers
(e.g. e1000phy(4)) expect if_dname to be valid when they are probed.
2010-02-01 22:01:48 +00:00
Jaakko Heinonen
85f1d75670 MFC r202573:
Print sizes up to INT64_MAX in md_prthumanval().

PR:		bin/125365
Approved by:	trasz (mentor)
2010-02-01 16:02:14 +00:00
Konstantin Belousov
546b397a1f MFC r203175:
The MAP_ENTRY_NEEDS_COPY flag belongs to protoeflags, cow variable
uses different namespace.
2010-02-01 10:45:23 +00:00
Xin LI
72c12306f9 Reduce diff against OpenSolaris - move Giant acquire/release to
zfs_znode.c.  As a side effect this also eliminates two potential
Giant leaks.

Approved by:  pjd
2010-02-01 09:29:32 +00:00
Gregory Neil Shapiro
adf302d928 Note sendmail 8.14.4 upgrade. 2010-01-31 19:57:28 +00:00
Gavin Atkinson
b8370f7d42 Merge r202931 from head:
Add support for four more nfsmb controllers, shipping on at least the
  ASUS Atom ION boards.

PR:		kern/142571
Submitted by:	oliver
Approved by:	ed (mentor, implicit)
2010-01-31 19:41:58 +00:00
Gregory Neil Shapiro
33978ef79d MFC: Minor changes to force commit these files so new freebsd*.cf files are
built to use the new sendmail-8.14.4/cf tree.
2010-01-31 19:04:52 +00:00
Gregory Neil Shapiro
a41da5f103 MFC: Update FreeBSD information 2010-01-31 19:00:39 +00:00
Gregory Neil Shapiro
95697f4212 MFC: Merge sendmail 8.14.4 2010-01-31 18:59:03 +00:00
Konstantin Belousov
613bd3f32b Bump __FreeBSD_version for sigpause(3) addition. 2010-01-31 18:41:00 +00:00
Konstantin Belousov
f2d58a1d9b MFC r199827:
Implement sighold, sigignore, sigpause, sigrelse, sigset functions.

MFC r200881 (by cognet):
Don't name parameters.
2010-01-31 18:38:03 +00:00
Konstantin Belousov
661f092a6d MFC r202881:
Staticise sigqueue manipulation functions used only in kern_sig.c.
2010-01-31 18:25:57 +00:00
Marius Strobl
36a153df8b MFC: r202903
On LP64 struct ifid is 64-bit aligned while struct fid is 32-bit aligned
so on architectures with strict alignment requirements we can't just simply
cast the latter to the former but need to copy it bytewise instead.

PR:		143010
2010-01-31 17:43:22 +00:00
Marius Strobl
6c8d1299a2 MFC: r203094
- Zero the MSI/MSI-X queue argument, otherwise mtx_init(9) can panic
  indicating an already initialized lock.
- Check for an empty MSI/MSI-X queue entry before asserting that we have
  received a MSI/MSI-X message in order to not panic in case of stray MSI/
  MSI-X queue interrupts which may happen in case of using an interrupt
  handler rather than a filter.
2010-01-31 17:17:24 +00:00
Jaakko Heinonen
8abe3cc36b MFC r202944:
Print full path in the error message. It's possible that fts(3)
provides an empty fts_name and reporting the full path is more
appropriate especially with the -R option.

PR:		bin/107515
Approved by:	trasz (mentor)
2010-01-31 15:07:38 +00:00
Shteryana Shopova
3ddba6330c MFC r202935:
While flushing the multicast filter of an interface, do not zero the relevant
ifmultiaddr structures' reference to the parent interface, unless the parent
interface is really detaching. While here, program only link layer multicast
filters to a wlan's hardware parent interface.

PR:		kern/142391, kern/142392
Reviewed by:	sam, rpaulo, bms
2010-01-31 11:30:28 +00:00
Edward Tomasz Napierala
ca9c0141f2 MFC r201048:
Make tests for ACL preservation by mv(1) and cp(1) more complete
and easier to follow.
2010-01-31 02:25:15 +00:00
Edward Tomasz Napierala
8dc3de711c MFC r197436:
Add cross-filesystem regression tests for ACLs.
2010-01-31 02:23:53 +00:00
Edward Tomasz Napierala
5f16df9407 MFC r197434:
Add ACL fuzzer.  It's not used by the regression tests right now,
but I'd prefert to have it here, so it won't get lost.
2010-01-31 02:22:31 +00:00
Edward Tomasz Napierala
d17e98a732 MFC r196938:
Add regression tests for NFSv4 ACLs and update POSIX.1e tests to the changed
error messages.
2010-01-31 02:20:01 +00:00
Edward Tomasz Napierala
83b5041c81 MFC r196736:
Adapt to the fact that ls(1) correctly prints '+' for symlinks with ACLs now.
2010-01-31 02:18:28 +00:00
Edward Tomasz Napierala
30718ea4eb MFC r196710:
Add regression test for ACLs on device files - mostly to make
sure we don't crash on attempt to set ACL on them.
2010-01-31 02:17:01 +00:00
Edward Tomasz Napierala
7782c5efe8 MFC r196949:
Enable NFSv4 ACL support in ZFS.

MFC r197435:

In VOP_SETACL(9) and VOP_GETACL(9), specifying wrong ACL type should result
in EINVAL, not EOPNOTSUPP.
2010-01-31 02:11:14 +00:00
Edward Tomasz Napierala
f4d24e0ea3 MFC r201018:
Fix breakage introduced in last commit.
2010-01-30 15:53:32 +00:00
Edward Tomasz Napierala
e8fdbf3d5c MFC r201016:
Improve ACL branding mismatch detection and reporting in some rare cases,
such as "setfacl -m ''".
2010-01-30 15:50:01 +00:00
Antoine Brodin
7ca8d389fe Regenerate. 2010-01-30 15:42:06 +00:00
Antoine Brodin
c9e0de0179 MFC r202440 to stable/8:
Unbreak world WITHOUT_NETGRAPH.

  PR:		137487
  Submitted by:	bf (previous version)
  No objections:	net@
2010-01-30 15:40:00 +00:00
Antoine Brodin
c261b5023b MFC r202448 to stable/8:
Do not build netgraph kernel modules if WITHOUT_NETGRAPH is set in src.conf
  Submitted by:	bf
2010-01-30 15:28:14 +00:00
Edward Tomasz Napierala
d91f45d608 MFC r196936:
Add NFSv4 support to setfacl(1).
2010-01-30 14:58:25 +00:00
Edward Tomasz Napierala
e0649d28d9 MFC r196841:
Add NFSv4 ACL support to mv(1).
2010-01-30 14:56:13 +00:00
Edward Tomasz Napierala
4e86d39db2 MFC r196839:
Add NFSv4 ACL support to find(1).
2010-01-30 14:54:12 +00:00
Edward Tomasz Napierala
113c95e756 MFC r196827:
Add NFSv4 ACL support to getfacl(1).
2010-01-30 14:51:24 +00:00
Edward Tomasz Napierala
1ed226c0a9 MFC r196754:
Add NFSv4 ACL support to cp(1) and fix a few memory leaks.

Note that this changes error reporting behaviour somewhat - before,
no error was reported if ACL couldn't be copied because the target
filesystem doesn't support ACLs.  Now, it will be reported - of course,
only if there actually is an ACL to copy.

Reviewed by:	rwatson
2010-01-30 14:49:17 +00:00
Edward Tomasz Napierala
3736d570d3 MFC r196753:
- Don't include both <sys/types.h> and <sys/param.h>

- Keep variables sorted

- Fix logic error with -f and -v options - don't print
  the usual -v output if there was an error, whether or not
  we were passed -f

- Don't call free(3) just before exit(2)

- Whitespace fixes

Submitted by:	bde
2010-01-30 14:47:23 +00:00
Edward Tomasz Napierala
af0a0fb12e MFC r196712:
Add NFSv4 ACL support to ls(1).

MFC r196773:

Fix regression introduced in r196712 - the 'name' string needs
to be rewritten for each file we want to check ACL on.  Without
this change, ls(1) would check only the ACL on the first file
to list.
2010-01-30 14:44:32 +00:00
Edward Tomasz Napierala
7ecc6d21d9 MFC r196711:
Make the code more readable and fix chmod(1) on symlinks with
NFSv4 enabled.
2010-01-30 14:40:42 +00:00
Antoine Brodin
e2b36efde5 MFC r201145 to stable/8:
(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
  Fix some wrong usages.
  Note: this does not affect generated binaries as this argument is not used.

  PR:		137213
  Submitted by:	Eygene Ryabinkin (initial version)
2010-01-30 12:11:21 +00:00
Alan Cox
6d41eae028 MFC r202894
Handle a race between pmap_kextract() and pmap_promote_pde().
2010-01-30 06:23:28 +00:00
Konstantin Belousov
d751048048 MFC r202880:
Do not check for existence of symlink source for the link action.
2010-01-29 20:42:03 +00:00
Konstantin Belousov
c9dc5d496d MFC r202692:
Remove the signal from sigqueue before notifying the debugger for traced
process, fixing the race between resuming from stopped state and other
thread noting the old signal on the queue and acting.
2010-01-29 20:02:28 +00:00
Rui Paulo
b85fb2f79c MFC r202986:
o add more notification strings in iwn_intr_str()
  o sync with OpenBSD code

  Submitted by:	Bernhard Schmidt <bschmidt at techwires.net>
  MFC after:	3 days
2010-01-29 18:19:43 +00:00
Rui Paulo
623592e0c0 MFC r202967:
Call ieee80211_radiotap_rx, not ieee80211_radiotap_tx on sta_input()

   PR:		143163
   Submitted by:Alexander Egorenkov <egorenar at gmail.com>
2010-01-29 18:18:18 +00:00
Edwin Groothuis
83858bcb89 MFC of 203066, 203067
Git has been added as port 9418:
http://www.iana.org/assignments/port-numbers

The Erlang Port Mapper Daemon (from ports/lang/erlang) has been
assigned official port number 4369 by IANA.

PR:		conf/143259 conf/113265
Submitted by:	Denny Lin <dennylin93@cnmc32.hs.ntnu.edu.tw> Jimmy Olgeni <olgeni@freebsd.org>
2010-01-29 11:30:40 +00:00