summaryrefslogtreecommitdiffstats
path: root/src/util/pactree.c
diff options
context:
space:
mode:
authorVladimir A. Nazarenko <naszar@ya.ru>2013-10-20 06:57:24 +0200
committerAllan McRae <allan@archlinux.org>2013-10-31 07:20:02 +0100
commit7e767b7e90755f5b8c90b37e68ae14098fba5520 (patch)
treebe942bf3375e71c88e10fc081a22440b6a3678ea /src/util/pactree.c
parent8f5dbd56145a19d6f1ce951cec84ef5816f48349 (diff)
downloadpacman-7e767b7e90755f5b8c90b37e68ae14098fba5520.tar.gz
pacman-7e767b7e90755f5b8c90b37e68ae14098fba5520.tar.xz
Use getuid instead of geteuid
If someone gives the pacman binary setuid permissions, the geteuid check allows it to start running but subsequently fail. As we do not support setting pacman setuid, use getuid to check permissions instead. FS#37174. Signed-off-by: Vladimir A. Nazarenko <naszar@ya.ru> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/util/pactree.c')
0 files changed, 0 insertions, 0 deletions