diff --git a/unix/syscall_linux.go b/unix/syscall_linux.go index cf756504d..5682e2628 100644 --- a/unix/syscall_linux.go +++ b/unix/syscall_linux.go @@ -2592,4 +2592,3 @@ 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) diff --git a/unix/zsyscall_linux.go b/unix/zsyscall_linux.go index 3f03a6d66..87d8612a1 100644 --- a/unix/zsyscall_linux.go +++ b/unix/zsyscall_linux.go @@ -2229,13 +2229,3 @@ func Cachestat(fd uint, crange *CachestatRange, cstat *Cachestat_t, flags uint) } return } - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Mseal(addr uintptr, len int, flags uint) (err error) { - _, _, e1 := Syscall(SYS_MSEAL, uintptr(addr), uintptr(len), uintptr(flags)) - if e1 != 0 { - err = errnoErr(e1) - } - return -}