Skip to content

Commit ca63116

Browse files
tklausergopherbot
authored andcommitted
unix: add IOCTL_MEI_* constants
Change-Id: I4efea3d97ae21ea81758e492cabc980b48e5d4c2 Reviewed-on: https://go-review.googlesource.com/c/sys/+/718440 Reviewed-by: Junyang Shao <[email protected]> Auto-Submit: Tobias Klauser <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Michael Pratt <[email protected]>
1 parent a4199c0 commit ca63116

17 files changed

+34
-1
lines changed

unix/mkerrors.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ struct ltchars {
256256
#include <linux/loop.h>
257257
#include <linux/lwtunnel.h>
258258
#include <linux/magic.h>
259+
#include <linux/mei.h>
259260
#include <linux/memfd.h>
260261
#include <linux/module.h>
261262
#include <linux/mount.h>
@@ -613,7 +614,7 @@ ccflags="$@"
613614
$2 !~ /IOC_MAGIC/ &&
614615
$2 ~ /^[A-Z][A-Z0-9_]+_MAGIC2?$/ ||
615616
$2 ~ /^(VM|VMADDR)_/ ||
616-
$2 ~ /^IOCTL_VM_SOCKETS_/ ||
617+
$2 ~ /^(IOCTL_VM_SOCKETS_|IOCTL_MEI_)/ ||
617618
$2 ~ /^(TASKSTATS|TS)_/ ||
618619
$2 ~ /^CGROUPSTATS_/ ||
619620
$2 ~ /^GENL_/ ||

unix/zerrors_linux.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unix/zerrors_linux_386.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unix/zerrors_linux_amd64.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unix/zerrors_linux_arm.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unix/zerrors_linux_arm64.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unix/zerrors_linux_loong64.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unix/zerrors_linux_mips.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unix/zerrors_linux_mips64.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unix/zerrors_linux_mips64le.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)