svn commit: r187062 - head/sys/netinet

2009-01-11 Thread Robert Watson
Author: rwatson Date: Sun Jan 11 20:01:43 2009 New Revision: 187062 URL: http://svn.freebsd.org/changeset/base/187062 Log: Since we allow conditional allocation of labels on syncache entries, remove historic assertion that labels are always present. Modified:

svn commit: r187063 - in vendor/openbsm/dist: . bin/auditd bin/auditreduce bsm libauditd libbsm man sys/bsm test/bsm test/reference

2009-01-11 Thread Robert Watson
+.Xr au_bsm_to_socket_type 3 , +.Xr au_socket_type_to_bsm 3 , +.Xr au_to_socket_ex 3 , +.Xr libbsm 3 +.Sh HISTORY +.Fn au_bsm_to_domain +and +.Fn au_domain_to_bsm +were introduced in OpenBSM 1.1. +.Sh AUTHORS +These functions were implemented by +.An Robert Watson +under contract to Apple Inc. +.Pp

svn commit: r187064 - vendor/openbsm/1.1-ALPHA-5

2009-01-11 Thread Robert Watson
Author: rwatson Date: Sun Jan 11 21:27:28 2009 New Revision: 187064 URL: http://svn.freebsd.org/changeset/base/187064 Log: Tag OpenBSM 1.1-alpha5 vendor import. Added: vendor/openbsm/1.1-ALPHA-5/ (props changed) - copied from r187063, vendor/openbsm/dist/

svn commit: r187214 - in head: contrib/openbsm contrib/openbsm/bin/auditd contrib/openbsm/bin/auditreduce contrib/openbsm/bsm contrib/openbsm/libauditd contrib/openbsm/libbsm contrib/openbsm/man co...

2009-01-14 Thread Robert Watson
introduced in OpenBSM 1.1. +.Sh AUTHORS +These functions were implemented by +.An Robert Watson +under contract to Apple Inc. +.Pp +The Basic Security Module (BSM) interface to audit records and audit event +stream format were defined by Sun Microsystems. Copied: head/contrib/openbsm/libbsm

svn commit: r187215 - head/sys/security/audit

2009-01-14 Thread Robert Watson
Author: rwatson Date: Wed Jan 14 12:16:14 2009 New Revision: 187215 URL: http://svn.freebsd.org/changeset/base/187215 Log: Update copyright, P4 version number as audit_bsm_token.c reflects changes in bsm_token.c through #86 from OpenBSM. MFC after:1 month Sponsored by: Apple, Inc.

Re: svn commit: r186955 - in head/sys: conf netinet

2009-01-14 Thread Robert Watson
On Sat, 10 Jan 2009, Julian Elischer wrote: I'm happy to (eventually) also implement the BSDI API once I actually spend time looking at what the difference in behaviours are. If we're lucky, the only difference is where the socket option hooks in and the actual network behaviour is the same.

Re: svn commit: r187332 - head/tools/regression/usr.bin/jot

2009-01-17 Thread Robert Watson
On Sat, 17 Jan 2009, Stanislav Sedov wrote: Was this discussed somewhere? I don't understand why we should restrict our filesystem naming because of limitation of auxilary filesystems. There're even more restrictive filesystems available, we couldn't support them all. While previous

Re: svn commit: r187332 - head/tools/regression/usr.bin/jot

2009-01-17 Thread Robert Watson
On Sat, 17 Jan 2009, Stanislav Sedov wrote: I understand, this is a bikesched, but I really don't see a reason. You can't build FreeBSD on windows anyway. Many of us would *very* much like to be able to cross-build FreeBSD from both Windows and Mac OS X, which would be highly desirable for

Re: svn commit: r187434 - stable/7/sys/amd64/conf

2009-01-19 Thread Robert Watson
On Mon, 19 Jan 2009, Maxim Sobolev wrote: Author: sobomax Date: Mon Jan 19 15:36:25 2009 New Revision: 187434 URL: http://svn.freebsd.org/changeset/base/187434 Log: MFC: take NTFS option out to match i386 GENERIC. Are you going to modify UPDATING to say that options NTFS will now be

Re: svn commit: r187332 - head/tools/regression/usr.bin/jot

2009-01-19 Thread Robert Watson
On Mon, 19 Jan 2009, David O'Brien wrote: For changes like this to be reasoned because of building FreeBSD on Windows there should consensus. For MacOS X - there is a case sensitive FS. So I have to reformat my Mac OS X file systems in order to check out FreeBSD source trees on them

Re: svn commit: r187434 - stable/7/sys/amd64/conf

2009-01-20 Thread Robert Watson
On Tue, 20 Jan 2009, Gavin Atkinson wrote: : Are you going to modify UPDATING to say that options NTFS will now be : required where it wasn't previously on amd64? Also, insta-MFC's are generally : a bad idea, even for changes believed harmless, as they often have unexpected : side effects.

Re: svn commit: r187580 - head/tools/sched

2009-01-22 Thread Robert Watson
On Thu, 22 Jan 2009, Ivan Voras wrote: 2009/1/22 Robert Watson rwat...@freebsd.org: FWIW, the one case where I don't really do that is when I worked on some code on my own and hence hold the copyright for it, then did some work under a contract for a customer on it such that they own

Re: svn commit: r187580 - head/tools/sched

2009-01-22 Thread Robert Watson
On Thu, 22 Jan 2009, M. Warner Losh wrote: : FWIW, the one case where I don't really do that is when I worked on some code : on my own and hence hold the copyright for it, then did some work under a : contract for a customer on it such that they own the copyright on : enhancements, and then I

Re: svn commit: r187580 - head/tools/sched

2009-01-23 Thread Robert Watson
On Fri, 23 Jan 2009, Ivan Voras wrote: I'm not a lawyer (very obviously - no talent for it all :) ) and was probably wrongly interpreting the Geneva copyright convention. It's not clear how relevant the Geneva copyright convention is at this point, given that most countries of interest are

svn commit: r187664 - head/sys/kern

2009-01-24 Thread Robert Watson
Author: rwatson Date: Sat Jan 24 10:22:49 2009 New Revision: 187664 URL: http://svn.freebsd.org/changeset/base/187664 Log: Add explicit static DTrace tracing to the callout mechanism, capturing pointers to the callout handler just before and just after the callout it invoked. I attempted

svn commit: r187666 - head/sys/security/mac

2009-01-24 Thread Robert Watson
Author: rwatson Date: Sat Jan 24 10:57:32 2009 New Revision: 187666 URL: http://svn.freebsd.org/changeset/base/187666 Log: Begin to add SDT tracing of the MAC Framework: add policy modevent, register, and unregister hooks that give access to the mac_policy_conf for the policy. Obtained

svn commit: r187686 - head/sys/kern

2009-01-25 Thread Robert Watson
Author: rwatson Date: Sun Jan 25 12:07:43 2009 New Revision: 187686 URL: http://svn.freebsd.org/changeset/base/187686 Log: When a statically linked binary is executed (or at least, one without an interpreter definition in its program header), set the auxiliary ELF argument AT_BASE to 0

svn commit: r187814 - head/sbin/dumpfs

2009-01-28 Thread Robert Watson
Author: rwatson Date: Wed Jan 28 09:33:00 2009 New Revision: 187814 URL: http://svn.freebsd.org/changeset/base/187814 Log: Add a new flag to dumpfs(8), -f, which causes dumpfs to list all free fragments in the file system by fragment (block) number. This new mode does the necessary

svn commit: r187820 - head/sbin/dumpfs

2009-01-28 Thread Robert Watson
Author: rwatson Date: Wed Jan 28 12:08:19 2009 New Revision: 187820 URL: http://svn.freebsd.org/changeset/base/187820 Log: Print disk offets as %jd rather than %lld; I fixed one before committing but missed the other, which breaks 64-bit builds. Reported by: bf bf2006a at yahoo dot com

svn commit: r187881 - head/sys/kern

2009-01-29 Thread Robert Watson
Author: rwatson Date: Thu Jan 29 09:32:56 2009 New Revision: 187881 URL: http://svn.freebsd.org/changeset/base/187881 Log: If a process is a zombie and we couldn't identify another useful state, print out the state as zombine in preference to unknown when ^T is pressed. MFC after:3

svn commit: r187987 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb netinet

2009-02-01 Thread Robert Watson
Author: rwatson Date: Sun Feb 1 19:20:45 2009 New Revision: 187987 URL: http://svn.freebsd.org/changeset/base/187987 Log: Merge r186717 from head to stable/7: Allow the IP_MINTTL socket option to be set to 0 so that it can be disabled entirely, which is its default state before

svn commit: r187988 - in stable/6/sys: . contrib/pf dev/cxgb netinet

2009-02-01 Thread Robert Watson
Author: rwatson Date: Sun Feb 1 20:18:27 2009 New Revision: 187988 URL: http://svn.freebsd.org/changeset/base/187988 Log: Merge r187987 from stable/7 to stable/6: Merge r186717 from head to stable/7: Allow the IP_MINTTL socket option to be set to 0 so that it can be

svn commit: r188006 - in head/usr.bin: basename dirname

2009-02-02 Thread Robert Watson
Author: rwatson Date: Mon Feb 2 11:19:56 2009 New Revision: 188006 URL: http://svn.freebsd.org/changeset/base/188006 Log: Alow dirname(1) to accept multiple arguments in the same way that basename(1) does. (Two different PRs contained identical patches, both cited below) PR:

Re: svn commit: r188069 - stable/7/bin/cp

2009-02-03 Thread Robert Watson
On Tue, 3 Feb 2009, Diomidis Spinellis wrote: Robert Watson wrote: On Tue, 3 Feb 2009, Diomidis Spinellis wrote: Author: dds Date: Tue Feb 3 13:07:34 2009 New Revision: 188069 URL: http://svn.freebsd.org/changeset/base/188069 Log: MFC r184342 from head to stable/7 Add fallback when

svn commit: r188122 - head/sys/security/audit

2009-02-04 Thread Robert Watson
Author: rwatson Date: Wed Feb 4 19:56:37 2009 New Revision: 188122 URL: http://svn.freebsd.org/changeset/base/188122 Log: Eliminate the local variable 'ape' in audit_pipe_kqread(), as it's only used for an assertion that we don't really need anymore. MFC after:1 week Reported by:

svn commit: r188124 - head/sys/netatalk

2009-02-04 Thread Robert Watson
Author: rwatson Date: Wed Feb 4 20:04:32 2009 New Revision: 188124 URL: http://svn.freebsd.org/changeset/base/188124 Log: Remove local variable 'ddp' from DDP's attach and detach routines; they were used only for assertions, and rather than ifdef'ing them INVARIANTS and using local

svn commit: r188222 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 11:03:51 2009 New Revision: 188222 URL: http://svn.freebsd.org/changeset/base/188222 Log: Merge r184904 from head to stable/7: The audit queue limit variables are size_t, so use size_t for the audit queue length variables as well, avoiding storing the

svn commit: r188223 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 12:06:39 2009 New Revision: 188223 URL: http://svn.freebsd.org/changeset/base/188223 Log: Merge r184482 from head to stable/7: Protect the event-class lookup database using an rwlock instead of a mutex, as it's rarely changed but frequently accessed

svn commit: r188224 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 12:10:28 2009 New Revision: 188224 URL: http://svn.freebsd.org/changeset/base/188224 Log: Merge r184948 from head to stable/7: When repeatedly accessing a thread credential, cache the credential pointer in a local thread. While this is unlikely to

svn commit: r188225 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 12:14:57 2009 New Revision: 188225 URL: http://svn.freebsd.org/changeset/base/188225 Log: Merge r185293 from head to stable/7: Regularize /* FALLTHROUGH */ comments in the BSM event type switch, and add one that was missing. Coverity ID: 3960

svn commit: r188226 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb netipx

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 12:20:08 2009 New Revision: 188226 URL: http://svn.freebsd.org/changeset/base/188226 Log: Merge r185928 from head to stable/7: Add missing goto set_head for SO_IPX_CHECKSUM; otherwise we fall through to the SO_HEADERS_ON_OUTPUT case and set that

svn commit: r188227 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 12:22:00 2009 New Revision: 188227 URL: http://svn.freebsd.org/changeset/base/188227 Log: Merge r184489 from head to stable/7: When we drop an audit record going to and audit pipe because the audit pipe has overflowed, drop the newest, rather than

svn commit: r188229 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 12:27:25 2009 New Revision: 188229 URL: http://svn.freebsd.org/changeset/base/188229 Log: Merge r186603 from head to stabl/7: Rename mbcnt to mbcnt_delta in uipc_send() -- unlike other local variables named mbcnt in uipc_usrreq.c, this instance is a

svn commit: r188230 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 12:33:39 2009 New Revision: 188230 URL: http://svn.freebsd.org/changeset/base/188230 Log: Merge r187881 from head to stable/7: If a process is a zombie and we couldn't identify another useful state, print out the state as zombine in preference to

svn commit: r188231 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb ufs/ffs

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 12:39:42 2009 New Revision: 188231 URL: http://svn.freebsd.org/changeset/base/188231 Log: Merge r187790 from head to stable/7: Following a fair amount of real world experience with ACLs and extended attributes since FreeBSD 5, make the following

svn commit: r188228 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-06 Thread Robert Watson
. Watson + * Copyright (c) 2008 Apple, Inc. * All rights reserved. * * This software was developed by Robert Watson for the TrustedBSD Project. @@ -41,6 +42,7 @@ __FBSDID($FreeBSD$); #include sys/poll.h #include sys/proc.h #include sys/queue.h +#include sys/rwlock.h #include sys/selinfo.h

Re: svn commit: r236441 - head/lib/libc/sys

2012-06-10 Thread Robert Watson
On Sat, 2 Jun 2012, Ed Schouten wrote: Log: Remove invalid remark about pipes. The stat structures returned on pipes seems to contain all the information required by POSIX. Especially the wording and thus to a pipe makes little sense, because it seems to imply a certain relationship

svn commit: r234829 - head/lib/libc/sys

2012-04-30 Thread Robert Watson
Author: rwatson Date: Mon Apr 30 07:32:39 2012 New Revision: 234829 URL: http://svn.freebsd.org/changeset/base/234829 Log: The returned file descriptor from pdfork(2) is via fdp, not pidp. Submitted by: Norman Hardy MFC after:3 days Modified: head/lib/libc/sys/pdfork.2 Modified:

svn commit: r234830 - head/lib/libc/sys

2012-04-30 Thread Robert Watson
Author: rwatson Date: Mon Apr 30 08:00:52 2012 New Revision: 234830 URL: http://svn.freebsd.org/changeset/base/234830 Log: fix a further typo in the pdfork(2) man page. Submitted by: Norman Hardy MFC after:3 days Modified: head/lib/libc/sys/pdfork.2 Modified:

svn commit: r234920 - in head/sys: dev/gxemul dev/gxemul/cons mips/conf mips/gxemul

2012-05-02 Thread Robert Watson
Author: rwatson Date: Wed May 2 08:10:15 2012 New Revision: 234920 URL: http://svn.freebsd.org/changeset/base/234920 Log: Merge a rudimentary gxemul oldtestmips port. This consists almost entirely of one machdep file lifted from the MALTA port, as well as a low-level console and tty

svn commit: r234921 - head/sys/mips/mips

2012-05-02 Thread Robert Watson
Author: rwatson Date: Wed May 2 08:23:53 2012 New Revision: 234921 URL: http://svn.freebsd.org/changeset/base/234921 Log: Clean up various aspects of the MIPS generic busspace implementation: 1) Always implement missing bus space methods using a panic() stub rather than a NULL

svn commit: r234926 - head/sys/mips/conf

2012-05-02 Thread Robert Watson
Author: rwatson Date: Wed May 2 12:15:34 2012 New Revision: 234926 URL: http://svn.freebsd.org/changeset/base/234926 Log: mips/mips64eb became mips/mips64 while I wasn't looking (whoops), so update GXEMUL kernel config for the new world order. Spotted by: bz MFC after:3 weeks

Re: svn commit: r243627 - head/sys/kern

2012-11-27 Thread Robert Watson
On Tue, 27 Nov 2012, Andre Oppermann wrote: On 27.11.2012 23:35, Peter Wemm wrote: Andre.. this breaks incoming connections. TCP is immediately reset and never even gets to the listener process. You need to back out of fix this urgently please. I just found out and fixed it. Sorry for

Re: svn commit: r243627 - head/sys/kern

2012-11-28 Thread Robert Watson
On Wed, 28 Nov 2012, Andre Oppermann wrote: Yes, and I didn't really expect you to answer (at least quickly) during your FreeBSD hiatus. So it was seeking review by chance. Alas I found and fixed the bug myself within 2.5hrs. While not optimal, a sign of poor prior testing and too much

Re: svn commit: r243627 - head/sys/kern

2012-11-28 Thread Robert Watson
On Wed, 28 Nov 2012, Alfred Perlstein wrote: Yes, and I didn't really expect you to answer (at least quickly) during your FreeBSD hiatus. So it was seeking review by chance. Alas I found and fixed the bug myself within 2.5hrs. While not optimal, a sign of poor prior testing and too much

svn commit: r243730 - in vendor/openbsm/dist: . bin bin/audit bin/auditd bin/auditdistd bin/auditfilterd bin/auditreduce bin/praudit bsm compat config etc libauditd libbsm m4 man modules modules/au...

2012-11-30 Thread Robert Watson
Author: rwatson Date: Fri Nov 30 23:50:07 2012 New Revision: 243730 URL: http://svnweb.freebsd.org/changeset/base/243730 Log: Import OpenBSM 1.2-alpha2: OpenBSM 1.2 alpha 2 - auditdistd, a distributed audit trail management daemon, has now been merged. This allows trail files to

svn commit: r243732 - vendor/openbsm/1.2-ALPHA-2

2012-11-30 Thread Robert Watson
Author: rwatson Date: Fri Nov 30 23:52:45 2012 New Revision: 243732 URL: http://svnweb.freebsd.org/changeset/base/243732 Log: Tag OpenBSM 1.2-alpha2. Obtained from:TrustedBSD Project Sponsored by: The FreeBSD Foundation (auditdistd) Added: vendor/openbsm/1.2-ALPHA-2/ -

svn commit: r243734 - in vendor/openbsm/dist: bin/auditd bin/auditdistd bin/praudit libbsm sys/bsm

2012-11-30 Thread Robert Watson
Author: rwatson Date: Sat Dec 1 00:02:31 2012 New Revision: 243734 URL: http://svnweb.freebsd.org/changeset/base/243734 Log: Merge a number of post-1.2-alpha2 changes to OpenBSM into the OpenBSM vendor area; these sort out various post-release issues, largely to do with integrating OpenBSM

svn commit: r243750 - in head/contrib/openbsm: . bin bin/audit bin/auditd bin/auditdistd bin/auditfilterd bin/auditreduce bin/praudit bsm compat config etc libauditd libbsm m4 man modules modules/a...

2012-12-01 Thread Robert Watson
Author: rwatson Date: Sat Dec 1 11:58:08 2012 New Revision: 243750 URL: http://svnweb.freebsd.org/changeset/base/243750 Log: Merge OpenBSM 1.2-alpha2 from vendor branch to FreeBSD 10-CURRENT; the primary new feature is auditdistd. Obtained from:TrustedBSD Project Sponsored by:

svn commit: r243751 - in head/sys: bsm security/audit

2012-12-01 Thread Robert Watson
Author: rwatson Date: Sat Dec 1 13:46:37 2012 New Revision: 243751 URL: http://svnweb.freebsd.org/changeset/base/243751 Log: Merge OpenBSM 1.2-alpha2 changes from contrib/openbsm to src/sys/{bsm,security/audit}. There are a few tweaks to help with the FreeBSD build environment that will

svn commit: r243752 - in head: etc etc/defaults etc/mail etc/mtree etc/rc.d share/man/man4 usr.sbin usr.sbin/auditdistd

2012-12-01 Thread Robert Watson
Author: rwatson Date: Sat Dec 1 15:11:46 2012 New Revision: 243752 URL: http://svnweb.freebsd.org/changeset/base/243752 Log: Merge a number of changes required to hook up OpenBSM 1.2-alpha2's auditdistd (distributed audit daemon) to the build: - Manual cross references - Makefile for

svn commit: r243800 - head

2012-12-02 Thread Robert Watson
Author: rwatson Date: Sun Dec 2 22:09:16 2012 New Revision: 243800 URL: http://svnweb.freebsd.org/changeset/base/243800 Log: Specifically point at the Handbook instructions for world updates in UPDATING by URL. As there has been some confusion over the need to run mergemaster -p, part

Re: svn commit: r243798 - head

2012-12-02 Thread Robert Watson
On Sun, 2 Dec 2012, Garrett Cooper wrote: On Sun, Dec 2, 2012 at 1:32 PM, Peter Wemm pe...@freebsd.org wrote: Author: peter Date: Sun Dec 2 21:32:45 2012 New Revision: 243798 URL: http://svnweb.freebsd.org/changeset/base/243798 Log: Add auditdistd to the pre-install required uid check

svn commit: r243947 - in stable/9/etc: . mail

2012-12-06 Thread Robert Watson
Author: rwatson Date: Thu Dec 6 11:52:31 2012 New Revision: 243947 URL: http://svnweb.freebsd.org/changeset/base/243947 Log: Early MFC of portions of r243752 adding an auditdistd user to stable/8 in order to ease future upgrades; the remainder of r243752 is left for a future MFC of the

svn commit: r243948 - in stable/8/etc: . mail

2012-12-06 Thread Robert Watson
Author: rwatson Date: Thu Dec 6 11:54:25 2012 New Revision: 243948 URL: http://svnweb.freebsd.org/changeset/base/243948 Log: Early MFC of portions of r243752 adding an auditdistd user to stable/8 in order to ease future upgrades; the remainder of r243752 is left for a future MFC of the

Re: svn commit: r243947 - in stable/9/etc: . mail

2012-12-06 Thread Robert Watson
On Thu, 6 Dec 2012, Robert Watson wrote: Log: Early MFC of portions of r243752 adding an auditdistd user to stable/8 in order to ease future upgrades; the remainder of r243752 is left for a future MFC of the OpenBSM upgrade: This should have read 'stable/9' rather than 'stable/8

Re: svn commit: r244077 - head/sys/amd64/amd64

2012-12-10 Thread Robert Watson
On Mon, 10 Dec 2012, Konstantin Belousov wrote: Author: kib Date: Mon Dec 10 05:14:34 2012 New Revision: 244077 URL: http://svnweb.freebsd.org/changeset/base/244077 Log: Add amd64-specific ddb command show pte. The command displays the hierarchy of the page table entries which map the

Re: svn commit: r248097 - in head: . lib/libncp lib/libprocstat share/examples/nwclient sys/fs/nwfs sys/modules/ncp sys/modules/nwfs sys/netncp usr.bin/ncplist usr.bin/ncplogin usr.sbin/mount_nwfs

2013-03-09 Thread Robert Watson
Hi Attilio: It's really great to see the continued progress towards the goal entirely-MPSAFE VFS in 10.x -- we owe you a huge vote of thanks for pursuing this! Robert N M Watson Computer Laboratory University of Cambridge On Sat, 9 Mar 2013, Attilio Rao wrote: Author: attilio Date: Sat

svn commit: r249478 - in stable/8/sys: netinet netinet6

2013-04-14 Thread Robert Watson
Author: rwatson Date: Sun Apr 14 16:25:37 2013 New Revision: 249478 URL: http://svnweb.freebsd.org/changeset/base/249478 Log: FreeBSD 8.0 introduced inpcb reference counting, and FreeBSD 8.1 began using that reference count to protect inpcb stability in udp_pcblist() and other monitoring

svn commit: r249553 - head/lib/libstand/mips

2013-04-16 Thread Robert Watson
Author: rwatson Date: Tue Apr 16 17:03:35 2013 New Revision: 249553 URL: http://svnweb.freebsd.org/changeset/base/249553 Log: Adapt libstand's setjmp/longjmp MIPS support to be portable across 32-bit and 64-bit MIPS. Don't use the floating-point coprocessor in the libstand context for

svn commit: r249554 - head/lib/libstand

2013-04-16 Thread Robert Watson
Author: rwatson Date: Tue Apr 16 17:20:52 2013 New Revision: 249554 URL: http://svnweb.freebsd.org/changeset/base/249554 Log: Use a suitable code generation when building libstand for MIPS. Reviewed by: imp Sponsored by: DARPA, AFRL MFC after:3 days Modified:

svn commit: r249660 - in releng/8.4/sys: netinet netinet6

2013-04-19 Thread Robert Watson
Author: rwatson Date: Fri Apr 19 21:08:56 2013 New Revision: 249660 URL: http://svnweb.freebsd.org/changeset/base/249660 Log: Merge r249478 from stable/8 to releng/8.4: FreeBSD 8.0 introduced inpcb reference counting, and FreeBSD 8.1 began using that reference count to protect inpcb

svn commit: r250020 - head/lib/libstand/mips

2013-04-28 Thread Robert Watson
Author: rwatson Date: Sun Apr 28 14:40:29 2013 New Revision: 250020 URL: http://svnweb.freebsd.org/changeset/base/250020 Log: Merge @228176 from Perforce to fix a bug introduced in r249553: Trim two now-unneeded (and likely harmful) lines from the libstand setjmp/longjmp for MIPS.

svn commit: r250023 - head/lib/libstand

2013-04-28 Thread Robert Watson
Author: rwatson Date: Sun Apr 28 16:35:24 2013 New Revision: 250023 URL: http://svnweb.freebsd.org/changeset/base/250023 Log: Enable building string functions as part of libstand on mips; the Makefile is a bit obfuscated here, as ia64 adds string source files elsewhere, so simply exclude it

svn commit: r238264 - stable/9/contrib/openbsm/libauditd

2012-07-08 Thread Robert Watson
Author: rwatson Date: Sun Jul 8 20:41:54 2012 New Revision: 238264 URL: http://svn.freebsd.org/changeset/base/238264 Log: Merge r234034 from head to stable/9: Merge a local fix to OpenBSM's libauditd to avoid a directory descriptor leak when iterating over possible audit trail

svn commit: r238266 - stable/9/sys/mips/mips

2012-07-08 Thread Robert Watson
Author: rwatson Date: Sun Jul 8 21:21:45 2012 New Revision: 238266 URL: http://svn.freebsd.org/changeset/base/238266 Log: Merge r231712 from head to stable/9: When initialising the CP0 status register during boot on 64-bit MIPS, set all three of the kernel, supervisor, and user-mode

svn commit: r238283 - stable/9/gnu/usr.bin/gdb/kgdb

2012-07-09 Thread Robert Watson
Author: rwatson Date: Mon Jul 9 08:27:04 2012 New Revision: 238283 URL: http://svn.freebsd.org/changeset/base/238283 Log: Merge r229521 from head to stable/9: Add missing -w to kgdb(1)'s usage(). Sponsored by: Adara Networks, Inc. Approved by: re (kib) Modified:

svn commit: r238285 - stable/9/sys/security/mac

2012-07-09 Thread Robert Watson
Author: rwatson Date: Mon Jul 9 08:42:54 2012 New Revision: 238285 URL: http://svn.freebsd.org/changeset/base/238285 Log: Merge r234032 from head to stable/9: When allocation of labels on files is implicitly disabled due to MAC policy configuration, avoid leaking resources following

svn commit: r238686 - stable/8/contrib/openbsm/libauditd

2012-07-22 Thread Robert Watson
Author: rwatson Date: Sun Jul 22 12:09:42 2012 New Revision: 238686 URL: http://svn.freebsd.org/changeset/base/238686 Log: Merge r234034 from head to stable/8: Merge a local fix to OpenBSM's libauditd to avoid a directory descriptor leak when iterating over possible audit trail

svn commit: r238698 - stable/8/sys/security/mac

2012-07-22 Thread Robert Watson
Author: rwatson Date: Sun Jul 22 16:56:59 2012 New Revision: 238698 URL: http://svn.freebsd.org/changeset/base/238698 Log: Merge r234032 from head to stable/8: When allocation of labels on files is implicitly disabled due to MAC policy configuration, avoid leaking resources following

svn commit: r238699 - head/sys/netinet

2012-07-22 Thread Robert Watson
Author: rwatson Date: Sun Jul 22 17:31:36 2012 New Revision: 238699 URL: http://svn.freebsd.org/changeset/base/238699 Log: Update some stale comments regarding tcbinfo locking in the TCP input path: read locks on tcbinfo are no longer used, so won't happen. No functional change. MFC

Re: svn commit: r238672 - head/sys/dev/sdhci

2012-07-28 Thread Robert Watson
On Mon, 23 Jul 2012, Warner Losh wrote: Never heard about this rule. Sorry. Actually, English spacing is discouraged in more recent texts; it was encouraged during the late 19th century up until the late 20th century according to ye great wikipedia [1], but I've read several other

Re: svn commit: r238118 - head/lib/libc/gen

2012-07-28 Thread Robert Watson
On Tue, 24 Jul 2012, David Schultz wrote: On Wed, Jul 04, 2012, Doug Barton wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 07/04/2012 13:32, Andrey Chernov wrote: 1) /dev/urandom may not exist in jails/sandboxes That would be a pretty serious configuration error. Yes -- but

svn commit: r238861 - head/sys/mips/mips

2012-07-28 Thread Robert Watson
Author: rwatson Date: Sat Jul 28 11:09:03 2012 New Revision: 238861 URL: http://svn.freebsd.org/changeset/base/238861 Log: Merge FreeBSD/beri Perforce change @211945 to head: Modify MIPS page table entry (PTE) initialisation so that cachability bits are set only once, using

Re: svn commit: r239395 - head/sys/netinet

2012-08-19 Thread Robert Watson
On Sun, 19 Aug 2012, Randall Stewart wrote: Though I disagree, I conceed to jhb Rui. Note that we still have a problem with this whole structure of locks and in_input.c [it does not lock which it should not, but this *can* lead to crashes]. (I have seen it in our SQA testbed.. besides

svn commit: r239667 - head/sys/dev/gxemul/cons

2012-08-25 Thread Robert Watson
Author: rwatson Date: Sat Aug 25 07:47:12 2012 New Revision: 239667 URL: http://svn.freebsd.org/changeset/base/239667 Log: Rename the gxemul console device to ttyu0 to match the expectations of the default MIPS /etc/ttys. Sponsored by: DARPA, AFRL Modified:

svn commit: r239668 - head/sys/dev/gxemul/cons

2012-08-25 Thread Robert Watson
Author: rwatson Date: Sat Aug 25 07:48:52 2012 New Revision: 239668 URL: http://svn.freebsd.org/changeset/base/239668 Log: In the gxemul console, check the RB_SERIAL boot flag, and change the relative priority of the gxemul console in line with its role as a seiral console. This allows it

svn commit: r239669 - head/sys/mips/mips

2012-08-25 Thread Robert Watson
Author: rwatson Date: Sat Aug 25 08:02:46 2012 New Revision: 239669 URL: http://svn.freebsd.org/changeset/base/239669 Log: On MIPS, when printing page fault information for an unexpected exception type, explicitly print out unknown rather than the empty string, and include the exception

svn commit: r239670 - in head/sys: conf dev/fb dev/syscons mips/mips

2012-08-25 Thread Robert Watson
Author: rwatson Date: Sat Aug 25 08:09:37 2012 New Revision: 239670 URL: http://svn.freebsd.org/changeset/base/239670 Log: Provide basic glue to allow syscons to be used on MIPS, modelled on PowerPC support. This was clearly not something syscons was designed to do (very specific

svn commit: r239671 - in head/sys: conf mips/beri mips/mips

2012-08-25 Thread Robert Watson
Author: rwatson Date: Sat Aug 25 08:31:21 2012 New Revision: 239671 URL: http://svn.freebsd.org/changeset/base/239671 Log: Add preliminary support for the SRI International / University of Cambridge Bluespec Extensible RISC Implementation (BERI) processor. BERI is a 64-bit MIPS ISA soft

svn commit: r239674 - in head: share/man/man4 sys/conf sys/dev/altera sys/dev/altera/avgen

2012-08-25 Thread Robert Watson
Author: rwatson Date: Sat Aug 25 11:07:43 2012 New Revision: 239674 URL: http://svn.freebsd.org/changeset/base/239674 Log: Add altera_avgen(4), a generic device driver to be used by hard and soft CPU cores on Altera FPGAs. The device driver allows memory-mapped devices on Altera's Avalon

svn commit: r239675 - in head: share/man/man4 sys/conf sys/dev/altera/sdcard

2012-08-25 Thread Robert Watson
Author: rwatson Date: Sat Aug 25 11:19:20 2012 New Revision: 239675 URL: http://svn.freebsd.org/changeset/base/239675 Log: Add a device driver for the Altera University Program SD Card IP Core, which can be synthesised in Altera FPGAs. An altera_sdcardc device probes during the boot, and

svn commit: r239676 - in head: share/man/man4 sys/dev/altera/jtag_uart sys/mips/beri

2012-08-25 Thread Robert Watson
Author: rwatson Date: Sat Aug 25 11:30:36 2012 New Revision: 239676 URL: http://svn.freebsd.org/changeset/base/239676 Log: Add altera_jtag_uart(4), a device driver for Altera's JTAG UART soft core, which presents a UART-like interface over the Avalon bus that can be addressed over JTAG.

svn commit: r239679 - head/sys/mips/conf

2012-08-25 Thread Robert Watson
Author: rwatson Date: Sat Aug 25 12:02:13 2012 New Revision: 239679 URL: http://svn.freebsd.org/changeset/base/239679 Log: Add reference kernel configurations for FreeBSD/beri in simulation, on the Terasic DE-4, and Terasic tPad Altera-based boards. Sponsored by: DARPA, AFRL Added:

svn commit: r239684 - head/sys/mips/include

2012-08-25 Thread Robert Watson
Author: rwatson Date: Sat Aug 25 17:57:50 2012 New Revision: 239684 URL: http://svn.freebsd.org/changeset/base/239684 Log: Add MD syscons header file for MIPS. Sponsored by: DARPA, AFRL Added: head/sys/mips/include/sc_machdep.h (contents, props changed) Added:

svn commit: r239691 - in head: share/man/man4 sys/dev/terasic sys/dev/terasic/mtl sys/mips/beri sys/mips/conf

2012-08-25 Thread Robert Watson
Author: rwatson Date: Sat Aug 25 22:35:29 2012 New Revision: 239691 URL: http://svn.freebsd.org/changeset/base/239691 Log: Add terasic_mtl(4), a device driver for the Terasic Multi-Touch LCD, used with Terasic's DE-4 and other similar FPGA boards. This display is 800x480 and includes a

svn commit: r239709 - in head/sys: dev/terasic/de4led mips/beri mips/conf

2012-08-26 Thread Robert Watson
Author: rwatson Date: Sun Aug 26 09:21:59 2012 New Revision: 239709 URL: http://svn.freebsd.org/changeset/base/239709 Log: Add terasic_de4led, a led(4) driver for the on-board 8-element LED on the Terasic DE-4 board. Allow LED configuration to be set using loader tunables, not just from

svn commit: r239712 - head/share/man/man4

2012-08-26 Thread Robert Watson
Author: rwatson Date: Sun Aug 26 10:38:02 2012 New Revision: 239712 URL: http://svn.freebsd.org/changeset/base/239712 Log: Add a altera_sdcardc(4) man page link for altera_sdcard(4), as that is the name that will appear in dmesg. Sponsored by: DARPA, AFRL Modified:

svn commit: r239713 - head/sys/mips/conf

2012-08-26 Thread Robert Watson
Author: rwatson Date: Sun Aug 26 10:40:13 2012 New Revision: 239713 URL: http://svn.freebsd.org/changeset/base/239713 Log: Expose DE4 buttons and switches via a de4bsw device, implemented using altera_avgen(4). Fix white space nit that must have arisen during the merge from Perforce.

Re: svn commit: r244112 - head/sys/kern

2012-12-14 Thread Robert Watson
On Fri, 14 Dec 2012, John Baldwin wrote: On Thursday, December 13, 2012 4:02:15 am Gleb Smirnoff wrote: On Wed, Dec 12, 2012 at 04:53:48PM -0800, Alfred Perlstein wrote: A The problem again is that not all the KASSERTS are inviolable, if you A want to do a project to split them, then please

svn commit: r244256 - in vendor/openbsm/dist: . bin/auditdistd etc sys/bsm

2012-12-15 Thread Robert Watson
Author: rwatson Date: Sat Dec 15 13:27:45 2012 New Revision: 244256 URL: http://svnweb.freebsd.org/changeset/base/244256 Log: Vendor import of OpenBSM 1.2-alpha3. This eliminates most local patches made relative to OpenBSM 1.2-alpha2 in order to build OpenBSM as part of the FreeBSD base.

svn commit: r244257 - vendor/openbsm/1.2-ALPHA-3

2012-12-15 Thread Robert Watson
Author: rwatson Date: Sat Dec 15 13:29:16 2012 New Revision: 244257 URL: http://svnweb.freebsd.org/changeset/base/244257 Log: Tag OpenBSM 1.2-alpha3. Obtained from:TrustedBSD Project Added: vendor/openbsm/1.2-ALPHA-3/ - copied from r244256, vendor/openbsm/dist/

svn commit: r244265 - in head/contrib/openbsm: . bin/auditdistd config etc sys/bsm

2012-12-15 Thread Robert Watson
Author: rwatson Date: Sat Dec 15 14:59:00 2012 New Revision: 244265 URL: http://svnweb.freebsd.org/changeset/base/244265 Log: Merge OpenBSM 1.2-alpha3 from the vendor branch to 10-CURRENT; this version included various upstreamed patches from the FreeBSD base to make OpenBSM compile more

svn commit: r244267 - in head/sys: conf security/audit

2012-12-15 Thread Robert Watson
Author: rwatson Date: Sat Dec 15 15:21:09 2012 New Revision: 244267 URL: http://svnweb.freebsd.org/changeset/base/244267 Log: Four .c files from OpenBSM are used, in modified form, by the kernel to implement the BSM audit trail format. Rename the kernel versions of the files to match the

Re: svn commit: r244271 - head/usr.sbin/iostat

2012-12-17 Thread Robert Watson
On Sat, 15 Dec 2012, Adrian Chadd wrote: People may have scripts based on the current output. You should have introduced a new parameter which modifies the output behaviour in the way you wanted, rather than modifying the existing behaviour. Please consider reverting your change (which is

svn commit: r244390 - in stable/9/contrib/openbsm: . bin bin/audit bin/auditd bin/auditdistd bin/auditfilterd bin/auditreduce bin/praudit bsm compat config etc libauditd libbsm m4 man modules modul...

2012-12-18 Thread Robert Watson
Author: rwatson Date: Tue Dec 18 09:32:44 2012 New Revision: 244390 URL: http://svnweb.freebsd.org/changeset/base/244390 Log: Merge OpenBSM 1.2-alpha3 from head to stable/9, upgrading from the previous OpenBSM 1.1p2: OpenBSM 1.2 alpha 3 - Various minor tweaks to the auditdistd build

Re: svn commit: r244383 - head/etc

2012-12-18 Thread Robert Watson
On Tue, 18 Dec 2012, Andrey Zonov wrote: Author: zont Date: Tue Dec 18 07:27:50 2012 New Revision: 244383 URL: http://svnweb.freebsd.org/changeset/base/244383 Log: - Set memorylocked limit to 64Kb for default login class. This prevents unprivileged users to lock too much memory. - Set

Re: svn commit: r244383 - head/etc

2012-12-18 Thread Robert Watson
On Tue, 18 Dec 2012, Robert Watson wrote: Log: - Set memorylocked limit to 64Kb for default login class. This prevents unprivileged users to lock too much memory. - Set memorylocked limit to 64Mb for daemon login class. Some daemons such as amd(8) and watchdogd(8) calls mlockall(2

svn commit: r244391 - in stable/9/sys: bsm security/audit

2012-12-18 Thread Robert Watson
Author: rwatson Date: Tue Dec 18 10:23:58 2012 New Revision: 244391 URL: http://svnweb.freebsd.org/changeset/base/244391 Log: Merge r243751 from head to stable/9: Merge OpenBSM 1.2-alpha2 changes from contrib/openbsm to src/sys/{bsm,security/audit}. There are a few tweaks to help

svn commit: r244392 - stable/9

2012-12-18 Thread Robert Watson
Author: rwatson Date: Tue Dec 18 10:29:28 2012 New Revision: 244392 URL: http://svnweb.freebsd.org/changeset/base/244392 Log: Merge r243798 from head to stable/9: Add auditdistd to the pre-install required uid check list. Modified: stable/9/Makefile.inc1 (contents, props changed)

<    1   2   3   4   5   6   7   8   9   10   >