mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1329] Build failure: userfaultfd syscall #909
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#909
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @h1z1 on GitHub (Jun 8, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1329
Using latest release from GIT on CentOS 7, 4.9.11 kernel:
Appears added in
e6805b6bbb? Builds OK after commenting it out. bits/syscall.h is not included, not sure which location is "correct"..@netblue30 commented on GitHub (Jun 8, 2017):
It is working fine on my CentOS 7 system, I am running the original kernel 3.10, glibc-headers version 2.17-157.e17_3.1.x86_64. Grep:
__NR_userfaultfd is defined in /usr/include/asm/unistd_64.h, it comes from:
Probably you have a kernel-headers-3.9.x. There is quite a mismatch between unistd_64.h and bits/syscall.h on your system. The funny part is userfaultfd syscall was introduced in kernel 4.3. It looks like Red Hat are porting forward support for new syscalls into glibc-headers package.
Stay with the line commented out for now, until we can figure out what's going on there.
@h1z1 commented on GitHub (Jun 9, 2017):
Will do. FWIW it's 3.10 but older
Unrelated perhaps but just to clarify since you state CentOS 7, it's weird your prompt above shows debian :)
Regarding Red Hat release, I believe their versions don't really match upstream on purpose as they cherrypick things to backport?
@netblue30 commented on GitHub (Jun 9, 2017):
I was posting from a different computer. Anyway, they seem to be missing the definition for __NR_userfaultfd in /usr/include/bits/unistd_64.h file.