Page MenuHomeFreeBSD

csjp (Christian Peron)
User

Projects

User does not belong to any projects.

User Details

User Since
Jun 4 2019, 2:01 PM (360 w, 7 h)

Recent Activity

Thu, Apr 23

csjp accepted D56592: mac_seeotheruids: allow specificgid to be a list of groups.
Thu, Apr 23, 1:28 PM
csjp requested changes to D56592: mac_seeotheruids: allow specificgid to be a list of groups.
Thu, Apr 23, 4:08 AM

Tue, Apr 21

csjp added a comment to D39633: audit: Fix logging of IPv6 addresses.

Cross referencing vendor PR https://github.com/openbsm/openbsm/pull/88

Tue, Apr 21, 3:08 AM

Mon, Apr 20

csjp accepted D56510: Fix memory corruption bugs in BSM record parsing.

So.. I went down a wild rabbit hole here. len is int here becauase for some
reason we used int for all the fetch_*(3) functions. Upon deeper analysis:

Mon, Apr 20, 4:11 PM

Sun, Apr 19

csjp added a comment to D39633: audit: Fix logging of IPv6 addresses.

I will open a PR to fix au_to_sock_inet128() upstream as well. Thanks for catching this

Sun, Apr 19, 5:37 AM
csjp accepted D39633: audit: Fix logging of IPv6 addresses.
Sun, Apr 19, 5:35 AM
csjp added a comment to D39633: audit: Fix logging of IPv6 addresses.

Yes I see the problem.. ADD_U_INT16 calls be16enc(), which assumes the input value is in host byte order and converts it to big-endian. However, sin6_port is already stored in network byte order (big-endian). On a little-endian system (like x86 or ARM), the CPU interprets those bytes as a byte-swapped integer, and then be16enc swaps them again. We just need a memcpy here.

Sun, Apr 19, 5:34 AM
csjp added a comment to D39633: audit: Fix logging of IPv6 addresses.

a few years late to the party here but have you tested this?

Sun, Apr 19, 5:25 AM
csjp added a reviewer for D56510: Fix memory corruption bugs in BSM record parsing: rwatson.
Sun, Apr 19, 4:16 AM
csjp updated the summary of D56510: Fix memory corruption bugs in BSM record parsing.
Sun, Apr 19, 12:48 AM
csjp requested review of D56510: Fix memory corruption bugs in BSM record parsing.
Sun, Apr 19, 12:47 AM

Mon, Mar 30

csjp accepted D56157: libauditd: Don't build if WITHOUT_AUDIT is set.
Mon, Mar 30, 12:03 PM

Nov 19 2025

csjp added a comment to D53671: setaudit: Fix handling of numeric UIDs.

Whoops -- my face is sure red over here! good catch

Nov 19 2025, 3:59 AM

Nov 10 2025

csjp accepted D53672: setaudit: Add an update mode.
Nov 10 2025, 6:27 PM
csjp accepted D53669: setaudit: Initial import.
Nov 10 2025, 6:23 PM
csjp accepted D53670: setaudit: Bump WARNS and fix some style bugs.
Nov 10 2025, 6:23 PM
csjp accepted D53671: setaudit: Fix handling of numeric UIDs.
Nov 10 2025, 6:22 PM

Nov 8 2025

csjp accepted D53640: rm(1): remove whiteouts when forcibly removing directories.

thank you

Nov 8 2025, 4:42 PM

Jan 11 2021

csjp added a comment to D28050: Implement enforcing write XOR execute mapping policy..

This looks promising. I would like to test it out, but I think it looks good.

Jan 11 2021, 9:41 PM

Dec 13 2020

csjp committed R9:1074d67a7ce8: Add my author entity. (authored by csjp).
Add my author entity.
Dec 13 2020, 6:47 PM
csjp committed R9:ebc4f9792005: Add myself to news.xml as a new committer for src. (authored by csjp).
Add myself to news.xml as a new committer for src.
Dec 13 2020, 6:47 PM
csjp committed R9:44c840da5dd3: Add myself to the "developers" section of the contributors list. (authored by csjp).
Add myself to the "developers" section of the contributors list.
Dec 13 2020, 6:47 PM
csjp committed R9:70801d2ee618: Add documentation for FreeBSD_version bump for the recent bpf zerocopy (authored by csjp).
Add documentation for FreeBSD_version bump for the recent bpf zerocopy
Dec 13 2020, 5:51 PM
csjp committed R9:f6149dfa1e15: Add my PGP key (authored by csjp).
Add my PGP key
Dec 13 2020, 5:37 PM

Oct 31 2020

csjp added a comment to D23572: Update OpenBSM constants with recent additions by Apple.

Thanks @gbe I have merged this PR upstream btw

Oct 31 2020, 8:54 PM

Oct 25 2020

csjp added a comment to D23572: Update OpenBSM constants with recent additions by Apple.

This looks ok at first glance, bu we need to make sure there is no conflicts with upstream. I can do this

Oct 25 2020, 4:17 AM
csjp added a comment to D23572: Update OpenBSM constants with recent additions by Apple.

@gbe can you submit a PR upstream to the openbsm project as well?

Oct 25 2020, 4:16 AM

Oct 24 2020

csjp accepted D26922: audit: correct reporting of *execve(2) errors.
Oct 24 2020, 2:54 AM
csjp added a comment to D26922: audit: correct reporting of *execve(2) errors.

+1

Oct 24 2020, 1:45 AM
csjp added a comment to D26922: audit: correct reporting of *execve(2) errors.

Otherwise +1 from me

Oct 24 2020, 1:17 AM
csjp added a comment to D26922: audit: correct reporting of *execve(2) errors.
In D26922#600534, @kib wrote:

Instead of trying to outguess all syscalls, might be add a TDP flag to indicate that AUDIT on exit does not need to be done. Then, in the special-case syscalls like *execve() and perhaps all users of kern_posix_exit(), call AUDIT_SYSCALL_EXIT() manually when you know the correct errno.

Hmm... I like it. I will do this.

Oct 24 2020, 1:11 AM

Oct 15 2020

csjp added a comment to D26782: Allow PING(8) in jails without raw socket access permissions.

SOCK_RAW is still used by other subsystems, e.g. configuring firewalls rules among other things. This is the main reason raw sockets were restricted within jails in the first place. I am not seeing how this patch protects other subsystems.

Oct 15 2020, 2:57 AM

Jul 28 2020

csjp closed D25021: Synchronize OpenBSM github repository with the FreeBSD sources.
Jul 28 2020, 8:06 PM
csjp committed rS363655: Fixup some incorrect information and some comments. These changes.
Fixup some incorrect information and some comments. These changes
Jul 28 2020, 8:06 PM
csjp added a comment to D25021: Synchronize OpenBSM github repository with the FreeBSD sources.

Working on this right now BTW, just waiting for CI to finish

Jul 28 2020, 1:34 AM

Jul 22 2020

csjp added a comment to D25021: Synchronize OpenBSM github repository with the FreeBSD sources.

I will take care of this commit. I thought this was done already

Jul 22 2020, 10:18 PM

Jul 1 2020

csjp added inline comments to D25021: Synchronize OpenBSM github repository with the FreeBSD sources.
Jul 1 2020, 5:27 AM
csjp accepted D25021: Synchronize OpenBSM github repository with the FreeBSD sources.
Jul 1 2020, 3:37 AM
csjp added a comment to D25021: Synchronize OpenBSM github repository with the FreeBSD sources.

I am ok with this diff.

Jul 1 2020, 3:36 AM

Jun 23 2020

csjp closed D24455: Fix www/h2o build with libressl.
Jun 23 2020, 3:23 AM

May 21 2020

csjp committed rS361316: Decode the file descriptor argument to closefrom(2) as an Integer..
Decode the file descriptor argument to closefrom(2) as an Integer.
May 21 2020, 2:11 AM

May 16 2020

csjp committed rS361103: Add BSM record conversion for a number of syscalls:.
Add BSM record conversion for a number of syscalls:
May 16 2020, 3:45 AM

May 15 2020

csjp committed rS361094: Fix typo that snuck in.
Fix typo that snuck in
May 15 2020, 11:45 PM
csjp committed rS361090: Bump revision date to today..
Bump revision date to today.
May 15 2020, 8:30 PM
csjp committed rS361089: Remove references to pdwait4(2). This syscall was never implemented.
Remove references to pdwait4(2). This syscall was never implemented
May 15 2020, 8:24 PM

May 9 2020

csjp committed rP534701: Fix h2o build when building with libressl.
Fix h2o build when building with libressl
May 9 2020, 1:52 AM

Apr 20 2020

csjp added inline comments to D24437: New port: security/bsmtrace3.
Apr 20 2020, 4:29 PM

Apr 16 2020

csjp added inline comments to D24437: New port: security/bsmtrace3.
Apr 16 2020, 11:32 PM
csjp retitled D24455: Fix www/h2o build with libressl from Fix www/h2o build wth libressl to Fix www/h2o build with libressl.
Apr 16 2020, 11:19 PM
csjp added a reviewer for D24455: Fix www/h2o build with libressl: dch.
Apr 16 2020, 11:14 PM
csjp created D24455: Fix www/h2o build with libressl.
Apr 16 2020, 11:12 PM
csjp added inline comments to D24437: New port: security/bsmtrace3.
Apr 16 2020, 4:52 AM

Mar 30 2020

csjp committed rS359450: Make sure we convert internal audit records for thr_new.
Make sure we convert internal audit records for thr_new
Mar 30 2020, 6:15 PM

Mar 3 2020

csjp committed rS358564: In r358471, we interrupted the case block that would eventually lead.
In r358471, we interrupted the case block that would eventually lead
Mar 3 2020, 1:46 AM
csjp closed D23929: Restore path/pathat token processing broken in r358471.
Mar 3 2020, 1:46 AM

Mar 2 2020

csjp added a reviewer for D23929: Restore path/pathat token processing broken in r358471: kevans.
Mar 2 2020, 5:58 PM
csjp created D23929: Restore path/pathat token processing broken in r358471.
Mar 2 2020, 5:58 PM

Mar 1 2020

csjp accepted D23910: Move ELF feature note tool to usr.bin/elfctl.

Looks good to me

Mar 1 2020, 9:50 PM
csjp accepted D23909: Reserve WXNEEDED ELF feature control flag.

Looks perfectly reasonable to me.

Mar 1 2020, 9:44 PM

Feb 29 2020

csjp committed rS358471: Currently kernel audit events for jail_set(2), jail_get(2), jail_attach(2),.
Currently kernel audit events for jail_set(2), jail_get(2), jail_attach(2),
Feb 29 2020, 7:17 PM
csjp closed D23882: Add BSM conversion logic for some jail and setlogin class events.
Feb 29 2020, 7:17 PM

Feb 28 2020

csjp updated the diff for D23882: Add BSM conversion logic for some jail and setlogin class events.

Break out the switch case statements for the new syscalls

Feb 28 2020, 11:23 PM
csjp updated the test plan for D23882: Add BSM conversion logic for some jail and setlogin class events.
Feb 28 2020, 6:36 PM
csjp updated the test plan for D23882: Add BSM conversion logic for some jail and setlogin class events.
Feb 28 2020, 6:36 PM
csjp created D23882: Add BSM conversion logic for some jail and setlogin class events.
Feb 28 2020, 6:34 PM

Feb 24 2020

csjp committed rS358267: MFC r348776.
MFC r348776
Feb 24 2020, 2:12 AM

Feb 20 2020

csjp committed rS358181: - Implement -h (human readable) for the size of the underlying block disk..
- Implement -h (human readable) for the size of the underlying block disk.
Feb 20 2020, 9:12 PM
csjp closed D23758: Fix output of swapinfo in human readable mode.
Feb 20 2020, 9:12 PM

Feb 19 2020

csjp updated the summary of D23758: Fix output of swapinfo in human readable mode.
Feb 19 2020, 5:22 PM
csjp updated the test plan for D23758: Fix output of swapinfo in human readable mode.
Feb 19 2020, 5:21 PM
csjp created D23758: Fix output of swapinfo in human readable mode.
Feb 19 2020, 5:16 PM

Sep 3 2019

csjp added inline comments to D21423: Add an shm_rename syscall.
Sep 3 2019, 11:31 PM

Jun 7 2019

csjp committed rS348776: Teach readelf about some OpenBSD ELF program headers.
Teach readelf about some OpenBSD ELF program headers
Jun 7 2019, 2:52 PM
csjp closed D20548: Teach readelf about some OpenBSD ELF program headers.
Jun 7 2019, 2:52 PM
csjp updated the diff for D20548: Teach readelf about some OpenBSD ELF program headers.
  • Fix comment
Jun 7 2019, 2:50 AM
csjp created D20548: Teach readelf about some OpenBSD ELF program headers.
Jun 7 2019, 2:44 AM