1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
--- libcap-1.10/libcap/cap_sys.c.jj 2003-08-24 19:03:35.524759616 -0700
+++ libcap-1.10/libcap/cap_sys.c 2003-08-24 19:03:48.406801248 -0700
@@ -10,7 +10,7 @@
#include "libcap.h"
#define __LIBRARY__
#include <linux/unistd.h>
-
+/*
_syscall2(int, capget,
cap_user_header_t, header,
cap_user_data_t, data)
@@ -18,7 +18,7 @@
_syscall2(int, capset,
cap_user_header_t, header,
const cap_user_data_t, data)
-
+*/
/*
* $Log: libcap-1.10-syscall.patch,v $
* Revision 1.2 2003/08/29 06:28:38 cretin
* Only add -fPIC for libcap.so objects
*
* Revision 1.1 2003/08/27 06:10:53 cretin
* Added -fPIC for prelink to work, and fixed compile error
*
* Revision 1.1.1.1 1999/04/17 22:16:31 morgan
--- libcap-1.10/libcap/Makefile.jj 2003-08-29 07:19:21.863907872 +0100
+++ libcap-1.10/libcap/Makefile 2003-08-29 07:20:21.562832256 +0100
@@ -61,7 +61,7 @@
ln -sf $(MAJLIBNAME) $(LIBNAME)
%.o: %.c $(INCLS)
- $(CC) $(CFLAGS) -c $< -o $@
+ $(CC) $(CFLAGS) -fPIC -c $< -o $@
install: all
mkdir -p -m 0755 $(INCDIR)/sys
|