Committer: Diego Biurrun <diego@xxxxxxxxxx> Date: 08/04/2010 at 19:07:33 Revision: 4188 Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: trunk Log: cosmetics: Remove some misleading comments. Modified: M lib/core/hip_capability.c === modified file 'lib/core/hip_capability.c' --- lib/core/hip_capability.c 2010-03-09 18:26:22 +0000 +++ lib/core/hip_capability.c 2010-04-08 16:07:22 +0000 @@ -104,8 +104,6 @@ header.version = _LINUX_CAPABILITY_VERSION_HIPL; data.effective = data.permitted = data.inheritable = 0; - /* openwrt code */ - HIP_IFEL(prctl(PR_SET_KEEPCAPS, 1), -1, "prctl err\n"); HIP_DEBUG("Now PR_SET_KEEPCAPS=%d\n", prctl(PR_GET_KEEPCAPS)); @@ -126,8 +124,6 @@ HIP_DEBUG("Before setreuid(,) UID=%d and EFF_UID=%d\n", getuid(), geteuid()); - /* openwrt code */ - HIP_IFEL(setreuid(uid, uid), -1, "setruid failed\n"); HIP_DEBUG("After setreuid(,) UID=%d and EFF_UID=%d\n", @@ -146,7 +142,6 @@ data.effective |= (1 << CAP_NET_ADMIN); data.permitted |= (1 << CAP_NET_ADMIN); - /* openwrt code */ HIP_IFEL(capset(&header, &data), -1, "error in capset (do you have capabilities kernel module?)"); HIP_DEBUG("UID=%d EFF_UID=%d\n", getuid(), geteuid());