From patchwork Tue Aug 13 13:49:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeroen Roovers X-Patchwork-Id: 2843718 Return-Path: X-Original-To: patchwork-linux-parisc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D90C8BF546 for ; Tue, 13 Aug 2013 13:50:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BBEBA20488 for ; Tue, 13 Aug 2013 13:50:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4535E20516 for ; Tue, 13 Aug 2013 13:50:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757383Ab3HMNuD (ORCPT ); Tue, 13 Aug 2013 09:50:03 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:43094 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757335Ab3HMNuD (ORCPT ); Tue, 13 Aug 2013 09:50:03 -0400 Received: from marga.jer-c2.orkz.net (D4B2706A.static.ziggozakelijk.nl [212.178.112.106]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jer) by smtp.gentoo.org (Postfix) with ESMTPSA id 450BF33E9CA for ; Tue, 13 Aug 2013 13:50:02 +0000 (UTC) Date: Tue, 13 Aug 2013 15:49:58 +0200 From: Jeroen Roovers To: linux-parisc@vger.kernel.org Subject: fanotify_mark() Message-ID: <20130813154958.7514d525@marga.jer-c2.orkz.net> X-Mailer: Claws Mail 3.9.2-dirty (GTK+ 2.24.17; i686-pc-linux-gnu) Mime-Version: 1.0 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Spam-Status: No, score=-8.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_WEB, RP_MATCHES_RCVD, T_TVD_MIME_EPI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Trying out systemd I found that libc 2.17 does not build fanotify_mark() support[1]. When I got it to do that (see attached patch, which is probably incorrect), calls to fanotify_mark() still failed on a C8000 (64-bit kernel). I am sure I am missing something obvious. Kind regards, jer [1] https://bugs.gentoo.org/show_bug.cgi?id=480268 --- a/ports/sysdeps/unix/sysv/linux/hppa/syscalls.list +++ b/ports/sysdeps/unix/sysv/linux/hppa/syscalls.list @@ -36,3 +36,4 @@ setrlimit - setrlimit i:ip __setrlimit setrlimit getrlimit - getrlimit i:ip __getrlimit getrlimit prlimit64 EXTRA prlimit64 i:iipp __prlimit64 prlimit64@@GLIBC_2.17 +fanotify_mark EXTRA fanotify_mark i:iiiis __fanotify_mark fanotify_mark@@GLIBC_2.17