diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-11 18:25:30 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-11 18:25:30 +0000 |
commit | 8b01bd8a31691c5f0a2f551e1c8007bd6d795669 (patch) | |
tree | 440bdc36b356106b0372ed724ee4167773adc129 /main/Makefile | |
parent | 6c4e7a6dd6ac88cd55a35f274b7ad634397e86c8 (diff) |
Backport the ability to set the ToS bits on Linux when not running as root.
Normally, we would not backport features into 1.4, but, I was convinced by the
justification supplied by the supplier of this patch. He pointed out that this
patch removes a requirement for running as root, thus reducing the potential
impacts of security issues.
(closes issue #11742)
Reported by: paravoid
Patches:
libcap.diff uploaded by paravoid (license 200)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@98265 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/Makefile')
-rw-r--r-- | main/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/Makefile b/main/Makefile index 915891eb8..aeb13bd47 100644 --- a/main/Makefile +++ b/main/Makefile @@ -55,6 +55,9 @@ ifneq ($(findstring $(OSARCH), linux-gnu uclinux linux-uclibc ),) ifneq ($(findstring LOADABLE_MODULES,$(MENUSELECT_CFLAGS)),) AST_LIBS+=-ldl endif + ifneq (x$(CAP_LIB),x) + AST_LIBS+=$(CAP_LIB) + endif AST_LIBS+=-lpthread $(EDITLINE_LIB) -lm -lresolv else AST_LIBS+=$(EDITLINE_LIB) -lm |