efl vpath: Check and terminate execution if set*uid() calls fail
authorBryce Harrington <bryce@osg.samsung.com>
Thu, 13 Apr 2017 07:41:02 +0000 (16:41 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 13 Apr 2017 07:41:02 +0000 (16:41 +0900)
commit8b95b78dee42bf1f10ff48c9be4c34e5db8e6581
tree6eaac6dbf8a654e7083fdaf6c20ae57e3b3e645d
parent5cba6a585715198c35488b2e664b5ad554c14b80
efl vpath: Check and terminate execution if set*uid() calls fail

Summary:
Quells warnings:
    lib/efl/interfaces/efl_vpath_core.c:117:9: warning: ignoring return
    value of ‘setuid’, declared with attribute warn_unused_result
    [-Wunused-result]
         setuid(geteuid());
         ^
    lib/efl/interfaces/efl_vpath_core.c:169:9: warning: ignoring return
    value of ‘setreuid’, declared with attribute warn_unused_result
    [-Wunused-result]
         setreuid(uid, geteuid());
         ^

Reviewers: raster, jpeg

Reviewed By: raster

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4768
src/lib/efl/interfaces/efl_vpath_core.c