Skip to content

Commit

Permalink
unix: add linux mseal system call
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mauri870 committed Jul 23, 2024
1 parent beb5949 commit 103824f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions unix/syscall_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -2592,3 +2592,4 @@ func SchedGetAttr(pid int, flags uint) (*SchedAttr, error) {
}

//sys Cachestat(fd uint, crange *CachestatRange, cstat *Cachestat_t, flags uint) (err error)
//sys Mseal(addr uintptr, len int, flags uint) (err error)
10 changes: 10 additions & 0 deletions unix/zsyscall_linux.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 103824f

Please sign in to comment.