]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Lose the CAP_NET_ADMIN at every fork, instead of at startup. Otherwise, if
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 29 Jan 2009 22:54:29 +0000 (22:54 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 29 Jan 2009 22:54:29 +0000 (22:54 +0000)
commitc257ffeed04cbf8fbcf68cadc73f15c03a2845aa
treebbb253ebe3936896c27af17928c80ed7025d9244
parent3209942b7e039fb6964129bcf1d69d95393d7a9d
Lose the CAP_NET_ADMIN at every fork, instead of at startup.  Otherwise, if
Asterisk runs as a non-root user and the administrator does a 'restart now',
Asterisk loses the ability to set QOS on packets.
(closes issue #14004)
 Reported by: nemo
 Patches:
       20090105__bug14004.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@172438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
12 files changed:
apps/app_dahdiras.c
apps/app_externalivr.c
apps/app_festival.c
apps/app_ices.c
apps/app_mp3.c
apps/app_nbscat.c
autoconf/ast_func_fork.m4
build_tools/menuselect-deps.in
configure
main/asterisk.c
res/res_agi.c
res/res_musiconhold.c