Skip to content

Commit

Permalink
Specifically enumerate portability.
Browse files Browse the repository at this point in the history
  • Loading branch information
kristapsdz committed Jan 27, 2025
1 parent 5d6e8f5 commit a257c0f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,8 @@ that directory may be accessed or modified.

Lastly, the MD4 hashs are seeded with
[arc4random(3)](https://man.openbsd.org/arc4random.3) instead of with
[time(3)](https://man.openbsd.org/time.3). (This function is provided
on a number of operating systems.) This is only applicable when running
openrsync in server mode, as the server generates the seed.
[time(3)](https://man.openbsd.org/time.3). This is only applicable when
running openrsync in server mode, as the server generates the seed.

# Portability

Expand All @@ -377,6 +376,11 @@ considerable security features. openrsync does, however, use
[oconfigure](https://github.com/kristapsdz/oconfigure) for compilation
on non-OpenBSD systems. This is to encourage porting.

It currently is portable across Linux (glibc and musl), FreeBSD, NetBSD,
Mac OS X, and OmniOS. This is enforced by the GitHub CI mechanism,
which tests on this systems. Architectures tested for include x86\_64,
aarch64, and s390x.

The actual work of porting is matching the security features provided by
OpenBSD's [pledge(2)](https://man.openbsd.org/pledge.2) and
[unveil(2)](https://man.openbsd.org/unveil.2). These are critical
Expand Down

0 comments on commit a257c0f

Please sign in to comment.