svn commit: r363655 - in head/contrib/openbsm: . bin/auditd bin/auditdistd libauditd libbsm man sys/bsm

2020-07-28 Thread Christian S.J. Peron
Author: csjp Date: Tue Jul 28 20:06:16 2020 New Revision: 363655 URL: https://svnweb.freebsd.org/changeset/base/363655 Log: Fixup some incorrect information and some comments. These changes were cherry picked up the upstream OpenBSD repository. At some point we will look at doing another

svn commit: r361316 - head/usr.bin/truss

2020-05-20 Thread Christian S.J. Peron
Author: csjp Date: Thu May 21 02:10:45 2020 New Revision: 361316 URL: https://svnweb.freebsd.org/changeset/base/361316 Log: Decode the file descriptor argument to closefrom(2) as an Integer. This is consistent with what we are doing for close(2) and it makes it a bit easier to follow when

svn commit: r361103 - in head/sys: kern security/audit

2020-05-15 Thread Christian S.J. Peron
Author: csjp Date: Sat May 16 03:45:15 2020 New Revision: 361103 URL: https://svnweb.freebsd.org/changeset/base/361103 Log: Add BSM record conversion for a number of syscalls: - thr_kill(2) and thr_exit(2) generally (no argument auditing here. - A set of syscalls for the process

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

2020-05-15 Thread Christian S.J. Peron
Author: csjp Date: Fri May 15 23:44:52 2020 New Revision: 361094 URL: https://svnweb.freebsd.org/changeset/base/361094 Log: Fix typo that snuck in Reported by: Jose Luis Duran MFC after:1 week Modified: head/share/man/man4/procdesc.4 Modified: head/share/man/man4/procdesc.4

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

2020-05-15 Thread Christian S.J. Peron
Author: csjp Date: Fri May 15 20:29:41 2020 New Revision: 361090 URL: https://svnweb.freebsd.org/changeset/base/361090 Log: Bump revision date to today. MFC after:1 week Modified: head/share/man/man4/procdesc.4 Modified: head/share/man/man4/procdesc.4

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

2020-05-15 Thread Christian S.J. Peron
Author: csjp Date: Fri May 15 20:24:08 2020 New Revision: 361089 URL: https://svnweb.freebsd.org/changeset/base/361089 Log: Remove references to pdwait4(2). This syscall was never implemented and its presence just creates confusion. Discussed with: cem MFC after:1 week

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

2020-03-30 Thread Christian S.J. Peron
Author: csjp Date: Mon Mar 30 18:15:36 2020 New Revision: 359450 URL: https://svnweb.freebsd.org/changeset/base/359450 Log: Make sure we convert internal audit records for thr_new into BSM records. MFC after:2 weeks Modified: head/sys/security/audit/audit_bsm.c Modified:

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

2020-03-02 Thread Christian S.J. Peron
Author: csjp Date: Tue Mar 3 01:46:35 2020 New Revision: 358564 URL: https://svnweb.freebsd.org/changeset/base/358564 Log: In r358471, we interrupted the case block that would eventually lead to the path related tokens not being processed. Restore this behavior and and move AUE_JAIL_SET in

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

2020-02-29 Thread Christian S.J. Peron
Author: csjp Date: Sat Feb 29 19:17:24 2020 New Revision: 358471 URL: https://svnweb.freebsd.org/changeset/base/358471 Log: Currently kernel audit events for jail_set(2), jail_get(2), jail_attach(2), jail_remove(2) and finally setloginclass(2) are not being converted and committed into

svn commit: r358181 - head/usr.sbin/pstat

2020-02-20 Thread Christian S.J. Peron
Author: csjp Date: Thu Feb 20 21:12:10 2020 New Revision: 358181 URL: https://svnweb.freebsd.org/changeset/base/358181 Log: - Implement -h (human readable) for the size of the underlying block disk. Currently, the size of the swap device is unconditionally reported using blocks, even if

svn commit: r348776 - in head: contrib/elftoolchain/elfdump contrib/elftoolchain/readelf sys/sys

2019-06-07 Thread Christian S.J. Peron
Author: csjp Date: Fri Jun 7 14:51:55 2019 New Revision: 348776 URL: https://svnweb.freebsd.org/changeset/base/348776 Log: Teach readelf about some OpenBSD ELF program headers - Add constants for OpenBSD wxneeded, bootdata and randomize to the FreeBSD elf_common.h file. This is the

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

2018-03-21 Thread Christian S.J. Peron
Author: csjp Date: Wed Mar 21 17:22:42 2018 New Revision: 331313 URL: https://svnweb.freebsd.org/changeset/base/331313 Log: Document the limitations associated with using the audit syscalls from jailed process. These might get implemented in jails in the future, but for now they are not

svn commit: r261220 - head/sys/kern

2014-01-27 Thread Christian S.J. Peron
Author: csjp Date: Tue Jan 28 01:49:49 2014 New Revision: 261220 URL: http://svnweb.freebsd.org/changeset/base/261220 Log: Allow sigwait(2) in capabilities mode. It's common for multi-threaded processes to create a thread for the purpose of synchronously processing signals. Allow such

svn commit: r260800 - head/usr.bin/killall

2014-01-16 Thread Christian S.J. Peron
Author: csjp Date: Fri Jan 17 03:30:24 2014 New Revision: 260800 URL: http://svnweb.freebsd.org/changeset/base/260800 Log: fix a regression introduced in r237618 that would result in killall confusing killall -INT with killall -I (interactive confirmation) which resulted in the wrong signal

svn commit: r260801 - head/usr.bin/killall

2014-01-16 Thread Christian S.J. Peron
Author: csjp Date: Fri Jan 17 04:16:39 2014 New Revision: 260801 URL: http://svnweb.freebsd.org/changeset/base/260801 Log: Re-work r260800 to include other signals which start with 'I' such as ILL, INFO etc.. Submitted by: delphij MFC after:2 weeks Modified:

svn commit: r230119 - head/sys/contrib/pf/net

2012-01-14 Thread Christian S.J. Peron
Author: csjp Date: Sat Jan 14 22:51:34 2012 New Revision: 230119 URL: http://svn.freebsd.org/changeset/base/230119 Log: Revert to the old behavior of allocating table/table entries using M_NOWAIT. Currently, the code allows for sleeping in the ioctl path to guarantee allocation. However

svn commit: r222654 - head/contrib/libpcap

2011-06-03 Thread Christian S.J. Peron
Author: csjp Date: Fri Jun 3 14:57:38 2011 New Revision: 222654 URL: http://svn.freebsd.org/changeset/base/222654 Log: Explicitly initialize the packet buffer to NULL after we unmap the zero copy buffers. This fixes a segfault on exit due to calling free on a bogus pointer. This should

svn commit: r217388 - head/sys/contrib/pf/net

2011-01-13 Thread Christian S.J. Peron
Author: csjp Date: Fri Jan 14 04:24:53 2011 New Revision: 217388 URL: http://svn.freebsd.org/changeset/base/217388 Log: Correct bogus initialization. It should be noted that this change has been corrected in the vendor branch, but for now, silence clang warnings. Found by: clang

svn commit: r217174 - head/sys/netsmb

2011-01-08 Thread Christian S.J. Peron
Author: csjp Date: Sat Jan 8 23:06:54 2011 New Revision: 217174 URL: http://svn.freebsd.org/changeset/base/217174 Log: Change some variables from int to size_t. This is more accurate since these variables represent sizes in one capacity or another. There is no reason to allow negative

svn commit: r216932 - head/libexec/ftpd

2011-01-03 Thread Christian S.J. Peron
Author: csjp Date: Mon Jan 3 21:28:12 2011 New Revision: 216932 URL: http://svn.freebsd.org/changeset/base/216932 Log: expand checkuser() to support the propagation of error codes back to the caller. Currently, checkuser() does not differentiate between the failure to open the file and

svn commit: r210935 - head/sys/kern

2010-08-06 Thread Christian S.J. Peron
Author: csjp Date: Fri Aug 6 15:04:40 2010 New Revision: 210935 URL: http://svn.freebsd.org/changeset/base/210935 Log: Add Xen to the list of virtual vendors. In the non PV (HVM) case this fixes the virtualization detection successfully disabling the clflush instruction. This fixes

svn commit: r210878 - head/contrib/pf/pflogd

2010-08-05 Thread Christian S.J. Peron
Author: csjp Date: Thu Aug 5 18:49:06 2010 New Revision: 210878 URL: http://svn.freebsd.org/changeset/base/210878 Log: Enable closefrom(2) here, as we have supported it for some time now. Discussed with: mlaier MFC after:2 weeks Modified: head/contrib/pf/pflogd/pflogd.c

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

2010-05-04 Thread Christian S.J. Peron
Author: csjp Date: Tue May 4 15:29:07 2010 New Revision: 207615 URL: http://svn.freebsd.org/changeset/base/207615 Log: Add a case to make sure that internal audit records get converted to BSM format for lpathconf(2) events. MFC after:2 weeks Modified: