diff options
author | Andrew Morgan <morgan@kernel.org> | 2007-08-13 23:23:52 -0700 |
---|---|---|
committer | Andrew Morgan <morgan@kernel.org> | 2007-08-13 23:23:52 -0700 |
commit | 502e3fb3111ec7592dd6619f8d6c0dbfa0abae90 (patch) | |
tree | 1654fdf936a83097d695cb14517ca147a93ecec0 | |
parent | 7aa63b009867f10dcfd50b316835c3e5328bafe6 (diff) | |
download | libcap-502e3fb3111ec7592dd6619f8d6c0dbfa0abae90.tar.gz |
Correct capset and capget system call invocations
They come from libc now.
-rw-r--r-- | Make.Rules | 2 | ||||
-rw-r--r-- | libcap/Makefile | 5 |
2 files changed, 2 insertions, 5 deletions
@@ -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 |