Commit Graph

4383 Commits

Author SHA1 Message Date
Alexander Kabaev
997921685c This commit was generated by cvs2svn to compensate for changes in r171825,
which included commits to RCS files with non-trunk default branches.
2007-08-14 02:45:23 +00:00
Xin LI
8590152414 Be more careful handling no_init flag. It should be enforced
in *all* less_is_more cases, On the other hand, quit_if_one_screen
should apply iff less_is_more *and* -e.

This change revises the previous change further, which tried
to make less(1) not to send @ti:@te before and after view of
one file in more(1) mode, but affected less -e behavior by
accident.

This is essentially the same patch desichen@ has posted on
-current@.  I have adjusted it a bit in order to minimize
difference between our version and the vendor branch.

Approved by:	re (bmah, earlier logically equivalent version)
2007-08-13 16:15:26 +00:00
Hidetoshi Shimokawa
cdea4c5e89 Use ioctl() to get correct media size so that we can locate
ZFS labels in the tail of the media.

Approved by: re (kensmith), pjd
2007-08-07 12:42:03 +00:00
Daniel Eischen
dc8abff4e0 Restore historical more(1) behavior (inhibit ti/te processing) which
accidently got broke during the last less(1) import.

Approved by:	re(hrs), delphij
2007-08-04 13:16:09 +00:00
Simon L. B. Nielsen
faeb38d111 Correct buffer overflow in tcpdump(1).
Security:	FreeBSD-SA-07:06.tcpdump
Security:	CVE-2007-3798
Obtained from:	tcpdump.org
Approved by:	re (security blanket)
2007-08-01 20:40:44 +00:00
Simon L. B. Nielsen
7613322fdb This commit was generated by cvs2svn to compensate for changes in r171682,
which included commits to RCS files with non-trunk default branches.
2007-08-01 20:40:44 +00:00
Doug Barton
56a78b5211 Vendor import of 9.4.1-P1, which has fixes for the following:
1. The default access control lists (acls) are not being
correctly set. If not set anyone can make recursive queries
and/or query the cache contents.

See also:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2925

2. The DNS query id generation is vulnerable to cryptographic
analysis which provides a 1 in 8 chance of guessing the next
query id for 50% of the query ids. This can be used to perform
cache poisoning by an attacker.

This bug only affects outgoing queries, generated by BIND 9 to
answer questions as a resolver, or when it is looking up data
for internal uses, such as when sending NOTIFYs to slave name
servers.

All users are encouraged to upgrade.

See also:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2926

Approved by:	re (kensmith, implicit)
2007-07-25 08:12:36 +00:00
Doug Barton
275af6dcd5 This commit was generated by cvs2svn to compensate for changes in r171577,
which included commits to RCS files with non-trunk default branches.
2007-07-25 08:12:36 +00:00
Robert Watson
28f15ca13c Update generated OpenBSM config.h for OpenBSM 1.0 alpha15 update.
Approved by:	re (hrs)
2007-07-22 12:22:25 +00:00
Robert Watson
372e973c2e Resolve conflicts from import of OpenBSM 1.0 alpha15 ($FreeBSD$/$P4$
conflict).

Approved by:	re (hrs)
2007-07-22 12:20:42 +00:00
Robert Watson
0814440e5f Vendor import TrustedBSD OpenBSM 1.0 alpha 15, with the following change
history since the last import:

OpenBSM 1.0 alpha 15

- Fix bug when processing in_addr_ex tokens.
- Restore the behavior of printing the string/text specified while
  auditing arg32 tokens.
- Synchronized audit event list to Solaris, picking up the *at(2) system call
  definitions, now required for FreeBSD and Linux.  Added additional events
  for *at(2) system calls not present in Solaris.
- Bugs in auditreduce(8) fixed allowing partial date strings to be used in
  filtering events.

Approved by:	re (hrs)
MFC after:	3 weeks
Obtained from:	TrustedBSD Project
2007-07-22 12:18:31 +00:00
Robert Watson
7ed9c73527 This commit was generated by cvs2svn to compensate for changes in r171537,
which included commits to RCS files with non-trunk default branches.
2007-07-22 12:18:31 +00:00
Xin LI
3abc9103eb This commit was generated by cvs2svn to compensate for changes in r171490,
which included commits to RCS files with non-trunk default branches.
2007-07-19 06:57:46 +00:00
Xin LI
fbe3980a4b Remove unused FSF source files.
Approved by:	re (hrs)
2007-07-19 06:57:46 +00:00
Sam Leffler
2d762fe9ef update for 0.5.8 import
Approved by:	re (hrs)
2007-07-11 15:59:42 +00:00
Sam Leffler
ff85daeb59 resolve merge conflicts
Reviewed by:	thompsa, sephe
Approved by:	re (hrs)
2007-07-11 15:58:52 +00:00
Sam Leffler
7700b89cce Import of WPA supplicant 0.5.8 2007-07-11 15:48:36 +00:00
Sam Leffler
19a0727b9f This commit was generated by cvs2svn to compensate for changes in r171366,
which included commits to RCS files with non-trunk default branches.
2007-07-11 15:48:36 +00:00
Sam Leffler
80e9f71ab5 update for 0.5.8 import
Approved by:	re (hrs)
2007-07-09 16:26:48 +00:00
Sam Leffler
316f794028 resolve conflicts
Approved by:	re (hrs)
2007-07-09 16:20:41 +00:00
Sam Leffler
75cbf10273 Import of hostapd 0.5.8 2007-07-09 16:15:06 +00:00
Sam Leffler
c0eb94f2c3 This commit was generated by cvs2svn to compensate for changes in r171322,
which included commits to RCS files with non-trunk default branches.
2007-07-09 16:15:06 +00:00
Max Laier
e298b784dc Lost these during the import. Hand me the pointy hat.
Approved by:	re (implicit)
2007-07-03 14:08:49 +00:00
Max Laier
5ee7cd2107 Commit resolved import of OpenBSD 4.1 pf userland from perforce.
Approved by:	re (kensmith)
2007-07-03 12:30:03 +00:00
Max Laier
fc515400ab This commit was generated by cvs2svn to compensate for changes in r171169,
which included commits to RCS files with non-trunk default branches.
2007-07-03 12:22:02 +00:00
Max Laier
67ecd4f3a4 Import pf userland from OpenBSD 4.1 and (for ftp-proxy) libevent 1.3b as
a local lib.
2007-07-03 12:22:02 +00:00
George V. Neville-Neil
8409aedfa6 Commit IPv6 support for FAST_IPSEC to the tree.
This commit includes all remaining changes for the time being including
user space updates.

Submitted by:    bz
Approved by:    re
2007-07-01 12:08:08 +00:00
Darren Reed
a909f8869b ipfstat should parse "any" when used with -D/-S command line options
PR:	bin/113879
Submitted by:	kabe@sra-tohoku.co.jp
Reviewed by:	darrenr
Approved by:	re
2007-06-24 16:39:12 +00:00
Xin LI
666ae690ac In more(1) mode, restore the historical behavior where curses init
and deinit characters are not delivered.

Instead of hacking screen.c, we set no_init to implement the behavior.

Reported by:	mnag
Approved by:	re (hrs)
2007-06-23 15:28:00 +00:00
Xin LI
aa22b8b669 Resolve conflicts after less(1) v406 import.
Approved by:	re (hrs)
2007-06-21 10:44:50 +00:00
Xin LI
efd72c2eb6 Virgin import of less v406.
Approved by:	re (hrs)
2007-06-21 10:42:55 +00:00
Xin LI
811fe9ccfe This commit was generated by cvs2svn to compensate for changes in r170964,
which included commits to RCS files with non-trunk default branches.
2007-06-21 10:42:55 +00:00
Xin LI
22249a9635 Restore a historical behavior that +foo is considered as a
filename by more(1).  The less(1) behavior is keep intact.

PR:		bin/51488
Prodded by:	demon
Approved by:	re (hrs)
2007-06-21 10:39:24 +00:00
Xin LI
7e990b09e2 Apply a vendor patch that fixes very annoying bug
which caused the cursor not to return to the place
it should when -w is used with -e.

Note that this is a commit against -HEAD because
we already have the file off the vendor branch.

Reported by:	Tom Uffner (on -current@)
Obtained from:	http://www.greenwoodsoftware.com/less/less-405.tar.gz
2007-06-17 23:20:43 +00:00
Alexey Dokuchaev
f5442046c1 Document default values for timeout and retry count.
Approved by:	fjoe
2007-06-16 07:01:15 +00:00
Xin LI
4e2d304caa In previous releases of FreeBSD we have enforced -EfGm, and the
new less(1) version enforced only -Em.  Restore old behavior in
respect with POLA.

Submitted by:	ru (on -current@)
2007-06-16 02:43:44 +00:00
Xin LI
db062bd2e6 This commit was generated by cvs2svn to compensate for changes in r170764,
which included commits to RCS files with non-trunk default branches.
2007-06-15 07:49:35 +00:00
Xin LI
b61bbb7026 Apply vendor patch that implements 1/2 as aliases of l/r.
Requested by:   dmalone, Chuck Swiger
2007-06-15 07:49:35 +00:00
Xin LI
9095b74af6 Update instructions about upgrading. 2007-06-15 07:36:39 +00:00
Xin LI
6a0c0f1b7e Add a list of removed files during import 2007-06-15 07:28:00 +00:00
Xin LI
752f8af9a8 Remove files that were taken off vendor branch. Difference
against vendor branch is now maintained in patchsets.
2007-06-15 07:22:26 +00:00
Xin LI
4366265d16 Remove old files that no longer exist in latest distribution or
removed during import.
2007-06-15 07:17:50 +00:00
Xin LI
52d5bdcdbc This commit was generated by cvs2svn to compensate for changes in r170759,
which included commits to RCS files with non-trunk default branches.
2007-06-15 07:17:50 +00:00
Xin LI
3070b40134 Localized regeneration of config.h. 2007-06-15 07:08:19 +00:00
Xin LI
18fd37a72c Virgin import of diffutils 2.8.7. 2007-06-15 07:06:13 +00:00
Xin LI
967d234ef3 This commit was generated by cvs2svn to compensate for changes in r170754,
which included commits to RCS files with non-trunk default branches.
2007-06-15 07:06:13 +00:00
Sam Leffler
6efb4aa143 o add minimal radiotap support for 11n 2007-06-11 04:04:30 +00:00
Rong-En Fan
8473fea281 - Sort the headers per style(9)
Reminded by:	yar
Approved by:	delphij (mentor, implicit)
2007-06-06 11:14:30 +00:00
Rong-En Fan
781d8f4e76 - Fix crash with ncurses on FreeBSD/amd64 CURRENT by including missing
header <term.h>, which is required by both tputs() and tgoto().

  Without this header, nvi crashes with the call to tputs() at line 114.
  This is because the first argument of tputs() is a pointer, and the
  returned pointer from tgoto() is casted to an integer by compiler.

  For some reasons, this only crashes on amd64+CURRENT. On 6.x system,
  this does not happen.

PR:		101248
Reported by:	yar, infofarmer, Roland Smith
Tested by:	infofarmer, delphij, rafan
Approved by:	delphij (mentor)
2007-06-06 02:23:03 +00:00
Doug Barton
c197e4d678 Add a custom atomic.h file which implements the C versions of the
code we already have assembly versions of.

Written by:	imp
2007-06-05 22:15:38 +00:00
Doug Barton
ee71135ecd This commit was generated by cvs2svn to compensate for changes in r170349,
which included commits to RCS files with non-trunk default branches.
2007-06-05 22:15:38 +00:00
Rong-En Fan
a36454aac4 - Update for 2007/05/01 import.
Approved by:	delphij (mentor)
Nodded by:	ru
2007-06-05 15:34:40 +00:00
Rong-En Fan
addad6af5a Vendor import of bwk's 01-May-2007 release.
Approved by:	delphij (mentor)
Nodded by:	ru
Tested by:	make universe
2007-06-05 15:33:51 +00:00
Rong-En Fan
3aa1b8b946 This commit was generated by cvs2svn to compensate for changes in r170331,
which included commits to RCS files with non-trunk default branches.
2007-06-05 15:33:51 +00:00
Darren Reed
c485ab2d8d Remove files no longer required to build IPFilter 2007-06-04 03:07:34 +00:00
Darren Reed
d7eeb25225 Merge IPFilter 4.1.23 back to HEAD
See src/contrib/ipfilter/HISTORY for details of changes since 4.1.13
2007-06-04 02:54:36 +00:00
Darren Reed
4a9a9e0514 Import IPFilter 4.1.23 to vendor branch.
See src/contrib/ipfilter/HISTORY for details of changes since 4.1.13
2007-06-04 02:50:28 +00:00
Darren Reed
2bf2a702cc This commit was generated by cvs2svn to compensate for changes in r170263,
which included commits to RCS files with non-trunk default branches.
2007-06-04 02:50:28 +00:00
Xin LI
720c436c66 Resolve conflicts. 2007-06-04 01:43:11 +00:00
Xin LI
7f074f9c8f /home/delphij/m 2007-06-04 01:42:54 +00:00
Xin LI
436e618180 This commit was generated by cvs2svn to compensate for changes in r170256,
which included commits to RCS files with non-trunk default branches.
2007-06-04 01:42:54 +00:00
Doug Barton
514e149910 Update the upgrade notes for BIND 9.4.1 2007-06-02 23:32:13 +00:00
Doug Barton
d6a1012ea9 Remove from the vendor branch files that are no longer
present in BIND 9.4.1.
2007-06-02 23:29:48 +00:00
Doug Barton
48e5a283ad This commit was generated by cvs2svn to compensate for changes in r170225,
which included commits to RCS files with non-trunk default branches.
2007-06-02 23:29:48 +00:00
Doug Barton
141cfa5029 Vendor import of BIND 9.4.1 2007-06-02 23:21:47 +00:00
Doug Barton
270517749e This commit was generated by cvs2svn to compensate for changes in r170222,
which included commits to RCS files with non-trunk default branches.
2007-06-02 23:21:47 +00:00
Remko Lodder
ce7fce4055 Revert my previous change, add an MLINK from securelevel.7 to security.7
Discussed with:	brueffer
2007-06-01 21:33:21 +00:00
Remko Lodder
14ced2763a Change securelevel(7) to security(7). Yes i am aware
that this is within the contrib directory.

PR:		docs/104402
Submitted by:	Dr. Markus Waldeck <waldeck at gmx dot de>

Discussed with:	mlaier
2007-06-01 21:09:11 +00:00
Alexander Kabaev
7a6bf861d6 Disable shared libgcc use for profiled builds. GNU linker pulls symbols
out of libgcc_s.so.1 somehow and fails to record DT_NEEED dependency
when linking with profiled libraries despite --ld-as-needed option.
2007-05-28 23:02:56 +00:00
David E. O'Brien
8cbe72bdb7 Update for the 'file' 4.21 import. 2007-05-24 22:02:49 +00:00
David E. O'Brien
17c6260f4c Virgin import of Christos Zoulas's FILE 4.21. 2007-05-24 21:59:38 +00:00
David E. O'Brien
8c9c90b1c9 This commit was generated by cvs2svn to compensate for changes in r169962,
which included commits to RCS files with non-trunk default branches.
2007-05-24 21:59:38 +00:00
David E. O'Brien
a90b38c0b1 Update for the 'file' 4.19 import. 2007-05-24 16:14:38 +00:00
David E. O'Brien
d1d50c78ab Virgin import of Christos Zoulas's FILE 4.19. 2007-05-24 16:12:23 +00:00
David E. O'Brien
bb5e144237 This commit was generated by cvs2svn to compensate for changes in r169942,
which included commits to RCS files with non-trunk default branches.
2007-05-24 16:12:23 +00:00
Daniel Hartmeier
6cde8a4235 From OpenBSD, rev. 1.379
Document how 'allow-opts' applies to routing headers in IPv6.

MFC after:	1 week
Discussed with:	mlaier
2007-05-21 20:12:35 +00:00
Olivier Houchard
67de64dde8 FreeBSD expects VFP, so use that as the default FPU.
Reviewed by:	kan
2007-05-21 08:38:42 +00:00
Maxime Henrion
a9459be7dc This commit was generated by cvs2svn to compensate for changes in r169765,
which included commits to RCS files with non-trunk default branches.
2007-05-19 13:55:01 +00:00
Maxime Henrion
4dccd84c5f Fix a typo that caused the #undef directive to not actually undefine
the correct symbol, thus causing a warning with GCC 4.2.0.  Committed
into the vendor branch since this is already in the csup repository.

Reported by:	kan (ages ago)
2007-05-19 13:55:01 +00:00
Alexander Kabaev
f1d9718c03 Cosmetics: remove extra space from GCC version string. 2007-05-19 06:37:32 +00:00
Alexander Kabaev
9f4623d21f Re-add local FreeBSD change: prefer /tmp to /var/tmp and /usr/tmp
for temporary files.
2007-05-19 03:17:00 +00:00
Alexander Kabaev
fe32ca9af4 Merge arm-freebsd.h.diff directly into the target file. Maintaining
separate patch is much more painful than taking this file off the
vendor branch.
2007-05-19 03:11:26 +00:00
Alexander Kabaev
23400e5a44 Add FMT_FLAG_NULL_FORMAT_OK flag. 2007-05-19 03:09:31 +00:00
Alexander Kabaev
888346df5f Remove files that are no more part of GCC distribution from FSF branch. 2007-05-19 02:42:17 +00:00
Alexander Kabaev
ef444676f3 This commit was generated by cvs2svn to compensate for changes in r169708,
which included commits to RCS files with non-trunk default branches.
2007-05-19 02:42:17 +00:00
Alexander Kabaev
8902467bb7 Remove files that are not part of GCC distribution anymore. 2007-05-19 02:34:18 +00:00
Alexander Kabaev
096b39c236 Update configuration files for GCC 4.2. 2007-05-19 02:30:20 +00:00
Alexander Kabaev
0d6df2bb56 Merge local FreeBSD changes for -mno-align-long-strings. 2007-05-19 02:26:26 +00:00
Alexander Kabaev
be54bacbaf Merge local FreeBSD changes. 2007-05-19 02:23:49 +00:00
Alexander Kabaev
2bc5055037 In FreeBSD -O0 -O1 optimize alignment for time, not size. 2007-05-19 02:22:16 +00:00
Alexander Kabaev
f48faea4fa Merge local changes for -mprofiler-epilogue support. 2007-05-19 02:18:38 +00:00
Alexander Kabaev
2f68bca35b Merge local FreeBSD changes to support -fformat-extensions. 2007-05-19 02:16:45 +00:00
Alexander Kabaev
e2f01f3f63 Add FreeBSD suffix to GCC version string. 2007-05-19 02:14:13 +00:00
Alexander Kabaev
9d6b9560a8 FreeBSD uses unchanged versions of this files. 2007-05-19 02:12:21 +00:00
Alexander Kabaev
c7ca977ef2 GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
Alexander Kabaev
d9573fb947 This commit was generated by cvs2svn to compensate for changes in r169695,
which included commits to RCS files with non-trunk default branches.
2007-05-19 01:27:20 +00:00
Alexander Kabaev
00e4af377d GCC 4.2.0 release Objective C runtime support code. 2007-05-19 01:25:45 +00:00
Alexander Kabaev
ccb11231b1 This commit was generated by cvs2svn to compensate for changes in r169693,
which included commits to RCS files with non-trunk default branches.
2007-05-19 01:25:45 +00:00
Alexander Kabaev
f8a1b7d9d8 GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
Alexander Kabaev
5513e3663a This commit was generated by cvs2svn to compensate for changes in r169691,
which included commits to RCS files with non-trunk default branches.
2007-05-19 01:25:07 +00:00
Alexander Kabaev
6b834ef156 GCC 4.2.0 release. 2007-05-19 01:19:51 +00:00
Alexander Kabaev
533952614f This commit was generated by cvs2svn to compensate for changes in r169689,
which included commits to RCS files with non-trunk default branches.
2007-05-19 01:19:51 +00:00
Pav Lucistnik
61318fdcca Fix -D description to read debug_options
PR:		doc/97939
Submitted by:	Serg Podtynnyi <n-ice@yandex.ru>
MFC after:	1 week
2007-05-12 10:25:31 +00:00
Pawel Jakub Dawidek
7baf73a6c2 Use provider's ident to handle situations when disks are moved around
and show up with different names: first try to open provider using
remembered name and compare its ident, if equal, this is our provider,
if not equal or there is no provider with such name, find provider with
remembered ident and don't care about the name.
2007-05-06 01:39:39 +00:00
Pawel Jakub Dawidek
433c2705cd Clean up a little.
Obtained from:	OpenSolaris
2007-05-06 01:23:03 +00:00
Rong-En Fan
d3abf70e1b - s/jail id/jail ID/, acronyms should be in uppercase in general. Also,
it is written this way in jail(8).

Suggested by:	brueffer
Approved by:	delphij (mentor, implicit)
2007-05-04 15:42:58 +00:00
Stanislav Sedov
679420161d - Add documentation notes for the 'a' option, forgotten in the previous
commit.

  commands.c [1]
  top.X

Suggested by:	rafan [1]
2007-05-03 22:17:35 +00:00
Marcel Moolenaar
712a458010 Define supply_gregset() and supply_fpregset(). They are needed
by our threading support.
2007-05-01 18:26:22 +00:00
Marcel Moolenaar
1e7d5fbfb0 This commit was generated by cvs2svn to compensate for changes in r169185,
which included commits to RCS files with non-trunk default branches.
2007-05-01 18:26:22 +00:00
Maxim Konovalov
eea319c4b7 o I failed to find a suitable explanation why traceroute(8) and
traceroute6(8) force -w flag (wait time) to be > 1 sec.  Make it
possible to use 1 sec wait time.

PR:		bin/110933
Submitted by:	Dmitry Marakasov
Reviewed by:	freebsd-net (silence)
MFC after:	1 month
2007-04-30 19:08:13 +00:00
Gregory Neil Shapiro
dda9925afc For completeness, also copy over the Copyright year changes from the
sendmail.org repo on these modified files.
2007-04-23 22:32:30 +00:00
Gregory Neil Shapiro
743f4bc8a1 This commit was generated by cvs2svn to compensate for changes in r168993,
which included commits to RCS files with non-trunk default branches.
2007-04-23 22:32:30 +00:00
Gregory Neil Shapiro
6d13d6cb73 Bring in sendmail.org code from the future 8.14.2 release which restores
ABI compatibility to users of the libmilter.so shared library.
2007-04-23 22:11:27 +00:00
Gregory Neil Shapiro
db1f223f71 This commit was generated by cvs2svn to compensate for changes in r168988,
which included commits to RCS files with non-trunk default branches.
2007-04-23 22:11:27 +00:00
Pawel Jakub Dawidek
9de81c7273 MFp4:
@118370	Correct typo.

@118371	Integrate changes from vendor.

@118491	Show backtrace on unexpected code paths.

@118494	Integrate changes from vendor.

@118504	Fix sendfile(2). I had two ways of fixing it:
	1. Fixing sendfile(2) itself to use VOP_GETPAGES() instead of
	   hacking around with vn_rdwr(UIO_NOCOPY), which was suggested
	   by ups.
	2. Modify ZFS behaviour to handle this special case.

	Although 1 is more correct, I've choosen 2, because hack from 1
	have a side-effect of beeing faster - it reads ahead MAXBSIZE
	bytes instead of reading page by page. This is not easy to implement
	with VOP_GETPAGES(), at least not for me in this very moment.

	Reported by:	Andrey V. Elsukov <bu7cher@yandex.ru>

@118525	Reorganize the code to reduce diff.

@118526	This code path is expected. It is simply when file is opened with
	O_FSYNC flag.

	Reported by:	kris
	Reported by:	Michal Suszko <dry@dry.pl>
2007-04-21 12:02:57 +00:00
Rong-En Fan
926a99d402 - Add new 'a' and 'j' options into usage
Approved by:	delphij (mentor, implicit)
Forgotten by:	stas ('a') and rafan ('j')
2007-04-19 14:24:54 +00:00
Pawel Jakub Dawidek
3d357b8835 Fix build breakage. Most of ZFS code is also compiled in userland and I
should really stop forgetting about that.
2007-04-17 21:38:15 +00:00
Rong-En Fan
6000ced11b - Add a new 'j' switch and runtime option to toggle display jail id for
each process.
- While I'm here, keep help message sorted by keys

PR:		98489, 98975
Submitted by:	clsung
Approved by:	delphij (mentor)
MFC after:	2 weeks
2007-04-17 03:12:39 +00:00
Robert Watson
fe710d5b65 Regenerate config.h from OpenBSM 1.0 alpha 14 import. 2007-04-16 15:49:15 +00:00
Robert Watson
2855b49318 Resolve conflicts from OpenBSM 1.0 alpha 14 import. 2007-04-16 15:41:56 +00:00
Robert Watson
bc168a6cdd Vendor import TrustedBSD OpenBSM 1.0 alpha 14, with the following change
history notes since the last import:

OpenBSM 1.0 alpha 14

- Fix endian issues when processing IPv6 addresses for extended subject
  and process tokens.
- gcc41 warnings clean.
- Teach audit_submit(3) about getaudit_addr(2).
- Add support for zonename tokens.

OpenBSM 1.0 alpha 13

- compat/clock_gettime.h now provides a compatibility implementation of
  clock_gettime(), which fixes building on Mac OS X.
- Countless man page improvements, markup fixes, content fixs, etc.
- XML printing support via "praudit -x".
- audit.log.5 expanded to include additional BSM token types.
- Added encoding and decoding routines for process64_ex, process32_ex,
  subject32_ex, header64, and attr64 tokens.
- Additional audit event identifiers for listen, mlockall/munlockall,
  getpath, POSIX message queues, and mandatory access control.

Approved by:	re (bmah)
MFC after:	3 weeks
Obtained from:	TrustedBSD Project
2007-04-16 15:37:10 +00:00
Robert Watson
41758b263b This commit was generated by cvs2svn to compensate for changes in r168777,
which included commits to RCS files with non-trunk default branches.
2007-04-16 15:37:10 +00:00
Hidetoshi Shimokawa
01498c0b83 In FreeBSD,
- cv_timedwait() takes delta instead of absolute time,
- we need ioctl() for mediasize.

Reviewed by: pjd
2007-04-14 14:39:38 +00:00
Stanislav Sedov
faac60c8fc - Add new 'a' switch and runtime option that allows 'top' to display process
titles extracted from argv vector instead of the real executable names.
  This is useful when you want to watch applications that set their status
  information via setproctitle(3).

Approved by:	alfred
MFC after:	2 weeks
2007-04-14 10:16:52 +00:00
Pawel Jakub Dawidek
6704017a15 MFp4: Synchronize with vendor (mostly 'zfs rename -r'). 2007-04-12 23:16:02 +00:00
Andrey A. Chernov
4abbac1579 Merge 2007-04-12 14:45:25 +00:00
Andrey A. Chernov
fe4cca3e28 Official patch 002 imported 2007-04-12 14:40:46 +00:00
Pawel Jakub Dawidek
9d0fe178e6 MFp4: Add missing kmem_size() definition. 2007-04-10 13:26:45 +00:00
Pawel Jakub Dawidek
5b9528e2d4 MFp4: Hide under '#ifdef _KERNEL' only what's really needed. 2007-04-10 12:52:14 +00:00
Gregory Neil Shapiro
0f3d9fccc5 Update for sendmail 8.14.1 2007-04-09 01:46:43 +00:00
Gregory Neil Shapiro
951742c4c0 Resolve conflicts from sendmail 8.14.1 import 2007-04-09 01:44:16 +00:00
Gregory Neil Shapiro
d0cef73d40 Import sendmail 8.14.1 2007-04-09 01:38:51 +00:00
Gregory Neil Shapiro
bfe691b2f7 This commit was generated by cvs2svn to compensate for changes in r168515,
which included commits to RCS files with non-trunk default branches.
2007-04-09 01:38:51 +00:00
Pawel Jakub Dawidek
ffe54ff0ec MFp4: Synchronize with recent OpenSolaris changes. 2007-04-08 16:29:25 +00:00
Pawel Jakub Dawidek
902cbe0df8 If we cannot open /dev/zfs try to load zfs.ko automatically and reopen. 2007-04-08 03:02:08 +00:00
Dag-Erling Smørgrav
ce1e940217 Merge from upstream:
------------------------------------------------------------------------
r380 | des | 2006-03-14 15:42:09 +0100 (Tue, 14 Mar 2006) | 1 line

Fix signedness mismatch, and use an explicit cast when calling ctype functions.
------------------------------------------------------------------------
2007-04-07 13:36:53 +00:00
Dag-Erling Smørgrav
f907c9c5c0 This commit was generated by cvs2svn to compensate for changes in r168463,
which included commits to RCS files with non-trunk default branches.
2007-04-07 13:36:53 +00:00
Alexander Kabaev
1cf866da16 Import two binutils header files from FSF 2.15 branch.
These fix binutils compilation on i386/amd64 with GCC 4.1 and
have no other effect.

No response by: obrien
2007-04-06 17:43:46 +00:00
Alexander Kabaev
cedf5f9b38 This commit was generated by cvs2svn to compensate for changes in r168433,
which included commits to RCS files with non-trunk default branches.
2007-04-06 17:43:46 +00:00
Alexander Kabaev
9dd50a972f Remove conflicting extern decralaration for mboxfile variable.
It is defined as static in implementation file.
2007-04-06 15:51:35 +00:00
Pawel Jakub Dawidek
f0a75d274a Please welcome ZFS - The last word in file systems.
ZFS file system was ported from OpenSolaris operating system. The code in under
CDDL license.

I'd like to thank all SUN developers that created this great piece of software.

Supported by:	Wheel LTD (http://www.wheel.pl/)
Supported by:	The FreeBSD Foundation (http://www.freebsdfoundation.org/)
Supported by:	Sentex (http://www.sentex.net/)
2007-04-06 01:09:06 +00:00
Andrew Thompson
af20afd05a Pull in latest print-stp.c from vendor 2007-04-04 21:17:33 +00:00
Andrew Thompson
f3300398cb This commit was generated by cvs2svn to compensate for changes in r168371,
which included commits to RCS files with non-trunk default branches.
2007-04-04 21:17:33 +00:00
Mark Peek
4f796ffc7b Import vendor patch to fix postcmd regression in tcsh-6.15.00. 2007-04-03 15:51:53 +00:00
Mark Peek
a5d8788d0d This commit was generated by cvs2svn to compensate for changes in r168305,
which included commits to RCS files with non-trunk default branches.
2007-04-03 15:51:53 +00:00
Xin LI
735e7a1ab2 Update with bzip2's URL. 2007-03-30 16:33:05 +00:00
Xin LI
078c615eac Remove manual.texi which does not belong to this distribution 2007-03-28 07:58:30 +00:00
Xin LI
b578e49563 This commit was generated by cvs2svn to compensate for changes in r167984,
which included commits to RCS files with non-trunk default branches.
2007-03-28 07:58:30 +00:00
Xin LI
7e114e8385 Reflect 1.0.4 import. 2007-03-28 07:56:14 +00:00
Xin LI
4446b1794f Remove Y2K_INFO which does not belong to this distribution 2007-03-28 07:55:07 +00:00
Xin LI
31d4699f65 This commit was generated by cvs2svn to compensate for changes in r167981,
which included commits to RCS files with non-trunk default branches.
2007-03-28 07:55:07 +00:00
Xin LI
19d9af52da Resolve conflicts. 2007-03-28 07:46:20 +00:00
Xin LI
555470d474 bzip2.c: SA-05:14.bzip2 has been resolved by the author
in a different way.  Make the file just the same as it
is in the vendor branch to make it easier for future
upgrade.
2007-03-28 07:45:41 +00:00
Xin LI
1b79bae0f8 Virgin import (trimmed) of Bzip2 version 1.0.4. 2007-03-28 07:35:07 +00:00
Xin LI
c737bf586a This commit was generated by cvs2svn to compensate for changes in r167974,
which included commits to RCS files with non-trunk default branches.
2007-03-28 07:35:07 +00:00
Xin LI
bdb0aaa123 Resolve conflicts. 2007-03-28 01:57:03 +00:00
Xin LI
b2f6436d8f Import netcat as of today's OPENBSD_4_1 snapshot. 2007-03-28 01:55:49 +00:00
Xin LI
c262af8430 This commit was generated by cvs2svn to compensate for changes in r167961,
which included commits to RCS files with non-trunk default branches.
2007-03-28 01:55:49 +00:00
Mark Peek
15aaece8bd Build updates for tcsh-6.15.00 import.
Reviewed by:	ume
Reminded by:	Divacky Roman
MFC after:	1 week
2007-03-11 22:41:19 +00:00
Mark Peek
45e5710bbb Import of tcsh-6.15.00 2007-03-11 22:33:41 +00:00
Mark Peek
4905cea5f2 This commit was generated by cvs2svn to compensate for changes in r167465,
which included commits to RCS files with non-trunk default branches.
2007-03-11 22:33:41 +00:00
Jung-uk Kim
560a54e10c Add three new ioctl(2) commands for bpf(4).
- BIOCGDIRECTION and BIOCSDIRECTION get or set the setting determining
whether incoming, outgoing, or all packets on the interface should be
returned by BPF.  Set to BPF_D_IN to see only incoming packets on the
interface.  Set to BPF_D_INOUT to see packets originating locally and
remotely on the interface.  Set to BPF_D_OUT to see only outgoing
packets on the interface.  This setting is initialized to BPF_D_INOUT
by default.  BIOCGSEESENT and BIOCSSEESENT are obsoleted by these but
kept for backward compatibility.

- BIOCFEEDBACK sets packet feedback mode.  This allows injected packets
to be fed back as input to the interface when output via the interface is
successful.  When BPF_D_INOUT direction is set, injected outgoing packet
is not returned by BPF to avoid duplication.  This flag is initialized to
zero by default.

Note that libpcap has been modified to support BPF_D_OUT direction for
pcap_setdirection(3) and PCAP_D_OUT direction is functional now.

Reviewed by:	rwatson
2007-02-26 22:24:14 +00:00
Doug Barton
fa5fb0343e Vendor import of BIND 9.3.4 2007-01-29 18:31:57 +00:00
Doug Barton
7df6b04081 This commit was generated by cvs2svn to compensate for changes in r166332,
which included commits to RCS files with non-trunk default branches.
2007-01-29 18:31:57 +00:00
Rong-En Fan
1fe671fed0 Add instructions for future update.
Approved by:	delphij
2007-01-20 08:24:05 +00:00
Rong-En Fan
01b82453a3 Remove files that are no longer exist.
Approved by:	delphij
2007-01-20 08:21:19 +00:00
Rong-En Fan
7d0e8efafb - Resolve conflicts
- Remove files that are removed in vender branch

Approved by:	delphij
2007-01-20 07:39:17 +00:00
Rong-En Fan
4a1a95108d Import ncurses 5.6-20061217 onto the vender branch
Approved by:	delphij
2007-01-20 07:32:02 +00:00
Rong-En Fan
2bc3093fdf This commit was generated by cvs2svn to compensate for changes in r166124,
which included commits to RCS files with non-trunk default branches.
2007-01-20 07:32:02 +00:00
David Schultz
273147031f Merge local diffs. 2007-01-03 04:59:33 +00:00
David Schultz
963e8efffe This commit was generated by cvs2svn to compensate for changes in r165743,
which included commits to RCS files with non-trunk default branches.
2007-01-03 04:58:54 +00:00
David Schultz
c88250a57d Import of the latest gdtoa sources, which include fixes for minor
problems relating to NaNs and rounding.
2007-01-03 04:58:54 +00:00
Andrey A. Chernov
a0c3535536 Udate info after official patch 2006-12-31 09:50:44 +00:00
Andrey A. Chernov
4ccf11657b Merge conflict after official patch 2006-12-31 09:47:34 +00:00
Andrey A. Chernov
a05ab6e2bb Official patch 001 2006-12-31 09:45:18 +00:00
Andrey A. Chernov
ff240e75e9 Merge conflicts 2006-12-31 09:22:31 +00:00
Andrey A. Chernov
7574f7c3cd Update instructions 2006-12-31 09:12:19 +00:00
Andrey A. Chernov
1c08c2b3fd Remove non-FSF file 2006-12-31 09:10:49 +00:00
Andrey A. Chernov
1a568b2363 This commit was generated by cvs2svn to compensate for changes in r165670,
which included commits to RCS files with non-trunk default branches.
2006-12-31 09:06:30 +00:00
Andrey A. Chernov
2661c5c55d Virgin import of GNU Readline 5.2 2006-12-31 09:06:30 +00:00
Ruslan Ermilov
3d4c5c90cb MFV: Sync with vendor branch. 2006-12-25 09:03:10 +00:00
Ruslan Ermilov
5bba0737f1 Pull up current -mdoc version from vendor.
- New Darwin, FreeBSD, and NetBSD versions.
- DragonFly support including the new .Dx macro.
- New .St strings: -isoC-amd1, -isoC-tcor1, -isoC-tcor2, and -ieee1275-94.
2006-12-25 08:59:09 +00:00
Ruslan Ermilov
16fa9cc022 This commit was generated by cvs2svn to compensate for changes in r165538,
which included commits to RCS files with non-trunk default branches.
2006-12-25 08:59:09 +00:00
David E. O'Brien
bc6d91c4b6 Add the '-n' option which is the opposite of '-N', "Do not list tags."
The '-n' option is needed when one has "log -N" in their ~/.cvsrc, but
wishes to see tags for a particular invocation.
2006-12-12 03:20:36 +00:00
Doug Barton
fcb35ad9ef Remove from the vendor branch files that are no longer in the
9.3.3 sources.
2006-12-10 07:12:50 +00:00
Doug Barton
d2bfc051fc This commit was generated by cvs2svn to compensate for changes in r165078,
which included commits to RCS files with non-trunk default branches.
2006-12-10 07:12:50 +00:00
Doug Barton
e99fbbb680 Vendor import of BIND 9.3.3 2006-12-10 07:09:56 +00:00
Doug Barton
06c3b27cdf This commit was generated by cvs2svn to compensate for changes in r165071,
which included commits to RCS files with non-trunk default branches.
2006-12-10 07:09:56 +00:00
Hartmut Brandt
369cca8bf4 This commit was generated by cvs2svn to compensate for changes in r165009,
which included commits to RCS files with non-trunk default branches.
2006-12-08 14:45:15 +00:00
Hartmut Brandt
ca77a23f23 Vendor patch that adds a microsecond timer function. 2006-12-08 14:45:15 +00:00
Giorgos Keramidas
d2d6d8d537 The sigconv.awk script generates a sigdesc.h header file, which
contains a sigdec[] vector of structures, but the generated output is
missing braces around the initializer of each struct, which
triggers warnings in WARNS=3:

src/usr.bin/top/sigdesc.h:10: warning: missing braces around initializer
src/usr.bin/top/sigdesc.h:10: warning: (near initialization for `sigdesc[0]')

  * Fix the sigconv.awk script to generate a header with initializers
    which look better.

  * Add rules to usr.bin/top/Makefile that rebuilds a new sigconv.h
    header which matches the correct signal set from the build-time
    version of `${DESTDIR}/usr/include/signal.h' (so sigconv.h doesn't
    get stale once changes are made to the header).

  * Remove the old sigconv.h header, now that it is autoupdated at
    build time.

  * Various Makefile style fixes (the committed Makefile was kindly
    submitted by Ruslan):

    - Reorder .PATH, PROG, SRCS and CFLAGS to match style.Makefile(5)
    - Split off the generated sources (sigdesc.h top.local.h) in an
      SRCS+= line of their own.
    - Add entries to CLEANFILES near the rules that generate the
      respective files.
    - Move the explicit rule which builds top.1 after the implicit
      rules which generate its dependencies.

Reviewed by:	ru, bde
Submitted by:	ru (Makefile)
MFC after:	2 weeks
2006-12-01 07:01:19 +00:00
Max Laier
e3ae39ac24 From OpenBSD, rev. 1.91:
fix servicecurve check; no point in checking the same sc three times, it
  was obviously intended to check all three. has been wrong since the
  beginning, 4 years... noticed by Earl Lapus <earl.lapus@gmail.com>, Vasil
  Dimov <vd@FreeBSD.org> mailed me then, ok mcbride

MFC after:	3 days
2006-11-30 18:55:36 +00:00
Doug Barton
a02f92e875 Update to version 9.3.2-P2, which addresses the vulnerability
announced by ISC dated 31 October (delivered via e-mail to the
bind-announce@isc.org list on 2 November):

Description:
        Because of OpenSSL's recently announced vulnerabilities
        (CAN-2006-4339, CVE-2006-2937 and CVE-2006-2940) which affect named,
        we are announcing this workaround and releasing patches.  A proof of
        concept attack on OpenSSL has been demonstrated for CAN-2006-4339.

        OpenSSL is required to use DNSSEC with BIND.

Fix for version 9.3.2-P1 and lower:
        Upgrade to BIND 9.3.2-P2, then generate new RSASHA1 and
        RSAMD5 keys for all old keys using the old default exponent
        and perform a key rollover to these new keys.

        These versions also change the default RSA exponent to be
        65537 which is not vulnerable to the attacks described in
        CAN-2006-4339.
2006-11-04 07:53:25 +00:00
Doug Barton
ace7f68b50 This commit was generated by cvs2svn to compensate for changes in r163976,
which included commits to RCS files with non-trunk default branches.
2006-11-04 07:53:25 +00:00
Hartmut Brandt
cab70e0247 Vendor patch: synthesize the initial value for sysObjectId from the value
of uname -r in FreeBSD. This value can be overwritten in the configuration
file.

Suggested by:	phk
2006-10-31 09:00:35 +00:00
Hartmut Brandt
f56ce4bd26 This commit was generated by cvs2svn to compensate for changes in r163820,
which included commits to RCS files with non-trunk default branches.
2006-10-31 09:00:35 +00:00
Hartmut Brandt
f929683df1 Vendor patch: improve readability by using the IF_Mbps macro.
Submitted by:	glebius
2006-10-30 16:56:38 +00:00
Hartmut Brandt
91c878a693 This commit was generated by cvs2svn to compensate for changes in r163799,
which included commits to RCS files with non-trunk default branches.
2006-10-30 16:56:38 +00:00
Max Laier
d6e883fee5 Mention that we do not support route labels in the BUGS section.
PR:		docs/93590
Reported by:	Niki Denev
2006-10-30 15:15:37 +00:00
Bruce Evans
11e27303d3 Fixed -mprofiler-epilogue. The garbage collector apparently doesn't
understand that non-local variables can never be collected, and when
it collected the static variable for mexitcount_libfunc, gcc aborted
on the next use of this variable.

This quick fix is to reinitialize the variable on every use and depend
on garbage collection recovering the small amount of memory wasted by
this, and not worry by the small amount of time wasted by this.  It
would be better to initialize the variable together with most of the
other libfuncs in optabs.c and depend on whatever magic is there to
prevent its collection, but we initialize it here to avoid taking at
least 2 more files off the vendor branch.
2006-10-25 07:29:22 +00:00
David Malone
eac17f2c6f Make it so that the synopsis and usage message almost agree.
MFC after:	3 weeks
2006-10-15 17:44:49 +00:00
David Malone
2f87bd055e Add a -D option to traceroute that prints the differences between
the probe packet we sent and the packet quoted by the ICMP response.
Can be useful for spotting hops that change the packet in-flight
or have problems generating correct ICMP responses.

MFC after:	3 weeks
2006-10-15 17:34:51 +00:00
Ruslan Ermilov
555c9cae3c Fix from upstream: unbreak generation of the terminfo.5 manpage.
PR:		docs/46709, docs/56981, docs/80871
MFC after:	3 days
Obtained from:	ftp://invisible-island.net/ncurses/ncurses-5.5.tar.gz
2006-10-14 19:50:57 +00:00
Ruslan Ermilov
9110424caf This commit was generated by cvs2svn to compensate for changes in r163356,
which included commits to RCS files with non-trunk default branches.
2006-10-14 19:50:57 +00:00
Xin LI
9ba78bf6b1 MFS: Remove file that was disappeared from gcc distribution.
While I'm there, add the file into ObsoleteFiles.inc.

Approved by:	maintainer (kan)
2006-09-30 09:44:58 +00:00
Xin LI
3d556d7a58 This commit was generated by cvs2svn to compensate for changes in r162837,
which included commits to RCS files with non-trunk default branches.
2006-09-30 09:44:58 +00:00
Ruslan Ermilov
a903458081 Markup nits. 2006-09-29 22:51:29 +00:00
Ollivier Robert
3fa694fea6 This commit was generated by cvs2svn to compensate for changes in r162735,
which included commits to RCS files with non-trunk default branches.
2006-09-28 16:02:34 +00:00
Ollivier Robert
8c24a1e0ff Fix compilation with gcc 4.1. This is imported on the vendor branch as it
was applied in the mainstream source and a later complete import of
4.2.2p3 will complete the fix.

Submitted by:	kan
2006-09-28 16:02:34 +00:00
Ruslan Ermilov
eb0fa6f5d7 Remove bogus casts of valid integer ioctl() arguments. 2006-09-26 21:46:12 +00:00
Robert Watson
b9ad4a7bf0 Resolve conflicts from OpenBSM 1.0 alpha 12 import.
Obtained from:	TrustedBSD Project
2006-09-25 11:53:06 +00:00
Robert Watson
4bd0c025f3 Vendor import TrustedBSD OpenBSM 1.0 alpha 12, with the following change
history notes since the last import:

OpenBSM 1.0 alpha 12

- Correct bug in auditreduce which prevented the -c option from working
  correctly when the user specifies to process successful or failed events.
  The problem stemmed from not having access to the return token at the time
  the initial preselection occurred, but now a second preselection process
  occurs while processing the return token.
- getacfilesz(3) API added to read new audit_control(5) filesz setting,
  which auditd(8) now sets the kernel audit trail rotation size to.
- auditreduce(1) now uses stdin if no file names are specified on the command
  line; this was the documented behavior previously, but it was not
  implemented.  Be more specific in auditreduce(1)'s examples section about
  what might be done with the output of auditreduce.
- Add audit_warn(5) closefile event so that administrators can hook
  termination of an audit trail file.  For example, this might be used to
  compress the trail file after it is closed.
- auditreduce(1) now uses regular expressions for pathname matching. Users can
  now supply one or more (comma delimited) regular expressions for searching
  the pathnames. If one of the regular expressions is prefixed with a tilde
  (~), and a path matches, it will be excluded from the search results.

MFC after:	3 days
Obtained from:	TrustedBSD Project
2006-09-25 11:40:29 +00:00
Robert Watson
b3a9bf4df7 This commit was generated by cvs2svn to compensate for changes in r162621,
which included commits to RCS files with non-trunk default branches.
2006-09-25 11:40:29 +00:00
Ruslan Ermilov
f981f1923b Removed these from HEAD as well. 2006-09-21 07:55:28 +00:00
Ruslan Ermilov
89de143f92 These files live in the doc/ subdir in later releases of GCC. 2006-09-21 07:54:02 +00:00
Ruslan Ermilov
5bb8cebbb4 This commit was generated by cvs2svn to compensate for changes in r162512,
which included commits to RCS files with non-trunk default branches.
2006-09-21 07:54:02 +00:00
Ruslan Ermilov
932b1e2fe8 Updated manpages for 3.4.6 release.
OK'ed by:	kan
Obtained from:	gcc-3.4.6.tar.bz2
2006-09-21 07:45:37 +00:00
Ruslan Ermilov
83cc3b492f This commit was generated by cvs2svn to compensate for changes in r162509,
which included commits to RCS files with non-trunk default branches.
2006-09-21 07:45:37 +00:00
Robert Watson
5bf75b12ba Update config.h for OpenBSM 1.0 alpha 11 import: strlcat is now detected
by configure.
2006-09-21 07:14:41 +00:00
Robert Watson
2a62e5451b Resolve conflicts from OpenBSM 1.0 alpha 11 vendor import: we have locally
added $FreeBSD$ to /etc configuration files to assist mergemaster.
2006-09-21 07:12:33 +00:00
Robert Watson
bb97b41819 Vendor import of OpenBSM 1.0 alpha 11, with the following change history
notes since the last import:

OpenBSM 1.0 alpha 11

- Reclassify certain read/write operations as having no class rather than the
  fr/fw class; our default classes audit intent (open) not operations (read,
  write).
- Introduce AUE_SYSCTL_WRITE event so that BSD/Darwin systems can audit reads
  and writes of sysctls as separate events.  Add additional kernel
  environment and jail events for FreeBSD.
- Break AUDIT_TRIGGER_OPEN_NEW into two events, AUDIT_TRIGGER_ROTATE_USER
  (issued by the user audit(8) tool) and AUDIT_TRIGGER_ROTATE_KERNEL (issued
  by the kernel audit implementation) so that they can be distinguished.
- Disable rate limiting of rotate requests; as the kernel doesn't retransmit
  a dropped request, the log file will otherwise grow indefinitely if the
  trigger is dropped.
- Improve auditd debugging output.
- Fix a number of threading related bugs in audit_control file reading
  routines.
- Add APIs au_poltostr() and au_strtopol() to convert between text
  representations of audit_control policy flags and the flags passed to
  auditon(A_SETPOLICY) and retrieved from auditon(A_GETPOLICY).
- Add API getacpol() to return the 'policy:' entry from audit_control, an
  extension to the Solaris file format to allow specification of policy
  persistent flags.
- Update audump to print the audit_control policy field.
- Update auditd to read the audit_control policy field and set the kernel
  policy to match it when configuring/reconfiguring.  Remove the -s and -h
  arguments as these policies are now set via the configuration file.  If a
  policy line is not found in the configuration file, continue with the
  current default of setting AUDIT_CNT.
- Fix bugs in the parsing of large execve(2) arguments and environmental
  variable tokens; increase maximum parsed argument and variable count.
- configure now detects strlcat(), used by policy-related functions.
- Reference token and record sample files added to test tree.

Obtained from:	TrustedBSD Project
2006-09-21 07:07:33 +00:00
Robert Watson
55b15aaa25 This commit was generated by cvs2svn to compensate for changes in r162503,
which included commits to RCS files with non-trunk default branches.
2006-09-21 07:07:33 +00:00
Maxim Konovalov
7585818828 o Mention .telnetrc DEFAULT keyword.
PR:		bin/100496 (sort of)
Obtained from:	NetBSD, heas@netbsd
MFC after:	3 weeks
2006-09-18 15:03:18 +00:00
Ruslan Ermilov
99f3b482da Sort sections. 2006-09-17 18:52:28 +00:00
Ruslan Ermilov
979df1f5dd Remove vestiges of GNU tar. 2006-09-15 08:04:23 +00:00
Doug Barton
42b74b2549 Vendor import of BIND 9.3.2-P1, which addresses the following security
vulnerabilities:

http://www.niscc.gov.uk/niscc/docs/re-20060905-00590.pdf?lang=en
2066.  [security]      Handle SIG queries gracefully. [RT #16300]

http://www.kb.cert.org/vuls/id/697164
1941.  [bug]           ncache_adderesult() should set eresult even if no
                       rdataset is passed to it. [RT #15642]

All users of BIND 9 are encouraged to upgrade to this version.
2006-09-06 21:27:11 +00:00
Doug Barton
ccf118a50a This commit was generated by cvs2svn to compensate for changes in r162079,
which included commits to RCS files with non-trunk default branches.
2006-09-06 21:27:11 +00:00
Sam Leffler
17cb103cb1 resolve merge conflicts
MFC after:	1 month
2006-09-04 20:25:04 +00:00
Sam Leffler
34c97c7db9 sigh, put back buffer overflow fix of 1.1.11 that seems to have
not gone into the 0.9.4 release; don't put it on the vendor branch
so we won't lose it on the next import if they continue to lose it
2006-09-04 20:12:45 +00:00
Sam Leffler
2ebc47db5b Import of tcpdump v3.9.4 2006-09-04 20:04:42 +00:00
Sam Leffler
d44c9004ff This commit was generated by cvs2svn to compensate for changes in r162017,
which included commits to RCS files with non-trunk default branches.
2006-09-04 20:04:42 +00:00
Sam Leffler
73c9abba78 update instructions 2006-09-04 19:54:49 +00:00
Sam Leffler
ff252dbedb resolve merge conflicts
MFC after:	1 month
2006-09-04 19:54:21 +00:00
Sam Leffler
5d18909f05 Import of libpcap v0.9.4 2006-09-04 19:43:23 +00:00
Sam Leffler
47aafbd8f9 This commit was generated by cvs2svn to compensate for changes in r162012,
which included commits to RCS files with non-trunk default branches.
2006-09-04 19:43:23 +00:00
Robert Watson
33c207f0e2 Note removal of certain contrib/openbsm/bsm include files from
FreeBSD development branches, they exist only in the vendor branch.

Obtained from:	TrustedBSD Project
2006-09-02 09:56:28 +00:00
Robert Watson
fdb4472c92 Vendor import of OpenBSM 1.0 alpha 10, with the following changes:
- auditd now generates complete audit records for its events, as required for
  application-submitted audit records in the the FreeBSD kernel audit
  implementation.

This also restores contrib/openbsm/bsm/audit_record to the vendor version
after the build fixes previously committed; however, this file is not used
in the build.

Obtained from:	TrustedBSD Project
2006-09-02 09:37:14 +00:00
Robert Watson
ba33e7d9dd This commit was generated by cvs2svn to compensate for changes in r161863,
which included commits to RCS files with non-trunk default branches.
2006-09-02 09:37:14 +00:00
Robert Watson
85feadf62a Back out imp's quick build fix for OpenBSM now that the prototypes and
functions are in sync between the kernel and user space.

This restores bsm_token.c as found in OpenBSM 1.0 alpha 9.
2006-09-01 15:47:07 +00:00
Robert Watson
2965fc7642 This commit was generated by cvs2svn to compensate for changes in r161818,
which included commits to RCS files with non-trunk default branches.
2006-09-01 15:47:07 +00:00
Robert Watson
8379353c85 Remove duplicated include files from HEAD that appear in both
contrib/openbsm/bsm and sys/bsm.  This will help avoid triggering
problems due to an inconsistent include order between the base and
lib32 builds.  We will continue to import these files on the vendor
branch.  Files used purely in user space (audit_uevents.h) are not
removed.

Suggested by:	ru
2006-09-01 04:58:39 +00:00
David E. O'Brien
67f52b8478 Pull vendor file to HEAD. 2006-08-31 17:11:46 +00:00
David E. O'Brien
c731f591cc Merge in OPIE support, and MAC support.
Our PAM and LOGIN_CAP support is now in the stock sources.
2006-08-31 17:08:21 +00:00
David E. O'Brien
0b2314893a This commit was generated by cvs2svn to compensate for changes in r161764,
which included commits to RCS files with non-trunk default branches.
2006-08-31 16:55:08 +00:00
David E. O'Brien
a5a1d5d318 Import of LukeM's ftpd taken from the NetBSD CVS repo on 31-Aug-2006.
+ Add PAM and LOGIN_CAP support. Mostly from FreeBSD.
+ Implement option "-D", for running ftpd in standalone mode (daemon).
+ NLST should return 450 instead of 550 upon error, per RFC 959.
+ Add recvbufsize configuration option
+ Remove unreachable code (res could never be NULL here), Coverity CID 712.
+ Set file to NULL after calling fclose(), Coverity CID 2669.
+ Make sure that "su" is initialized before dereferencing it, Coverity CID 1075.
+ Cleanup utmp and utmpx support.
2006-08-31 16:55:08 +00:00
Warner Losh
58178f6693 Import on vendor branch two files that have been tweaked to unbreak
the build.  The openbsm folks are free to fix it in any other way they
see fit once they resurface.

Basically, make everything always be const char **, even though const
char ** usually should be 'const char * const *' in most cases.  This
makes the three different definitions consistant and allows world to
build.
2006-08-28 17:26:38 +00:00
Warner Losh
cd437e7ec6 This commit was generated by cvs2svn to compensate for changes in r161701,
which included commits to RCS files with non-trunk default branches.
2006-08-28 17:26:38 +00:00
Alexander Kabaev
f2d5255ddd Resolve conflicts after GCC 3.4.6 20060825 import. 2006-08-26 21:37:21 +00:00
Alexander Kabaev
f2cac1a375 Gcc 3.4.6 F77 runtime support bits (as of 2006/08/25 #116475).
.
2006-08-26 21:30:30 +00:00
Alexander Kabaev
837e5b8c9e This commit was generated by cvs2svn to compensate for changes in r161657,
which included commits to RCS files with non-trunk default branches.
2006-08-26 21:30:30 +00:00