mirror of
https://github.com/lxc/incus.git
synced 2026-02-05 09:46:19 +01:00
internal/linux: Fix missing export comments
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
@@ -8,7 +8,12 @@ package linux
|
||||
import "C"
|
||||
|
||||
const (
|
||||
// IoctlBtrfsSetReceivedSubvol matches BTRFS_IOC_SET_RECEIVED_SUBVOL.
|
||||
IoctlBtrfsSetReceivedSubvol = C.BTRFS_IOC_SET_RECEIVED_SUBVOL
|
||||
IoctlHIDIOCGrawInfo = C.HIDIOCGRAWINFO
|
||||
IoctlVhostVsockSetGuestCid = C.VHOST_VSOCK_SET_GUEST_CID
|
||||
|
||||
// IoctlHIDIOCGrawInfo matches HIDIOCGRAWINFO.
|
||||
IoctlHIDIOCGrawInfo = C.HIDIOCGRAWINFO
|
||||
|
||||
// IoctlVhostVsockSetGuestCid matches VHOST_VSOCK_SET_GUEST_CID.
|
||||
IoctlVhostVsockSetGuestCid = C.VHOST_VSOCK_SET_GUEST_CID
|
||||
)
|
||||
|
||||
@@ -101,7 +101,10 @@ func PidfdSendSignal(Pidfd int, Signal int, Flags uint32) error {
|
||||
}
|
||||
|
||||
const (
|
||||
// CLOSE_RANGE_UNSHARE matches CLOSE_RANGE_UNSHARE flag.
|
||||
CLOSE_RANGE_UNSHARE uint32 = C.CLOSE_RANGE_UNSHARE
|
||||
|
||||
// CLOSE_RANGE_CLOEXEC matches CLOSE_RANGE_CLOEXEC flag.
|
||||
CLOSE_RANGE_CLOEXEC uint32 = C.CLOSE_RANGE_CLOEXEC
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user