Commit Graph

150651 Commits

Author SHA1 Message Date
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
Joerg Wunsch
6481e96423 MFC r203125: fix typo in .Xr. 2010-01-29 10:38:54 +00:00
Jilles Tjoelker
74d5ebae0e MFC r202324: In 'make delete-old', use 'exec' to redirect an fd persistently
That is, write 'exec 3<&0' instead of '3<&0'. Due to an sh(1) bug fixed in
head in r199953, the latter also persisted, provided that fd 3 was not open
before.  With newer sh or fd 3 open, it would not delete orphaned catpages.
2010-01-28 22:15:29 +00:00
Christian Brueffer
3716ed4726 MFC: r202317
Add manpages for ipwfw(4) and iwifw(4), based on iwnfw(4).
2010-01-28 17:07:14 +00:00
George V. Neville-Neil
fbbbfe0ba5 MFC r196797:
Add ARP statistics to the kernel and netstat.
2010-01-28 16:48:44 +00:00
Xin LI
ef096f9d2a MFC r200135:
Make umount(8) WARNS=6 clean:
 - Cast delimiter width to integer [1]
 - Solve name conflicts against system header
 - Constify parameters to avoid qualifier conflict

PR:		bin/140017 [1]
Submitted by:	Ulrich Spörlein <uqs spoerlein net> [1]
Sponsored by:	iXsystems, Inc
2010-01-28 02:33:20 +00:00
Alberto Villa
df4743bc4a - MFC r197788, r203040, r203045, r203048
Approved by:	tabthorpe (mentor)
2010-01-27 18:12:22 +00:00
John Baldwin
8d2d060c70 Fixup mergeinfo. 2010-01-27 17:03:40 +00:00
Gavin Atkinson
18fab66957 Merge r200318 from head: add myself to calendar.freebsd. 2010-01-27 15:36:19 +00:00
Joerg Wunsch
c146743160 Merge r202943: Add man pages for the gpib(4), pcii(4), and tnt4882(4)
drivers.
2010-01-27 10:42:34 +00:00
Joerg Wunsch
1f9b7387d8 Merge of r202870,202898:
Overhaul of the pcii driver:

. Properly allocate all IO space resources.  These cards scatter their
  IO addresses over a range of 0x1600 bytes, and they require an
  additional address for "special interrupt handling".

. Implement the "special interrupt handling" per the GPIB-PCIIA
  Technical Reference Manual; this was apparently not declared for the
  clone card this driver has been originally implemented for, but it
  turned out to be needed for both, an original NI brand PCII/PCIIA
  card as well as the Axiom AX5488 clone.

. Add some diagnostic messages for various resource allocation etc.
  failures during probe.

. Add some comments about the structure of the IO address space that
  is used by these cards.
2010-01-27 10:32:02 +00:00
Bjoern A. Zeeb
ce77b9149a MFC r202915:
Correct a typo.

  Submitted by: kensmith
2010-01-27 09:45:07 +00:00
Doug Barton
5915044ff5 MFC r202817:
Make -U once again honor -D after my change to consolidate setting
of MTREEDB with DESTDIR.

PR:		bin/143089
Submitted by:	Anton Yuzhaninov <citrin@citrin.ru>
2010-01-26 18:24:13 +00:00
Dag-Erling Smørgrav
aae70d8491 insta-mfh r203028 (doc update) 2010-01-26 15:07:47 +00:00
Dag-Erling Smørgrav
da4af7b6c4 MFH (r202613, r202623): HTTP digest authentication support. 2010-01-26 14:15:12 +00:00
Edwin Groothuis
8a37c82c6c MFC of tzdata2010b, r203019
Mexico's House of Representatives has approved a proposal for
northern Mexico's border cities to share the same daylight saving
schedule as the United States.
2010-01-26 11:15:03 +00:00