[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r36616 - Extractor/src/main
From: |
gnunet |
Subject: |
[GNUnet-SVN] r36616 - Extractor/src/main |
Date: |
Wed, 28 Oct 2015 19:48:16 +0100 |
Author: grothoff
Date: 2015-10-28 19:48:16 +0100 (Wed, 28 Oct 2015)
New Revision: 36616
Modified:
Extractor/src/main/extractor_ipc_gnu.c
Log:
-tolerate apparmor errors if not supported by Kernel
Modified: Extractor/src/main/extractor_ipc_gnu.c
===================================================================
--- Extractor/src/main/extractor_ipc_gnu.c 2015-10-28 13:37:31 UTC (rev
36615)
+++ Extractor/src/main/extractor_ipc_gnu.c 2015-10-28 18:48:16 UTC (rev
36616)
@@ -328,10 +328,15 @@
#if HAVE_SYS_APPARMOR_H
#if HAVE_APPARMOR
if (0 > aa_change_profile("libextractor"))
+ {
+ if (EINVAL != errno)
{
- perror("Failure changing profile -- aborting");
+ fprintf (stderr,
+ "Failure changing profile: %s",
+ strerror (errno));
_exit(1);
}
+ }
#endif
#endif
EXTRACTOR_plugin_main_ (plugin, p1[0], p2[1]);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r36616 - Extractor/src/main,
gnunet <=