Skip to content

Commit 103824f

Browse files
committed
unix: add linux mseal system call
DO NOT REVIEW. DO NOT SUBMIT. The mseal system call was added in Linux 6.10. See https://lwn.net/Articles/954936. Depends on https://go-review.googlesource.com/c/sys/+/600516
1 parent beb5949 commit 103824f

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

unix/syscall_linux.go

+1
Original file line numberDiff line numberDiff line change
@@ -2592,3 +2592,4 @@ func SchedGetAttr(pid int, flags uint) (*SchedAttr, error) {
25922592
}
25932593

25942594
//sys Cachestat(fd uint, crange *CachestatRange, cstat *Cachestat_t, flags uint) (err error)
2595+
//sys Mseal(addr uintptr, len int, flags uint) (err error)

unix/zsyscall_linux.go

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)