Skip to content

Commit

Permalink
go122: Support O_DIRECT on illumos.
Browse files Browse the repository at this point in the history
  • Loading branch information
jperkin committed Apr 9, 2024
1 parent 54b12ff commit 361afed
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions lang/go122/patches/patch-src_syscall_zerrors__solaris__amd64.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$NetBSD: patch-src_syscall_zerrors__solaris__amd64.go,v 1.1 2024/04/09 16:57:46 jperkin Exp $

Support O_DIRECT on illumos.

--- src/syscall/zerrors_solaris_amd64.go.orig 2024-04-09 15:36:45.882494751 +0000
+++ src/syscall/zerrors_solaris_amd64.go
@@ -634,6 +634,7 @@ const (
O_APPEND = 0x8
O_CLOEXEC = 0x800000
O_CREAT = 0x100
+ O_DIRECT = 0x2000000
O_DSYNC = 0x40
O_EXCL = 0x400
O_EXEC = 0x400000

0 comments on commit 361afed

Please sign in to comment.