Skip to content

Commit

Permalink
Merge pull request #163 from stgraber/main
Browse files Browse the repository at this point in the history
internal/server/seccomp: Fix clang build
  • Loading branch information
stgraber authored Oct 13, 2023
2 parents 385ea9a + b818190 commit 3517ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/seccomp/seccomp.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ static inline int pidfd_getfd(int pidfd, int fd, int flags)
return syscall(__NR_pidfd_getfd, pidfd, fd, flags);
}
#define ptr_to_u64(p) ((__aligned_u64)((uintptr_t)(p)))
#define ptr_to_u64(p) ((__u64)((uintptr_t)(p)))
static inline int bpf(int cmd, union bpf_attr *attr, size_t size)
{
Expand Down

0 comments on commit 3517ac4

Please sign in to comment.