aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morgan <morgan@kernel.org>2007-08-13 23:23:52 -0700
committerAndrew Morgan <morgan@kernel.org>2007-08-13 23:23:52 -0700
commit502e3fb3111ec7592dd6619f8d6c0dbfa0abae90 (patch)
tree1654fdf936a83097d695cb14517ca147a93ecec0
parent7aa63b009867f10dcfd50b316835c3e5328bafe6 (diff)
downloadlibcap-502e3fb3111ec7592dd6619f8d6c0dbfa0abae90.tar.gz
Correct capset and capget system call invocations
They come from libc now.
-rw-r--r--Make.Rules2
-rw-r--r--libcap/Makefile5
2 files changed, 2 insertions, 5 deletions
diff --git a/Make.Rules b/Make.Rules
index 9817990..5c61079 100644
--- a/Make.Rules
+++ b/Make.Rules
@@ -41,7 +41,7 @@ LIBDIR=$(FAKEROOT)$(lib_prefix)/$(lib)
# common defines for libcap
LIBTITLE=libcap
VERSION=1
-MINOR=96
+MINOR=97
#
# Compilation specifics
diff --git a/libcap/Makefile b/libcap/Makefile
index cc5e0e8..f381d6a 100644
--- a/libcap/Makefile
+++ b/libcap/Makefile
@@ -10,7 +10,7 @@ LIBNAME=$(LIBTITLE).so
STALIBNAME=$(LIBTITLE).a
#
-FILES=cap_alloc cap_proc cap_extint cap_flag cap_text cap_sys
+FILES=cap_alloc cap_proc cap_extint cap_flag cap_text
# for later when there is filesystem support for cap's:
#FILES += cap_file
@@ -45,9 +45,6 @@ $(MINLIBNAME): $(OBJS)
%.o: %.c $(INCLS)
$(CC) $(CFLAGS) -c $< -o $@
-cap_sys.o: cap_sys.c $(INCLS)
- $(CC) -fPIC -Wall -O2 -c $< -o $@
-
install: all
mkdir -p -m 0755 $(INCDIR)/sys
install -m 0644 include/sys/capability.h $(INCDIR)/sys