Commit d4751047 authored by Marco d'Itri's avatar Marco d'Itri
Browse files

Check in preinst for accept4(2) too

Some architectures like arm and ia64 added the system call later than in
2.6.32 when it was actually implemented.
parent 9bce49eb
......@@ -43,7 +43,7 @@ systemd (204-9) UNRELEASED; urgency=medium
[ Marco d'Itri ]
* preinst: check for all the system calls required by modern releases
of udev.
of udev. (Closes: #648325)
-- Michael Biebl <biebl@debian.org> Sat, 26 Apr 2014 10:41:18 +0200
......
......@@ -105,7 +105,7 @@ check_kernel_features() {
if [ -e /proc/kallsyms ]; then
local needed_symbols='inotify_init signalfd open_by_handle_at timerfd_create epoll_create'
local needed_symbols='inotify_init signalfd accept4 open_by_handle_at timerfd_create epoll_create'
local missing_symbol=0
for symbol in $needed_symbols; do
if ! egrep -q "^[a-fA-F0-9]+ T \.?sys_${symbol}$" /proc/kallsyms; then
......@@ -138,6 +138,7 @@ the running kernel:
- inotify(2) (CONFIG_INOTIFY_USER)
- signalfd(2) (CONFIG_SIGNALFD)
- accept4(2)
- open_by_handle_at(2) (CONFIG_FHANDLE)
- timerfd_create(2) (CONFIG_TIMERFD)
- epoll_create(2) (CONFIG_EPOLL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment