Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Go
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Stiemerling
Go
Commits
6bcec3b4
Commit
6bcec3b4
authored
7 months ago
by
Martin Stiemerling
Browse files
Options
Downloads
Patches
Plain Diff
replaced outdated(?) struct for kevent, did run mkall.sh again
parent
ccfcd108
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/syscall/types_freebsd.go
+3
-1
3 additions, 1 deletion
src/syscall/types_freebsd.go
src/syscall/ztypes_freebsd_amd64.go
+9
-1
9 additions, 1 deletion
src/syscall/ztypes_freebsd_amd64.go
with
12 additions
and
2 deletions
src/syscall/types_freebsd.go
+
3
−
1
View file @
6bcec3b4
...
@@ -248,7 +248,9 @@ const (
...
@@ -248,7 +248,9 @@ const (
// Events (kqueue, kevent)
// Events (kqueue, kevent)
type
Kevent_t
C
.
struct_kevent_freebsd11
// there is no keven_freebsd11 under freebsd 14.1 release
//type Kevent_t C.struct_kevent_freebsd11
type
Kevent_t
C
.
struct_kevent
// Select
// Select
...
...
This diff is collapsed.
Click to expand it.
src/syscall/ztypes_freebsd_amd64.go
+
9
−
1
View file @
6bcec3b4
...
@@ -282,7 +282,15 @@ const (
...
@@ -282,7 +282,15 @@ const (
PTRACE_KILL
=
0x8
PTRACE_KILL
=
0x8
)
)
type
Kevent_t
_cgopackage
.
Incomplete
type
Kevent_t
struct
{
Ident
uint64
Filter
int16
Flags
uint16
Fflags
uint32
Data
int64
Udata
*
byte
Ext
[
4
]
uint64
}
type
FdSet
struct
{
type
FdSet
struct
{
X__fds_bits
[
16
]
uint64
X__fds_bits
[
16
]
uint64
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment