From a0c72efe2d1704645e6627b27e9b7e13c50e68f4 Mon Sep 17 00:00:00 2001 From: Joon Lee Date: Mon, 19 Aug 2024 20:37:18 +0000 Subject: [PATCH] unix: add f_flag member flags on z/OS This change adds the constants `ST_RDONLY` and `ST_NOSUID` to a z/OS-specific file. Change-Id: Ifb78124d93b60a10f10b8169d1bb73dce074e760 GitHub-Last-Rev: 952cf1bc7f3944210ed92fc356f2158261953ddf GitHub-Pull-Request: golang/sys#214 Reviewed-on: https://go-review.googlesource.com/c/sys/+/606877 Reviewed-by: Cherry Mui LUCI-TryBot-Result: Go LUCI Auto-Submit: Ian Lance Taylor Reviewed-by: Ian Lance Taylor --- unix/zerrors_zos_s390x.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unix/zerrors_zos_s390x.go b/unix/zerrors_zos_s390x.go index da08b2ab3..1ec2b1407 100644 --- a/unix/zerrors_zos_s390x.go +++ b/unix/zerrors_zos_s390x.go @@ -581,6 +581,8 @@ const ( AT_EMPTY_PATH = 0x1000 AT_REMOVEDIR = 0x200 RENAME_NOREPLACE = 1 << 0 + ST_RDONLY = 1 + ST_NOSUID = 2 ) const (