Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From 36654a4484117e5f4d63a810c0d94bc9c7ee3a83 Mon Sep 17 00:00:00 2001 |
| 2 | From: Fathi Boudra <fabo@debian.org> |
| 3 | Date: Tue, 2 Oct 2018 16:36:54 +0000 |
| 4 | Subject: [PATCH] Remove bionic specific calls |
| 5 | |
| 6 | Upstream-Status: Inappropriate |
| 7 | |
| 8 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
| 9 | --- |
| 10 | src/procattr.c | 2 +- |
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 | |
| 13 | diff --git a/src/procattr.c b/src/procattr.c |
| 14 | index f350808..761cf8e 100644 |
| 15 | --- a/src/procattr.c |
| 16 | +++ b/src/procattr.c |
| 17 | @@ -8,7 +8,7 @@ |
| 18 | #include "selinux_internal.h" |
| 19 | #include "policy.h" |
| 20 | |
| 21 | -#ifdef HOST |
| 22 | +#ifndef __BIONIC__ |
| 23 | static pid_t gettid(void) |
| 24 | { |
| 25 | return syscall(__NR_gettid); |