aboutsummaryrefslogtreecommitdiff
path: root/psx/psx.go
blob: 77648e2f0eda0163967ae1c91857f78a236516a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// +build linux,!cgo
// +build go1.16

package psx // import "kernel.org/pub/linux/libs/security/libcap/psx"

import "syscall"

// Documentation for these functions are provided in the psx_cgo.go
// file.

//go:uintptrescapes
func Syscall3(syscallnr, arg1, arg2, arg3 uintptr) (uintptr, uintptr, syscall.Errno) {
	return syscall.AllThreadsSyscall(syscallnr, arg1, arg2, arg3)
}

//go:uintptrescapes
func Syscall6(syscallnr, arg1, arg2, arg3, arg4, arg5, arg6 uintptr) (uintptr, uintptr, syscall.Errno) {
	return syscall.AllThreadsSyscall6(syscallnr, arg1, arg2, arg3, arg4, arg5, arg6)
}