lkml.org 
[lkml]   [2008]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 6/6] file capabilities: remove needless (?) bprm_clear_caps calls
Date
Andrew Morgan, if you have a moment, please do take a close look
and make sure I'm not doing anything stupid/wrong in the cleanups!
However ltp shows no difference with and without the patchset.

Following are the kernel sizes after some of the patches.

original, pre-patch, with file capabilities compiled out:
text data bss dec hex filename
4188468 234432 316472 4739372 48512c vmlinux

original, pre-patch, with file capabilities compiled in:
4189356 234432 316472 4740260 4854a4 vmlinux

plain with fcaps always-on:
4189392 234456 316472 4740320 4854e0 vmlinux

with non-inline cap_safe_nice:
4189112 234456 316472 4740040 4853c8 vmlinux

with cleaned-up setcap:
4189120 234456 316472 4740048 4853d0 vmlinux

with needless check for target!=current removed from cap_capset:
4189104 234456 316472 4740032 4853c0 vmlinux

with needless(?) bprm_clear_caps calls removed:
4189088 234456 316472 4740016 4853b0 vmlinux


thanks,
-serge


\
 
 \ /
  Last update: 2008-09-27 04:39    [from the cache]
©2003-2011 Jasper Spaans